MCPcopy Index your code
hub / github.com/simstudioai/sim / set_base_url

Method set_base_url

packages/python-sdk/simstudio/__init__.py:366–373  ·  view source on GitHub ↗

Update the base URL. Args: base_url: New base URL

(self, base_url: str)

Source from the content-addressed store, hash-verified

364 self._session.headers.update({'X-API-Key': api_key})
365
366 def set_base_url(self, base_url: str) -> None:
367 """
368 Update the base URL.
369
370 Args:
371 base_url: New base URL
372 """
373 self.base_url = base_url.rstrip('/')
374
375 def close(self) -> None:
376 """Close the underlying HTTP session."""

Callers 2

test_set_base_urlFunction · 0.95

Calls

no outgoing calls

Tested by 2

test_set_base_urlFunction · 0.76