SYMBOL INDEX (256 symbols across 14 files) FILE: examples/flask_example.py class Model (line 6) | class Model: method __init__ (line 7) | def __init__(self, **kwargs): class Comment (line 12) | class Comment(Model): class Author (line 16) | class Author(Model): class Post (line 20) | class Post(Model): class CommentSchema (line 49) | class CommentSchema(Schema): class Meta (line 53) | class Meta: class AuthorSchema (line 60) | class AuthorSchema(Schema): class Meta (line 67) | class Meta: class PostSchema (line 74) | class PostSchema(Schema): class Meta (line 93) | class Meta: function J (line 106) | def J(*args, **kwargs): function posts_list (line 116) | def posts_list(): function posts_detail (line 123) | def posts_detail(post_id): function posts_comments (line 130) | def posts_comments(post_id): function authors_list (line 138) | def authors_list(): function author_detail (line 145) | def author_detail(author_id): function author_create (line 152) | def author_create(): function comments_list (line 167) | def comments_list(): function comment_detail (line 174) | def comment_detail(comment_id): FILE: marshmallow_jsonapi/exceptions.py class JSONAPIError (line 4) | class JSONAPIError(Exception): class IncorrectTypeError (line 10) | class IncorrectTypeError(JSONAPIError, ValueError): method __init__ (line 16) | def __init__(self, message=None, actual=None, expected=None): method messages (line 27) | def messages(self): FILE: marshmallow_jsonapi/fields.py class BaseRelationship (line 25) | class BaseRelationship(Field): function _stringify (line 37) | def _stringify(value): class Relationship (line 43) | class Relationship(BaseRelationship): method __init__ (line 81) | def __init__( method id_field (line 112) | def id_field(self): method schema (line 122) | def schema(self): method get_related_url (line 153) | def get_related_url(self, obj): method get_self_url (line 163) | def get_self_url(self, obj): method get_resource_linkage (line 173) | def get_resource_linkage(self, value): method extract_value (line 186) | def extract_value(self, data): method deserialize (line 215) | def deserialize(self, value, attr=None, data=None, **kwargs): method _deserialize (line 232) | def _deserialize(self, value, attr, obj, **kwargs): method serialize (line 246) | def serialize(self, attr, obj, accessor=None): method _serialize (line 251) | def _serialize(self, value, attr, obj): method _serialize_included (line 279) | def _serialize_included(self, value): method _get_id (line 286) | def _get_id(self, value): class DocumentMeta (line 293) | class DocumentMeta(Field): method __init__ (line 312) | def __init__(self, **kwargs): method _deserialize (line 316) | def _deserialize(self, value, attr, data, **kwargs): method _serialize (line 322) | def _serialize(self, value, *args, **kwargs): class ResourceMeta (line 329) | class ResourceMeta(Field): method __init__ (line 348) | def __init__(self, **kwargs): method _deserialize (line 352) | def _deserialize(self, value, attr, data, **kwargs): method _serialize (line 358) | def _serialize(self, value, *args, **kwargs): FILE: marshmallow_jsonapi/flask.py class SchemaOpts (line 14) | class SchemaOpts(DefaultOpts): method __init__ (line 17) | def __init__(self, meta, *args, **kwargs): class Schema (line 49) | class Schema(DefaultSchema): class Meta (line 54) | class Meta: method generate_url (line 69) | def generate_url(self, view_name, **kwargs): class Relationship (line 74) | class Relationship(GenericRelationship): method __init__ (line 105) | def __init__( method get_url (line 120) | def get_url(self, obj, view_name, view_kwargs): method get_related_url (line 134) | def get_related_url(self, obj): method get_self_url (line 137) | def get_self_url(self, obj): FILE: marshmallow_jsonapi/schema.py class SchemaOpts (line 16) | class SchemaOpts(ma.SchemaOpts): method __init__ (line 17) | def __init__(self, meta, *args, **kwargs): class Schema (line 26) | class Schema(ma.Schema): class Meta (line 60) | class Meta: method __init__ (line 76) | def __init__(self, *args, **kwargs): method check_relations (line 98) | def check_relations(self, relations): method format_json_api_response (line 122) | def format_json_api_response(self, data, many, **kwargs): method render_included_data (line 133) | def render_included_data(self, data): method render_meta_document (line 139) | def render_meta_document(self, data): method unwrap_item (line 145) | def unwrap_item(self, item): method unwrap_request (line 192) | def unwrap_request(self, data, many, **kwargs): method on_bind_field (line 217) | def on_bind_field(self, field_name, field_obj): method _do_load (line 223) | def _do_load(self, data, many=None, **kwargs): method _extract_from_included (line 248) | def _extract_from_included(self, data): method inflect (line 260) | def inflect(self, text): method format_errors (line 268) | def format_errors(self, errors, many): method _get_formatted_errors (line 284) | def _get_formatted_errors(self, errors, index=None): method _process_nested_errors (line 297) | def _process_nested_errors(self, name, data): method format_error (line 305) | def format_error(self, field_name, message, index=None): method format_item (line 331) | def format_item(self, item): method format_items (line 377) | def format_items(self, data, many): method get_top_level_links (line 387) | def get_top_level_links(self, data, many): method get_resource_links (line 400) | def get_resource_links(self, item): method wrap_response (line 409) | def wrap_response(self, data, many): method generate_url (line 420) | def generate_url(self, link, **kwargs): FILE: marshmallow_jsonapi/utils.py function tpl (line 13) | def tpl(val): function resolve_params (line 21) | def resolve_params(obj, params, default=missing): FILE: setup.py function find_version (line 12) | def find_version(fname): function read (line 29) | def read(fname): FILE: tests/base.py class Bunch (line 11) | class Bunch: method __init__ (line 12) | def __init__(self, **kwargs): class Post (line 17) | class Post(Bunch): class Author (line 21) | class Author(Bunch): class Comment (line 25) | class Comment(Bunch): class Keyword (line 29) | class Keyword(Bunch): class AuthorSchema (line 33) | class AuthorSchema(Schema): method get_top_level_links (line 40) | def get_top_level_links(self, data, many): class Meta (line 47) | class Meta: class KeywordSchema (line 51) | class KeywordSchema(Schema): method get_attribute (line 55) | def get_attribute(self, attr, obj, default): class Meta (line 65) | class Meta: class CommentSchema (line 70) | class CommentSchema(Schema): class Meta (line 81) | class Meta: class ArticleSchema (line 86) | class ArticleSchema(Schema): class Meta (line 96) | class Meta: class PostSchema (line 101) | class PostSchema(Schema): class Meta (line 136) | class Meta: class PolygonSchema (line 141) | class PolygonSchema(Schema): class Meta (line 151) | class Meta: FILE: tests/conftest.py function make_author (line 6) | def make_author(): function make_post (line 15) | def make_post(with_comments=True, with_author=True, with_keywords=True): function make_comment (line 29) | def make_comment(with_author=True): function make_keyword (line 34) | def make_keyword(): function author (line 39) | def author(): function authors (line 44) | def authors(): function comments (line 49) | def comments(): function post (line 54) | def post(): function post_with_null_comment (line 59) | def post_with_null_comment(): function post_with_null_author (line 64) | def post_with_null_author(): function posts (line 69) | def posts(): FILE: tests/test_fields.py class TestGenericRelationshipField (line 11) | class TestGenericRelationshipField: method test_serialize_relationship_link (line 12) | def test_serialize_relationship_link(self, post): method test_serialize_self_link (line 21) | def test_serialize_self_link(self, post): method test_include_resource_linkage_requires_type (line 33) | def test_include_resource_linkage_requires_type(self): method test_include_resource_linkage_single (line 45) | def test_include_resource_linkage_single(self, post): method test_include_resource_linkage_single_with_schema (line 57) | def test_include_resource_linkage_single_with_schema(self, post): method test_include_resource_linkage_single_foreign_key (line 70) | def test_include_resource_linkage_single_foreign_key(self, post): method test_include_resource_linkage_single_foreign_key_with_schema (line 80) | def test_include_resource_linkage_single_foreign_key_with_schema(self,... method test_include_resource_linkage_id_field_from_string (line 91) | def test_include_resource_linkage_id_field_from_string(self): method test_include_resource_linkage_id_field_from_schema (line 100) | def test_include_resource_linkage_id_field_from_schema(self): method test_include_resource_linkage_many (line 116) | def test_include_resource_linkage_many(self, post): method test_include_resource_linkage_many_with_schema (line 129) | def test_include_resource_linkage_many_with_schema(self, post): method test_include_resource_linkage_many_with_schema_overriding_get_attribute (line 143) | def test_include_resource_linkage_many_with_schema_overriding_get_attr... method test_deserialize_data_single (line 161) | def test_deserialize_data_single(self): method test_deserialize_data_many (line 173) | def test_deserialize_data_many(self): method test_deserialize_data_missing_id (line 185) | def test_deserialize_data_missing_id(self): method test_deserialize_data_missing_type (line 198) | def test_deserialize_data_missing_type(self): method test_deserialize_data_incorrect_type (line 211) | def test_deserialize_data_incorrect_type(self): method test_deserialize_null_data_value (line 224) | def test_deserialize_null_data_value(self): method test_deserialize_null_value_disallow_none (line 236) | def test_deserialize_null_value_disallow_none(self): method test_deserialize_empty_data_list (line 249) | def test_deserialize_empty_data_list(self): method test_deserialize_empty_data (line 260) | def test_deserialize_empty_data(self): method test_deserialize_required_missing (line 275) | def test_deserialize_required_missing(self): method test_deserialize_required_empty (line 288) | def test_deserialize_required_empty(self): method test_deserialize_many_non_list_relationship (line 301) | def test_deserialize_many_non_list_relationship(self): method test_deserialize_non_many_list_relationship (line 307) | def test_deserialize_non_many_list_relationship(self): method test_include_null_data_single (line 315) | def test_include_null_data_single(self, post_with_null_author): method test_include_null_data_many (line 326) | def test_include_null_data_many(self, post_with_null_comment): method test_exclude_data (line 338) | def test_exclude_data(self, post_with_null_comment): method test_empty_relationship_with_alternative_identifier_field (line 350) | def test_empty_relationship_with_alternative_identifier_field( method test_resource_linkage_id_type_from_schema (line 362) | def test_resource_linkage_id_type_from_schema(self): method test_resource_linkage_id_of_invalid_type (line 378) | def test_resource_linkage_id_of_invalid_type(self): class TestDocumentMetaField (line 395) | class TestDocumentMetaField: method test_serialize (line 396) | def test_serialize(self): method test_serialize_incorrect_type (line 403) | def test_serialize_incorrect_type(self): method test_deserialize (line 409) | def test_deserialize(self): method test_deserialize_incorrect_type (line 415) | def test_deserialize_incorrect_type(self): class TestResourceMetaField (line 423) | class TestResourceMetaField: method test_serialize (line 424) | def test_serialize(self): method test_serialize_incorrect_type (line 429) | def test_serialize_incorrect_type(self): method test_deserialize (line 435) | def test_deserialize(self): method test_deserialize_incorrect_type (line 441) | def test_deserialize_incorrect_type(self): FILE: tests/test_flask.py function app (line 10) | def app(): class TestSchema (line 37) | class TestSchema: class PostFlaskSchema (line 38) | class PostFlaskSchema(Schema): class Meta (line 42) | class Meta: class PostAuthorFlaskSchema (line 48) | class PostAuthorFlaskSchema(Schema): class Meta (line 58) | class Meta: method test_schema_requires_view_options (line 64) | def test_schema_requires_view_options(self): method test_non_existing_view (line 75) | def test_non_existing_view(self, app, post): method test_self_link_single (line 87) | def test_self_link_single(self, app, post): method test_self_link_many (line 92) | def test_self_link_many(self, app, posts): method test_schema_with_empty_relationship (line 100) | def test_schema_with_empty_relationship(self, app, post_with_null_auth... class TestRelationshipField (line 105) | class TestRelationshipField: method test_serialize_basic (line 106) | def test_serialize_basic(self, app, post): method test_serialize_external (line 116) | def test_serialize_external(self, app, post): method test_include_resource_linkage_requires_type (line 125) | def test_include_resource_linkage_requires_type(self, app, post): method test_serialize_self_link (line 137) | def test_serialize_self_link(self, app, post): method test_empty_relationship (line 147) | def test_empty_relationship(self, app, post_with_null_author): method test_non_existing_view (line 155) | def test_non_existing_view(self, app, post): method test_empty_relationship_with_alternative_identifier_field (line 163) | def test_empty_relationship_with_alternative_identifier_field( FILE: tests/test_options.py function dasherize (line 9) | def dasherize(text): class AuthorSchemaWithInflection (line 13) | class AuthorSchemaWithInflection(Schema): class Meta (line 18) | class Meta: class AuthorSchemaWithOverrideInflection (line 24) | class AuthorSchemaWithOverrideInflection(Schema): class Meta (line 30) | class Meta: class TestInflection (line 36) | class TestInflection: method schema (line 38) | def schema(self): method test_dump (line 41) | def test_dump(self, schema, author): method test_validate_with_inflection (line 54) | def test_validate_with_inflection(self, schema): method test_load_with_inflection (line 64) | def test_load_with_inflection(self, schema): method test_load_with_inflection_and_load_from_override (line 80) | def test_load_with_inflection_and_load_from_override(self): method test_load_bulk_id_fields (line 89) | def test_load_bulk_id_fields(self): method test_relationship_keys_get_inflected (line 98) | def test_relationship_keys_get_inflected(self, post): class AuthorAutoSelfLinkSchema (line 123) | class AuthorAutoSelfLinkSchema(Schema): class Meta (line 130) | class Meta: class AuthorAutoSelfLinkFirstLastSchema (line 137) | class AuthorAutoSelfLinkFirstLastSchema(AuthorAutoSelfLinkSchema): class Meta (line 138) | class Meta: class TestAutoSelfUrls (line 145) | class TestAutoSelfUrls: method test_self_url_kwargs_requires_self_url (line 146) | def test_self_url_kwargs_requires_self_url(self, author): method test_self_link_single (line 157) | def test_self_link_single(self, author): method test_self_link_many (line 162) | def test_self_link_many(self, authors): method test_without_self_link (line 170) | def test_without_self_link(self, comments): FILE: tests/test_schema.py function make_serialized_author (line 16) | def make_serialized_author(attributes): function make_serialized_authors (line 20) | def make_serialized_authors(items): function test_type_is_required (line 24) | def test_type_is_required(): function test_id_field_is_required (line 36) | def test_id_field_is_required(): class TestResponseFormatting (line 46) | class TestResponseFormatting: method test_dump_single (line 47) | def test_dump_single(self, author): method test_dump_many (line 60) | def test_dump_many(self, authors): method test_self_link_single (line 74) | def test_self_link_single(self, author): method test_self_link_many (line 79) | def test_self_link_many(self, authors): method test_dump_to (line 84) | def test_dump_to(self, post): method test_dump_none (line 92) | def test_dump_none(self): method test_schema_with_relationship_processes_none (line 99) | def test_schema_with_relationship_processes_none(self): method test_dump_empty_list (line 103) | def test_dump_empty_list(self): class TestCompoundDocuments (line 113) | class TestCompoundDocuments: method test_include_data_with_many (line 114) | def test_include_data_with_many(self, post): method test_include_data_with_single (line 125) | def test_include_data_with_single(self, post): method test_include_data_with_all_relations (line 133) | def test_include_data_with_all_relations(self, post): method test_include_no_data (line 153) | def test_include_no_data(self, post): method test_include_self_referential_relationship (line 157) | def test_include_self_referential_relationship(self): method test_include_self_referential_relationship_many (line 171) | def test_include_self_referential_relationship_many(self): method test_include_self_referential_relationship_many_deep (line 191) | def test_include_self_referential_relationship_many_deep(self): method test_include_data_with_many_and_schema_as_class (line 221) | def test_include_data_with_many_and_schema_as_class(self, post): method test_include_data_with_nested_only_arg (line 242) | def test_include_data_with_nested_only_arg(self, post): method test_include_data_with_nested_exclude_arg (line 261) | def test_include_data_with_nested_exclude_arg(self, post): method test_include_data_load (line 275) | def test_include_data_load(self, post): method test_include_data_load_null (line 292) | def test_include_data_load_null(self, post_with_null_author): method test_include_data_load_without_schema_loads_only_ids (line 302) | def test_include_data_load_without_schema_loads_only_ids(self, post): method test_include_data_with_schema_context (line 326) | def test_include_data_with_schema_context(self, post): function get_error_by_field (line 358) | def get_error_by_field(errors, field): class TestErrorFormatting (line 366) | class TestErrorFormatting: method test_validate (line 367) | def test_validate(self): method test_errors_in_strict_mode (line 381) | def test_errors_in_strict_mode(self): method test_no_type_raises_error (line 396) | def test_no_type_raises_error(self): method test_validate_no_data_raises_error (line 416) | def test_validate_no_data_raises_error(self): method test_validate_type (line 435) | def test_validate_type(self): method test_validate_id (line 454) | def test_validate_id(self): method test_load (line 480) | def test_load(self): method test_errors_is_empty_if_valid (line 497) | def test_errors_is_empty_if_valid(self): method test_errors_many (line 509) | def test_errors_many(self): method test_errors_many_not_list (line 531) | def test_errors_many_not_list(self): method test_many_id_errors (line 547) | def test_many_id_errors(self): method test_nested_fields_error (line 581) | def test_nested_fields_error(self): class TestMeta (line 630) | class TestMeta: method test_dump_single (line 656) | def test_dump_single(self): method test_dump_many (line 663) | def test_dump_many(self): method test_load_single (line 676) | def test_load_single(self): method test_load_many (line 684) | def test_load_many(self): function assert_relationship_error (line 699) | def assert_relationship_error(pointer, errors): class TestRelationshipLoading (line 710) | class TestRelationshipLoading: method test_deserializing_relationship_fields (line 723) | def test_deserializing_relationship_fields(self): method test_deserializing_nested_relationship_fields (line 729) | def test_deserializing_nested_relationship_fields(self): method test_deserializing_relationship_errors (line 784) | def test_deserializing_relationship_errors(self): method test_deserializing_missing_required_relationship (line 795) | def test_deserializing_missing_required_relationship(self): method test_deserializing_relationship_with_missing_param (line 828) | def test_deserializing_relationship_with_missing_param(self): FILE: tests/test_utils.py function test_tpl (line 16) | def test_tpl(tag, val):