Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.meta = None
## [TODO] convert to @properties
self.users = Users(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.projects = Projects(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.studies = Studies(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.files = Files(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.samples = Samples(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.cohorts = Cohorts(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.families = Families(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.jobs = Jobs(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.individuals = Individuals(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.clinical = Clinical(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.alignment = Alignment(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.variant = Variant(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.ga4gh = GA4GH(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.meta = Meta(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.admin = Admin(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.panels = Panels(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.tool = Tool(self.configuration, self.session_id, self._login_handler, auto_refresh=self.auto_refresh)
self.clients = [self.users, self.projects, self.studies, self.files,
self.samples, self.cohorts, self.families, self.jobs,
self.individuals, self.clinical,
self.alignment, self.variant, self.ga4gh, self.meta,
self.admin, self.panels, self.tool]
for client in self.clients:
# only retry the ones with objects (instantiated clients)
if client is not None:
client.on_retry = self.on_retry