Skip to content

Commit

Permalink
Code review 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Raalsky committed Apr 8, 2024
1 parent 157f8e4 commit e80c971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/neptune/api/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class FieldType(Enum):
@dataclass
class Field(abc.ABC):
path: str
type: FieldType = dataclass_field(init=False)
type: ClassVar[FieldType] = dataclass_field(init=False)
_registry: ClassVar[Dict[str, Type[Field]]] = {}

def __init_subclass__(cls, *args: Any, field_type: FieldType, **kwargs: Any) -> None:
Expand Down

0 comments on commit e80c971

Please sign in to comment.