Beispiel #1
0
 class Foo(Base):
     _tag_fetcher = dependency("tag_fetcher")
Beispiel #2
0
 class Greeter(zuice.Base):
     _name = zuice.dependency(Name)
Beispiel #3
0
 class Greeter(zuice.Base):
     _name = zuice.dependency(Name)
     
     def hello(self):
         return "Hello {0}".format(self._name)
Beispiel #4
0
 class Greeter(zuice.Base):
     _greeting = zuice.dependency(Greeting)
     _name = zuice.dependency(Name)
     
     def hello(self):
         return "{0} {1}".format(self._greeting, self._name)
Beispiel #5
0
 class Foo(Base):
     _tag_fetcher = dependency("tag_fetcher")
     _blog_post_fetcher = dependency('post_fetcher')
Beispiel #6
0
 class Child(Parent):
     _fetcher = dependency('post_fetcher')
Beispiel #7
0
 class Parent(Base):
     _fetcher = dependency('tag_fetcher')
Beispiel #8
0
 class View(Base):
     _tag_fetcher = dependency("tag_fetcher")