ObjectUser module

class databaseUser.ObjectUser.UserObj(name: str, phone: str, pokemon: str, image: str)

Bases: object

static fromDict(data: dict)

Make a cast from dictionary to UserObj

Returns

The dictionary based on UserObj object

setId(newID)None

Set the object ID

Parameters

newID – New object ID