nebula-carina
nebula-carina copied to clipboard
A pydantic based python ORM framework for graph database NebulaGraph 3.
In readme it's this: https://github.com/search?q=repo%3Anebula-contrib%2Fnebula-carina%20nebula_carina_paths&type=code but in the code it's this: https://github.com/search?q=repo%3Anebula-contrib%2Fnebula-carina%20model_paths&type=code
Installing package from `main` branch then importing `from nebula_carina.models.migrations import make_migrations, migrate` results in this error: `ImportError: cannot import name 'ModelField' from 'pydantic.fields' (/home/user/.local/lib/python3.10/site-packages/pydantic/fields.py)` [workaround: pydantic = "==1.10.8"](https://stackoverflow.com/questions/77469094/importerror-cannot-import-name-modelfield-from-pydantic-fields/77469213#77469213)
The latest version of the package https://pypi.org/project/nebula-carina/ does not contain the latest fixes for example https://github.com/nebula-contrib/nebula-carina/commit/7884626073e8417669a34a0f8cea17b27573f789 This is because it points to https://github.com/SwordElucidator/nebula-carina and not this repo. But this repo's...
Hi. The sample code in the README didn't work. ```python from nebula_carina.ngql.schema.space import create_space, show_spaces, VidTypeEnum main_space_name = "main" if main_space_name not in show_spaces(): create_space(main_space_name, (VidTypeEnum.FIXED_STRING, 20)) ``` It's because...
Now session pool was merged and included in 3.3.0 Nebula Python :)