Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call NameLoad NameLoad keyword ListLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd AttributeLoad NameLoad attr ListLoad NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A Copyright 2013 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
 N/A errors N/A locations N/A scoping InjectionContextFactory N/A object N/A N/A A creator of _InjectionContexts. __init__ N/A N/A self is_scope_usable_from_scope_fn N/A N/A N/A Initializer.

        Args:
          is_scope_usable_from_scope_fn: a function taking two scope IDs and
              returning whether an object in the first scope can be injected
              into an object from the second scope
         N/A N/A self _is_scope_usable_from_scope_fn is_scope_usable_from_scope_fn N/A new N/A N/A self injection_site_fn N/A N/A N/A Creates a _InjectionContext.

        Args:
          injection_site_fn: the initial function being injected into
        Returns:
          a new empty _InjectionContext in the default scope
         N/A N/A _InjectionContext injection_site_fn binding_stack N/A scope_id N/A scoping UNSCOPED is_scope_usable_from_scope_fn N/A self _is_scope_usable_from_scope_fn N/A N/A _InjectionContext N/A object N/A N/A The context of dependency-injecting some bound value. __init__ N/A N/A self injection_site_fn binding_stack scope_id is_scope_usable_from_scope_fn N/A N/A N/A Initializer.

        Args:
          injection_site_fn: the function currently being injected into
          binding_stack: a sequence of the bindings whose use in injection is
              in-progress, from the highest level (first) to the current level
              (last)
          scope_id: the scope ID of the current (last) binding's scope
          is_scope_usable_from_scope_fn: a function taking two scope IDs and
              returning whether an object in the first scope can be injected
              into an object from the second scope
         N/A N/A self _injection_site_fn injection_site_fn N/A N/A self _binding_stack binding_stack N/A N/A self _scope_id scope_id N/A N/A self _is_scope_usable_from_scope_fn is_scope_usable_from_scope_fn N/A get_child N/A N/A self injection_site_fn binding N/A N/A N/A Creates a child injection context.

        A "child" injection context is a context for a binding used to
        inject something into the current binding's provided value.

        Args:
          injection_site_fn: the child function being injected into
          binding: a Binding
        Returns:
          a new _InjectionContext
         N/A child_scope_id N/A binding scope_id N/A new_binding_stack N/A N/A self _binding_stack N/A binding N/A N/A binding N/A self _binding_stack N/A N/A N/A N/A errors CyclicInjectionError new_binding_stack N/A N/A N/A N/A self _is_scope_usable_from_scope_fn child_scope_id N/A self _scope_id N/A N/A N/A N/A errors BadDependencyScopeError N/A N/A self get_injection_site_desc N/A self _scope_id child_scope_id N/A binding binding_key N/A N/A _InjectionContext injection_site_fn new_binding_stack child_scope_id N/A self _is_scope_usable_from_scope_fn N/A get_injection_site_desc N/A N/A self N/A N/A N/A Returns a description of the current injection site. N/A N/A N/A locations get_name_and_loc N/A self _injection_site_fn N/A N/A