Skip to main content

Use marshmallow schemas as stories context contract.

Project description

Stories marshmallow

azure-devops-builds azure-devops-coverage pypi python

Use marshmallow schemas as stories context contract.

Documentation | Source Code | Task Tracker

A paragraph of text explaining the goal of the library…

Pros

  • A feature
  • B feature
  • etc

Example

A line of text explaining snippet below…

>>> from marshmallow import Schema
>>> from marshmallow.fields import String
>>> from stories import story, Success
>>> from stories_marshmallow import contract

>>> class Purchase:
...
...     @story
...     def make(I):
...         I.find_user
...
...     def find_user(self, state):
...         return Success()

>>> @contract(Purchase.make)
... class State(Schema):
...
...     user = String()

Questions

If you have any questions, feel free to create an issue in our Task Tracker. We have the question label exactly for this purpose.

Enterprise support

If you have an issue with any version of the library, you can apply for a paid enterprise support contract. This will guarantee you that no breaking changes will happen to you. No matter how old version you're using at the moment. All necessary features and bug fixes will be backported in a way that serves your needs.

Please contact proofit404@gmail.com if you're interested in it.

License

stories-marshmallow library is offered under the two clause BSD license.

— ⭐️ —

The `stories-marshmallow` library is part of the SOLID python family.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for stories-marshmallow, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size stories_marshmallow-0.2.0-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size stories-marshmallow-0.2.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page