Esempio n. 1
0
 def db_to_form_schema(self, group_type=None):
     packages_schema = project_schema.project_show_schema()
     packages_schema.pop('organization', '')
     schema = default_group_schema()
     schema.update({
         'orgURL': [convert_from_extras, ignore_missing, unicode],
         'contact': [convert_from_extras, ignore_missing, unicode],
         'cadasta_id': [convert_from_extras, ignore_missing, unicode],
         'packages': packages_schema,
     })
     return schema
Esempio n. 2
0
 def show_package_schema(self):
     return project_schema.project_show_schema()