diff --git a/.coverage b/.coverage index 6d25110..f45e08f 100644 Binary files a/.coverage and b/.coverage differ diff --git a/.github/workflows/coverage-tests.yml b/.github/workflows/coverage-tests.yml index 67ed75f..51416b4 100644 --- a/.github/workflows/coverage-tests.yml +++ b/.github/workflows/coverage-tests.yml @@ -61,7 +61,7 @@ jobs: run: | git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git remote add github https://github.com/thomaseleff/pytensils.git + git remote add github https://github.com/thomaseleff/assemblit.git git add coverage/coverage.svg git add coverage/COVERAGE.md git commit -m "Updated coverage" diff --git a/assemblit/_database/analysis.py b/assemblit/_database/analysis.py index 2b034a1..eab0657 100644 --- a/assemblit/_database/analysis.py +++ b/assemblit/_database/analysis.py @@ -1,5 +1,6 @@ """ Database table """ +from typing import ClassVar from dataclasses import dataclass import pandera import datetime @@ -19,7 +20,7 @@ class Schemas(): """ # The `analysis` table Schema - analysis: _generic.Schema = _generic.Schema( + analysis: ClassVar[_generic.Schema] = _generic.Schema( name=setup.ANALYSIS_DB_NAME, columns={ setup.ANALYSIS_DB_QUERY_INDEX: pandera.Column( diff --git a/assemblit/_database/data.py b/assemblit/_database/data.py index 04dbba1..3697a09 100644 --- a/assemblit/_database/data.py +++ b/assemblit/_database/data.py @@ -1,5 +1,6 @@ """ Database table """ +from typing import ClassVar from dataclasses import dataclass import pandera import datetime @@ -19,7 +20,7 @@ class Schemas(): """ # The `data` table Schema. - data: _generic.Schema = _generic.Schema( + data: ClassVar[_generic.Schema] = _generic.Schema( name=setup.DATA_DB_NAME, columns={ setup.DATA_DB_QUERY_INDEX: pandera.Column( diff --git a/assemblit/_database/sessions.py b/assemblit/_database/sessions.py index 8ac4cb2..40980cf 100644 --- a/assemblit/_database/sessions.py +++ b/assemblit/_database/sessions.py @@ -1,5 +1,6 @@ """ Database table """ +from typing import ClassVar from dataclasses import dataclass import pandera from assemblit import setup @@ -20,7 +21,7 @@ class Schemas(): """ # The `data` table Schema - data: _generic.Schema = _generic.Schema( + data: ClassVar[_generic.Schema] = _generic.Schema( name=setup.DATA_DB_NAME, columns={ setup.SESSIONS_DB_QUERY_INDEX: pandera.Column( @@ -39,7 +40,7 @@ class Schemas(): ) # The `analysis` table Schema - analysis: _generic.Schema = _generic.Schema( + analysis: ClassVar[_generic.Schema] = _generic.Schema( name=setup.ANALYSIS_DB_NAME, columns={ setup.SESSIONS_DB_QUERY_INDEX: pandera.Column( diff --git a/assemblit/_database/users.py b/assemblit/_database/users.py index 80bd5eb..e0b921e 100644 --- a/assemblit/_database/users.py +++ b/assemblit/_database/users.py @@ -1,5 +1,6 @@ """ Database table """ +from typing import ClassVar from dataclasses import dataclass import pandera from assemblit import setup @@ -20,7 +21,7 @@ class Schemas(): """ # The `credentials` table Schema. - credentials: _generic.Schema = _generic.Schema( + credentials: ClassVar[_generic.Schema] = _generic.Schema( name='credentials', columns={ setup.USERS_DB_QUERY_INDEX: pandera.Column( @@ -48,7 +49,7 @@ class Schemas(): ) # The `sessions` table Schema - sessions: _generic.Schema = _generic.Schema( + sessions: ClassVar[_generic.Schema] = _generic.Schema( name=setup.SESSIONS_DB_NAME, columns={ setup.USERS_DB_QUERY_INDEX: pandera.Column(