Skip to content

Commit ac75431

Browse files
feat(api): fix ScheduledAgentHistoryItem name
1 parent 9c2f6a3 commit ac75431

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 14
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-6c175d34cab49d79dbb24289ae516867404c42f3097264bbae171aced72ecc49.yml
33
openapi_spec_hash: 5abb55a1fc2836207bc88d4815f47f24
4-
config_hash: a28c6f6a70109573c79cd87a158124dc
4+
config_hash: a4b1ffc5b2e162efb3d557c7461153c1

api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Types:
5151

5252
```python
5353
from oz_agent_sdk.types.agent import (
54-
ScheduleHistoryItem,
54+
ScheduledAgentHistoryItem,
5555
ScheduledAgentItem,
5656
ScheduleListResponse,
5757
ScheduleDeleteResponse,

src/oz_agent_sdk/types/agent/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
from .run_list_response import RunListResponse as RunListResponse
1111
from .run_cancel_response import RunCancelResponse as RunCancelResponse
1212
from .scheduled_agent_item import ScheduledAgentItem as ScheduledAgentItem
13-
from .schedule_history_item import ScheduleHistoryItem as ScheduleHistoryItem
1413
from .schedule_create_params import ScheduleCreateParams as ScheduleCreateParams
1514
from .schedule_list_response import ScheduleListResponse as ScheduleListResponse
1615
from .schedule_update_params import ScheduleUpdateParams as ScheduleUpdateParams
1716
from .schedule_delete_response import ScheduleDeleteResponse as ScheduleDeleteResponse
17+
from .scheduled_agent_history_item import ScheduledAgentHistoryItem as ScheduledAgentHistoryItem
1818
from .session_check_redirect_response import SessionCheckRedirectResponse as SessionCheckRedirectResponse

src/oz_agent_sdk/types/agent/schedule_history_item.py renamed to src/oz_agent_sdk/types/agent/scheduled_agent_history_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55

66
from ..._models import BaseModel
77

8-
__all__ = ["ScheduleHistoryItem"]
8+
__all__ = ["ScheduledAgentHistoryItem"]
99

1010

11-
class ScheduleHistoryItem(BaseModel):
11+
class ScheduledAgentHistoryItem(BaseModel):
1212
"""Scheduler-derived history metadata for a scheduled agent"""
1313

1414
last_ran: Optional[datetime] = None

src/oz_agent_sdk/types/agent/scheduled_agent_item.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
from ..._models import BaseModel
88
from ..user_profile import UserProfile
99
from ..ambient_agent_config import AmbientAgentConfig
10-
from .schedule_history_item import ScheduleHistoryItem
1110
from ..cloud_environment_config import CloudEnvironmentConfig
11+
from .scheduled_agent_history_item import ScheduledAgentHistoryItem
1212

1313
__all__ = ["ScheduledAgentItem"]
1414

@@ -46,7 +46,7 @@ class ScheduledAgentItem(BaseModel):
4646
environment: Optional[CloudEnvironmentConfig] = None
4747
"""Configuration for a cloud environment used by scheduled agents"""
4848

49-
history: Optional[ScheduleHistoryItem] = None
49+
history: Optional[ScheduledAgentHistoryItem] = None
5050
"""Scheduler-derived history metadata for a scheduled agent"""
5151

5252
last_spawn_error: Optional[str] = None

0 commit comments

Comments
 (0)