Skip to content

Commit

Permalink
unittests fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dantavori committed Feb 5, 2025
1 parent 281d799 commit 1490b65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions demisto_sdk/commands/content_graph/objects/pack.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from functools import cached_property
from pathlib import Path
from tempfile import TemporaryDirectory
from typing import TYPE_CHECKING, List, Optional, Union
from typing import List, Optional, Union

import demisto_client
from demisto_client.demisto_api.rest import ApiException
Expand Down Expand Up @@ -53,6 +53,7 @@
PackContentItems,
)
from demisto_sdk.commands.content_graph.objects.pack_metadata import PackMetadata
from demisto_sdk.commands.content_graph.objects.relationship import RelationshipData
from demisto_sdk.commands.content_graph.parsers.related_files import (
AuthorImageRelatedFile,
PackIgnoreRelatedFile,
Expand All @@ -75,10 +76,6 @@
parse_upload_response,
)

if TYPE_CHECKING:
from demisto_sdk.commands.content_graph.objects.relationship import RelationshipData


MINIMAL_UPLOAD_SUPPORTED_VERSION = Version("6.5.0")
MINIMAL_ALLOWED_SKIP_VALIDATION_VERSION = Version("6.6.0")

Expand Down
4 changes: 2 additions & 2 deletions demisto_sdk/commands/content_graph/strict_objects/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
class ArgFilter(BaseStrictModel):
operator: str
ignore_case: Optional[bool] = Field(None, alias="ignorecase")
left: dict = Field(examples=[{"value": Any, "isContext": bool}])
right: Optional[dict] = Field(None, examples=[{"value": Any, "isContext": bool}])
left: dict = Field(examples=[{"value": {}, "isContext": False}])
right: Optional[dict] = Field(None, examples=[{"value": {}, "isContext": False}])
type_: Optional[str] = Field(None, alias="type")


Expand Down

0 comments on commit 1490b65

Please sign in to comment.