daytona_api_client_async 0.25.4__py3-none-any.whl → 0.25.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of daytona_api_client_async might be problematic. Click here for more details.

@@ -18,8 +18,8 @@ import pprint
18
18
  import re # noqa: F401
19
19
  import json
20
20
 
21
- from pydantic import BaseModel, ConfigDict, StrictStr
22
- from typing import Any, ClassVar, Dict, List
21
+ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr
22
+ from typing import Any, ClassVar, Dict, List, Optional
23
23
  from typing import Optional, Set
24
24
  from typing_extensions import Self
25
25
 
@@ -31,8 +31,9 @@ class GitCommitRequest(BaseModel):
31
31
  message: StrictStr
32
32
  author: StrictStr
33
33
  email: StrictStr
34
+ allow_empty: Optional[StrictBool] = Field(default=False, description="Allow creating an empty commit when no changes are staged")
34
35
  additional_properties: Dict[str, Any] = {}
35
- __properties: ClassVar[List[str]] = ["path", "message", "author", "email"]
36
+ __properties: ClassVar[List[str]] = ["path", "message", "author", "email", "allow_empty"]
36
37
 
37
38
  model_config = ConfigDict(
38
39
  populate_by_name=True,
@@ -95,7 +96,8 @@ class GitCommitRequest(BaseModel):
95
96
  "path": obj.get("path"),
96
97
  "message": obj.get("message"),
97
98
  "author": obj.get("author"),
98
- "email": obj.get("email")
99
+ "email": obj.get("email"),
100
+ "allow_empty": obj.get("allow_empty") if obj.get("allow_empty") is not None else False
99
101
  })
100
102
  # store additional fields in additional_properties
101
103
  for _key in obj.keys():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: daytona_api_client_async
3
- Version: 0.25.4
3
+ Version: 0.25.5
4
4
  Summary: Daytona
5
5
  Home-page:
6
6
  Author: Daytona Platforms Inc.
@@ -68,7 +68,7 @@ daytona_api_client_async/models/git_branch_request.py,sha256=5xA1566ZIeeQoLItu9P
68
68
  daytona_api_client_async/models/git_checkout_request.py,sha256=cNy-DCFoICt3B1RSbhxCTYELKO1pRrC0kGcCXedH0s8,3109
69
69
  daytona_api_client_async/models/git_clone_request.py,sha256=WiGoiG8pwQBAOiZR0M94ajcoVmGtX-5ZCPSGtc8iHRI,3483
70
70
  daytona_api_client_async/models/git_commit_info.py,sha256=VncJ0dBvx1_5Bg8NpPDUrpKQC6hoJmWnkkDKtrRG7ws,3320
71
- daytona_api_client_async/models/git_commit_request.py,sha256=_gtn48nT6RboB1VDJoQNpVrKc2lgSVgWdP4YkiX5UpY,3247
71
+ daytona_api_client_async/models/git_commit_request.py,sha256=ri61x1TIPFQ_Z9zJHcEIwrw0yWEpTtp4tNJFPrANboQ,3525
72
72
  daytona_api_client_async/models/git_commit_response.py,sha256=tnB4qIbD49vNfE2u7axt6nQRE6uTPWPJZdJli-z5mYM,3032
73
73
  daytona_api_client_async/models/git_delete_branch_request.py,sha256=HVsnHjofhwZOQKI0YGcVzzU_vMQJfDjF3-CEExFrxOg,3117
74
74
  daytona_api_client_async/models/git_repo_request.py,sha256=xD6xbFjoNsRF6Y2oZI-T3YE039pTzUVrzIQQKU9AzU8,3226
@@ -157,8 +157,8 @@ daytona_api_client_async/models/workspace_info.py,sha256=aO9EkS6E4LhjrFAY25FJZYn
157
157
  daytona_api_client_async/models/workspace_labels.py,sha256=aMjsVYM4rezpMD6jLVbPqdi72DIIltjqPP0kuGueUsg,3099
158
158
  daytona_api_client_async/models/workspace_state.py,sha256=AqPukjpvYLhkThzx8T4WsKKSuXOOxLwFZ8385AtNVtE,1108
159
159
  daytona_api_client_async/models/workspace_volume.py,sha256=Suo2yiRw80i_24Yp5lFsWpQoykTOxqjHYVQPnx84vGc,3268
160
- daytona_api_client_async-0.25.4.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
- daytona_api_client_async-0.25.4.dist-info/METADATA,sha256=mYHfyKNlTwq7yXv6nupHYusbLSZFxphdOie3JjpMRow,690
162
- daytona_api_client_async-0.25.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
- daytona_api_client_async-0.25.4.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
- daytona_api_client_async-0.25.4.dist-info/RECORD,,
160
+ daytona_api_client_async-0.25.5.dist-info/licenses/LICENSE,sha256=Qrw_9vreBpJ9mUMcB5B7ALDecZHgRciuOqS0BPfpihc,10752
161
+ daytona_api_client_async-0.25.5.dist-info/METADATA,sha256=YaC30w6-VtmQjXMoIETmkPWI27oZENmm_BIn43EuBRE,690
162
+ daytona_api_client_async-0.25.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
163
+ daytona_api_client_async-0.25.5.dist-info/top_level.txt,sha256=PdOUDLVBJmZNDB8ak8FMMwmlyfRqUhQQ9SUDgNnbdZo,25
164
+ daytona_api_client_async-0.25.5.dist-info/RECORD,,