Skip to content

TypeError: cannot create 'builtins.VirtualizedDatabase' instances #1

Description

@rpietzsch

Thank you for your inspiring post and this repo. When replicating/running (after installing the venv and deps with uv and successfully executing uv run python setup_data.py which Saved to data/weather.duckdb) main.py fails with:

$ uv run python main.py 
Knowledge graph: 371 triples (12 stations, 36 sensors)
Traceback (most recent call last):
  File "/Users/rene/Documents/git/github/DataTreehouse/chrontext-demo/main.py", line 153, in <module>
    vdb = VirtualizedDatabase(
        database=db,
        resource_sql_map={name: make_resource_sql(name) for name in measurands},
        sql_dialect="postgres",
    )
TypeError: cannot create 'builtins.VirtualizedDatabase' instances

any suggestions?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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