Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ClassDef bases NameLoad body Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword Call NameLoad Str keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Call NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list ClassDef bases AttributeLoad AttributeLoad NameLoad attr attr body FunctionDef arguments args NameParam defaults kwarg body Assign AttributeStore NameLoad attr AttributeLoad Call AttributeLoad NameLoad attr Str attr Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Print Str Print NameLoad Print Str Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body ClassDef bases body Assign NameStore NameLoad decorator_list Assign NameStore Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Return Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Dict If NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad BoolOpOr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BoolOpAnd Call AttributeLoad Call NameLoad NameLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad vararg kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr For NameStore NameLoad body Print NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index NameLoad Assign AttributeStore NameLoad attr NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Dict For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Dict Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index NameLoad Call NameLoad keyword NameLoad NameLoad Return Call NameLoad Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad NameLoad NameLoad body Raise Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad Call NameLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad Str attr SubscriptLoad NameLoad Slice Num orelse Assign NameStore Str Assign NameStore Call NameLoad NameLoad Dict Dict SubscriptLoad NameLoad Index Num Return Call NameLoad NameLoad SubscriptLoad NameLoad Index Num decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad BinOpMod Str NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Num keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Num keyword Call AttributeLoad NameLoad attr keyword Dict Str Str keyword ListLoad NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword NameLoad keyword Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr Str keyword Call NameLoad Str keyword Call NameLoad Call NameLoad Str NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr ListLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Break Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr ListLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Break Return AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If Call AttributeLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call AttributeLoad NameLoad attr Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad UnaryOpNot Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr attr body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr ListLoad BinOpMod Call NameLoad Str AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list ClassDef bases body Assign NameStore NameLoad decorator_list decorator_list
N/A N/A re django forms django.contrib.admin.widgets FilteredSelectMultiple django.core.exceptions ValidationError django.forms.fields Field django.forms.widgets Widget django.utils.translation ugettext _ djblets.extensions.forms SettingsForm reviewboard.scmtools.models Repository reviewbotext.models AutomaticRunGroup ManualPermission Profile Tool ReviewBotSettingsForm N/A SettingsForm N/A N/A BROKER_URL N/A N/A forms CharField max_length 512 label N/A _ Broker URL help_text N/A _ The Celery configuration BROKER_URL N/A max_comments N/A N/A forms IntegerField required False label N/A _ Maximum Comments help_text N/A _ The maximum number of comments allowed per review. If a review exceeds this maximum, the extra comments will be truncated and a warning will be displayed in the review. Large values can cause browsers to slow considerably if a tool generates many comments. N/A user N/A N/A forms IntegerField label N/A _ User id help_text N/A _ The id of the user account Review Bot will use. N/A ToolForm N/A N/A forms ModelForm N/A Meta N/A N/A N/A model Tool N/A N/A ProfileFormset N/A N/A N/A forms models BaseInlineFormSet N/A __init__ N/A N/A self N/A kwargs N/A N/A N/A self tool_options N/A N/A N/A kwargs get instance tool_options N/A N/A N/A N/A super ProfileFormset self __init__ kwargs N/A _construct_form N/A N/A self i N/A kwargs N/A N/A N/A kwargs N/A tool_options N/A self tool_options N/A CONSTRUCTING A FORM N/A kwargs N/A N/A N/A N/A N/A super ProfileFormset self _construct_form i kwargs N/A N/A ProfileForm N/A N/A forms ModelForm N/A Meta N/A N/A N/A model Profile N/A N/A TOOL_OPTIONS_FIELDSET Tool Specific Settings __init__ N/A N/A self N/A args kwargs N/A N/A N/A self options N/A N/A kwargs pop tool_options None N/A N/A N/A N/A super ProfileForm self __init__ args kwargs N/A N/A self tool_opt_form None N/A N/A N/A self options None N/A N/A N/A options N/A self options N/A instance N/A N/A kwargs get instance None N/A settings N/A N/A instance N/A N/A settings N/A instance tool_settings N/A form_class N/A N/A self _make_tool_opt_form options settings N/A N/A self tool_opt_form N/A form_class N/A N/A self data None N/A is_valid N/A N/A self N/A N/A N/A Returns whether or not the form is valid. N/A N/A N/A N/A N/A super ProfileForm self is_valid N/A N/A N/A self tool_opt_form is_valid N/A save N/A N/A self commit N/A True args kwargs N/A N/A tool_profile N/A N/A N/A super ProfileForm self save commit False args kwargs N/A options N/A self options N/A settings N/A tool_profile tool_settings N/A option options N/A N/A option N/A field_name N/A option N/A name N/A N/A settings N/A field_name N/A N/A N/A self tool_opt_form cleaned_data N/A field_name N/A N/A tool_profile tool_settings settings N/A commit N/A N/A N/A N/A tool_profile save N/A tool_profile N/A _make_tool_opt_form N/A N/A self options settings N/A N/A N/A Construct the tool specific settings form.

        Given the tool's tool_options, and tool_settings
        construct a new form class with the proper fields.
         N/A fields N/A N/A option options N/A N/A field_name N/A option N/A name N/A field_class N/A N/A self _get_field_class N/A option N/A field_type N/A widget N/A N/A option get widget None N/A N/A widget None N/A N/A widget_class N/A N/A self _get_widget_class N/A widget N/A type N/A widget_attrs N/A N/A widget get attrs None N/A widget N/A widget_class attrs widget_attrs N/A field_options N/A N/A option get field_options N/A N/A option_value N/A N/A settings get field_name None N/A N/A option_value None N/A N/A N/A field_options N/A initial option_value N/A N/A fields N/A field_name N/A field_class widget widget field_options N/A N/A type ReviewBotToolOptionsForm N/A N/A forms Form fields N/A _get_field_class N/A N/A self class_str N/A N/A N/A Import and return the field class.

        Given the module path to a field class in class_str, imports the class
        and returns it. If class_str does not specify a valid field class, an
        exception is raised.
         N/A field_class N/A N/A self _get_class class_str N/A N/A N/A issubclass field_class Field N/A N/A N/A TypeError N/A %s is not a Field class. class_str N/A field_class N/A _get_widget_class N/A N/A self widget_str N/A N/A N/A Imports and returns the widget class.

        If widget_str does not specify a valid widget class, an exception is
        raised.
         N/A widget_class N/A N/A self _get_class widget_str N/A N/A N/A issubclass widget_class Widget N/A N/A N/A TypeError N/A %s is not a Widget class. widget_str N/A widget_class N/A _get_class N/A N/A self class_str N/A N/A N/A Imports and returns the class, given the module path to a class. N/A class_path N/A N/A N/A str class_str split . N/A N/A N/A len class_path 1 N/A N/A module_name N/A N/A . join N/A class_path N/A -1 N/A N/A module_name . N/A module N/A __import__ module_name N/A N/A N/A class_path N/A -1 N/A N/A getattr module N/A class_path N/A -1 N/A N/A _regex_validator N/A N/A regex N/A N/A N/A Validates the provided regular expression. N/A N/A N/A N/A N/A re compile regex N/A N/A N/A Exception N/A e N/A N/A N/A ValidationError N/A This regex is invalid: %s e N/A AutomaticRunGroupForm N/A N/A forms ModelForm N/A N/A name N/A N/A forms CharField label N/A _ Name max_length 128 widget N/A N/A forms TextInput attrs N/A size 30 N/A file_regex N/A N/A forms CharField label N/A _ File regular expression max_length 256 widget N/A N/A forms TextInput attrs N/A size 60 validators N/A _regex_validator help_text N/A _ File paths are matched against this regular expression to determine if the tool profiles specified below should be run automatically. N/A repository N/A N/A forms ModelMultipleChoiceField label N/A _ Repositories required False queryset N/A N/A N/A N/A N/A Repository objects filter visible True order_by name help_text N/A _ The list of repositories this automatic run group will match. If left empty, this automatic run group will not apply to any repositories. widget N/A FilteredSelectMultiple N/A _ Repositories False clean N/A N/A self N/A N/A N/A Checks that profiles and repositories have matching LocalSites. N/A local_site N/A N/A N/A self cleaned_data get local_site N/A profiles N/A N/A N/A self cleaned_data get profile N/A N/A profile profiles N/A N/A N/A N/A profile local_site local_site N/A N/A N/A N/A self _errors N/A profile N/A N/A self error_class N/A N/A N/A _ The profile %s does not exist on the local site. N/A profile name N/A N/A repositories N/A N/A N/A self cleaned_data get repository N/A N/A repository repositories N/A N/A N/A N/A repository local_site local_site N/A N/A N/A N/A self _errors N/A repository N/A N/A self error_class N/A N/A N/A _ The repository %s does not exist on the local site. N/A repository name N/A N/A N/A self cleaned_data N/A Meta N/A N/A N/A model AutomaticRunGroup N/A N/A ManualPermissionForm N/A N/A forms ModelForm N/A clean_user N/A N/A self N/A N/A N/A Checks that the user does not already have a ManualPermission. N/A user N/A N/A self cleaned_data N/A user N/A N/A N/A N/A N/A N/A N/A N/A ManualPermission objects filter user user exclude pk N/A N/A self instance pk exists N/A N/A N/A N/A forms ValidationError N/A _ This user already has a Manual Permission entry. N/A user N/A clean N/A N/A self N/A N/A N/A Checks that the user exists on the local site, if specified. N/A local_site N/A N/A N/A self cleaned_data get local_site N/A user N/A N/A N/A self cleaned_data get user N/A N/A local_site N/A N/A N/A N/A N/A N/A user local_site filter pk N/A local_site pk exists N/A N/A N/A N/A self _errors N/A user N/A N/A self error_class N/A N/A N/A _ The user %s does not exist on the local site. N/A user username N/A N/A self cleaned_data N/A Meta N/A N/A N/A model ManualPermission N/A N/A