Skip to content

SAFRSBase Customization

Thomas Pollet edited this page Apr 5, 2020 · 4 revisions

SAFRSBase has a number of methods and properties which can be used or overridden to implement customizations. Most of this parameters have the _s_ prefix.

  • _s_post(cls, **attributes)
  • _s_patch(self, **attributes)
  • _s_clone(self, **kwargs)
  • _s_parse_attr_value(self, attr_name, attr_val)
  • _s_expunge(self)
  • _s_auto_commit(self)
  • _s_auto_commit(self, value)
  • _s_query(cls)
  • _s_column_names(cls)
  • _s_columns(cls)
  • _s_relationships(self)
  • _s_relationship_names(cls)
  • _s_jsonapi_attrs(self)
  • _s_jsonapi_attrs(cls)
  • _s_class_name(cls)
  • _s_collection_name(cls)
  • _s_type(cls)
  • _s_check_perm(cls, property_name, permission="r")
  • _s_count(cls)
  • _s_jsonapi_encode(self)
  • _s_sample_id(cls)
  • _s_sample(cls)
  • _s_sample_dict(cls)
  • _s_get_jsonapi_rpc_methods(cls)
  • _s_url(self, url_prefix="")
  • _s_url(cls, url_prefix="")
  • _s_meta(cls)
  • _s_filter(cls, filter_args)