Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __getattr__(self, item):
if item.startswith("_"):
raise AttributeError(item)
kwargs = self._store.copy()
kwargs['base_url'] = self.url_join(self._store["base_url"], item)
return ProxmoxResource(**kwargs)