def _create_random_entity_class(self, pk=None, rk=None):
partition = pk if pk is not None else self.get_resource_name('<STR_LIT>')<EOL>row = rk if rk is not None else self.get_resource_name('<STR_LIT>')<EOL>entity = Entity()<EOL>entity.PartitionKey = partition<EOL>entity.RowKey = row<EOL>entity.age = <NUM_LIT><EOL>entity.sex = '<STR_LIT>'<EOL>entity.name = '<STR_LIT>'<EOL>entity.married = True<EOL>entity.deceased = False<EOL>entity.optional = None<EOL>entity.evenratio = <NUM_LIT><EOL>entity.ratio = <NUM_LIT><EOL>entity.large = <NUM_LIT><EOL>entity.Birthday = datetime(<NUM_LIT>, <NUM_LIT:10>, <NUM_LIT:4>)<EOL>entity.birthday = datetime(<NUM_LIT>, <NUM_LIT:10>, <NUM_LIT:4>)<EOL>entity.binary = EntityProperty(EdmType.BINARY, b'<STR_LIT>')<EOL>entity.other = EntityProperty(EdmType.INT32, <NUM_LIT:20>)<EOL>entity.clsid = EntityProperty(<EOL>EdmType.GUID, '<STR_LIT>')<EOL>return entity<EOL>
Creates a class-based entity with fixed values, using all
of the supported data types.