Moved implementations to extensions
This commit is contained in:
parent
d7881774a8
commit
c5b1a95661
@ -1,25 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
|
||||||
"""
|
|
||||||
sh_cpl-query sh-edraft Common Python library Query
|
|
||||||
~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
sh-edraft Common Python library Python integrated Queries
|
|
||||||
|
|
||||||
:copyright: (c) 2020 - 2021 sh-edraft.de
|
|
||||||
:license: MIT, see LICENSE for more details.
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
__title__ = 'cpl_query._extension'
|
|
||||||
__author__ = 'Sven Heidemann'
|
|
||||||
__license__ = 'MIT'
|
|
||||||
__copyright__ = 'Copyright (c) 2020 - 2021 sh-edraft.de'
|
|
||||||
__version__ = '2021.10.0.post1'
|
|
||||||
|
|
||||||
from collections import namedtuple
|
|
||||||
|
|
||||||
# imports:
|
|
||||||
|
|
||||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
|
||||||
version_info = VersionInfo(major='2021', minor='10', micro='0.post1')
|
|
@ -20,6 +20,11 @@ __version__ = '2021.10.0.post1'
|
|||||||
from collections import namedtuple
|
from collections import namedtuple
|
||||||
|
|
||||||
# imports:
|
# imports:
|
||||||
|
from iterable_abc import IterableABC
|
||||||
|
from iterable import Iterable
|
||||||
|
from list import List
|
||||||
|
from ordered_iterable_abc import OrderedIterableABC
|
||||||
|
from ordered_iterable import OrderedIterable
|
||||||
|
|
||||||
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
VersionInfo = namedtuple('VersionInfo', 'major minor micro')
|
||||||
version_info = VersionInfo(major='2021', minor='10', micro='0.post1')
|
version_info = VersionInfo(major='2021', minor='10', micro='0.post1')
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
from .._extension.iterable import Iterable
|
from iterable import Iterable
|
||||||
|
|
||||||
|
|
||||||
class List(Iterable):
|
class List(Iterable):
|
||||||
|
r"""Implementation of :class: `cpl_query.Iterable`
|
||||||
|
"""
|
||||||
|
|
||||||
def __init__(self, t: type = None, values: list = None):
|
def __init__(self, t: type = None, values: list = None):
|
||||||
Iterable.__init__(self, t, values)
|
Iterable.__init__(self, t, values)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from abc import abstractmethod
|
from abc import abstractmethod
|
||||||
from collections import Callable
|
from collections import Callable
|
||||||
|
|
||||||
from cpl_query.extension.iterable_abc import IterableABC
|
from iterable_abc import IterableABC
|
||||||
|
|
||||||
|
|
||||||
class OrderedIterableABC(IterableABC):
|
class OrderedIterableABC(IterableABC):
|
||||||
|
Loading…
Reference in New Issue
Block a user