diff --git a/CHANGELOG.md b/CHANGELOG.md index 6370feb..299221f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## v0.4.3 + +### [0.4.3](https://github.com/openfga/python-sdk/compare/v0.4.2...v0.4.3) (2024-06-07) + +- feat: support for list users + ## v0.4.2 ### [0.4.2](https://github.com/openfga/python-sdk/compare/v0.4.1...v0.4.2) (2024-04-04) diff --git a/VERSION.txt b/VERSION.txt index 2b7c5ae..17b2ccd 100644 --- a/VERSION.txt +++ b/VERSION.txt @@ -1 +1 @@ -0.4.2 +0.4.3 diff --git a/example/example1/requirements.txt b/example/example1/requirements.txt index 7c67194..5cdbd06 100644 --- a/example/example1/requirements.txt +++ b/example/example1/requirements.txt @@ -4,7 +4,7 @@ attrs >= 23.1.0 frozenlist >= 1.4.1 idna >= 3.6 multidict >= 6.0.4 -openfga-sdk >= 0.4.2 +openfga-sdk >= 0.4.3 python-dateutil >= 2.8.2 urllib3 >= 2.1.0 yarl >= 1.9.4 diff --git a/openfga_sdk/__init__.py b/openfga_sdk/__init__.py index 0b15873..efec98d 100644 --- a/openfga_sdk/__init__.py +++ b/openfga_sdk/__init__.py @@ -10,7 +10,7 @@ NOTE: This file was auto generated by OpenAPI Generator (https://openapi-generator.tech). DO NOT EDIT. """ -__version__ = "0.4.2" +__version__ = "0.4.3" from openfga_sdk.api.open_fga_api import OpenFgaApi from openfga_sdk.api_client import ApiClient diff --git a/openfga_sdk/api_client.py b/openfga_sdk/api_client.py index e486208..21507ab 100644 --- a/openfga_sdk/api_client.py +++ b/openfga_sdk/api_client.py @@ -33,7 +33,7 @@ ServiceException, ) -DEFAULT_USER_AGENT = "openfga-sdk python/0.4.2" +DEFAULT_USER_AGENT = "openfga-sdk python/0.4.3" def random_time(loop_count, min_wait_in_ms): diff --git a/openfga_sdk/configuration.py b/openfga_sdk/configuration.py index 7214335..536827d 100644 --- a/openfga_sdk/configuration.py +++ b/openfga_sdk/configuration.py @@ -469,7 +469,7 @@ def to_debug_report(self): "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 1.x\n" - "SDK Package Version: 0.4.2".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 0.4.3".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self): diff --git a/openfga_sdk/oauth2.py b/openfga_sdk/oauth2.py index adbeedc..ee5c207 100644 --- a/openfga_sdk/oauth2.py +++ b/openfga_sdk/oauth2.py @@ -80,7 +80,7 @@ async def _obtain_token(self, client): { "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "openfga-sdk (python) 0.4.2", + "User-Agent": "openfga-sdk (python) 0.4.3", } ) diff --git a/openfga_sdk/sync/api_client.py b/openfga_sdk/sync/api_client.py index c21fc5e..b08c82c 100644 --- a/openfga_sdk/sync/api_client.py +++ b/openfga_sdk/sync/api_client.py @@ -33,7 +33,7 @@ ) from openfga_sdk.sync import oauth2, rest -DEFAULT_USER_AGENT = "openfga-sdk python/0.4.2" +DEFAULT_USER_AGENT = "openfga-sdk python/0.4.3" def random_time(loop_count, min_wait_in_ms): diff --git a/openfga_sdk/sync/oauth2.py b/openfga_sdk/sync/oauth2.py index b012008..9bd2a43 100644 --- a/openfga_sdk/sync/oauth2.py +++ b/openfga_sdk/sync/oauth2.py @@ -80,7 +80,7 @@ def _obtain_token(self, client): { "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "openfga-sdk (python) 0.4.2", + "User-Agent": "openfga-sdk (python) 0.4.3", } ) diff --git a/setup.py b/setup.py index 49f5fbd..14ed424 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ import setuptools NAME = "openfga-sdk" -VERSION = "0.4.2" +VERSION = "0.4.3" REQUIRES = [] diff --git a/test/test_oauth2.py b/test/test_oauth2.py index 2f20542..3a4c3b1 100644 --- a/test/test_oauth2.py +++ b/test/test_oauth2.py @@ -84,7 +84,7 @@ async def test_get_authentication_obtain_client_credentials(self, mock_request): { "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "openfga-sdk (python) 0.4.2", + "User-Agent": "openfga-sdk (python) 0.4.3", } ) mock_request.assert_called_once_with( diff --git a/test/test_oauth2_sync.py b/test/test_oauth2_sync.py index fc0bd85..5f1f749 100644 --- a/test/test_oauth2_sync.py +++ b/test/test_oauth2_sync.py @@ -84,7 +84,7 @@ def test_get_authentication_obtain_client_credentials(self, mock_request): { "Accept": "application/json", "Content-Type": "application/x-www-form-urlencoded", - "User-Agent": "openfga-sdk (python) 0.4.2", + "User-Agent": "openfga-sdk (python) 0.4.3", } ) mock_request.assert_called_once_with( diff --git a/test/test_open_fga_api.py b/test/test_open_fga_api.py index ab9b37c..991b29d 100644 --- a/test/test_open_fga_api.py +++ b/test/test_open_fga_api.py @@ -1521,7 +1521,7 @@ async def test_check_api_token(self, mock_request): { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "openfga-sdk python/0.4.2", + "User-Agent": "openfga-sdk python/0.4.3", "Authorization": "Bearer TOKEN1", } ) @@ -1575,7 +1575,7 @@ async def test_check_custom_header(self, mock_request): { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "openfga-sdk python/0.4.2", + "User-Agent": "openfga-sdk python/0.4.3", "Custom Header": "custom value", } ) diff --git a/test/test_open_fga_api_sync.py b/test/test_open_fga_api_sync.py index 6b9098b..7ba9b1f 100644 --- a/test/test_open_fga_api_sync.py +++ b/test/test_open_fga_api_sync.py @@ -1521,7 +1521,7 @@ async def test_check_api_token(self, mock_request): { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "openfga-sdk python/0.4.2", + "User-Agent": "openfga-sdk python/0.4.3", "Authorization": "Bearer TOKEN1", } ) @@ -1575,7 +1575,7 @@ async def test_check_custom_header(self, mock_request): { "Accept": "application/json", "Content-Type": "application/json", - "User-Agent": "openfga-sdk python/0.4.2", + "User-Agent": "openfga-sdk python/0.4.3", "Custom Header": "custom value", } )