Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
register a new object instance.

src/t/r/troy-0.0.3/troy/workload/workload_manager.py   troy(Download)
                raise TypeError ('expected troy.Workload instance, not %s' % type(workload))
 
            ru.Registry.register (workload)
 
 

src/t/r/troy-0.0.3/troy/overlay/overlay_manager.py   troy(Download)
    def register_overlay (cls, overlay) :
        ru.Registry.register (overlay)
 
 
    # --------------------------------------------------------------------------