Skip to content

Commit 7b39904

Browse files
committed
Pull request #53: ISGAPPSEC2-36315 assign-by-id-or-by-port-do-not-work
Merge in ISGAPPSEC/cyperf-api-wrapper from bugfix/ISGAPPSEC2-36315-assign-by-id-or-by-port-do-not-work-they-complain-about-tag to main Squashed commit of the following: commit 4401c75675463cadb452a22579928732a75622fb Author: iustmitu <iustin.mitu@keysight.com> Date: Wed Jan 21 16:44:57 2026 +0200 regenerated wrapper
1 parent c77927c commit 7b39904

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

cyperf/models/agent_assignments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class AgentAssignments(BaseModel):
3333
""" # noqa: E501
3434
by_id: Optional[List[AgentAssignmentDetails]] = Field(default=None, description="The agents statically assigned to the current test configuration.", alias="ByID")
3535
by_port: Optional[List[AgentAssignmentByPort]] = Field(default=None, description="The ports assigned to the current test configuration.", alias="ByPort")
36-
by_tag: List[StrictStr] = Field(description="The tags according to which the agents are dynamically assigned.", alias="ByTag")
36+
by_tag: Optional[List[StrictStr]] = Field(default=None, description="The tags according to which the agents are dynamically assigned.", alias="ByTag")
3737
links: Optional[List[APILink]] = None
3838
__properties: ClassVar[List[str]] = ["ByID", "ByPort", "ByTag", "links"]
3939

docs/AgentAssignments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
88
------------ | ------------- | ------------- | -------------
99
**by_id** | [**List[AgentAssignmentDetails]**](AgentAssignmentDetails.md) | The agents statically assigned to the current test configuration. | [optional]
1010
**by_port** | [**List[AgentAssignmentByPort]**](AgentAssignmentByPort.md) | The ports assigned to the current test configuration. | [optional]
11-
**by_tag** | **List[str]** | The tags according to which the agents are dynamically assigned. |
11+
**by_tag** | **List[str]** | The tags according to which the agents are dynamically assigned. | [optional]
1212
**links** | [**List[APILink]**](APILink.md) | | [optional]
1313

1414
## Example

test/test_agent_assignments.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ def make_instance(self, include_optional) -> AgentAssignments:
5858
)
5959
else:
6060
return AgentAssignments(
61-
by_tag = [
62-
''
63-
],
6461
)
6562
"""
6663

0 commit comments

Comments
 (0)