def __init__(self, api_key, endpoint,
                 project_short_name, all=0):
        """Initiate."""
        self.project = None
        self.all = all
        pbclient.set('api_key', api_key)
        pbclient.set('endpoint', endpoint)
        if self.project is None:
            self.project = self.get_project(project_short_name)
def __init__ ( self , api_key , endpoint , project_short_name , all = 0 ) : self . project = None self . all = all pbclient . set ( 'api_key' , api_key ) pbclient . set ( 'endpoint' , endpoint ) if self . project is None : self . project = self . get_project ( project_short_name )
Initiate.