Skip to content

Commit 776ed8d

Browse files
⚠️ SECURITY: Patch 12 Dependabot security vulnerabilities
- Update poetry.lock: GitPython 3.1.49, cryptography 46.0.7, filelock 3.29.0, urllib3 2.6.3, requests 2.33.1 - Add `from __future__ import annotations` to workflow.py and task.py to fix Python 3.9 compatibility (PEP 604 union syntax) Resolves: Dependabot alerts #6, #7, #8, #9, #11, #13, #15, #16, #17, #18, #20, #21
1 parent 766a1a0 commit 776ed8d

3 files changed

Lines changed: 64 additions & 58 deletions

File tree

dotflow/core/serializers/workflow.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Workflow serializer module"""
22

3+
from __future__ import annotations
4+
35
# mypy: disable-error-code="misc"
46

57
from uuid import UUID

dotflow/core/task.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
"""Task module"""
22

3+
from __future__ import annotations
4+
35
import json
46
from collections.abc import Callable
57
from datetime import datetime
@@ -25,6 +27,8 @@
2527

2628
class TaskInstance:
2729
"""
30+
from __future__ import annotations
31+
2832
Import:
2933
You can import the **TaskInstance** class with:
3034

poetry.lock

Lines changed: 58 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)