Module Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias Assign NameStore TupleLoad Str Str Assign NameStore ListLoad Assign NameStore Dict Assign NameStore Dict Assign NameStore Call AttributeLoad NameLoad attr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr Raise decorator_list FunctionDef arguments args NameParam defaults body If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareNotIn NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index Num Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body If Call NameLoad NameLoad body If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad NameLoad For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list decorator_list Assign SubscriptStore NameLoad Index Str NameLoad FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If BoolOpOr NameLoad BoolOpAnd CompareIs NameLoad NameLoad CompareIn NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list Call NameLoad Str TupleLoad Str Str Str Str Str Call NameLoad Dict Str NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad If BoolOpAnd UnaryOpNot NameLoad CompareNotIn NameLoad SubscriptLoad NameLoad Index Str body Return NameLoad If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str Str If CompareIn NameLoad TupleLoad Str Str body If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareIs NameLoad NameLoad Call NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameStore AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str Str If Call NameLoad NameLoad NameLoad body Assign NameStore CompareIn NameLoad NameLoad orelse Assign NameStore CompareEq NameLoad AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse Expr Call AttributeLoad NameLoad attr Str NameLoad orelse If CompareIn NameLoad TupleLoad Str Str Str body If NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr CompareIs NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr orelse If CompareEq NameLoad Str body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Assign NameStore NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse If CompareIs NameLoad NameLoad body Assign NameStore Str orelse Assign NameStore NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore CompareIn NameLoad NameLoad orelse Assign NameStore CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body Assign SubscriptStore NameLoad Index Str Str orelse Expr Call AttributeLoad NameLoad attr Str NameLoad orelse If CompareEq NameLoad Str body If BoolOpOr CompareIs NameLoad NameLoad NameLoad body Return Call SubscriptLoad NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr CompareIs NameLoad NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list Call NameLoad Str TupleLoad Str Str Str Str Call NameLoad Dict Str NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr NameLoad BoolOpAnd CompareIs NameLoad NameLoad CompareIn NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpMod NameLoad NameLoad Return NameLoad decorator_list Call NameLoad Str TupleLoad Str Str Str Str Call NameLoad Dict Str Str NameLoad Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str NameLoad NameLoad If BoolOpOr UnaryOpNot NameLoad CompareIs NameLoad NameLoad body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr NameLoad BoolOpAnd CompareIs NameLoad NameLoad CompareIn NameLoad SubscriptLoad NameLoad Index Str body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str BinOpMod NameLoad NameLoad Return NameLoad decorator_list Call NameLoad Str TupleLoad Str Call NameLoad Dict Str NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str NameLoad NameLoad If UnaryOpNot NameLoad body Return NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If CompareEq NameLoad Num body Return NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr NameLoad BoolOpAnd CompareIs NameLoad NameLoad CompareIn NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad If CompareGt NameLoad Num body Assign SubscriptStore NameLoad Index Str BinOpAdd NameLoad Num Return NameLoad decorator_list Call NameLoad Str TupleLoad Str Str Str Str Call NameLoad Dict Str Str NameLoad Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore Call NameLoad Str NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str If UnaryOpNot NameLoad body Return NameLoad For NameStore NameLoad body Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad body Continue Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list Call NameLoad Dict Str Str NameLoad TupleLoad Expr Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore CompareIs NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index NameLoad If CompareIs NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore Call AttributeLoad NameLoad attr Str If UnaryOpNot NameLoad body Return If BoolOpAnd CompareEq NameLoad Str CompareIn Call AttributeLoad NameLoad attr Str TupleLoad Str Str Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Str Str If NameLoad body AugAssignAdd NameStore BinOpAdd Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body If UnaryOpNot NameLoad body Return Str orelse If Call NameLoad NameLoad Str body Return Call AttributeLoad NameLoad attr orelse Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr Str Str attr Str Str attr Str Str decorator_list
N/A N/A re flatland.out.util parse_trool flatland.schema Array Boolean flatland.util Maybe to_pairs N/A __all__ N/A transform Context N/A _transforms N/A N/A _default_context N/A N/A _auto_tags N/A N/A _id_invalid_re N/A N/A re compile [^A-Za-z0-9_:.\-] transform N/A N/A tagname attributes contents context bind N/A N/A N/A Transform tag *attributes* in-place & return transformed *contents* N/A fn _transforms N/A N/A contents N/A fn tagname attributes contents context bind N/A contents N/A Context N/A object N/A N/A A stacked key/value mapping. __init__ N/A N/A self N/A N/A N/A N/A self _frames N/A N/A dict _default_context N/A push N/A N/A self N/A options N/A N/A N/A N/A N/A self _frames append N/A N/A N/A N/A self _frames N/A -1 copy N/A N/A N/A N/A N/A self update options N/A N/A N/A KeyError N/A N/A N/A N/A self pop N/A N/A pop N/A N/A self N/A N/A N/A N/A N/A len N/A self _frames 1 N/A N/A N/A RuntimeError Can not pop() the base context frame. N/A N/A N/A N/A self _frames pop N/A __getitem__ N/A N/A self key N/A N/A N/A N/A N/A N/A self _frames N/A -1 N/A key N/A __setitem__ N/A N/A self key value N/A N/A N/A N/A key self N/A N/A N/A KeyError N/A %r not permitted in this %s N/A key N/A N/A self __class__ __name__ N/A N/A N/A N/A self _frames N/A -1 N/A key value N/A __contains__ N/A N/A self key N/A N/A N/A N/A key N/A N/A self _frames N/A -1 N/A update N/A N/A self N/A iterable kwargs N/A N/A N/A len iterable N/A N/A N/A N/A len iterable 1 N/A N/A N/A TypeError N/A update expected at most 1 arguments, got %s N/A len iterable N/A source N/A to_pairs N/A iterable N/A 0 N/A N/A key value source N/A N/A N/A self N/A key value N/A N/A key value N/A N/A kwargs iteritems N/A N/A N/A self N/A N/A N/A key decode ascii value N/A __repr__ N/A N/A self N/A N/A N/A N/A %s(%r) N/A N/A N/A self __class__ __name__ N/A N/A self _frames N/A -1 N/A N/A Markup N/A unicode N/A N/A A unicode string of HTML markup that should not be escaped in output. N/A __slots__ N/A __html__ N/A N/A self N/A N/A N/A self N/A N/A N/A N/A _default_context N/A markup_wrapper Markup transformer N/A N/A name tags N/A N/A decorator N/A N/A fn N/A N/A N/A N/A N/A _transforms append fn N/A N/A _auto_tags N/A name N/A set tags N/A fn N/A N/A decorator N/A defaults N/A N/A data N/A N/A decorator N/A N/A fn N/A N/A N/A N/A N/A _default_context update data N/A fn N/A N/A decorator N/A transform_name N/A N/A tagname attributes contents context bind N/A N/A N/A N/A proceed forced N/A _pop_toggle auto_name attributes context N/A N/A N/A proceed N/A bind None N/A N/A contents N/A bound_name N/A N/A bind flattened_name N/A N/A bound_name N/A N/A contents N/A current N/A N/A attributes get name None N/A N/A forced N/A N/A current None N/A tagname N/A _auto_tags N/A name N/A N/A N/A attributes N/A name bound_name N/A contents N/A N/A transformer name N/A input button select textarea form N/A defaults N/A auto_name True transform_value N/A N/A tagname attributes contents context bind N/A N/A N/A N/A proceed forced N/A _pop_toggle auto_value attributes context N/A N/A N/A proceed N/A bind None N/A N/A contents N/A N/A N/A forced N/A tagname N/A _auto_tags N/A value N/A N/A contents N/A N/A tagname input N/A N/A subtype N/A N/A attributes get type N/A N/A subtype N/A radio checkbox N/A N/A N/A subtype checkbox N/A N/A current N/A N/A attributes get value N/A N/A N/A current None N/A isinstance bind Boolean N/A N/A N/A attributes N/A value current N/A bind true N/A N/A current N/A N/A attributes get value N/A N/A isinstance bind Array N/A N/A toggle N/A current bind N/A N/A toggle N/A current N/A bind u N/A toggle N/A N/A N/A attributes N/A checked checked N/A N/A N/A N/A attributes pop checked None N/A N/A N/A subtype N/A password file image N/A N/A forced N/A N/A N/A attributes N/A value N/A bind u N/A N/A current N/A N/A attributes get value N/A N/A N/A current None forced N/A N/A N/A attributes N/A value N/A bind u N/A N/A N/A tagname option N/A N/A current N/A N/A attributes get value N/A N/A current None N/A N/A value current N/A N/A N/A isinstance contents unicode N/A N/A value N/A N/A contents strip N/A N/A N/A contents None N/A N/A value N/A N/A value contents N/A N/A isinstance bind Array N/A N/A toggle N/A value bind N/A N/A toggle N/A N/A bind u value N/A toggle N/A N/A N/A attributes N/A selected selected N/A N/A N/A N/A attributes pop selected None N/A N/A N/A tagname textarea N/A N/A N/A N/A contents None forced N/A N/A N/A N/A context N/A markup_wrapper N/A _markup_escape N/A bind u N/A N/A current N/A N/A attributes get value N/A N/A N/A current None forced N/A N/A N/A attributes N/A value N/A bind u N/A contents N/A N/A transformer value N/A button input option textarea N/A defaults N/A auto_value True transform_domid N/A N/A tagname attributes contents context bind N/A N/A N/A N/A proceed forced N/A _pop_toggle auto_domid attributes context N/A N/A proceed N/A N/A contents N/A current N/A N/A attributes get id N/A N/A forced N/A N/A current None N/A tagname N/A _auto_tags N/A id N/A N/A raw_id N/A _generate_raw_domid tagname attributes bind N/A raw_id N/A N/A fmt N/A context N/A domid_format N/A N/A attributes N/A id N/A fmt raw_id N/A contents N/A N/A transformer id N/A input button select textarea N/A defaults N/A auto_domid domid_format False f_%s transform_for N/A N/A tagname attributes contents context bind N/A N/A N/A N/A proceed forced N/A _pop_toggle auto_for attributes context N/A N/A N/A proceed N/A bind None N/A N/A contents N/A current N/A N/A attributes get for N/A N/A forced N/A N/A current None N/A tagname N/A _auto_tags N/A for N/A N/A raw_id N/A _generate_raw_domid tagname attributes bind N/A raw_id N/A N/A fmt N/A context N/A domid_format N/A N/A attributes N/A for N/A fmt raw_id N/A contents N/A N/A transformer for N/A label N/A defaults N/A auto_for False transform_tabindex N/A N/A tagname attributes contents context bind N/A N/A N/A N/A proceed forced N/A _pop_toggle auto_tabindex attributes context N/A N/A proceed N/A N/A contents N/A tabindex N/A context N/A tabindex N/A N/A tabindex 0 N/A N/A contents N/A current N/A N/A attributes get tabindex N/A N/A forced N/A N/A current None N/A tagname N/A _auto_tags N/A tabindex N/A N/A N/A attributes N/A tabindex N/A unicode tabindex N/A N/A tabindex 0 N/A N/A N/A context N/A tabindex N/A tabindex 1 N/A contents N/A N/A transformer tabindex N/A input button select textarea N/A defaults N/A auto_tabindex tabindex False 0 transform_filters N/A N/A tagname attributes contents context bind N/A N/A N/A N/A proceed forced N/A _pop_toggle auto_filter attributes context N/A filters N/A context N/A filters N/A N/A proceed N/A N/A contents N/A fn filters N/A N/A want N/A getattr fn tags None N/A N/A want N/A tagname want N/A N/A N/A contents N/A fn tagname attributes contents context bind N/A contents N/A N/A defaults N/A auto_filter filters False N/A N/A N/A N/A _transforms append transform_filters _pop_toggle N/A N/A key attributes context N/A N/A N/A Remove *key* from *attributes*, if present and report its status.

    Returns the effective value of *key* by considering it's troolean value in
    relation to the default value in *context*.  If *key* is present in the
    attributes and was True, the setting is considered to be 'forced', a
    situation with higher weight than simply defaulting to True via the
    context.

    :returns: a 2-tuple of boolean effective value and boolean forced.

     N/A value N/A parse_trool N/A N/A attributes pop key Maybe N/A forced N/A value True N/A N/A value Maybe N/A N/A value N/A parse_trool N/A context N/A key N/A N/A value Maybe N/A N/A value N/A _default_context N/A key N/A N/A value forced N/A _generate_raw_domid N/A N/A tagname attributes bind N/A N/A N/A N/A bind None N/A N/A basis N/A N/A bind flattened_name N/A N/A basis N/A N/A attributes get name N/A N/A basis N/A N/A N/A N/A N/A tagname input N/A N/A N/A attributes get type N/A checkbox radio N/A isinstance bind Array N/A N/A suffix N/A _sanitize_domid_suffix N/A N/A attributes get value N/A suffix N/A N/A basis N/A _ suffix N/A basis N/A _sanitize_domid_suffix N/A N/A string N/A N/A N/A Try to convert Unicode *string* into a valid non-leading NAME or ID.

      'ID and NAME tokens must begin with a letter ([A-Za-z]) and may be
       followed by any number of letters, digits ([0-9]), hyphens ("-"),
       underscores ("_"), colons (":"), and periods (".").'

     N/A N/A N/A _id_invalid_re sub string N/A _markup_escape N/A N/A string N/A N/A N/A N/A string N/A N/A N/A N/A N/A hasattr string __html__ N/A N/A N/A N/A string __html__ N/A N/A N/A N/A N/A N/A N/A N/A string replace & &amp; replace < &lt; replace > &gt; N/A