Skip to content

Commit

Permalink
refactor: sync repo file structure changes (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
evansims authored Jul 15, 2024
2 parents 9065ff1 + 8b3f02e commit a9172ef
Show file tree
Hide file tree
Showing 24 changed files with 914 additions and 86 deletions.
34 changes: 26 additions & 8 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,20 @@ docs/WriteAuthorizationModelResponse.md
docs/WriteRequest.md
docs/WriteRequestDeletes.md
docs/WriteRequestWrites.md
docs/opentelemetry.md
example/Makefile
example/README.md
example/example1/example1.py
example/example1/requirements.txt
example/example1/setup.cfg
example/example1/setup.py
example/opentelemetry/.env.example
example/opentelemetry/.gitignore
example/opentelemetry/README.md
example/opentelemetry/main.py
example/opentelemetry/requirements.txt
example/opentelemetry/setup.cfg
example/opentelemetry/setup.py
openfga_sdk/__init__.py
openfga_sdk/api/__init__.py
openfga_sdk/api/open_fga_api.py
Expand Down Expand Up @@ -213,18 +221,28 @@ openfga_sdk/sync/client/__init__.py
openfga_sdk/sync/client/client.py
openfga_sdk/sync/oauth2.py
openfga_sdk/sync/rest.py
openfga_sdk/telemetry/__init__.py
openfga_sdk/telemetry/attributes.py
openfga_sdk/telemetry/counters.py
openfga_sdk/telemetry/histograms.py
openfga_sdk/telemetry/metrics.py
openfga_sdk/telemetry/telemetry.py
openfga_sdk/validation.py
requirements.txt
setup.cfg
setup.py
test-requirements.txt
test/_/configuration_test.py
test/_/credentials_test.py
test/_/oauth2_test.py
test/_/validation_test.py
test/__init__.py
test/test_client.py
test/test_client_sync.py
test/test_configuration.py
test/test_credentials.py
test/test_oauth2.py
test/test_oauth2_sync.py
test/api/__init__.py
test/client/__init__.py
test/client/client_test.py
test/sync/__init__.py
test/sync/client/__init__.py
test/sync/client/client_test.py
test/sync/oauth2_test.py
test/sync/open_fga_api_test.py
test/test_open_fga_api.py
test/test_open_fga_api_sync.py
test/test_validation.py
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ from `openfga_sdk.sync` that supports all the credential types and calls,
without requiring async/await.

```python
from openfga_sdk.sync import ClientConfiguration, OpenFgaClient
from openfga_sdk.client import ClientConfiguration
from openfga_sdk.sync import OpenFgaClient


def main():
Expand Down Expand Up @@ -1144,8 +1145,6 @@ Class | Method | HTTP request | Description

This SDK supports producing metrics that can be consumed as part of an [OpenTelemetry](https://opentelemetry.io/) setup. For more information, please see [the documentation](https://github.com/openfga/python-sdk/blob/main/docs/opentelemetry.md)



## Contributing

### Issues
Expand Down
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.5.0
0.6.0
2 changes: 1 addition & 1 deletion example/example1/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

NAME = "example1"
VERSION = "0.0.1"
REQUIRES = ["openfga-sdk >= 0.5"]
REQUIRES = ["openfga-sdk >= 0.6.0"]

setup(
name=NAME,
Expand Down
2 changes: 1 addition & 1 deletion example/opentelemetry/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

from setuptools import find_packages, setup

NAME = "openfga-sdk"
NAME = "openfga-opentelemetry-example"
VERSION = "0.0.1"
REQUIRES = [""]

Expand Down
Loading

0 comments on commit a9172ef

Please sign in to comment.