Skip to content

Commit

Permalink
set
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed Dec 11, 2024
1 parent 04311e0 commit 4fd5e4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions petab/v1/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numbers
import warnings
from collections import OrderedDict
from collections.abc import Iterable, Sequence
from collections.abc import Iterable, Sequence, Set
from pathlib import Path
from typing import (
Literal,
Expand Down Expand Up @@ -258,7 +258,7 @@ def get_required_parameters_for_parameter_table(
observable_df: pd.DataFrame,
measurement_df: pd.DataFrame,
mapping_df: pd.DataFrame = None,
) -> set[str]:
) -> Set[str]:
"""
Get set of parameters which need to go into the parameter table
Expand Down
3 changes: 2 additions & 1 deletion petab/v2/lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import logging
from abc import ABC, abstractmethod
from collections import OrderedDict
from collections.abc import Set
from dataclasses import dataclass, field
from enum import IntEnum
from pathlib import Path
Expand Down Expand Up @@ -688,7 +689,7 @@ def append_overrides(overrides):

def get_required_parameters_for_parameter_table(
problem: Problem,
) -> set[str]:
) -> Set[str]:
"""
Get set of parameters which need to go into the parameter table
Expand Down

0 comments on commit 4fd5e4c

Please sign in to comment.