Skip to content

Commit

Permalink
Merge pull request #92 from statisticsnorway/quick-fix-self-3.10
Browse files Browse the repository at this point in the history
Quick fix self 3.10
  • Loading branch information
MagnusEngh authored Nov 12, 2024
2 parents 878ca94 + 68c8449 commit 0a6c355
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/ssb_sirius_dash/control/framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
from typing import Any
from typing import Callable
from typing import Optional
from typing import Self

# from typing import Self

import dapla as dp
import pandas as pd
Expand Down Expand Up @@ -253,7 +254,7 @@ def from_json(cls, path: str) -> dict:
return cls.from_dict(json_data)

@classmethod
def from_dict(cls, kvalitetsrapport_dict: dict[str, Any]) -> Self:
def from_dict(cls, kvalitetsrapport_dict: dict[str, Any]):
"""Initierer en Kvalitetsrapport fra et dict objekt.
Returns:
Expand Down
5 changes: 4 additions & 1 deletion tests/test_app_setup.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import ssb_sirius_dash

ssb_sirius_dash.main_layout(modal_list=[], tab_list=[], variable_list=[])

def test_main_layout():
result = ssb_sirius_dash.main_layout(modal_list=[], tab_list=[], variable_list=[])
assert result is not None

0 comments on commit 0a6c355

Please sign in to comment.