(self, *args, **kwargs)
Entity constructor.

    Subclasses should not override this method, instead implement a _build
    method.

    Args:
      *args: Arguments passed through to the _build method.
      **kwargs: Keyword arguments. Passed through to the _build method, apart
        from the following.
          `observable_options`: A dictionary of Observable
            configuration options.
Entity constructor.
Entity constructor .
def __init__(self, *args, **kwargs):
    """Entity constructor.

    Subclasses should not override this method, instead implement a _build
    method.

    Args:
      *args: Arguments passed through to the _build method.
      **kwargs: Keyword arguments. Passed through to the _build method, apart
        from the following.
          `observable_options`: A dictionary of Observable
            configuration options.
    """
    self._post_init_hooks = []

    self._parent = None
    self._attached = []

    try:
      observable_options = kwargs.pop('observable_options')
    except KeyError:
      observable_options = None

    self._build(*args, **kwargs)
    self._observables = self._build_observables()
    self._observables.set_options(observable_options)
def __init__ ( self , * args , * * kwargs ) : self . _post_init_hooks = [ ] self . _parent = None self . _attached = [ ] try : observable_options = kwargs . pop ( 'observable_options' ) except KeyError : observable_options = None self . _build ( * args , * * kwargs ) self . _observables = self . _build_observables ( ) self . _observables . set_options ( observable_options )