Example #1
0
 def serialize(self, *args, **kwargs):
     kwargs = SardanaClass.serialize(self, *args, **kwargs)
     kwargs['id'] = InvalidId
     kwargs['pool'] = self.get_manager().name
     kwargs['gender'] = self.gender
     kwargs['model'] = self.model
     kwargs['organization'] = self.organization
     kwargs['types'] = self.type_names
     if len(self.type_names):
         kwargs['main_type'] = self.type_names[0]
     else:
         kwargs['main_type'] = None
     kwargs['api_version'] = self.api_version
     kwargs.update(self.dict_extra)
     return kwargs
Example #2
0
 def serialize(self, *args, **kwargs):
     kwargs = SardanaClass.serialize(self, *args, **kwargs)
     kwargs['id'] = InvalidId
     kwargs['pool'] = self.get_manager().name
     kwargs['gender'] = self.gender
     kwargs['model'] = self.model
     kwargs['organization'] = self.organization
     kwargs['types'] = self.type_names
     if len(self.type_names):
         kwargs['main_type'] = self.type_names[0]
     else:
         kwargs['main_type'] = None
     kwargs['api_version'] = self.api_version
     kwargs.update(self.dict_extra)
     return kwargs
Example #3
0
 def serialize(self, *args, **kwargs):
     kwargs = SardanaClass.serialize(self, *args, **kwargs)
     kwargs = Parameterizable.serialize(self, *args, **kwargs)
     return kwargs
Example #4
0
 def serialize(self, *args, **kwargs):
     kwargs = SardanaClass.serialize(self, *args, **kwargs)
     kwargs['id'] = InvalidId
     kwargs['hints'] = self.code_object.hints
     kwargs['macro_server'] = self.get_manager().name
     return kwargs
Example #5
0
 def serialize(self, *args, **kwargs):
     kwargs = SardanaClass.serialize(self, *args, **kwargs)
     kwargs = Parameterizable.serialize(self, *args, **kwargs)
     return kwargs
Example #6
0
 def serialize(self, *args, **kwargs):
     kwargs = SardanaClass.serialize(self, *args, **kwargs)
     kwargs['id'] = InvalidId
     kwargs['hints'] = self.code_object.hints
     kwargs['macro_server'] = self.get_manager().name
     return kwargs