From 0c087ff29922215ba2d5060b9e19f54b5450dfdb Mon Sep 17 00:00:00 2001 From: maxb2 Date: Tue, 2 May 2023 12:44:42 -0500 Subject: [PATCH] fix: change local type module name to match typer --- typer_config/__init__.py | 2 +- typer_config/{types.py => _typing.py} | 0 typer_config/loaders.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename typer_config/{types.py => _typing.py} (100%) diff --git a/typer_config/__init__.py b/typer_config/__init__.py index b75094b..1842167 100644 --- a/typer_config/__init__.py +++ b/typer_config/__init__.py @@ -4,8 +4,8 @@ import typer +from ._typing import ConfigParameterCallback, Loader, ParameterValue from .loaders import json_loader, toml_loader, yaml_loader -from .types import ConfigParameterCallback, Loader, ParameterValue def conf_callback_factory(loader: Loader) -> ConfigParameterCallback: diff --git a/typer_config/types.py b/typer_config/_typing.py similarity index 100% rename from typer_config/types.py rename to typer_config/_typing.py diff --git a/typer_config/loaders.py b/typer_config/loaders.py index e209f6e..68d0825 100644 --- a/typer_config/loaders.py +++ b/typer_config/loaders.py @@ -7,7 +7,7 @@ import json import sys -from .types import ConfDict +from ._typing import ConfDict USING_TOMLLIB = False TOML_MISSING = True