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
def show_package_schema(self): return project_schema.project_show_schema()