You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/06/18 11:57:50 UTC

[GitHub] [airflow] kaxil commented on pull request #9365: Use strict API schemas

kaxil commented on pull request #9365:
URL: https://github.com/apache/airflow/pull/9365#issuecomment-645969223


   How about using something like since we would always want the `strict=True`:
   
   ```python
   class Schema(marshmallow.Schema):
       def __init__(self, strict=True, **kwargs):
           super(Schema, self).__init__(strict=strict, **kwargs)
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org