Skip to content

Commit be48c7d

Browse files
rbell517Richard Bell
andauthored
fix: Correct missing None default value for spec condition_type (#133)
Co-authored-by: Richard Bell <[email protected]>
1 parent 66eada6 commit be48c7d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

nisystemlink/clients/spec/models/_condition.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ConditionRange(JsonModel):
3131
class ConditionValueBase(JsonModel):
3232
"""The base type for conditions that can be represented in several styles."""
3333

34-
condition_type: Optional[ConditionType]
34+
condition_type: Optional[ConditionType] = None
3535
"""Type of the Condition."""
3636

3737

tests/integration/notebook/test_notebook_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,6 @@ def test__get_execution_by_invalid_id__raises_ApiException_NotFound(
566566
with pytest.raises(ApiException, match="Not Found"):
567567
client.get_execution_by_id(id="InvalidExecutionId")
568568

569-
@pytest.mark.focus
570569
@responses.activate
571570
def test__filter_executions_by_status__returns_executions_matches_status(
572571
self,

0 commit comments

Comments
 (0)