Get an organization
(self, organization_id)
| 135 | return r.json() |
| 136 | |
| 137 | def get_organization(self, organization_id): |
| 138 | """ |
| 139 | Get an organization |
| 140 | """ |
| 141 | headers = self._get_headers() |
| 142 | url = self.url + "/organizations/" + organization_id |
| 143 | r = requests.get(url=url, timeout=2, headers=headers) |
| 144 | if r.status_code != 200: |
| 145 | self._log_error(url, {}, r) |
| 146 | return None |
| 147 | return r.json() |
| 148 | |
| 149 | def update_organization(self, organization: OrganizationCreate): |
| 150 | """ |
no test coverage detected