orionis 0.347.0__py3-none-any.whl → 0.362.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- orionis/container/__init__.py +0 -70
- orionis/container/container.py +2 -2
- orionis/container/context/__init__.py +0 -9
- orionis/container/contracts/__init__.py +0 -9
- orionis/container/entities/__init__.py +0 -7
- orionis/container/entities/binding.py +1 -1
- orionis/container/enums/__init__.py +0 -2
- orionis/container/exceptions/__init__.py +0 -2
- orionis/container/facades/__init__.py +0 -7
- orionis/container/facades/facade.py +1 -2
- orionis/container/providers/__init__.py +0 -7
- orionis/container/resolver/__init__.py +0 -0
- orionis/container/{resolver.py → resolver/resolver.py} +1 -1
- orionis/container/validators/__init__.py +0 -23
- orionis/container/validators/implements.py +8 -1
- orionis/container/validators/is_abstract_class.py +1 -1
- orionis/container/validators/is_callable.py +1 -1
- orionis/container/validators/is_concrete_class.py +1 -1
- orionis/container/validators/is_instance.py +1 -1
- orionis/container/validators/is_not_subclass.py +1 -1
- orionis/container/validators/is_subclass.py +1 -1
- orionis/container/validators/is_valid_alias.py +1 -1
- orionis/container/validators/lifetime.py +1 -1
- orionis/foundation/__init__.py +0 -52
- orionis/foundation/config/__init__.py +0 -128
- orionis/foundation/config/app/__init__.py +0 -10
- orionis/foundation/config/app/entities/__init__.py +0 -7
- orionis/foundation/config/app/entities/app.py +2 -3
- orionis/foundation/config/app/enums/__init__.py +1 -3
- orionis/foundation/config/auth/__init__.py +0 -7
- orionis/foundation/config/auth/entities/__init__.py +0 -7
- orionis/foundation/config/cache/__init__.py +0 -11
- orionis/foundation/config/cache/entities/__init__.py +0 -11
- orionis/foundation/config/cache/entities/cache.py +2 -2
- orionis/foundation/config/cache/entities/file.py +1 -1
- orionis/foundation/config/cache/entities/stores.py +1 -1
- orionis/foundation/config/cache/enums/__init__.py +1 -3
- orionis/foundation/config/cors/__init__.py +0 -7
- orionis/foundation/config/cors/entities/__init__.py +0 -7
- orionis/foundation/config/cors/entities/cors.py +1 -1
- orionis/foundation/config/database/__init__.py +0 -61
- orionis/foundation/config/database/entities/__init__.py +0 -17
- orionis/foundation/config/database/entities/connections.py +1 -1
- orionis/foundation/config/database/entities/database.py +1 -1
- orionis/foundation/config/database/entities/mysql.py +6 -4
- orionis/foundation/config/database/entities/oracle.py +5 -3
- orionis/foundation/config/database/entities/pgsql.py +5 -3
- orionis/foundation/config/database/entities/sqlite.py +5 -3
- orionis/foundation/config/database/enums/__init__.py +8 -8
- orionis/foundation/config/filesystems/__init__.py +0 -17
- orionis/foundation/config/filesystems/entitites/__init__.py +0 -15
- orionis/foundation/config/filesystems/entitites/aws.py +1 -1
- orionis/foundation/config/filesystems/entitites/disks.py +1 -1
- orionis/foundation/config/filesystems/entitites/filesystems.py +1 -1
- orionis/foundation/config/filesystems/entitites/local.py +1 -1
- orionis/foundation/config/filesystems/entitites/public.py +1 -1
- orionis/foundation/config/logging/__init__.py +0 -30
- orionis/foundation/config/logging/entities/__init__.py +0 -21
- orionis/foundation/config/logging/entities/channels.py +1 -1
- orionis/foundation/config/logging/entities/chunked.py +2 -2
- orionis/foundation/config/logging/entities/daily.py +2 -2
- orionis/foundation/config/logging/entities/hourly.py +2 -2
- orionis/foundation/config/logging/entities/logging.py +1 -1
- orionis/foundation/config/logging/entities/monthly.py +2 -2
- orionis/foundation/config/logging/entities/stack.py +2 -2
- orionis/foundation/config/logging/entities/weekly.py +2 -2
- orionis/foundation/config/logging/enums/__init__.py +0 -2
- orionis/foundation/config/mail/__init__.py +0 -15
- orionis/foundation/config/mail/entities/__init__.py +0 -13
- orionis/foundation/config/mail/entities/file.py +1 -1
- orionis/foundation/config/mail/entities/mail.py +1 -1
- orionis/foundation/config/mail/entities/mailers.py +1 -1
- orionis/foundation/config/mail/entities/smtp.py +1 -1
- orionis/foundation/config/queue/__init__.py +0 -20
- orionis/foundation/config/queue/entities/__init__.py +0 -11
- orionis/foundation/config/queue/entities/brokers.py +1 -1
- orionis/foundation/config/queue/entities/database.py +2 -2
- orionis/foundation/config/queue/entities/queue.py +1 -1
- orionis/foundation/config/queue/enums/__init__.py +1 -3
- orionis/foundation/config/roots/__init__.py +0 -7
- orionis/foundation/config/roots/paths.py +1 -1
- orionis/foundation/config/session/__init__.py +0 -20
- orionis/foundation/config/session/entities/__init__.py +0 -7
- orionis/foundation/config/session/entities/session.py +2 -2
- orionis/foundation/config/session/enums/__init__.py +1 -3
- orionis/foundation/config/session/helpers/__init__.py +0 -7
- orionis/foundation/config/startup.py +1 -1
- orionis/foundation/config/testing/__init__.py +0 -14
- orionis/foundation/config/testing/entities/__init__.py +0 -7
- orionis/foundation/config/testing/entities/testing.py +1 -1
- orionis/foundation/config/testing/enums/__init__.py +1 -3
- orionis/foundation/contracts/__init__.py +0 -7
- orionis/foundation/exceptions/__init__.py +2 -4
- orionis/foundation/providers/__init__.py +0 -0
- orionis/metadata/__init__.py +0 -46
- orionis/metadata/framework.py +1 -1
- orionis/patterns/singleton/__init__.py +0 -7
- orionis/services/asynchrony/__init__.py +0 -7
- orionis/services/asynchrony/contracts/__init__.py +0 -7
- orionis/services/asynchrony/coroutines.py +2 -2
- orionis/services/asynchrony/exceptions/__init__.py +1 -3
- orionis/services/environment/__init__.py +0 -7
- orionis/services/environment/contracts/__init__.py +0 -9
- orionis/services/environment/{core/dot_env.py → dot_env.py} +3 -2
- orionis/services/environment/env.py +2 -2
- orionis/services/environment/exceptions/__init__.py +0 -9
- orionis/services/environment/{types/env_types.py → types.py} +2 -1
- orionis/services/introspection/__init__.py +0 -68
- orionis/services/introspection/abstract/__init__.py +0 -7
- orionis/services/introspection/callables/__init__.py +0 -7
- orionis/services/introspection/concretes/__init__.py +0 -7
- orionis/services/introspection/contracts/__init__.py +0 -15
- orionis/services/introspection/dependencies/__init__.py +0 -22
- orionis/services/introspection/dependencies/entities/__init__.py +0 -13
- orionis/services/introspection/exceptions/__init__.py +0 -11
- orionis/services/introspection/instances/__init__.py +0 -7
- orionis/services/introspection/modules/__init__.py +0 -7
- orionis/services/log/__init__.py +0 -7
- orionis/services/parsers/__init__.py +0 -20
- orionis/services/parsers/contracts/__init__.py +0 -7
- orionis/services/parsers/exceptions/__init__.py +0 -7
- orionis/services/paths/__init__.py +0 -24
- orionis/services/paths/contracts/__init__.py +0 -7
- orionis/services/paths/exceptions/__init__.py +0 -9
- orionis/services/system/__init__.py +0 -17
- orionis/services/system/contracts/__init__.py +0 -9
- orionis/support/standard/__init__.py +0 -9
- orionis/support/standard/contracts/__init__.py +0 -5
- orionis/support/standard/exceptions/__init__.py +0 -5
- orionis/support/standard/std.py +2 -2
- orionis/support/wrapper/__init__.py +0 -5
- orionis/support/wrapper/dicts/__init__.py +0 -5
- orionis/test/__init__.py +0 -63
- orionis/test/cases/__init__.py +0 -9
- orionis/test/cases/test_async.py +1 -1
- orionis/test/cases/test_case.py +1 -1
- orionis/test/cases/test_sync.py +1 -1
- orionis/test/contracts/__init__.py +0 -11
- orionis/test/contracts/{unit_test.py → test_unit.py} +2 -2
- orionis/test/entities/__init__.py +0 -5
- orionis/test/entities/test_result.py +1 -1
- orionis/test/enums/__init__.py +0 -7
- orionis/test/exceptions/__init__.py +0 -13
- orionis/test/logs/__init__.py +0 -5
- orionis/test/logs/history.py +4 -3
- orionis/test/output/__init__.py +0 -7
- orionis/test/output/dumper.py +2 -2
- orionis/test/output/printer.py +3 -3
- orionis/test/suite/__init__.py +0 -5
- orionis/test/suite/{unit_test.py → test_unit.py} +10 -7
- orionis/test/test_suite.py +1 -1
- orionis/test/view/__init__.py +0 -5
- orionis/test/view/render.py +2 -2
- orionis/unittesting.py +64 -0
- {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/METADATA +1 -1
- {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/RECORD +221 -222
- tests/example/test_example.py +1 -1
- tests/foundation/config/app/test_foundation_config_app.py +1 -1
- tests/foundation/config/auth/test_foundation_config_auth.py +1 -1
- tests/foundation/config/cache/test_foundation_config_cache.py +1 -1
- tests/foundation/config/cache/test_foundation_config_cache_file.py +1 -1
- tests/foundation/config/cache/test_foundation_config_cache_stores.py +1 -1
- tests/foundation/config/cors/test_foundation_config_cors.py +1 -1
- tests/foundation/config/database/test_foundation_config_database.py +1 -1
- tests/foundation/config/database/test_foundation_config_database_connections.py +1 -1
- tests/foundation/config/database/test_foundation_config_database_mysql.py +1 -1
- tests/foundation/config/database/test_foundation_config_database_oracle.py +1 -1
- tests/foundation/config/database/test_foundation_config_database_pgsql.py +1 -1
- tests/foundation/config/database/test_foundation_config_database_sqlite.py +1 -1
- tests/foundation/config/filesystems/test_foundation_config_filesystems.py +1 -1
- tests/foundation/config/filesystems/test_foundation_config_filesystems_aws.py +1 -1
- tests/foundation/config/filesystems/test_foundation_config_filesystems_disks.py +1 -1
- tests/foundation/config/filesystems/test_foundation_config_filesystems_local.py +1 -1
- tests/foundation/config/filesystems/test_foundation_config_filesystems_public.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_channels.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_chunked.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_daily.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_hourly.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_monthly.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_stack.py +1 -1
- tests/foundation/config/logging/test_foundation_config_logging_weekly.py +1 -1
- tests/foundation/config/mail/test_foundation_config_mail.py +1 -1
- tests/foundation/config/mail/test_foundation_config_mail_file.py +1 -1
- tests/foundation/config/mail/test_foundation_config_mail_mailers.py +1 -1
- tests/foundation/config/mail/test_foundation_config_mail_smtp.py +1 -1
- tests/foundation/config/queue/test_foundation_config_queue.py +1 -1
- tests/foundation/config/queue/test_foundation_config_queue_brokers.py +1 -1
- tests/foundation/config/queue/test_foundation_config_queue_database.py +1 -1
- tests/foundation/config/root/test_foundation_config_root_paths.py +1 -1
- tests/foundation/config/session/test_foundation_config_session.py +1 -1
- tests/foundation/config/startup/test_foundation_config_startup.py +1 -1
- tests/foundation/config/testing/test_foundation_config_testing.py +1 -1
- tests/foundation/exceptions/test_foundation_config_exceptions.py +1 -1
- tests/metadata/test_metadata_framework.py +2 -2
- tests/metadata/test_metadata_package.py +1 -1
- tests/patterns/singleton/test_patterns_singleton.py +2 -2
- tests/services/asynchrony/test_services_asynchrony_coroutine.py +3 -3
- tests/services/environment/test_services_environment.py +3 -3
- tests/services/inspection/dependencies/test_reflect_dependencies.py +1 -1
- tests/services/inspection/reflection/test_reflection_abstract.py +1 -1
- tests/services/inspection/reflection/test_reflection_callable.py +1 -1
- tests/services/inspection/reflection/test_reflection_concrete.py +1 -1
- tests/services/inspection/reflection/test_reflection_instance.py +1 -1
- tests/services/inspection/reflection/test_reflection_module.py +1 -1
- tests/services/inspection/test_reflection.py +1 -1
- tests/services/parsers/test_services_parser_exceptions.py +1 -1
- tests/services/path/test_services_resolver.py +1 -1
- tests/services/system/test_services_system_imports.py +1 -1
- tests/services/system/test_services_system_workers.py +1 -1
- tests/support/standard/test_services_std.py +2 -2
- tests/support/wrapper/test_services_wrapper_docdict.py +2 -2
- tests/testing/test_testing_result.py +1 -1
- tests/testing/test_testing_unit.py +2 -1
- orionis/services/environment/core/__init__.py +0 -7
- orionis/services/environment/helpers/__init__.py +0 -7
- orionis/services/environment/helpers/functions.py +0 -21
- orionis/services/environment/types/__init__.py +0 -7
- /orionis/foundation/exceptions/{value_error.py → value.py} +0 -0
- /orionis/patterns/singleton/{meta_class.py → meta.py} +0 -0
- /orionis/services/asynchrony/exceptions/{coroutine_exception.py → exception.py} +0 -0
- {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/WHEEL +0 -0
- {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/licenses/LICENCE +0 -0
- {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/top_level.txt +0 -0
- {orionis-0.347.0.dist-info → orionis-0.362.0.dist-info}/zip-safe +0 -0
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# Import database entities
|
|
2
|
-
from .entities import (
|
|
3
|
-
Connections,
|
|
4
|
-
Database,
|
|
5
|
-
MySQL,
|
|
6
|
-
Oracle,
|
|
7
|
-
PGSQL,
|
|
8
|
-
SQLite
|
|
9
|
-
)
|
|
10
|
-
|
|
11
|
-
# Import database enums
|
|
12
|
-
from .enums import (
|
|
13
|
-
# MySQL enums
|
|
14
|
-
MySQLCharset,
|
|
15
|
-
MySQLCollation,
|
|
16
|
-
MySQLEngine,
|
|
17
|
-
|
|
18
|
-
# Oracle enums
|
|
19
|
-
OracleEncoding,
|
|
20
|
-
OracleNencoding,
|
|
21
|
-
|
|
22
|
-
# PostgreSQL enums
|
|
23
|
-
PGSQLCharset,
|
|
24
|
-
PGSQLCollation,
|
|
25
|
-
PGSQLSSLMode,
|
|
26
|
-
|
|
27
|
-
# SQLite enums
|
|
28
|
-
SQLiteForeignKey,
|
|
29
|
-
SQLiteJournalMode,
|
|
30
|
-
SQLiteSynchronous
|
|
31
|
-
)
|
|
32
|
-
|
|
33
|
-
# Define the public API of this module
|
|
34
|
-
__all__ = [
|
|
35
|
-
# Database entities
|
|
36
|
-
"Connections",
|
|
37
|
-
"Database",
|
|
38
|
-
"MySQL",
|
|
39
|
-
"Oracle",
|
|
40
|
-
"PGSQL",
|
|
41
|
-
"SQLite",
|
|
42
|
-
|
|
43
|
-
# MySQL enums
|
|
44
|
-
"MySQLCharset",
|
|
45
|
-
"MySQLCollation",
|
|
46
|
-
"MySQLEngine",
|
|
47
|
-
|
|
48
|
-
# Oracle enums
|
|
49
|
-
"OracleEncoding",
|
|
50
|
-
"OracleNencoding",
|
|
51
|
-
|
|
52
|
-
# PostgreSQL enums
|
|
53
|
-
"PGSQLCharset",
|
|
54
|
-
"PGSQLCollation",
|
|
55
|
-
"PGSQLSSLMode",
|
|
56
|
-
|
|
57
|
-
# SQLite enums
|
|
58
|
-
"SQLiteForeignKey",
|
|
59
|
-
"SQLiteJournalMode",
|
|
60
|
-
"SQLiteSynchronous",
|
|
61
|
-
]
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# Import database entities
|
|
2
|
-
from .connections import Connections
|
|
3
|
-
from .database import Database
|
|
4
|
-
from .mysql import MySQL
|
|
5
|
-
from .oracle import Oracle
|
|
6
|
-
from .pgsql import PGSQL
|
|
7
|
-
from .sqlite import SQLite
|
|
8
|
-
|
|
9
|
-
# Define the public API of this module
|
|
10
|
-
__all__ = [
|
|
11
|
-
"Connections",
|
|
12
|
-
"Database",
|
|
13
|
-
"MySQL",
|
|
14
|
-
"Oracle",
|
|
15
|
-
"PGSQL",
|
|
16
|
-
"SQLite",
|
|
17
|
-
]
|
|
@@ -3,7 +3,7 @@ from orionis.foundation.config.database.entities.mysql import MySQL
|
|
|
3
3
|
from orionis.foundation.config.database.entities.oracle import Oracle
|
|
4
4
|
from orionis.foundation.config.database.entities.pgsql import PGSQL
|
|
5
5
|
from orionis.foundation.config.database.entities.sqlite import SQLite
|
|
6
|
-
from orionis.foundation.exceptions
|
|
6
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
7
7
|
|
|
8
8
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
9
9
|
class Connections:
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from orionis.foundation.config.database.entities.connections import Connections
|
|
3
3
|
from orionis.services.environment.env import Env
|
|
4
|
-
from orionis.foundation.exceptions
|
|
4
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
5
5
|
|
|
6
6
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
7
7
|
class Database:
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from typing import Optional
|
|
3
|
-
from orionis.foundation.config.database.enums
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
from orionis.foundation.config.database.enums import (
|
|
4
|
+
MySQLCharset,
|
|
5
|
+
MySQLCollation,
|
|
6
|
+
MySQLEngine
|
|
7
|
+
)
|
|
8
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
7
9
|
from orionis.services.environment.env import Env
|
|
8
10
|
|
|
9
11
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from typing import Optional
|
|
3
|
-
from orionis.foundation.config.database.enums
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
from orionis.foundation.config.database.enums import (
|
|
4
|
+
OracleEncoding,
|
|
5
|
+
OracleNencoding
|
|
6
|
+
)
|
|
7
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
6
8
|
from orionis.services.environment.env import Env
|
|
7
9
|
|
|
8
10
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.config.database.enums
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
from orionis.foundation.config.database.enums import (
|
|
3
|
+
PGSQLCharset,
|
|
4
|
+
PGSQLSSLMode
|
|
5
|
+
)
|
|
6
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
5
7
|
from orionis.services.environment.env import Env
|
|
6
8
|
|
|
7
9
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.config.database.enums
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
from orionis.foundation.config.database.enums import (
|
|
3
|
+
SQLiteForeignKey,
|
|
4
|
+
SQLiteJournalMode,
|
|
5
|
+
SQLiteSynchronous
|
|
6
|
+
)
|
|
5
7
|
from orionis.foundation.exceptions.integrity import OrionisIntegrityException
|
|
6
8
|
from orionis.services.environment.env import Env
|
|
7
9
|
|
|
@@ -3,15 +3,15 @@ from .mysql_charsets import MySQLCharset
|
|
|
3
3
|
from .mysql_collations import MySQLCollation
|
|
4
4
|
from .mysql_engine import MySQLEngine
|
|
5
5
|
|
|
6
|
-
# Import Oracle enums
|
|
7
|
-
from .oracle_encoding import OracleEncoding
|
|
8
|
-
from .oracle_nencoding import OracleNencoding
|
|
9
|
-
|
|
10
6
|
# Import PostgreSQL enums
|
|
11
7
|
from .pgsql_charsets import PGSQLCharset
|
|
12
8
|
from .pgsql_collations import PGSQLCollation
|
|
13
9
|
from .pgsql_mode import PGSQLSSLMode
|
|
14
10
|
|
|
11
|
+
# Import Oracle enums
|
|
12
|
+
from .oracle_encoding import OracleEncoding
|
|
13
|
+
from .oracle_nencoding import OracleNencoding
|
|
14
|
+
|
|
15
15
|
# Import SQLite enums
|
|
16
16
|
from .sqlite_foreign_key import SQLiteForeignKey
|
|
17
17
|
from .sqlite_journal import SQLiteJournalMode
|
|
@@ -24,15 +24,15 @@ __all__ = [
|
|
|
24
24
|
"MySQLCollation",
|
|
25
25
|
"MySQLEngine",
|
|
26
26
|
|
|
27
|
-
# Oracle enums
|
|
28
|
-
"OracleEncoding",
|
|
29
|
-
"OracleNencoding",
|
|
30
|
-
|
|
31
27
|
# PostgreSQL enums
|
|
32
28
|
"PGSQLCharset",
|
|
33
29
|
"PGSQLCollation",
|
|
34
30
|
"PGSQLSSLMode",
|
|
35
31
|
|
|
32
|
+
# Oracle enums
|
|
33
|
+
"OracleEncoding",
|
|
34
|
+
"OracleNencoding",
|
|
35
|
+
|
|
36
36
|
# SQLite enums
|
|
37
37
|
"SQLiteForeignKey",
|
|
38
38
|
"SQLiteJournalMode",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Import filesystems entities
|
|
2
|
-
from .aws import S3
|
|
3
|
-
from .disks import Disks
|
|
4
|
-
from .filesystems import Filesystems
|
|
5
|
-
from .local import Local
|
|
6
|
-
from .public import Public
|
|
7
|
-
|
|
8
|
-
# Define the public API of this module
|
|
9
|
-
__all__ = [
|
|
10
|
-
"S3",
|
|
11
|
-
"Disks",
|
|
12
|
-
"Filesystems",
|
|
13
|
-
"Local",
|
|
14
|
-
"Public",
|
|
15
|
-
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from typing import Optional
|
|
3
|
-
from orionis.foundation.exceptions
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class S3:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
3
|
from orionis.foundation.config.filesystems.entitites.aws import S3
|
|
4
4
|
from orionis.foundation.config.filesystems.entitites.public import Public
|
|
5
5
|
from orionis.foundation.config.filesystems.entitites.local import Local
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import dataclass, field, asdict, fields
|
|
2
2
|
from orionis.foundation.config.filesystems.entitites.disks import Disks
|
|
3
|
-
from orionis.foundation.exceptions
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Filesystems:
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# Import logging entities
|
|
2
|
-
from .entities import (
|
|
3
|
-
Channels,
|
|
4
|
-
Chunked,
|
|
5
|
-
Daily,
|
|
6
|
-
Hourly,
|
|
7
|
-
Logging,
|
|
8
|
-
Monthly,
|
|
9
|
-
Stack,
|
|
10
|
-
Weekly
|
|
11
|
-
)
|
|
12
|
-
|
|
13
|
-
# Import logging enums
|
|
14
|
-
from .enums import Level
|
|
15
|
-
|
|
16
|
-
# Define the public API of this module
|
|
17
|
-
__all__ = [
|
|
18
|
-
# Logging entities
|
|
19
|
-
"Channels",
|
|
20
|
-
"Chunked",
|
|
21
|
-
"Daily",
|
|
22
|
-
"Hourly",
|
|
23
|
-
"Logging",
|
|
24
|
-
"Monthly",
|
|
25
|
-
"Stack",
|
|
26
|
-
"Weekly",
|
|
27
|
-
|
|
28
|
-
# Logging enums
|
|
29
|
-
"Level",
|
|
30
|
-
]
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# Import logging entities
|
|
2
|
-
from .channels import Channels
|
|
3
|
-
from .chunked import Chunked
|
|
4
|
-
from .daily import Daily
|
|
5
|
-
from .hourly import Hourly
|
|
6
|
-
from .logging import Logging
|
|
7
|
-
from .monthly import Monthly
|
|
8
|
-
from .stack import Stack
|
|
9
|
-
from .weekly import Weekly
|
|
10
|
-
|
|
11
|
-
# Define the public API of this module
|
|
12
|
-
__all__ = [
|
|
13
|
-
"Channels",
|
|
14
|
-
"Chunked",
|
|
15
|
-
"Daily",
|
|
16
|
-
"Hourly",
|
|
17
|
-
"Logging",
|
|
18
|
-
"Monthly",
|
|
19
|
-
"Stack",
|
|
20
|
-
"Weekly",
|
|
21
|
-
]
|
|
@@ -5,7 +5,7 @@ from orionis.foundation.config.logging.entities.daily import Daily
|
|
|
5
5
|
from orionis.foundation.config.logging.entities.hourly import Hourly
|
|
6
6
|
from orionis.foundation.config.logging.entities.stack import Stack
|
|
7
7
|
from orionis.foundation.config.logging.entities.weekly import Weekly
|
|
8
|
-
from orionis.foundation.exceptions
|
|
8
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
9
9
|
|
|
10
10
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
11
11
|
class Channels:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
3
|
-
from orionis.foundation.config.logging.enums
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
|
+
from orionis.foundation.config.logging.enums import Level
|
|
4
4
|
import re
|
|
5
5
|
|
|
6
6
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from datetime import time
|
|
3
|
-
from orionis.foundation.exceptions
|
|
4
|
-
from orionis.foundation.config.logging.enums
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
|
+
from orionis.foundation.config.logging.enums import Level
|
|
5
5
|
|
|
6
6
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
7
7
|
class Daily:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
3
|
-
from orionis.foundation.config.logging.enums
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
|
+
from orionis.foundation.config.logging.enums import Level
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Hourly:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import dataclass, field, asdict, fields
|
|
2
2
|
from orionis.foundation.config.logging.entities.channels import Channels
|
|
3
|
-
from orionis.foundation.exceptions
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Logging:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
3
|
-
from orionis.foundation.config.logging.enums
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
|
+
from orionis.foundation.config.logging.enums import Level
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Monthly:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
3
|
-
from orionis.foundation.config.logging.enums
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
|
+
from orionis.foundation.config.logging.enums import Level
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Stack:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
3
|
-
from orionis.foundation.config.logging.enums
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
|
+
from orionis.foundation.config.logging.enums import Level
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Weekly:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
3
|
from orionis.foundation.config.mail.entities.mailers import Mailers
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
3
|
from orionis.foundation.config.mail.entities.file import File
|
|
4
4
|
from orionis.foundation.config.mail.entities.smtp import Smtp
|
|
5
5
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from typing import Optional
|
|
3
|
-
from orionis.foundation.exceptions
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
6
6
|
class Smtp:
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Import queue entities
|
|
2
|
-
from .entities import (
|
|
3
|
-
Brokers,
|
|
4
|
-
Database,
|
|
5
|
-
Queue
|
|
6
|
-
)
|
|
7
|
-
|
|
8
|
-
# Import queue enums
|
|
9
|
-
from .enums import Strategy
|
|
10
|
-
|
|
11
|
-
# Define the public API of this module
|
|
12
|
-
__all__ = [
|
|
13
|
-
# Queue entities
|
|
14
|
-
"Brokers",
|
|
15
|
-
"Database",
|
|
16
|
-
"Queue",
|
|
17
|
-
|
|
18
|
-
# Queue enums
|
|
19
|
-
"Strategy",
|
|
20
|
-
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
from dataclasses import asdict, dataclass, field, fields
|
|
3
|
-
from orionis.foundation.exceptions
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
4
|
from orionis.foundation.config.queue.entities.database import Database
|
|
5
5
|
|
|
6
6
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
from dataclasses import asdict, dataclass, field, fields
|
|
3
|
-
from orionis.foundation.exceptions
|
|
4
|
-
from orionis.foundation.config.queue.enums
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
|
+
from orionis.foundation.config.queue.enums import Strategy
|
|
5
5
|
import re
|
|
6
6
|
|
|
7
7
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
|
-
from orionis.foundation.exceptions
|
|
2
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
3
3
|
from orionis.foundation.config.queue.entities.brokers import Brokers
|
|
4
4
|
|
|
5
5
|
@dataclass(unsafe_hash=True, kw_only=True)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from pathlib import Path
|
|
3
3
|
from typing import Dict
|
|
4
|
-
from orionis.foundation.exceptions
|
|
4
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
5
5
|
|
|
6
6
|
@dataclass(frozen=True, kw_only=True)
|
|
7
7
|
class Paths:
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
# Import session entities
|
|
2
|
-
from .entities import Session
|
|
3
|
-
|
|
4
|
-
# Import session enums
|
|
5
|
-
from .enums import SameSitePolicy
|
|
6
|
-
|
|
7
|
-
# Import session helpers
|
|
8
|
-
from .helpers import SecretKey
|
|
9
|
-
|
|
10
|
-
# Define the public API of this module
|
|
11
|
-
__all__ = [
|
|
12
|
-
# Session entities
|
|
13
|
-
"Session",
|
|
14
|
-
|
|
15
|
-
# Session enums
|
|
16
|
-
"SameSitePolicy",
|
|
17
|
-
|
|
18
|
-
# Session helpers
|
|
19
|
-
"SecretKey",
|
|
20
|
-
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from dataclasses import asdict, dataclass, field, fields
|
|
2
2
|
from typing import Optional
|
|
3
|
-
from orionis.foundation.exceptions
|
|
4
|
-
from orionis.foundation.config.session.enums
|
|
3
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
4
|
+
from orionis.foundation.config.session.enums import SameSitePolicy
|
|
5
5
|
from orionis.foundation.config.session.helpers.secret_key import SecretKey
|
|
6
6
|
from orionis.services.environment.env import Env
|
|
7
7
|
|
|
@@ -4,7 +4,7 @@ from orionis.foundation.config.auth.entities.auth import Auth
|
|
|
4
4
|
from orionis.foundation.config.cache.entities.cache import Cache
|
|
5
5
|
from orionis.foundation.config.cors.entities.cors import Cors
|
|
6
6
|
from orionis.foundation.config.database.entities.database import Database
|
|
7
|
-
from orionis.foundation.exceptions
|
|
7
|
+
from orionis.foundation.exceptions import OrionisIntegrityException
|
|
8
8
|
from orionis.foundation.config.filesystems.entitites.filesystems import Filesystems
|
|
9
9
|
from orionis.foundation.config.logging.entities.logging import Logging
|
|
10
10
|
from orionis.foundation.config.mail.entities.mail import Mail
|