Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changed named tuple to dataclass
Browse files Browse the repository at this point in the history
niquerio committed Nov 21, 2024
1 parent 0dcef77 commit 368fe2c
Showing 4 changed files with 6 additions and 525 deletions.
6 changes: 4 additions & 2 deletions aim/services.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import NamedTuple
# from typing import NamedTuple
from dataclasses import dataclass
import os
import sqlalchemy as sa
import structlog
@@ -32,7 +33,8 @@
structlog.configure(processors)


class Services(NamedTuple):
@dataclass(frozen=True)
class Services:
"""
Global Configuration Services
"""
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -21,7 +21,6 @@
"sphinx.ext.autodoc",
"myst_parser",
"sphinxcontrib.mermaid",
"sphinx_toolbox.more_autodoc.autonamedtuple",
]
autosummary_generate = True

523 changes: 2 additions & 521 deletions poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -36,7 +36,6 @@ sphinx-rtd-theme = "^3.0.0"
sphinx-autobuild = "^2024.10.3"
myst-parser = "^4.0.0"
sphinxcontrib-mermaid = "^0.9.2"
sphinx-toolbox = "^3.8.1"


[tool.pytest.ini_options]

0 comments on commit 368fe2c

Please sign in to comment.