MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / update_project

Method update_project

src/bcf/bcf/v3/bcfapi.py:239–243  ·  view source on GitHub ↗
(self, project_id: str = "", data: Any = None)

Source from the content-addressed store, hash-verified

237 )
238
239 def update_project(self, project_id: str = "", data: Any = None) -> tuple[int, str]:
240 url = f"{self.baseurl}/projects/{project_id}"
241 headers = {"Authorization": f"Bearer {self.foundation_client.get_access_token()}"}
242 resp = requests.put(url, headers=headers, data=data)
243 return resp.status_code, resp.text
244
245 def get_extensions(self, project_id: str = "") -> dict[str, Any]:
246 return self.get(

Callers

nothing calls this directly

Calls 2

putMethod · 0.80
get_access_tokenMethod · 0.45

Tested by

no test coverage detected