marshmallow
Here are 173 public repositories matching this topic...
$ curl 'http://127.0.0.1:5000/auth/oauth2/token?grant_type=client_credentials' --user 'documentation:KQ()SWK)SQK)QWSKQW(SKQ)S(QWSQW(SJ*HQ&HQW*SQ*^SSQWSGQSG'
{"access_token": "lYoijoYaTgXZi1bLQTs4PuItKsNHNY", "token_type": "Bearer", "expires_in": 3600, "scope": "users:write teams:write auth:write users:read auth:read teams:read"}
Grab the above access_token and access protected resour
I read the document and implement follow the section "Returning HTTP 400 Responses", but I got the error message "ModuleNotFoundError: No module named 'falcon'".
I wondered that if the falcon module is needed for the feature why it wasn't installed as I run the pip3 install webargs. In the end, I found thi
-
Updated
May 12, 2020 - Java
When I run the sample from https://github.com/marshmallow-code/apispec/blob/dev/docs/quickstart.rst
the expected output
# {'components': {'parameters': {},
# 'responses': {},
# 'schemas': {'Gist': {'properties': {'id': {'format': 'int64',
# 'type': 'integer'},
#
Firstly, thank you for the great extension!!
I've ran into an error that I'm sure others will have ran into, it may be worth updating the docs with a warning about it.
Our structure was as follows:
- Each model has it's own module
- Each model module also contains a Schema and Manager for example UserModel, UserSchema, UserManager all defined within /models/user.py
Some background - w
Marshmallow 2.18.0 raises ChangedInMarshmallow3Warning for nested schemas which is annoying when running tests and clogs the logs. Marshmallow should be updated to 2.18.1 where this issue was fixed.
https://marshmallow.readthedocs.io/en/3.0/changelog.html
marshmallow-code/marshmallow#1136
-
Updated
Jun 3, 2020 - Python
-
Updated
May 4, 2020 - Python
-
Updated
Feb 7, 2020 - Python
Marshmallow-sqlalchemy contains a Field "Result" Related but the documentation doesn't reference it at all. Document Related field, and give examples of it's use.
How do I document path parameters that appear in url_prefix in a Blueprint? Example:
blueprint = Blueprint(
'Media',
__name__,
url_prefix='/brands/<int:brand_id>/media',
)
@blueprint.route(...)
...
I've read through marshmallow-code/flask-smorest#23 but it only seems to apply to @blueprint.route(), not Blueprint().
e.g., How does marsmallow-jsonapi integrate with:
- flask-marshmallow
- marshmallow-sqlalchemy
-
Updated
May 25, 2020 - Python
-
Updated
May 28, 2020 - Python
-
Updated
May 28, 2020 - Python
-
Updated
May 15, 2020 - Python
-
Updated
Feb 12, 2020 - Python
-
Updated
May 25, 2020 - Python
Should be easily integrated as a Table attribute for the create & update actions.
-
Updated
Oct 26, 2019 - Java
Fix the type hints
Mypy fails on desert currently.
-
Updated
Feb 28, 2018 - Python
-
Updated
Dec 19, 2019 - Python
-
Updated
Apr 7, 2020 - Python
-
Updated
Mar 31, 2020 - Python
-
Updated
Jan 20, 2020 - Python
-
Updated
Jul 19, 2019 - Python
-
Updated
May 29, 2020
Improve this page
Add a description, image, and links to the marshmallow topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the marshmallow topic, visit your repo's landing page and select "manage topics."
Copied from #103
I've resolved the issue of authentication using the next code:
swagger_template = { ..., 'securityDefinitions': { 'basicAuth': { 'type': 'basic' } }, ... }app = Flask(__name__)Swagger(app, config=config[config_name].swagger_config, template=swagger_template)![image](https://use