(self)
| 90 | fail(f"Error parsing JSON: {str(e)}") |
| 91 | |
| 92 | def init_session(self): |
| 93 | return OAuth1Session( |
| 94 | self.data["consumer"], |
| 95 | resource_owner_key=self.data["token"], |
| 96 | resource_owner_secret=self.data["secret"], |
| 97 | ) |
| 98 | |
| 99 | def call_maas(self, method, path, data=None, ignore_404=False): |
| 100 | if not path.startswith("/"): |