Ejemplo n.º 1
0
    def __init__(self, yaml_file=None, name=None, **kwargs):
        """Initializes an empty Code Component if yaml_file is None, or a
        composite code component if yaml_file is a valid Composite Component File.

        Args:
            yaml_file (string): Path to a YAML file that contains the structure
                                for a composite component.
            **kwargs: Arbitrary keyword arguments to control construction.


        """
        Component.__init__(self, yaml_file=None, name=name, **kwargs)
Ejemplo n.º 2
0
 def __init__(self, yaml_file=None, **kwargs):
     Component.__init__(self, yaml_file, **kwargs)