Skip to content

Commit

Permalink
remove default none for client
Browse files Browse the repository at this point in the history
  • Loading branch information
Mildophin committed Nov 21, 2024
1 parent 732d8a4 commit fd0c5f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pasqal_cloud/batch.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Batch(BaseModel):
id: str
user_id: str
status: str
_client: Client = PrivateAttr(default=None)
_client: Client = PrivateAttr()
_ordered_jobs: Optional[List[Job]] = PrivateAttr(default=None)
jobs_count: int = 0
jobs_count_per_status: Dict[str, int] = {}
Expand Down
2 changes: 1 addition & 1 deletion pasqal_cloud/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class Job(BaseModel):
id: str
project_id: str
status: str
_client: Client = PrivateAttr(default=None)
_client: Client = PrivateAttr()
created_at: str
updated_at: str
errors: Optional[List[str]] = None
Expand Down
2 changes: 1 addition & 1 deletion pasqal_cloud/workload.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Workload(BaseModel):
id: str
project_id: str
status: str
_client: Client = PrivateAttr(default=None)
_client: Client = PrivateAttr()
backend: str
workload_type: str
config: Dict[str, Any]
Expand Down

0 comments on commit fd0c5f3

Please sign in to comment.