Module Expr Str Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr TryExcept body Expr Call AttributeLoad NameLoad attr handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr Str keyword Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A N/A 
Classes in this module serve as a basis for Nommers. This should be thought
of as a protocol or a foundation to assist in maintaining a consistent API
between Nommers.
 N/A os N/A traceback N/A tempfile N/A shutil media_nommer.utils logger media_nommer.ec2nommerd.node_state NodeStateManager media_nommer.core.storage_backends get_backend_for_uri BaseNommer N/A object N/A N/A 
    This is a base class that can be sub-classed by each Nommer to serve
    as a foundation. Required methods raise a NotImplementedError exception
    by default, unless overridden by child classes.

    :ivar EncodingJob job: The encoding job this nommer is handling.
     __init__ N/A N/A self job N/A N/A N/A N/A self job job N/A onomnom N/A N/A self N/A N/A N/A 
        Start nomming. If you're going to override this, make sure to follow
        the same basic job state updating flow if possible.
         N/A N/A self temp_cwd N/A N/A tempfile mkdtemp N/A N/A N/A N/A N/A self _onomnom N/A N/A N/A N/A N/A N/A self wrapped_set_job_state ERROR details N/A N/A traceback format_exc N/A N/A N/A traceback print_exc N/A N/A N/A shutil rmtree N/A self temp_cwd ignore_errors True N/A _onomnom N/A N/A self N/A N/A N/A 
        Call your encoder here, do work. Make sure to update job state as
        it progresses, if you can.
        
        Needs to set one of the two job states: FINISHED, ERROR
         N/A NotImplementedError N/A wrapped_set_job_state N/A N/A self N/A args kwargs N/A N/A 
        Wraps set_job_state() to perform extra actions before and/or after
        job state updates.
        
        :param str new_state: The job state to set.
         N/A N/A N/A NodeStateManager i_did_something N/A N/A N/A N/A self job set_job_state args kwargs N/A download_source_file N/A N/A self N/A N/A N/A 
        Download the source file to a temporary file.
         N/A N/A N/A self wrapped_set_job_state DOWNLOADING N/A file_uri N/A N/A self job source_path N/A N/A N/A logger debug N/A BaseNommer.download_source_file(): Attempting to download %s file_uri N/A storage N/A get_backend_for_uri file_uri N/A fobj N/A N/A tempfile NamedTemporaryFile mode w+b delete True N/A N/A N/A storage download_file file_uri fobj N/A N/A N/A fobj flush N/A N/A N/A os fsync N/A N/A fobj fileno N/A N/A N/A logger debug N/A BaseNommer.download_source_file(): Downloaded %s to %s N/A file_uri N/A fobj name N/A fobj N/A upload_to_destination N/A N/A self fobj N/A N/A N/A 
        Upload the output file to the destination specified by the user.
         N/A N/A N/A self wrapped_set_job_state UPLOADING N/A file_uri N/A N/A self job dest_path N/A N/A N/A logger debug N/A BaseNommer.upload_to_destination(): Attempting to upload %s to %s N/A N/A fobj name file_uri N/A storage N/A get_backend_for_uri file_uri N/A N/A N/A storage upload_file file_uri fobj N/A N/A N/A logger debug N/A BaseNommer.upload_to_destination(): Finished uploading %s to %s N/A N/A fobj name file_uri N/A N/A