mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 03:24:20 +00:00
🔧 Rename types to royaltyping
This commit is contained in:
parent
7a6d65724e
commit
002b51fefe
13 changed files with 20 additions and 20 deletions
|
@ -12,5 +12,5 @@ It may be incomplete or outdated, as it is automatically updated.
|
|||
campaigns
|
||||
engineer
|
||||
lazy
|
||||
royaltyping
|
||||
scrolls
|
||||
types
|
||||
|
|
7
docs/source/autodoc/royaltyping.rst
Normal file
7
docs/source/autodoc/royaltyping.rst
Normal file
|
@ -0,0 +1,7 @@
|
|||
``royaltyping`` - Additional type information
|
||||
=============================================
|
||||
|
||||
.. currentmodule:: royalnet.royaltyping
|
||||
.. automodule:: royalnet.royaltyping
|
||||
:members:
|
||||
:undoc-members:
|
|
@ -1,7 +0,0 @@
|
|||
``types`` - Additional type information
|
||||
=======================================
|
||||
|
||||
.. currentmodule:: royalnet.types
|
||||
.. automodule:: royalnet.types
|
||||
:members:
|
||||
:undoc-members:
|
|
@ -1,4 +1,4 @@
|
|||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import sqlalchemy.orm as o
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from __future__ import annotations
|
||||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import logging
|
||||
import inspect
|
||||
import datetime
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import abc
|
||||
|
||||
__all__ = (
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from __future__ import annotations
|
||||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import logging
|
||||
import inspect
|
||||
import datetime
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import abc
|
||||
|
||||
__all__ = (
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import pydantic
|
||||
import inspect
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import functools
|
||||
import pydantic
|
||||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
from . import params
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from __future__ import annotations
|
||||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
|
||||
|
||||
Result = TypeVar("Result")
|
||||
|
|
|
@ -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: ::
|
||||
|
||||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
|
||||
"""
|
||||
|
|
@ -4,7 +4,7 @@ from :data:`os.environ`.
|
|||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
from royalnet.types import *
|
||||
from royalnet.royaltyping import *
|
||||
import os
|
||||
import re
|
||||
import toml
|
||||
|
|
Loading…
Reference in a new issue