Rename standard to std
This commit is contained in:
3
neko_demo_std/__internal/__init__.py
Normal file
3
neko_demo_std/__internal/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
"""
|
||||
Define mixins here
|
||||
"""
|
||||
22
neko_demo_std/__internal/some_internal_logic_mixins.py
Normal file
22
neko_demo_std/__internal/some_internal_logic_mixins.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class FirstAbstractMixin(ABC):
|
||||
"""
|
||||
You can force implementation developer to use mixins for logic
|
||||
"""
|
||||
@abstractmethod
|
||||
def first_method(self) -> None:
|
||||
...
|
||||
|
||||
|
||||
class SecondAbstractMixin(ABC):
|
||||
@abstractmethod
|
||||
def second_method(self) -> None:
|
||||
...
|
||||
|
||||
|
||||
"""
|
||||
Or just leave one abstractclass, that can be split into mixins by implementation
|
||||
developer
|
||||
"""
|
||||
Reference in New Issue
Block a user