Esempio n. 1
0
    def info(self) -> si.Info:
        info = super().info()

        info.add_field("foo", self.foo)
        info.add_field("car", self.bar)

        info.add_info(self.bat.info())
        info.add_field("wassup", "nuthin")

        info.add_field("yo", "dawg")

        return info
Esempio n. 2
0
    def info(self) -> si.Info:
        info = super().info()

        info.add_field('foo', self.foo)
        info.add_field('car', self.bar)

        info.add_info(self.bat.info())
        info.add_field('wassup', 'nuthin')

        info.add_field('yo', 'dawg')

        return info
Esempio n. 3
0
    def info(self) -> si.Info:
        info = simulacra.info.Info(header="Bat")
        info.add_field("species", self.species)
        info.add_field("favorite pancake", "blueberry")

        return info
Esempio n. 4
0
    def info(self) -> si.Info:
        info = super().info()

        info.add_field("car", self.car)

        return info
Esempio n. 5
0
    def info(self) -> si.Info:
        info = simulacra.info.Info(header='Bat')
        info.add_field('species', self.species)
        info.add_field('favorite pancake', 'blueberry')

        return info