Skip to content

Commit

Permalink
Fix typo schama -> schema
Browse files Browse the repository at this point in the history
  • Loading branch information
frafra committed Dec 12, 2018
1 parent da9b0cc commit 5ce03da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ckan/plugins/interfaces.py
Expand Up @@ -1291,7 +1291,7 @@ def validate(self, context, data_dict, schema, action):
This is an adavanced interface. Most changes to validation should be
accomplished by customizing the schemas returned from
``show_package_schema()``, ``create_package_schema()``
and ``update_package_schama()``. If you need to have a different
and ``update_package_schema()``. If you need to have a different
schema depending on the user or value of any field stored in the
dataset, or if you wish to use a different method for validation, then
this method may be used.
Expand All @@ -1301,7 +1301,7 @@ def validate(self, context, data_dict, schema, action):
:param data_dict: the dataset to be validated
:type data_dict: dictionary
:param schema: a schema, typically from ``show_package_schema()``,
``create_package_schema()`` or ``update_package_schama()``
``create_package_schema()`` or ``update_package_schema()``
:type schema: dictionary
:param action: ``'package_show'``, ``'package_create'`` or
``'package_update'``
Expand Down Expand Up @@ -1464,7 +1464,7 @@ def validate(self, context, data_dict, schema, action):
:param data_dict: the group to be validated
:type data_dict: dictionary
:param schema: a schema, typically from ``form_to_db_schema()``,
or ``db_to_form_schama()``
or ``db_to_form_schema()``
:type schema: dictionary
:param action: ``'group_show'``, ``'group_create'``,
``'group_update'``, ``'organization_show'``,
Expand Down

0 comments on commit 5ce03da

Please sign in to comment.