Module Import alias Import alias Import alias ImportFrom alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body TryExcept body ImportFrom alias Return AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Return Call AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore IfExp Call NameLoad NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr NameLoad Return Call NameLoad Call NameLoad NameLoad ListComp Call AttributeLoad NameLoad attr comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body TryExcept body Assign NameStore Call NameLoad NameLoad If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Raise Call NameLoad Str If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad orelse If CompareIsNot NameLoad NameLoad body Assign NameStore BinOpMult Call NameLoad NameLoad NameLoad orelse Assign NameStore Num If BoolOpOr CompareLt NameLoad Num CompareLt NameLoad Num body Raise Call NameLoad Str handlers ExceptHandler type TupleLoad NameLoad NameLoad name NameStore body Raise Call NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body For NameStore NameLoad body If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Str Num body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad orelse If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr CompareNotEq Call AttributeLoad NameLoad attr Str Num body Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Assign NameStore ListLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Continue If CompareEq SubscriptLoad NameLoad Index Num Str body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Slice Num orelse Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad Str attr ListComp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Return Call AttributeLoad Call NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad If NameLoad body Raise Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Yield Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call NameLoad NameLoad Return NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore BoolOpOr Call NameLoad NameLoad AttributeLoad NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore BoolOpOr Call NameLoad NameLoad Str Call NameLoad NameLoad Str Return BoolOpAnd UnaryOpNot NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body If BoolOpAnd Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body Expr Call NameLoad SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad BinOpAdd NameLoad ListLoad Call NameLoad NameLoad orelse If CompareEq SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad body Pass orelse Raise Call NameLoad BinOpMod Str Call AttributeLoad Str attr BinOpAdd NameLoad ListLoad Call NameLoad NameLoad orelse Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Str body Expr Str Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore TupleLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Dict orelse If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str ImportFrom alias If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad Call NameLoad keyword NameLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BinOpSub Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Raise Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd Call NameLoad NameLoad NameLoad CompareIn Str NameLoad decorator_list
N/A N/A os N/A logging N/A json contextlib contextmanager N/A six pyramid.config Configurator N/A log N/A N/A logging getLogger __name__ get_json_encoder N/A N/A N/A N/A N/A N/A nefertari engine N/A N/A engine JSONEncoder N/A N/A N/A AttributeError N/A nefertari.renderers _JSONEncoder N/A _JSONEncoder N/A json_dumps N/A N/A body encoder N/A None N/A N/A N/A encoder None N/A N/A encoder N/A get_json_encoder N/A N/A N/A json dumps body cls encoder N/A split_strip N/A N/A _str on N/A , N/A N/A lst N/A N/A isinstance _str list _str N/A N/A _str split on N/A N/A list N/A filter bool N/A N/A N/A e strip N/A e lst N/A process_limit N/A N/A start page limit N/A N/A N/A N/A N/A limit N/A int limit N/A N/A N/A start None N/A page None N/A N/A N/A ValueError Can not specify _start and _page at the same time N/A N/A start None N/A N/A start N/A int start N/A N/A N/A page None N/A N/A start N/A N/A int page limit N/A N/A start 0 N/A N/A N/A limit 0 N/A start 0 N/A N/A N/A ValueError _limit/_page or _limit/_start can not be < 0 N/A N/A N/A N/A ValueError TypeError N/A e N/A N/A N/A ValueError e N/A N/A start limit N/A extend_list N/A N/A param N/A N/A N/A _new N/A N/A N/A isinstance param N/A list set N/A N/A each param N/A N/A N/A N/A isinstance each N/A six string_types N/A N/A N/A each find , -1 N/A N/A N/A N/A _new extend N/A split_strip each N/A N/A N/A N/A _new append each N/A N/A N/A N/A isinstance param N/A six string_types N/A N/A N/A param find , -1 N/A N/A _new N/A split_strip param N/A _new N/A process_fields N/A N/A _fields N/A N/A N/A fields_only N/A N/A fields_exclude N/A N/A N/A isinstance _fields N/A six string_types N/A N/A _fields N/A split_strip _fields N/A field N/A extend_list _fields N/A N/A field N/A N/A field strip N/A N/A field N/A N/A N/A N/A N/A field N/A 0 - N/A N/A N/A N/A fields_exclude append N/A field N/A 1 N/A N/A N/A N/A fields_only append field N/A N/A fields_only fields_exclude N/A snake2camel N/A N/A text N/A N/A N/A turn the snake case to camel case: snake_camel -> SnakeCamel N/A N/A N/A join N/A N/A N/A a title N/A a N/A N/A text split _ N/A maybe_dotted N/A N/A module throw N/A True N/A N/A  If ``module`` is a dotted string pointing to the module,
    imports and returns the module object.
     N/A N/A N/A N/A N/A N/A Configurator maybe_dotted module N/A N/A N/A ImportError N/A e N/A N/A err N/A %s not found. %s N/A module e N/A throw N/A N/A N/A ImportError err N/A N/A N/A N/A log error err N/A None N/A chdir N/A N/A path N/A N/A N/A old_dir N/A N/A os getcwd N/A N/A N/A os chdir path N/A N/A N/A N/A N/A os chdir old_dir N/A contextmanager isnumeric N/A N/A value N/A N/A N/A Return True if `value` can be converted to a float. N/A N/A N/A N/A float value N/A True N/A N/A N/A N/A ValueError TypeError N/A N/A False N/A issequence N/A N/A arg N/A N/A N/A Return True if `arg` acts as a list and does not look like a string. N/A string_behaviour N/A N/A isinstance arg N/A six string_types N/A isinstance arg N/A six text_type N/A list_behaviour N/A N/A hasattr arg __getitem__ N/A hasattr arg __iter__ N/A N/A N/A string_behaviour list_behaviour N/A merge_dicts N/A N/A a b path N/A None N/A N/A  Merge dict :b: into dict :a:

    Code snippet from http://stackoverflow.com/a/7205107
     N/A N/A path None N/A N/A path N/A N/A key b N/A N/A N/A key a N/A N/A N/A N/A isinstance N/A a N/A key dict N/A isinstance N/A b N/A key dict N/A N/A N/A merge_dicts N/A a N/A key N/A b N/A key N/A path N/A N/A str key N/A N/A N/A N/A a N/A key N/A b N/A key N/A N/A N/A N/A N/A Exception N/A Conflict at %s N/A N/A . join N/A path N/A N/A str key N/A N/A N/A a N/A key N/A b N/A key N/A a N/A str2dict N/A N/A dotted_str value separator N/A None . N/A N/A  Convert dotted string to dict splitting by :separator:  N/A dict_ N/A N/A parts N/A N/A dotted_str split separator N/A N/A d prev N/A dict_ None N/A part parts N/A N/A prev d N/A d N/A N/A d setdefault part N/A N/A N/A N/A value None N/A N/A N/A prev N/A part value N/A dict_ N/A validate_data_privacy N/A N/A request data wrapper_kw N/A None N/A N/A  Validate :data: contains only data allowed by privacy settings.

    :param request: Pyramid Request instance
    :param data: Dict containing request/response data which should be
        validated
     nefertari wrappers N/A N/A wrapper_kw None N/A N/A wrapper_kw N/A N/A wrapper N/A N/A wrappers apply_privacy request N/A allowed_fields N/A N/A N/A wrapper result data wrapper_kw keys N/A data N/A N/A data copy N/A N/A N/A data pop _type None N/A not_allowed_fields N/A N/A set N/A N/A data keys N/A set allowed_fields N/A not_allowed_fields N/A N/A N/A N/A wrappers ValidationError N/A N/A ,  join not_allowed_fields N/A drop_reserved_params N/A N/A params N/A N/A N/A  Drops reserved params  nefertari RESERVED_PARAMS N/A params N/A N/A params copy N/A reserved_param RESERVED_PARAMS N/A N/A N/A reserved_param params N/A N/A N/A N/A params pop reserved_param N/A params N/A is_document N/A N/A data N/A N/A N/A  Determine whether :data: is a valid document.

    To be considered valid, data must:
        * Be an instance of dict
        * Have '_type' key in it
     N/A N/A N/A isinstance data dict N/A _type data N/A