From 0fefbfc21fdddc19bb3144ea760036d19b04197c Mon Sep 17 00:00:00 2001 From: Kori Kuzma Date: Thu, 20 Jun 2024 14:03:38 -0400 Subject: [PATCH] feat!: rename core_models to common_models close #412 --- src/ga4gh/core/__init__.py | 2 +- src/ga4gh/core/_internal/models.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ga4gh/core/__init__.py b/src/ga4gh/core/__init__.py index 631b4898..77466e15 100644 --- a/src/ga4gh/core/__init__.py +++ b/src/ga4gh/core/__init__.py @@ -15,7 +15,7 @@ from ._internal.pydantic import ( is_pydantic_instance, is_curie_type, is_ga4gh_identifiable, is_literal, pydantic_copy ) -from ._internal import models as core_models +from ._internal import models as common_models try: __version__ = version(__name__) diff --git a/src/ga4gh/core/_internal/models.py b/src/ga4gh/core/_internal/models.py index f611260c..c94b0c18 100644 --- a/src/ga4gh/core/_internal/models.py +++ b/src/ga4gh/core/_internal/models.py @@ -4,11 +4,11 @@ Instead, users should use one of the following: - * `from ga4gh.core import core_models`, and refer to models with the - abbreviated name, e.g., `core_models.Gene` (recommended) + * `from ga4gh.core import common_models`, and refer to models with the + abbreviated name, e.g., `common_models.Gene` (recommended) * `import ga4gh.core`, and refer to models using the fully-qualified - module name, e.g., `ga4gh.core.core_models.Gene` + module name, e.g., `ga4gh.core.common_models.Gene` """ from typing import Any, Dict, List, Literal, Optional, Union, Annotated from enum import Enum