Skip to content

Commit 6815ca5

Browse files
committed
Leverage typing_extensions, add numpy and pyarrow
1 parent 9de75fe commit 6815ca5

File tree

3 files changed

+102
-10
lines changed

3 files changed

+102
-10
lines changed

backend/infrahub/menu/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
from __future__ import annotations
22

33
from dataclasses import dataclass, field
4-
from typing import TYPE_CHECKING, Self
5-
4+
from typing import TYPE_CHECKING
5+
from typing_extensions import Self
66
from pydantic import BaseModel, Field
77

88
from infrahub.core.node import Node

poetry.lock

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

pyproject.toml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,12 @@ gitpython = "^3"
6565
pyyaml = "^6"
6666
toml = "^0.10"
6767
rich = "^13"
68+
pyarrow = "^14"
69+
numpy = [
70+
{ version = "^1.24.2", optional = true, python = ">=3.9,<3.12" },
71+
{ version = "^1.26.2", optional = true, python = ">=3.12" },
72+
]
6873

69-
# numpy = [
70-
# { version = "^1.24.2", optional = true, python = ">=3.9,<3.12" },
71-
# { version = "^1.26.2", optional = true, python = ">=3.12" },
72-
# ]
73-
# pyarrow = { version = "^14", optional = true }
74-
# rich = { version = "^13", optional = true }
7574

7675

7776
[tool.poetry.group.dev.dependencies]

0 commit comments

Comments
 (0)