Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.315.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Jun 25, 2024
1 parent 6e28cdf commit 9997333
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,18 @@ id: 81c437b1-ab8d-4cec-8b8f-8f71d1bdb7a2
management:
docChecksum: 85248a8dd6a5cd6fea1b82dfc30249e9
docVersion: 1.0.0
speakeasyVersion: 1.310.0
generationVersion: 2.347.4
releaseVersion: 3.7.5
configChecksum: bdf8b36a1b180d5c382c06e63e0b27eb
speakeasyVersion: 1.315.2
generationVersion: 2.352.0
releaseVersion: 3.7.6
configChecksum: 40b89d5c6c380c81cfff2dc9939a5249
repoURL: https://github.com/ding-live/ding-python.git
repoSubDirectory: .
installationURL: https://github.com/ding-live/ding-python.git
published: true
features:
python:
additionalDependencies: 0.1.0
core: 4.6.11
core: 4.6.13
examples: 2.81.3
flattening: 2.81.1
globalSecurity: 2.83.5
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,4 +418,14 @@ Based on:
### Generated
- [python v3.7.5] .
### Releases
- [PyPI v3.7.5] https://pypi.org/project/ding_api_client/3.7.5 - .
- [PyPI v3.7.5] https://pypi.org/project/ding_api_client/3.7.5 - .

## 2024-06-25 00:10:27
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.315.2 (2.352.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [python v3.7.6] .
### Releases
- [PyPI v3.7.6] https://pypi.org/project/ding_api_client/3.7.6 - .
2 changes: 1 addition & 1 deletion gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
python:
version: 3.7.5
version: 3.7.6
additionalDependencies:
dependencies: {}
extraDependencies:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

setuptools.setup(
name='ding_api_client',
version='3.7.5',
version='3.7.6',
author='Ding',
description='Python Client SDK',
url='https://github.com/ding-live/ding-python.git',
Expand Down
6 changes: 3 additions & 3 deletions src/ding/sdkconfiguration.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ class SDKConfiguration:
server_idx: Optional[int] = 0
language: str = 'python'
openapi_doc_version: str = '1.0.0'
sdk_version: str = '3.7.5'
gen_version: str = '2.347.4'
user_agent: str = 'speakeasy-sdk/python 3.7.5 2.347.4 1.0.0 ding_api_client'
sdk_version: str = '3.7.6'
gen_version: str = '2.352.0'
user_agent: str = 'speakeasy-sdk/python 3.7.6 2.352.0 1.0.0 ding_api_client'
retry_config: Optional[RetryConfig] = None

def __post_init__(self):
Expand Down
12 changes: 12 additions & 0 deletions src/ding/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,9 @@ def bigintencode(val: int):


def bigintdecoder(val):
if val is None:
return None

if isinstance(val, float):
raise ValueError(f"{val} is a float")
return int(val)
Expand All @@ -918,6 +921,9 @@ def integerstrencode(val: int):


def integerstrdecoder(val):
if val is None:
return None

if isinstance(val, float):
raise ValueError(f"{val} is a float")
return int(val)
Expand All @@ -933,6 +939,9 @@ def numberstrencode(val: float):


def numberstrdecoder(val):
if val is None:
return None

return float(val)


Expand All @@ -950,6 +959,9 @@ def decimalencode(val: Decimal):


def decimaldecoder(val):
if val is None:
return None

return Decimal(str(val))


Expand Down

0 comments on commit 9997333

Please sign in to comment.