Skip to content

Commit

Permalink
Remove directory v2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
ronenh committed Nov 4, 2024
1 parent 0884f50 commit 9787d63
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 1,203 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,16 +357,6 @@ ds = Directory(api_key="my_api_key", tenant_id="1234", address="localhost:9292")

The methods on the async directory have the same signatures as their synchronous counterparts.

### Directory v2 client

To interact with older instances of the directory service, a v2 client is available with limited functionality.
The v2 client doesn't support `get_manifest`/`set_manifest`, and `import_data`/`export_data`.

```py
from aserto.client.directory.v2 import Directory
ds = Directory(api_key="my_api_key", tenant_id="1234", address="localhost:9292")
```

## License

This project is licensed under the MIT license. See the [LICENSE](https://github.com/aserto-dev/aserto-python/blob/main/LICENSE) file for more info.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "aserto"
version = "0.31.3"
version = "0.32.0"
description = "Aserto API client"
readme = "README.md"
authors = ["Aserto, Inc. <[email protected]>"]
Expand Down
Loading

0 comments on commit 9787d63

Please sign in to comment.