Skip to content

Commit 4cb105e

Browse files
committed
fix: type errors
1 parent 03bb8f8 commit 4cb105e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

silverback/cluster/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def start(self):
167167
response = self.cluster.put(f"/bots/{self.id}", json=dict(name=self.name))
168168
handle_error_with_response(response)
169169

170-
@computed_field
170+
@computed_field # type: ignore[prop-decorator]
171171
@property
172172
def docker_credentials(self) -> DockerCredentials | None:
173173
if self.docker_credentials_id:

silverback/cluster/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def cluster(self) -> ServiceHealth:
313313

314314
class DockerCredentialsInfo(BaseModel):
315315
id: str
316-
name: str | None = None
316+
name: str
317317
hostname: str
318318
created: datetime
319319
updated: datetime

0 commit comments

Comments
 (0)