Minty Command and Query based on DDD
This “Command and Query” module allows a developer to generate an abstraction around calling commands and queries in a domain model.
# In your calling module from minty_ddd import CQRS from minty_infrastructure import InfrastructureFactory from zsnl_domains import some_domain # Configure a CQRS instance infra_factory = InfrastructureFactory("/etc/configfile.conf") cqrs = CQRS([some_domain], infra_factory) # Params can also be pre-set by the command or query function: query_instance = cqrs.get_query_instance("some_domain", "context") query_instance.some_query()
Please see the generated documentation via CI for more information about this module and how to contribute in our online documentation. Open index.html when you get there: Sphinx Docs
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for minty_ddd-0.0.5-py3-none-any.whl