Skip to content

Commit baf2b36

Browse files
chore: add missing docstrings
1 parent 32e6811 commit baf2b36

10 files changed

+20
-0
lines changed

src/openlayer/types/commit_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class Commit(BaseModel):
15+
"""The details of a commit (project version)."""
16+
1517
id: str
1618
"""The commit id."""
1719

src/openlayer/types/inference_pipeline_retrieve_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ class DataBackendUnionMember5(BaseModel):
197197

198198

199199
class ProjectLinks(BaseModel):
200+
"""Links to the project."""
201+
200202
app: str
201203

202204

src/openlayer/types/inference_pipeline_update_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ class DataBackendUnionMember5(BaseModel):
197197

198198

199199
class ProjectLinks(BaseModel):
200+
"""Links to the project."""
201+
200202
app: str
201203

202204

src/openlayer/types/project_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class Links(BaseModel):
15+
"""Links to the project."""
16+
1517
app: str
1618

1719

src/openlayer/types/project_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class ItemLinks(BaseModel):
15+
"""Links to the project."""
16+
1517
app: str
1618

1719

src/openlayer/types/projects/commit_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ class CommitCreateParams(TypedDict, total=False):
2525

2626

2727
class Commit(TypedDict, total=False):
28+
"""The details of a commit (project version)."""
29+
2830
message: Required[str]
2931
"""The commit message."""

src/openlayer/types/projects/commit_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class Commit(BaseModel):
15+
"""The details of a commit (project version)."""
16+
1517
id: str
1618
"""The commit id."""
1719

src/openlayer/types/projects/commit_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313

1414
class ItemCommit(BaseModel):
15+
"""The details of a commit (project version)."""
16+
1517
id: str
1618
"""The commit id."""
1719

src/openlayer/types/projects/inference_pipeline_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,8 @@ class DataBackendUnionMember5(BaseModel):
197197

198198

199199
class ProjectLinks(BaseModel):
200+
"""Links to the project."""
201+
200202
app: str
201203

202204

src/openlayer/types/projects/inference_pipeline_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,8 @@ class ItemDataBackendUnionMember5(BaseModel):
198198

199199

200200
class ItemProjectLinks(BaseModel):
201+
"""Links to the project."""
202+
201203
app: str
202204

203205

0 commit comments

Comments
 (0)