Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

        def assignAttributes(instance, dictionary):
    for key, value in dictionary.items():
        setattr(instance, key, value)
        


src/s/t/stratuslab-client-14.03.0/stratuslab/Runnable.py   stratuslab-client(Download)
    def _assignOptions(self, default_options, options):
        obj = lambda: None
        Util.assignAttributes(obj, default_options)
        Util.assignAttributes(obj, options.__dict__)
        self.options = obj

src/s/t/stratuslab-client-14.03.0/stratuslab/ConfigHolder.py   stratuslab-client(Download)
    def assign(self, obj):
        Util.assignAttributes(obj, ConfigHolder._formatConfigKeys(self.config))
        Util.assignAttributes(obj, self.options)
 
    def copy(self):