(binary=None)
return Petshop(**struct.to_dict(verbose=True))
Load the binary of Petshop.capnp into class Petshop
        :type binary: bytes. If none creates an empty capnp object.
        rtype: Petshop
Load the binary of Petshop.capnp into class Petshop
        :type binary: bytes. If none creates an empty capnp object.
        rtype: Petshop
Load the binary of Petshop . capnp into class Petshop : type binary : bytes . If none creates an empty capnp object . rtype : Petshop
def new(binary=None):
        """
        Load the binary of Petshop.capnp into class Petshop
        :type binary: bytes. If none creates an empty capnp object.
        rtype: Petshop
        """
        template = capnp.load('%s/Petshop.capnp' % dir)
        struct = template.Petshop.from_bytes(binary) if binary else template.Petshop.new_message()
        return Petshop(**struct.to_dict(verbose=True))
def new ( binary = None ) : template = capnp . load ( '%s/Petshop.capnp' % dir ) struct = template . Petshop . from_bytes ( binary ) if binary else template . Petshop . new_message ( ) return Petshop ( * * struct . to_dict ( verbose = True ) )