Skip to content

feat(gfql): implement ASTRemoteGraph.__call__ for local DAG execution #974

@lmeyerov

Description

@lmeyerov

Summary

remote(dataset_id=...) can be used inside let() DAGs and serializes correctly to JSON for the wire protocol, but local execution raises NotImplementedError("RemoteGraph loading will be implemented in PR 1.3").

This means g.gfql(let({'data': remote(dataset_id='...'), 'filtered': ref('data', [n(...)])})) fails at runtime.

What works

  • g.gfql_remote([...]) — sends chains to a remote server (fully implemented)
  • remote(dataset_id=...) — AST construction and JSON serialization work
  • ASTRemoteGraph.to_json() / .from_json() — round-trips correctly

What doesn't work

  • ASTRemoteGraph.__call__() — raises NotImplementedError at graphistry/compute/ast.py:1169
  • This blocks local DAG execution when a binding references a remote dataset

Location

graphistry/compute/ast.py:1166-1169

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions