Rename _core.py -> _common.py

This commit is contained in:
Mads Marquart
2020-01-23 13:44:38 +01:00
parent 3efeffe6dd
commit c83836ceed
20 changed files with 20 additions and 20 deletions

View File

@@ -14,8 +14,8 @@ import logging as _logging
_logging.getLogger(__name__).addHandler(_logging.NullHandler())
# The order of these is somewhat significant, e.g. User has to be imported after Thread!
from . import _core, _util
from ._core import Image
from . import _common, _util
from ._common import Image
from ._exception import (
FacebookError,
HTTPError,

View File

@@ -1,5 +1,5 @@
import attr
from ._core import attrs_default, Image
from ._common import attrs_default, Image
from . import _util
from typing import Sequence

View File

@@ -1,7 +1,7 @@
import attr
import datetime
from ._core import log, attrs_default
from ._common import log, attrs_default
from . import (
_exception,
_util,

View File

@@ -1,6 +1,6 @@
import attr
import abc
from .._core import kw_only
from .._common import kw_only
from .. import _exception, _util, _thread, _group, _user, _message
from typing import Any

View File

@@ -1,6 +1,6 @@
import attr
import datetime
from ._core import attrs_default, Image
from ._common import attrs_default, Image
from . import _util
from ._attachment import Attachment

View File

@@ -1,6 +1,6 @@
import json
import re
from ._core import log
from ._common import log
from . import _util, _exception
# Shameless copy from https://stackoverflow.com/a/8730674

View File

@@ -1,6 +1,6 @@
import attr
import datetime
from ._core import attrs_default, Image
from ._common import attrs_default, Image
from . import _util, _session, _graphql, _plan, _thread, _user
from typing import Sequence, Iterable, Set, Mapping

View File

@@ -1,5 +1,5 @@
import attr
from ._core import attrs_default, Image
from ._common import attrs_default, Image
from ._attachment import Attachment
from . import _util

View File

@@ -2,7 +2,7 @@ import attr
import datetime
import enum
from string import Formatter
from ._core import log, attrs_default
from ._common import log, attrs_default
from . import (
_exception,
_util,

View File

@@ -2,7 +2,7 @@ import attr
import random
import paho.mqtt.client
import requests
from ._core import log, kw_only
from ._common import log, kw_only
from . import _util, _exception, _session, _graphql, _events
from typing import Iterable, Optional

View File

@@ -1,6 +1,6 @@
import attr
import datetime
from ._core import attrs_default, Image
from ._common import attrs_default, Image
from . import _session, _plan, _thread

View File

@@ -1,7 +1,7 @@
import attr
import datetime
import enum
from ._core import attrs_default
from ._common import attrs_default
from . import _exception, _util, _session
from typing import Mapping, Sequence

View File

@@ -1,5 +1,5 @@
import attr
from ._core import attrs_default
from ._common import attrs_default
from . import _exception, _session
from typing import Iterable, Sequence

View File

@@ -1,5 +1,5 @@
import attr
from ._core import attrs_default
from ._common import attrs_default
from ._attachment import Attachment
from typing import Any

View File

@@ -5,7 +5,7 @@ import requests
import random
import urllib.parse
from ._core import log, kw_only
from ._common import log, kw_only
from . import _graphql, _util, _exception
from typing import Optional, Tuple, Mapping, BinaryIO, Sequence, Iterable, Callable

View File

@@ -1,5 +1,5 @@
import attr
from ._core import attrs_default, Image
from ._common import attrs_default, Image
from ._attachment import Attachment

View File

@@ -3,7 +3,7 @@ import attr
import collections
import datetime
import enum
from ._core import log, attrs_default, Image
from ._common import log, attrs_default, Image
from . import _util, _exception, _session, _graphql, _attachment, _file, _plan, _message
from typing import MutableMapping, Mapping, Any, Iterable, Tuple, Optional

View File

@@ -1,6 +1,6 @@
import attr
import datetime
from ._core import log, attrs_default, Image
from ._common import log, attrs_default, Image
from . import _util, _session, _plan, _thread

View File

@@ -4,7 +4,7 @@ import time
import random
import urllib.parse
from ._core import log
from ._common import log
from . import _exception
from typing import Iterable, Optional, Any