1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-26 21:14:19 +00:00

🔧 Rename types to royaltyping

This commit is contained in:
Steffo 2020-12-06 23:47:32 +01:00
parent 7a6d65724e
commit 002b51fefe
13 changed files with 20 additions and 20 deletions

View file

@ -12,5 +12,5 @@ It may be incomplete or outdated, as it is automatically updated.
campaigns campaigns
engineer engineer
lazy lazy
royaltyping
scrolls scrolls
types

View file

@ -0,0 +1,7 @@
``royaltyping`` - Additional type information
=============================================
.. currentmodule:: royalnet.royaltyping
.. automodule:: royalnet.royaltyping
:members:
:undoc-members:

View file

@ -1,7 +0,0 @@
``types`` - Additional type information
=======================================
.. currentmodule:: royalnet.types
.. automodule:: royalnet.types
:members:
:undoc-members:

View file

@ -1,4 +1,4 @@
from royalnet.types import * from royalnet.royaltyping import *
import sqlalchemy.orm as o import sqlalchemy.orm as o

View file

@ -1,5 +1,5 @@
from __future__ import annotations from __future__ import annotations
from royalnet.types import * from royalnet.royaltyping import *
import logging import logging
import inspect import inspect
import datetime import datetime

View file

@ -1,4 +1,4 @@
from royalnet.types import * from royalnet.royaltyping import *
import abc import abc
__all__ = ( __all__ = (

View file

@ -1,5 +1,5 @@
from __future__ import annotations from __future__ import annotations
from royalnet.types import * from royalnet.royaltyping import *
import logging import logging
import inspect import inspect
import datetime import datetime

View file

@ -1,4 +1,4 @@
from royalnet.types import * from royalnet.royaltyping import *
import abc import abc
__all__ = ( __all__ = (

View file

@ -1,11 +1,11 @@
from royalnet.types import * from royalnet.royaltyping import *
import pydantic import pydantic
import inspect import inspect
class ModelConfig(pydantic.BaseConfig): class ModelConfig(pydantic.BaseConfig):
""" """
A :mod:`pydantic` model config which allows for arbitrary types. A :mod:`pydantic` model config which allows for arbitrary royaltyping.
""" """
arbitrary_types_allowed = True arbitrary_types_allowed = True

View file

@ -1,6 +1,6 @@
import functools import functools
import pydantic import pydantic
from royalnet.types import * from royalnet.royaltyping import *
from . import params from . import params

View file

@ -1,5 +1,5 @@
from __future__ import annotations from __future__ import annotations
from royalnet.types import * from royalnet.royaltyping import *
Result = TypeVar("Result") Result = TypeVar("Result")

View file

@ -1,9 +1,9 @@
""" """
This module adds some new common types to the default typing package. This module adds some new common royaltyping to the default typing package.
It should be imported with: :: It should be imported with: ::
from royalnet.types import * from royalnet.royaltyping import *
""" """

View file

@ -4,7 +4,7 @@ from :data:`os.environ`.
""" """
from __future__ import annotations from __future__ import annotations
from royalnet.types import * from royalnet.royaltyping import *
import os import os
import re import re
import toml import toml