Skip to content

Commit

Permalink
Merge pull request #318 from TheHive-Project/317-review-type-hints-fo…
Browse files Browse the repository at this point in the history
…r-inputoutput-objects

317 review type hints for inputoutput objects
  • Loading branch information
Kamforka authored Jan 19, 2024
2 parents b8f6cae + ec84d42 commit a17082e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@pytest.fixture(scope="session")
def test_config():
return TestConfig(
image_name="kamforka/thehive4py-integrator:thehive-5.2.5",
image_name="kamforka/thehive4py-integrator:thehive-5.2.10",
container_name="thehive4py-integration-tests",
user="admin@thehive.local",
password="secret",
Expand Down
3 changes: 3 additions & 0 deletions thehive4py/types/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class InputTask(InputTaskRequired, total=False):
order: int
dueDate: int
assignee: str
mandatory: bool


class OutputTaskRequired(TypedDict):
Expand All @@ -27,6 +28,7 @@ class OutputTaskRequired(TypedDict):
status: str
flag: bool
order: int
mandatory: bool
extraData: dict


Expand All @@ -51,6 +53,7 @@ class InputUpdateTask(TypedDict, total=False):
order: int
dueDate: int
assignee: str
mandatory: bool


class InputBulkUpdateTask(InputUpdateTask):
Expand Down

0 comments on commit a17082e

Please sign in to comment.