Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dotflow/core/serializers/workflow.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""Workflow serializer module"""

# mypy: disable-error-code="misc"
from __future__ import annotations

# mypy: disable-error-code="misc"
from uuid import UUID

from pydantic import BaseModel, ConfigDict, Field, computed_field
Expand Down
12 changes: 8 additions & 4 deletions dotflow/core/task.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"""Task module"""

from __future__ import annotations

import json
from collections.abc import Callable
from datetime import datetime
Expand All @@ -25,10 +27,12 @@

class TaskInstance:
"""
Import:
You can import the **TaskInstance** class with:
from __future__ import annotations

Import:
You can import the **TaskInstance** class with:

from dotflow.core.task import TaskInstance
from dotflow.core.task import TaskInstance
"""

def __init__(self, *args, **kwargs) -> None:
Expand Down Expand Up @@ -323,7 +327,7 @@ def add(
callback: Callable = basic_callback,
initial_context: Any = None,
group_name: str = "default",
) -> "TaskBuilder":
) -> TaskBuilder:
"""
Args:
step (Callable):
Expand Down
116 changes: 58 additions & 58 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading