Typedb-client

Latest version: v2.18.2

Safety actively analyzes 682244 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 8 of 8

1.5.3

PyPI package: https://pypi.org/project/grakn-client
Documentation: https://dev.grakn.ai/docs/client-api/python

Distribution

Available through https://pypi.org

pip install grakn-client

Or you can upgrade your local installation with:

pip install -U grakn-client


Changelog
- When a transaction is closed or committed, the client will now properly notify the server. In effect, this solves the issue of random server session failures that were sometimes experienced in the previous versions.

1.5.2

PyPI package: https://pypi.org/project/grakn-client
Documentation: https://dev.grakn.ai/docs/client-api/python

Distribution

Available through https://pypi.org

pip install grakn-client

Or you can upgrade your local installation with:

pip install -U grakn-client


Changelogs
- Supports Grakn Core 1.5.2 ([PR 42](https://github.com/graknlabs/client-python/pull/42), [PR 43](https://github.com/graknlabs/client-python/pull/43))
- Introduced Bazel Remote Build Execution which speeds up the test ([PR 39](https://github.com/graknlabs/client-python/pull/39))

1.5.1

PyPI package: https://pypi.org/project/grakn-client
Documentation: https://dev.grakn.ai/docs/client-api/python

Distribution

Now officially available through https://pypi.org

pip install grakn-client

Or you can upgrade your local installation with:

pip install -U grakn-client


Architecture

The architecture for client-python has been refactored to align with other client drivers and split out of grakn-core.
- New package-name: `grakn-client`
- The main class `Grakn` is now called `GraknClient`
- `GraknClient` and `DataType` now live under `grakn.client` -- import
from grakn.client import GraknClient
- The client-python module now has its own repository (hit star on [graknlabs/client-python](https://github.com/graknlabs/client-python)!). This allows us to iterate on client-python more flexibly, independent of grakn-core.

API

- The client-python library now works for both Python 2 and 3.
- Replaced `enum34` with `enum-compat` to make client-python compatible with Python 3.4+
- Opening a transaction is now done by:
- Read: `session.transaction().read()`
- Write: `session.transction().write()`
- In addition to calling `transaction.close()` at the end of a transaction, `session.close()` at the end of a session, now you should also call `client.close()` at the end of using the database to close the actual HTTP2 connection to the server.

Page 8 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.