Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 4 additions & 11 deletions src/ga4gh/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

from __future__ import annotations

from abc import ABC
from enum import Enum
from typing import Annotated, Any, ClassVar, Literal

Expand Down Expand Up @@ -120,11 +119,8 @@ def ga4gh_serialize(self) -> str: # noqa: D102
#########################################


class Element(GKMCoreMetadataMixin, BaseModel, ABC):
"""The base definition for all identifiable data objects.

Abstract base class to be extended by other classes. Do NOT instantiate directly.
"""
class Element(GKMCoreMetadataMixin, BaseModel):
"""The base definition for all identifiable data objects."""

_maturity: ClassVar[Maturity] = Maturity.TRIAL_USE
_abstract: ClassVar[bool] = True
Expand Down Expand Up @@ -174,11 +170,8 @@ class Extension(Element, BaseModelForbidExtra):
)


class Entity(GKMCoreMetadataMixin, BaseModel, ABC):
"""Anything that exists, has existed, or will exist.

Abstract base class to be extended by other classes. Do NOT instantiate directly.
"""
class Entity(GKMCoreMetadataMixin, BaseModel):
"""Anything that exists, has existed, or will exist."""

_maturity: ClassVar[Maturity] = Maturity.TRIAL_USE
_abstract: ClassVar[bool] = True
Expand Down
2 changes: 1 addition & 1 deletion src/ga4gh/vrs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def is_ga4gh_identifiable() -> bool:
return False


class Ga4ghIdentifiableObject(VRSMetadataMixin, _ValueObject, ABC):
class Ga4ghIdentifiableObject(VRSMetadataMixin, _ValueObject):
"""A contextual value object for which a GA4GH computed identifier can be created.
All GA4GH Identifiable Objects may have computed digests from the VRS Computed
Identifier algorithm.
Expand Down
Loading