orionis 0.621.0__tar.gz → 0.622.0__tar.gz
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-0.621.0/orionis.egg-info → orionis-0.622.0}/PKG-INFO +1 -1
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/event.py +15 -15
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/schedule.py +17 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/fluent/event.py +102 -100
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/tasks/schedule.py +28 -2
- {orionis-0.621.0 → orionis-0.622.0}/orionis/metadata/framework.py +1 -1
- {orionis-0.621.0 → orionis-0.622.0/orionis.egg-info}/PKG-INFO +1 -1
- {orionis-0.621.0 → orionis-0.622.0}/LICENCE +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/MANIFEST.in +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/README.md +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/args/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/args/argument.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/base/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/base/command.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/base/scheduler.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/base/scheduler_event_listener.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/cache.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/help.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/make_listener.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/publisher.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/scheduler_list.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/scheduler_work.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/test.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/version.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/commands/workflow.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/base_command.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/base_scheduler.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/cli_request.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/command.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/console.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/debug.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/executor.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/kernel.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/progress_bar.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/reactor.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/contracts/schedule_event_listener.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/core/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/core/reactor.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/dumper/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/dumper/debug.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/dynamic/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/dynamic/progress_bar.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/command.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/event.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/event_job.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/scheduler_error.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/scheduler_event_data.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/scheduler_paused.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/scheduler_resumed.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/scheduler_shutdown.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/entities/scheduler_started.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/enums/actions.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/enums/listener.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/enums/styles.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/exceptions/cli_exceptions.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/fluent/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/fluent/command.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/kernel.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/output/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/output/console.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/output/executor.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/request/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/request/cli_request.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/stub/command.stub +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/stub/listener.stub +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/console/tasks/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/container.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/context/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/context/manager.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/context/scope.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/contracts/container.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/contracts/service_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/entities/binding.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/enums/lifetimes.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/exceptions/container.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/facades/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/facades/facade.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/providers/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/providers/service_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/implements.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_abstract_class.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_callable.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_concrete_class.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_instance.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_not_subclass.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_subclass.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/is_valid_alias.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/container/validators/lifetime.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/base/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/base/handler.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/catch.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/contracts/catch.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/contracts/handler.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/failure/entities/throwable.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/application.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/app/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/app/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/app/entities/app.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/app/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/app/enums/ciphers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/app/enums/environments.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/auth/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/auth/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/auth/entities/auth.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/entities/cache.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/entities/file.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/entities/stores.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cache/enums/drivers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cors/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cors/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/cors/entities/cors.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/connections.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/database.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/mysql.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/oracle.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/pgsql.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/entities/sqlite.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/mysql_charsets.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/mysql_collations.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/mysql_engine.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/oracle_encoding.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/oracle_nencoding.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/pgsql_charsets.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/pgsql_collations.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/pgsql_mode.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/sqlite_foreign_key.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/sqlite_journal.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/database/enums/sqlite_synchronous.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/entitites/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/entitites/aws.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/entitites/disks.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/entitites/filesystems.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/entitites/local.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/filesystems/entitites/public.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/channels.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/chunked.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/daily.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/hourly.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/logging.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/monthly.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/stack.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/entities/weekly.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/enums/levels.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/validators/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/validators/level.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/logging/validators/path.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/mail/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/mail/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/mail/entities/file.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/mail/entities/mail.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/mail/entities/mailers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/mail/entities/smtp.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/entities/brokers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/entities/database.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/entities/queue.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/queue/enums/strategy.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/roots/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/roots/paths.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/entities/session.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/enums/same_site_policy.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/helpers/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/session/helpers/secret_key.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/startup.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/entities/testing.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/enums/drivers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/enums/mode.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/config/testing/enums/verbosity.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/contracts/application.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/exceptions/application.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/catch_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/cli_request_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/console_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/directory_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/dumper_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/executor_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/inspirational_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/logger_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/performance_counter_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/progress_bar_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/reactor_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/scheduler_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/testing_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/foundation/providers/workers_provider.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/metadata/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/metadata/package.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/asynchrony/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/asynchrony/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/asynchrony/contracts/coroutines.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/asynchrony/coroutines.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/asynchrony/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/asynchrony/exceptions/asynchrony.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/encrypter/encrypter.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/contracts/caster.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/contracts/env.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/core/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/core/dot_env.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/dynamic/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/dynamic/caster.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/enums/value_type.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/env.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/exceptions/environment.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/helpers/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/helpers/functions.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/key/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/key/key_generator.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/validators/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/validators/key_name.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/environment/validators/types.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/file/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/file/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/file/contracts/directory.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/file/directory.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/inspirational/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/inspirational/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/inspirational/contracts/inspire.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/inspirational/inspire.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/inspirational/quotes.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/abstract/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/abstract/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/abstract/contracts/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/abstract/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/callables/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/callables/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/callables/contracts/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/callables/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/concretes/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/concretes/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/concretes/contracts/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/concretes/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/contracts/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/entities/argument.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/entities/resolve_argument.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/dependencies/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/exceptions/introspection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/instances/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/instances/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/instances/contracts/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/instances/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/modules/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/modules/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/modules/contracts/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/modules/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/objects/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/objects/types.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/introspection/reflection.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/contracts/log_service.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/exceptions/log.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/handlers/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/handlers/filename.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/handlers/size_rotating.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/handlers/timed_rotating.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/log/log_service.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/contracts/imports.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/contracts/workers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/imports.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/runtime/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/runtime/imports.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/services/system/workers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/entities/base.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/application.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/application.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/console.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/console.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/directory.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/directory.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/dumper.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/dumper.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/executor.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/executor.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/inspire.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/inspire.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/logger.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/logger.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/performance_counter.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/performance_counter.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/progress_bar.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/progress_bar.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/reactor.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/reactor.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/testing.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/testing.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/workers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/facades/workers.pyi +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/formatter/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/formatter/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/formatter/exceptions/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/formatter/exceptions/contracts/parser.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/formatter/exceptions/parser.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/formatter/serializer.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/patterns/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/patterns/singleton/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/patterns/singleton/meta.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/performance/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/performance/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/performance/contracts/counter.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/performance/counter.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/standard/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/standard/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/standard/contracts/std.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/standard/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/standard/exceptions/standard.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/standard/std.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/wrapper/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/wrapper/dataclass.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/support/wrapper/dot_dict.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/cases/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/cases/asynchronous.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/cases/synchronous.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/dumper.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/kernel.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/logs.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/printer.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/render.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/test_result.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/contracts/unit_test.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/core/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/core/unit_test.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/entities/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/entities/result.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/enums/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/enums/status.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/exceptions/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/exceptions/config.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/exceptions/failure.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/exceptions/persistence.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/exceptions/runtime.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/exceptions/value.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/kernel.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/output/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/output/dumper.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/output/printer.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/records/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/records/logs.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/base_path.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/execution_mode.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/fail_fast.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/folder_path.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/module_name.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/name_pattern.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/pattern.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/persistent.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/persistent_driver.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/throw_exception.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/verbosity.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/web_report.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/validators/workers.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/view/__init__.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/view/render.py +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis/test/view/report.stub +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis.egg-info/SOURCES.txt +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis.egg-info/dependency_links.txt +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis.egg-info/not-zip-safe +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis.egg-info/requires.txt +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/orionis.egg-info/top_level.txt +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/setup.cfg +0 -0
- {orionis-0.621.0 → orionis-0.622.0}/setup.py +0 -0
|
@@ -2768,7 +2768,7 @@ class IEvent(ABC):
|
|
|
2768
2768
|
@abstractmethod
|
|
2769
2769
|
def everyMondayAt(
|
|
2770
2770
|
self,
|
|
2771
|
-
hour: int
|
|
2771
|
+
hour: int,
|
|
2772
2772
|
minute: int = 0,
|
|
2773
2773
|
second: int = 0
|
|
2774
2774
|
) -> bool:
|
|
@@ -2783,7 +2783,7 @@ class IEvent(ABC):
|
|
|
2783
2783
|
Parameters
|
|
2784
2784
|
----------
|
|
2785
2785
|
hour : int, optional
|
|
2786
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2786
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2787
2787
|
minute : int, optional
|
|
2788
2788
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
2789
2789
|
second : int, optional
|
|
@@ -2811,7 +2811,7 @@ class IEvent(ABC):
|
|
|
2811
2811
|
@abstractmethod
|
|
2812
2812
|
def everyTuesdayAt(
|
|
2813
2813
|
self,
|
|
2814
|
-
hour: int
|
|
2814
|
+
hour: int,
|
|
2815
2815
|
minute: int = 0,
|
|
2816
2816
|
second: int = 0
|
|
2817
2817
|
) -> bool:
|
|
@@ -2826,7 +2826,7 @@ class IEvent(ABC):
|
|
|
2826
2826
|
Parameters
|
|
2827
2827
|
----------
|
|
2828
2828
|
hour : int, optional
|
|
2829
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2829
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2830
2830
|
minute : int, optional
|
|
2831
2831
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
2832
2832
|
second : int, optional
|
|
@@ -2854,7 +2854,7 @@ class IEvent(ABC):
|
|
|
2854
2854
|
@abstractmethod
|
|
2855
2855
|
def everyWednesdayAt(
|
|
2856
2856
|
self,
|
|
2857
|
-
hour: int
|
|
2857
|
+
hour: int,
|
|
2858
2858
|
minute: int = 0,
|
|
2859
2859
|
second: int = 0
|
|
2860
2860
|
) -> bool:
|
|
@@ -2869,7 +2869,7 @@ class IEvent(ABC):
|
|
|
2869
2869
|
Parameters
|
|
2870
2870
|
----------
|
|
2871
2871
|
hour : int, optional
|
|
2872
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2872
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2873
2873
|
minute : int, optional
|
|
2874
2874
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
2875
2875
|
second : int, optional
|
|
@@ -2897,7 +2897,7 @@ class IEvent(ABC):
|
|
|
2897
2897
|
@abstractmethod
|
|
2898
2898
|
def everyThursdayAt(
|
|
2899
2899
|
self,
|
|
2900
|
-
hour: int
|
|
2900
|
+
hour: int,
|
|
2901
2901
|
minute: int = 0,
|
|
2902
2902
|
second: int = 0
|
|
2903
2903
|
) -> bool:
|
|
@@ -2912,7 +2912,7 @@ class IEvent(ABC):
|
|
|
2912
2912
|
Parameters
|
|
2913
2913
|
----------
|
|
2914
2914
|
hour : int, optional
|
|
2915
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2915
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2916
2916
|
minute : int, optional
|
|
2917
2917
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
2918
2918
|
second : int, optional
|
|
@@ -2940,7 +2940,7 @@ class IEvent(ABC):
|
|
|
2940
2940
|
@abstractmethod
|
|
2941
2941
|
def everyFridayAt(
|
|
2942
2942
|
self,
|
|
2943
|
-
hour: int
|
|
2943
|
+
hour: int,
|
|
2944
2944
|
minute: int = 0,
|
|
2945
2945
|
second: int = 0
|
|
2946
2946
|
) -> bool:
|
|
@@ -2955,7 +2955,7 @@ class IEvent(ABC):
|
|
|
2955
2955
|
Parameters
|
|
2956
2956
|
----------
|
|
2957
2957
|
hour : int, optional
|
|
2958
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2958
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2959
2959
|
minute : int, optional
|
|
2960
2960
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
2961
2961
|
second : int, optional
|
|
@@ -2983,7 +2983,7 @@ class IEvent(ABC):
|
|
|
2983
2983
|
@abstractmethod
|
|
2984
2984
|
def everySaturdayAt(
|
|
2985
2985
|
self,
|
|
2986
|
-
hour: int
|
|
2986
|
+
hour: int,
|
|
2987
2987
|
minute: int = 0,
|
|
2988
2988
|
second: int = 0
|
|
2989
2989
|
) -> bool:
|
|
@@ -2997,8 +2997,8 @@ class IEvent(ABC):
|
|
|
2997
2997
|
|
|
2998
2998
|
Parameters
|
|
2999
2999
|
----------
|
|
3000
|
-
hour : int
|
|
3001
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3000
|
+
hour : int
|
|
3001
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3002
3002
|
minute : int, optional
|
|
3003
3003
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3004
3004
|
second : int, optional
|
|
@@ -3026,7 +3026,7 @@ class IEvent(ABC):
|
|
|
3026
3026
|
@abstractmethod
|
|
3027
3027
|
def everySundayAt(
|
|
3028
3028
|
self,
|
|
3029
|
-
hour: int
|
|
3029
|
+
hour: int,
|
|
3030
3030
|
minute: int = 0,
|
|
3031
3031
|
second: int = 0
|
|
3032
3032
|
) -> bool:
|
|
@@ -3041,7 +3041,7 @@ class IEvent(ABC):
|
|
|
3041
3041
|
Parameters
|
|
3042
3042
|
----------
|
|
3043
3043
|
hour : int, optional
|
|
3044
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3044
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3045
3045
|
minute : int, optional
|
|
3046
3046
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3047
3047
|
second : int, optional
|
|
@@ -311,6 +311,23 @@ class ISchedule(ABC):
|
|
|
311
311
|
"""
|
|
312
312
|
pass
|
|
313
313
|
|
|
314
|
+
@abstractmethod
|
|
315
|
+
def isPaused(self) -> bool:
|
|
316
|
+
"""
|
|
317
|
+
Check if the scheduler is currently paused.
|
|
318
|
+
|
|
319
|
+
This method determines whether the scheduler is in a paused state by checking if there are
|
|
320
|
+
any jobs that were paused using the `pause` method. If there are jobs in the internal set
|
|
321
|
+
`__pausedByPauseEverything`, it indicates that the scheduler has been paused.
|
|
322
|
+
|
|
323
|
+
Returns
|
|
324
|
+
-------
|
|
325
|
+
bool
|
|
326
|
+
True if the scheduler is currently paused (i.e., there are jobs in the paused set);
|
|
327
|
+
False otherwise.
|
|
328
|
+
"""
|
|
329
|
+
pass
|
|
330
|
+
|
|
314
331
|
@abstractmethod
|
|
315
332
|
def forceStop(self) -> None:
|
|
316
333
|
"""
|
|
@@ -57,7 +57,7 @@ class Event(IEvent):
|
|
|
57
57
|
self.__purpose: Optional[str] = purpose
|
|
58
58
|
|
|
59
59
|
# Initialize the random delay attribute (in seconds) as None
|
|
60
|
-
self.__random_delay: Optional[int] =
|
|
60
|
+
self.__random_delay: Optional[int] = 0
|
|
61
61
|
|
|
62
62
|
# Initialize the start date for the event as None
|
|
63
63
|
self.__start_date: Optional[datetime] = None
|
|
@@ -74,8 +74,8 @@ class Event(IEvent):
|
|
|
74
74
|
# Initialize the listener attribute as None; can be set to an IScheduleEventListener instance
|
|
75
75
|
self.__listener: Optional[IScheduleEventListener] = None
|
|
76
76
|
|
|
77
|
-
# Initialize the maximum instances attribute as
|
|
78
|
-
self.__max_instances: Optional[int] =
|
|
77
|
+
# Initialize the maximum instances attribute as 1
|
|
78
|
+
self.__max_instances: Optional[int] = 1
|
|
79
79
|
|
|
80
80
|
# Initialize the misfire grace time attribute as None
|
|
81
81
|
self.__misfire_grace_time: Optional[int] = None
|
|
@@ -136,7 +136,7 @@ class Event(IEvent):
|
|
|
136
136
|
raise CLIOrionisValueError("Max instances must be a positive integer or None.")
|
|
137
137
|
|
|
138
138
|
# Validate that misfire_grace_time is a positive integer if it is set
|
|
139
|
-
if self.__misfire_grace_time is not None and (not isinstance(self.__misfire_grace_time, int) or self.__misfire_grace_time
|
|
139
|
+
if self.__misfire_grace_time is not None and (not isinstance(self.__misfire_grace_time, int) or self.__misfire_grace_time < 0):
|
|
140
140
|
raise CLIOrionisValueError("Misfire grace time must be a positive integer or None.")
|
|
141
141
|
|
|
142
142
|
# Construct and return an EventEntity with the current event's attributes
|
|
@@ -182,7 +182,7 @@ class Event(IEvent):
|
|
|
182
182
|
"""
|
|
183
183
|
|
|
184
184
|
# Validate that the seconds parameter is a positive integer
|
|
185
|
-
if not isinstance(seconds, int) or seconds
|
|
185
|
+
if not isinstance(seconds, int) or seconds < 0:
|
|
186
186
|
raise CLIOrionisValueError("Misfire grace time must be a positive integer.")
|
|
187
187
|
|
|
188
188
|
# Set the internal misfire grace time attribute
|
|
@@ -225,7 +225,7 @@ class Event(IEvent):
|
|
|
225
225
|
raise CLIOrionisValueError("The purpose must be a non-empty string.")
|
|
226
226
|
|
|
227
227
|
# Set the internal purpose attribute
|
|
228
|
-
self.__purpose = purpose
|
|
228
|
+
self.__purpose = purpose.strip()
|
|
229
229
|
|
|
230
230
|
# Return self to support method chaining
|
|
231
231
|
return self
|
|
@@ -315,11 +315,11 @@ class Event(IEvent):
|
|
|
315
315
|
"""
|
|
316
316
|
|
|
317
317
|
# Validate that max_seconds is a positive integer
|
|
318
|
-
if not isinstance(max_seconds, int) or max_seconds
|
|
319
|
-
raise CLIOrionisValueError("Max seconds must be a positive integer between
|
|
318
|
+
if not isinstance(max_seconds, int) or max_seconds < 0 or max_seconds > 120:
|
|
319
|
+
raise CLIOrionisValueError("Max seconds must be a positive integer between 0 and 120.")
|
|
320
320
|
|
|
321
|
-
# Generate a random delay between
|
|
322
|
-
self.__random_delay = random.randint(1, max_seconds)
|
|
321
|
+
# Generate a random delay between 0 and max_seconds
|
|
322
|
+
self.__random_delay = random.randint(1, max_seconds) if max_seconds > 0 else 0
|
|
323
323
|
|
|
324
324
|
# Return self to support method chaining
|
|
325
325
|
return self
|
|
@@ -2717,17 +2717,18 @@ class Event(IEvent):
|
|
|
2717
2717
|
the trigger.
|
|
2718
2718
|
"""
|
|
2719
2719
|
|
|
2720
|
-
# Configure the trigger to execute the event every day.
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2720
|
+
# Configure the trigger to execute the event every day at 00:00:00.
|
|
2721
|
+
self.__trigger = CronTrigger(
|
|
2722
|
+
hour=0,
|
|
2723
|
+
minute=0,
|
|
2724
|
+
second=0,
|
|
2724
2725
|
start_date=self.__start_date, # Restrict the schedule start if set
|
|
2725
2726
|
end_date=self.__end_date, # Restrict the schedule end if set
|
|
2726
2727
|
jitter=self.__random_delay # Apply random delay if configured
|
|
2727
2728
|
)
|
|
2728
2729
|
|
|
2729
2730
|
# Store a human-readable description of the schedule.
|
|
2730
|
-
self.__details = "Every day"
|
|
2731
|
+
self.__details = "Every day at 00:00:00"
|
|
2731
2732
|
|
|
2732
2733
|
# Indicate that the scheduling was successful.
|
|
2733
2734
|
return True
|
|
@@ -2788,15 +2789,14 @@ class Event(IEvent):
|
|
|
2788
2789
|
if not (0 <= second < 60):
|
|
2789
2790
|
raise CLIOrionisValueError("Second must be between 0 and 59.")
|
|
2790
2791
|
|
|
2791
|
-
# Set up the trigger to execute the event daily at the specified time.
|
|
2792
|
-
|
|
2793
|
-
self.__trigger = IntervalTrigger(
|
|
2794
|
-
days=1,
|
|
2792
|
+
# Set up the trigger to execute the event daily at the specified time using CronTrigger.
|
|
2793
|
+
self.__trigger = CronTrigger(
|
|
2795
2794
|
hour=hour,
|
|
2796
2795
|
minute=minute,
|
|
2797
2796
|
second=second,
|
|
2798
2797
|
start_date=self.__start_date,
|
|
2799
|
-
end_date=self.__end_date
|
|
2798
|
+
end_date=self.__end_date,
|
|
2799
|
+
jitter=self.__random_delay
|
|
2800
2800
|
)
|
|
2801
2801
|
|
|
2802
2802
|
# Store a human-readable description of the schedule.
|
|
@@ -2867,16 +2867,17 @@ class Event(IEvent):
|
|
|
2867
2867
|
second: int = 0
|
|
2868
2868
|
) -> bool:
|
|
2869
2869
|
"""
|
|
2870
|
-
Schedule the event to run every
|
|
2870
|
+
Schedule the event to run every N days at a specific hour, minute, and second.
|
|
2871
2871
|
|
|
2872
|
-
This method configures the event to execute
|
|
2873
|
-
hour, minute, and second. The schedule can be further restricted
|
|
2874
|
-
set `start_date` and `end_date` attributes. If a random delay (jitter)
|
|
2875
|
-
configured, it will be applied to the trigger
|
|
2876
|
-
collisions.
|
|
2872
|
+
This method configures the event to execute every `days` days at the specified
|
|
2873
|
+
hour, minute, and second using a CronTrigger. The schedule can be further restricted
|
|
2874
|
+
by previously set `start_date` and `end_date` attributes. If a random delay (jitter)
|
|
2875
|
+
has been configured, it will be applied to the trigger.
|
|
2877
2876
|
|
|
2878
2877
|
Parameters
|
|
2879
2878
|
----------
|
|
2879
|
+
days : int
|
|
2880
|
+
The interval, in days, at which the event should be executed. Must be a positive integer.
|
|
2880
2881
|
hour : int
|
|
2881
2882
|
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
2882
2883
|
minute : int, optional
|
|
@@ -2889,23 +2890,22 @@ class Event(IEvent):
|
|
|
2889
2890
|
bool
|
|
2890
2891
|
Returns True if the scheduling was successfully configured. If the input
|
|
2891
2892
|
is invalid, a `CLIOrionisValueError` is raised and the trigger is not set.
|
|
2892
|
-
On success, returns True.
|
|
2893
2893
|
|
|
2894
2894
|
Raises
|
|
2895
2895
|
------
|
|
2896
2896
|
CLIOrionisValueError
|
|
2897
|
-
If `hour`, `minute`, or `second` are not integers within the valid ranges.
|
|
2897
|
+
If `days`, `hour`, `minute`, or `second` are not integers within the valid ranges.
|
|
2898
2898
|
|
|
2899
2899
|
Notes
|
|
2900
2900
|
-----
|
|
2901
|
-
The event will be triggered
|
|
2901
|
+
The event will be triggered every `days` days at the specified time, within the optional
|
|
2902
2902
|
scheduling window defined by `start_date` and `end_date`. If a random delay (jitter)
|
|
2903
2903
|
is set, it will be applied to the trigger.
|
|
2904
2904
|
"""
|
|
2905
2905
|
|
|
2906
2906
|
# Validate that the days parameter is a positive integer.
|
|
2907
2907
|
if not isinstance(days, int) or days <= 0:
|
|
2908
|
-
raise CLIOrionisValueError("
|
|
2908
|
+
raise CLIOrionisValueError("Days must be a positive integer.")
|
|
2909
2909
|
|
|
2910
2910
|
# Validate that hour, minute, and second are integers.
|
|
2911
2911
|
if not isinstance(hour, int) or not isinstance(minute, int) or not isinstance(second, int):
|
|
@@ -2921,19 +2921,19 @@ class Event(IEvent):
|
|
|
2921
2921
|
if not (0 <= second < 60):
|
|
2922
2922
|
raise CLIOrionisValueError("Second must be between 0 and 59.")
|
|
2923
2923
|
|
|
2924
|
-
# Set up the trigger to execute the event
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
days=1,
|
|
2924
|
+
# Set up the trigger to execute the event every N days at the specified time using CronTrigger.
|
|
2925
|
+
self.__trigger = CronTrigger(
|
|
2926
|
+
day=f"*/{days}",
|
|
2928
2927
|
hour=hour,
|
|
2929
2928
|
minute=minute,
|
|
2930
2929
|
second=second,
|
|
2931
2930
|
start_date=self.__start_date,
|
|
2932
|
-
end_date=self.__end_date
|
|
2931
|
+
end_date=self.__end_date,
|
|
2932
|
+
jitter=self.__random_delay
|
|
2933
2933
|
)
|
|
2934
2934
|
|
|
2935
2935
|
# Store a human-readable description of the schedule.
|
|
2936
|
-
self.__details = f"Every
|
|
2936
|
+
self.__details = f"Every {days} days at {hour:02d}:{minute:02d}:{second:02d}"
|
|
2937
2937
|
|
|
2938
2938
|
# Indicate that the scheduling was successful.
|
|
2939
2939
|
return True
|
|
@@ -3352,7 +3352,7 @@ class Event(IEvent):
|
|
|
3352
3352
|
|
|
3353
3353
|
def everyMondayAt(
|
|
3354
3354
|
self,
|
|
3355
|
-
hour: int
|
|
3355
|
+
hour: int,
|
|
3356
3356
|
minute: int = 0,
|
|
3357
3357
|
second: int = 0
|
|
3358
3358
|
) -> bool:
|
|
@@ -3367,7 +3367,7 @@ class Event(IEvent):
|
|
|
3367
3367
|
Parameters
|
|
3368
3368
|
----------
|
|
3369
3369
|
hour : int, optional
|
|
3370
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3370
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3371
3371
|
minute : int, optional
|
|
3372
3372
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3373
3373
|
second : int, optional
|
|
@@ -3406,13 +3406,13 @@ class Event(IEvent):
|
|
|
3406
3406
|
# Configure the trigger to execute the event every Monday at the specified hour, minute, and second.
|
|
3407
3407
|
# The `CronTrigger` is used to specify the day of the week and time for the event.
|
|
3408
3408
|
self.__trigger = CronTrigger(
|
|
3409
|
-
day_of_week='mon',
|
|
3410
|
-
hour=hour,
|
|
3411
|
-
minute=minute,
|
|
3412
|
-
second=second,
|
|
3413
|
-
start_date=self.__start_date,
|
|
3414
|
-
end_date=self.__end_date,
|
|
3415
|
-
jitter=self.__random_delay
|
|
3409
|
+
day_of_week='mon', # Schedule the event for Mondays.
|
|
3410
|
+
hour=hour, # Set the hour of execution.
|
|
3411
|
+
minute=minute, # Set the minute of execution.
|
|
3412
|
+
second=second, # Set the second of execution.
|
|
3413
|
+
start_date=self.__start_date, # Restrict the schedule start if set.
|
|
3414
|
+
end_date=self.__end_date, # Restrict the schedule end if set.
|
|
3415
|
+
jitter=self.__random_delay # Apply random delay (jitter) if configured.
|
|
3416
3416
|
)
|
|
3417
3417
|
|
|
3418
3418
|
# Store a human-readable description of the schedule.
|
|
@@ -3423,7 +3423,7 @@ class Event(IEvent):
|
|
|
3423
3423
|
|
|
3424
3424
|
def everyTuesdayAt(
|
|
3425
3425
|
self,
|
|
3426
|
-
hour: int
|
|
3426
|
+
hour: int,
|
|
3427
3427
|
minute: int = 0,
|
|
3428
3428
|
second: int = 0
|
|
3429
3429
|
) -> bool:
|
|
@@ -3438,7 +3438,7 @@ class Event(IEvent):
|
|
|
3438
3438
|
Parameters
|
|
3439
3439
|
----------
|
|
3440
3440
|
hour : int, optional
|
|
3441
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3441
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3442
3442
|
minute : int, optional
|
|
3443
3443
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3444
3444
|
second : int, optional
|
|
@@ -3476,13 +3476,13 @@ class Event(IEvent):
|
|
|
3476
3476
|
|
|
3477
3477
|
# Configure the trigger to execute the event every Tuesday at the specified hour, minute, and second.
|
|
3478
3478
|
self.__trigger = CronTrigger(
|
|
3479
|
-
day_of_week='tue',
|
|
3480
|
-
hour=hour,
|
|
3481
|
-
minute=minute,
|
|
3482
|
-
second=second,
|
|
3483
|
-
start_date=self.__start_date,
|
|
3484
|
-
end_date=self.__end_date,
|
|
3485
|
-
jitter=self.__random_delay
|
|
3479
|
+
day_of_week='tue', # Schedule the event for Tuesdays.
|
|
3480
|
+
hour=hour, # Set the hour of execution.
|
|
3481
|
+
minute=minute, # Set the minute of execution.
|
|
3482
|
+
second=second, # Set the second of execution.
|
|
3483
|
+
start_date=self.__start_date, # Restrict the schedule start if set.
|
|
3484
|
+
end_date=self.__end_date, # Restrict the schedule end if set.
|
|
3485
|
+
jitter=self.__random_delay # Apply random delay (jitter) if configured.
|
|
3486
3486
|
)
|
|
3487
3487
|
|
|
3488
3488
|
# Store a human-readable description of the schedule.
|
|
@@ -3493,7 +3493,7 @@ class Event(IEvent):
|
|
|
3493
3493
|
|
|
3494
3494
|
def everyWednesdayAt(
|
|
3495
3495
|
self,
|
|
3496
|
-
hour: int
|
|
3496
|
+
hour: int,
|
|
3497
3497
|
minute: int = 0,
|
|
3498
3498
|
second: int = 0
|
|
3499
3499
|
) -> bool:
|
|
@@ -3508,7 +3508,7 @@ class Event(IEvent):
|
|
|
3508
3508
|
Parameters
|
|
3509
3509
|
----------
|
|
3510
3510
|
hour : int, optional
|
|
3511
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3511
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3512
3512
|
minute : int, optional
|
|
3513
3513
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3514
3514
|
second : int, optional
|
|
@@ -3546,13 +3546,13 @@ class Event(IEvent):
|
|
|
3546
3546
|
|
|
3547
3547
|
# Configure the trigger to execute the event every Wednesday at the specified hour, minute, and second.
|
|
3548
3548
|
self.__trigger = CronTrigger(
|
|
3549
|
-
day_of_week='wed',
|
|
3550
|
-
hour=hour,
|
|
3551
|
-
minute=minute,
|
|
3552
|
-
second=second,
|
|
3553
|
-
start_date=self.__start_date,
|
|
3554
|
-
end_date=self.__end_date,
|
|
3555
|
-
jitter=self.__random_delay
|
|
3549
|
+
day_of_week='wed', # Schedule the event for Wednesdays.
|
|
3550
|
+
hour=hour, # Set the hour of execution.
|
|
3551
|
+
minute=minute, # Set the minute of execution.
|
|
3552
|
+
second=second, # Set the second of execution.
|
|
3553
|
+
start_date=self.__start_date, # Restrict the schedule start if set.
|
|
3554
|
+
end_date=self.__end_date, # Restrict the schedule end if set.
|
|
3555
|
+
jitter=self.__random_delay # Apply random delay (jitter) if configured.
|
|
3556
3556
|
)
|
|
3557
3557
|
|
|
3558
3558
|
# Store a human-readable description of the schedule.
|
|
@@ -3563,7 +3563,7 @@ class Event(IEvent):
|
|
|
3563
3563
|
|
|
3564
3564
|
def everyThursdayAt(
|
|
3565
3565
|
self,
|
|
3566
|
-
hour: int
|
|
3566
|
+
hour: int,
|
|
3567
3567
|
minute: int = 0,
|
|
3568
3568
|
second: int = 0
|
|
3569
3569
|
) -> bool:
|
|
@@ -3578,7 +3578,7 @@ class Event(IEvent):
|
|
|
3578
3578
|
Parameters
|
|
3579
3579
|
----------
|
|
3580
3580
|
hour : int, optional
|
|
3581
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3581
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3582
3582
|
minute : int, optional
|
|
3583
3583
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3584
3584
|
second : int, optional
|
|
@@ -3616,13 +3616,13 @@ class Event(IEvent):
|
|
|
3616
3616
|
|
|
3617
3617
|
# Configure the trigger to execute the event every Thursday at the specified hour, minute, and second.
|
|
3618
3618
|
self.__trigger = CronTrigger(
|
|
3619
|
-
day_of_week='thu',
|
|
3620
|
-
hour=hour,
|
|
3621
|
-
minute=minute,
|
|
3622
|
-
second=second,
|
|
3623
|
-
start_date=self.__start_date,
|
|
3624
|
-
end_date=self.__end_date,
|
|
3625
|
-
jitter=self.__random_delay
|
|
3619
|
+
day_of_week='thu', # Schedule the event for Thursdays.
|
|
3620
|
+
hour=hour, # Set the hour of execution.
|
|
3621
|
+
minute=minute, # Set the minute of execution.
|
|
3622
|
+
second=second, # Set the second of execution.
|
|
3623
|
+
start_date=self.__start_date, # Restrict the schedule start if set.
|
|
3624
|
+
end_date=self.__end_date, # Restrict the schedule end if set.
|
|
3625
|
+
jitter=self.__random_delay # Apply random delay (jitter) if configured.
|
|
3626
3626
|
)
|
|
3627
3627
|
|
|
3628
3628
|
# Store a human-readable description of the schedule.
|
|
@@ -3633,7 +3633,7 @@ class Event(IEvent):
|
|
|
3633
3633
|
|
|
3634
3634
|
def everyFridayAt(
|
|
3635
3635
|
self,
|
|
3636
|
-
hour: int
|
|
3636
|
+
hour: int,
|
|
3637
3637
|
minute: int = 0,
|
|
3638
3638
|
second: int = 0
|
|
3639
3639
|
) -> bool:
|
|
@@ -3648,7 +3648,7 @@ class Event(IEvent):
|
|
|
3648
3648
|
Parameters
|
|
3649
3649
|
----------
|
|
3650
3650
|
hour : int, optional
|
|
3651
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3651
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3652
3652
|
minute : int, optional
|
|
3653
3653
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3654
3654
|
second : int, optional
|
|
@@ -3686,13 +3686,13 @@ class Event(IEvent):
|
|
|
3686
3686
|
|
|
3687
3687
|
# Configure the trigger to execute the event every Friday at the specified hour, minute, and second.
|
|
3688
3688
|
self.__trigger = CronTrigger(
|
|
3689
|
-
day_of_week='fri',
|
|
3690
|
-
hour=hour,
|
|
3691
|
-
minute=minute,
|
|
3692
|
-
second=second,
|
|
3693
|
-
start_date=self.__start_date,
|
|
3694
|
-
end_date=self.__end_date,
|
|
3695
|
-
jitter=self.__random_delay
|
|
3689
|
+
day_of_week='fri', # Schedule the event for Fridays.
|
|
3690
|
+
hour=hour, # Set the hour of execution.
|
|
3691
|
+
minute=minute, # Set the minute of execution.
|
|
3692
|
+
second=second, # Set the second of execution.
|
|
3693
|
+
start_date=self.__start_date, # Restrict the schedule start if set.
|
|
3694
|
+
end_date=self.__end_date, # Restrict the schedule end if set.
|
|
3695
|
+
jitter=self.__random_delay # Apply random delay (jitter) if configured.
|
|
3696
3696
|
)
|
|
3697
3697
|
|
|
3698
3698
|
# Store a human-readable description of the schedule.
|
|
@@ -3703,7 +3703,7 @@ class Event(IEvent):
|
|
|
3703
3703
|
|
|
3704
3704
|
def everySaturdayAt(
|
|
3705
3705
|
self,
|
|
3706
|
-
hour: int
|
|
3706
|
+
hour: int,
|
|
3707
3707
|
minute: int = 0,
|
|
3708
3708
|
second: int = 0
|
|
3709
3709
|
) -> bool:
|
|
@@ -3718,7 +3718,7 @@ class Event(IEvent):
|
|
|
3718
3718
|
Parameters
|
|
3719
3719
|
----------
|
|
3720
3720
|
hour : int, optional
|
|
3721
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3721
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3722
3722
|
minute : int, optional
|
|
3723
3723
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3724
3724
|
second : int, optional
|
|
@@ -3773,7 +3773,7 @@ class Event(IEvent):
|
|
|
3773
3773
|
|
|
3774
3774
|
def everySundayAt(
|
|
3775
3775
|
self,
|
|
3776
|
-
hour: int
|
|
3776
|
+
hour: int,
|
|
3777
3777
|
minute: int = 0,
|
|
3778
3778
|
second: int = 0
|
|
3779
3779
|
) -> bool:
|
|
@@ -3787,8 +3787,8 @@ class Event(IEvent):
|
|
|
3787
3787
|
|
|
3788
3788
|
Parameters
|
|
3789
3789
|
----------
|
|
3790
|
-
hour : int
|
|
3791
|
-
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3790
|
+
hour : int
|
|
3791
|
+
The hour of the day when the event should run. Must be in the range [0, 23].
|
|
3792
3792
|
minute : int, optional
|
|
3793
3793
|
The minute of the hour when the event should run. Must be in the range [0, 59]. Default is 0.
|
|
3794
3794
|
second : int, optional
|
|
@@ -3826,13 +3826,13 @@ class Event(IEvent):
|
|
|
3826
3826
|
|
|
3827
3827
|
# Configure the trigger to execute the event every Sunday at the specified hour, minute, and second.
|
|
3828
3828
|
self.__trigger = CronTrigger(
|
|
3829
|
-
day_of_week='sun',
|
|
3830
|
-
hour=hour,
|
|
3831
|
-
minute=minute,
|
|
3832
|
-
second=second,
|
|
3833
|
-
start_date=self.__start_date,
|
|
3834
|
-
end_date=self.__end_date,
|
|
3835
|
-
jitter=self.__random_delay
|
|
3829
|
+
day_of_week='sun', # Schedule the event for Sundays.
|
|
3830
|
+
hour=hour, # Set the hour of execution.
|
|
3831
|
+
minute=minute, # Set the minute of execution.
|
|
3832
|
+
second=second, # Set the second of execution.
|
|
3833
|
+
start_date=self.__start_date, # Restrict the schedule start if set.
|
|
3834
|
+
end_date=self.__end_date, # Restrict the schedule end if set.
|
|
3835
|
+
jitter=self.__random_delay # Apply random delay (jitter) if configured.
|
|
3836
3836
|
)
|
|
3837
3837
|
|
|
3838
3838
|
# Store a human-readable description of the schedule.
|
|
@@ -3864,13 +3864,15 @@ class Event(IEvent):
|
|
|
3864
3864
|
be applied to the trigger.
|
|
3865
3865
|
"""
|
|
3866
3866
|
|
|
3867
|
-
# Configure the trigger to execute the event every week
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3867
|
+
# Configure the trigger to execute the event every week.
|
|
3868
|
+
self.__trigger = CronTrigger(
|
|
3869
|
+
day_of_week='sun',
|
|
3870
|
+
hour=0,
|
|
3871
|
+
minute=0,
|
|
3872
|
+
second=0,
|
|
3873
|
+
start_date=self.__start_date,
|
|
3874
|
+
end_date=self.__end_date,
|
|
3875
|
+
jitter=self.__random_delay
|
|
3874
3876
|
)
|
|
3875
3877
|
|
|
3876
3878
|
# Store a human-readable description of the schedule for reference or logging.
|
|
@@ -72,6 +72,13 @@ class Schedule(ISchedule):
|
|
|
72
72
|
and prepares all required internal structures for scheduling and event handling.
|
|
73
73
|
"""
|
|
74
74
|
|
|
75
|
+
# List of operations that can be performed on the scheduler
|
|
76
|
+
self.__operations = [
|
|
77
|
+
'schedule:pause',
|
|
78
|
+
'schedule:resume',
|
|
79
|
+
'schedule:shutdown'
|
|
80
|
+
]
|
|
81
|
+
|
|
75
82
|
# Store the application instance for configuration and service access.
|
|
76
83
|
self.__app: IApplication = app
|
|
77
84
|
|
|
@@ -1342,12 +1349,13 @@ class Schedule(ISchedule):
|
|
|
1342
1349
|
|
|
1343
1350
|
# Iterate through each job and attempt to pause it
|
|
1344
1351
|
for job in all_jobs:
|
|
1352
|
+
|
|
1345
1353
|
try:
|
|
1346
1354
|
# Get the job ID safely
|
|
1347
1355
|
job_id = self.__getAttribute(job, 'id', None)
|
|
1348
1356
|
|
|
1349
|
-
# Skip jobs without a valid ID
|
|
1350
|
-
if not job_id:
|
|
1357
|
+
# Skip jobs without a valid user-defined ID (ignore system/operation jobs)
|
|
1358
|
+
if not job_id or not isinstance(job_id, str) or job_id.strip() == "" or job_id in self.__operations:
|
|
1351
1359
|
continue
|
|
1352
1360
|
|
|
1353
1361
|
# Pause the job in the scheduler
|
|
@@ -1909,6 +1917,24 @@ class Schedule(ISchedule):
|
|
|
1909
1917
|
# Return True if the scheduler is running, otherwise False
|
|
1910
1918
|
return self.__scheduler.running
|
|
1911
1919
|
|
|
1920
|
+
def isPaused(self) -> bool:
|
|
1921
|
+
"""
|
|
1922
|
+
Check if the scheduler is currently paused.
|
|
1923
|
+
|
|
1924
|
+
This method determines whether the scheduler is in a paused state by checking if there are
|
|
1925
|
+
any jobs that were paused using the `pause` method. If there are jobs in the internal set
|
|
1926
|
+
`__pausedByPauseEverything`, it indicates that the scheduler has been paused.
|
|
1927
|
+
|
|
1928
|
+
Returns
|
|
1929
|
+
-------
|
|
1930
|
+
bool
|
|
1931
|
+
True if the scheduler is currently paused (i.e., there are jobs in the paused set);
|
|
1932
|
+
False otherwise.
|
|
1933
|
+
"""
|
|
1934
|
+
|
|
1935
|
+
# The scheduler is considered paused if there are any jobs in the paused set
|
|
1936
|
+
return len(self.__pausedByPauseEverything) > 0
|
|
1937
|
+
|
|
1912
1938
|
def forceStop(self) -> None:
|
|
1913
1939
|
"""
|
|
1914
1940
|
Forcefully stop the scheduler immediately, bypassing graceful shutdown.
|