Skip to content

Commit b268dfd

Browse files
authored
Fix USER typing information (#16)
* Update user_.py * Version 0.3.9
1 parent 34109d5 commit b268dfd

File tree

7 files changed

+1214
-1230
lines changed

7 files changed

+1214
-1230
lines changed

README.md

+4-1,223
Large diffs are not rendered by default.

docs.md

+1,202
Large diffs are not rendered by default.

phrasetms_client/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"""
1515

1616

17-
__version__ = "0.3.8"
17+
__version__ = "0.3.9"
1818

1919
# import apis into sdk package
2020
from phrasetms_client.api.additional_workflow_step_api import AdditionalWorkflowStepApi

phrasetms_client/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ def to_debug_report(self):
423423
"OS: {env}\n"
424424
"Python Version: {pyversion}\n"
425425
"Version of the API: Latest\n"
426-
"SDK Package Version: 0.3.8".format(env=sys.platform, pyversion=sys.version)
426+
"SDK Package Version: 0.3.9".format(env=sys.platform, pyversion=sys.version)
427427
)
428428

429429
def get_host_settings(self):

phrasetms_client/models/user_.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ class USER(ProviderReference):
2727
USER
2828
"""
2929

30-
user_name: Optional[StrictInt] = Field(None, alias="userName")
31-
first_name: Optional[StrictInt] = Field(None, alias="firstName")
32-
last_name: Optional[StrictInt] = Field(None, alias="lastName")
30+
user_name: Optional[StrictStr] = Field(None, alias="userName")
31+
first_name: Optional[StrictStr] = Field(None, alias="firstName")
32+
last_name: Optional[StrictStr] = Field(None, alias="lastName")
3333
email: Optional[StrictStr] = None
3434
active: Optional[StrictBool] = None
3535
__properties = [
@@ -88,6 +88,7 @@ def from_dict(cls, obj: dict) -> USER:
8888

8989
_obj = USER.parse_obj(
9090
{
91+
"type": obj.get("type"),
9192
"user_name": obj.get("userName"),
9293
"first_name": obj.get("firstName"),
9394
"last_name": obj.get("lastName"),

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "phrasetms_client"
3-
version = "0.3.8"
3+
version = "0.3.9"
44
description = "Phrase TMS API"
55
authors = ["Martin Chrástek"]
66
license = "NoLicense"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
# prerequisite: setuptools
2222
# http://pypi.python.org/pypi/setuptools
2323
NAME = "phrasetms-client"
24-
VERSION = "0.3.8"
24+
VERSION = "0.3.9"
2525
PYTHON_REQUIRES = ">=3.7"
2626
REQUIRES = ["urllib3 >= 1.25.3", "python-dateutil", "pydantic >= 1.10.5, < 2", "aenum"]
2727

0 commit comments

Comments
 (0)