mirror of
https://github.com/simstudioai/sim.git
synced 2026-04-06 03:00:16 -04:00
feat(domain): drop the 'studio' (#818)
* feat(domain): drop the * change all references for Sim Studio to Sim * change back license and notice * lint --------- Co-authored-by: waleedlatif <waleedlatif@waleedlatifs-MacBook-Pro.local>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
Sim Studio SDK for Python
|
||||
Sim SDK for Python
|
||||
|
||||
Official Python SDK for Sim Studio, allowing you to execute workflows programmatically.
|
||||
Official Python SDK for Sim, allowing you to execute workflows programmatically.
|
||||
"""
|
||||
|
||||
from typing import Any, Dict, Optional
|
||||
@@ -36,7 +36,7 @@ class WorkflowStatus:
|
||||
|
||||
|
||||
class SimStudioError(Exception):
|
||||
"""Exception raised for Sim Studio API errors."""
|
||||
"""Exception raised for Sim API errors."""
|
||||
|
||||
def __init__(self, message: str, code: Optional[str] = None, status: Optional[int] = None):
|
||||
super().__init__(message)
|
||||
@@ -46,14 +46,14 @@ class SimStudioError(Exception):
|
||||
|
||||
class SimStudioClient:
|
||||
"""
|
||||
Sim Studio API client for executing workflows programmatically.
|
||||
Sim API client for executing workflows programmatically.
|
||||
|
||||
Args:
|
||||
api_key: Your Sim Studio API key
|
||||
base_url: Base URL for the Sim Studio API (defaults to https://simstudio.ai)
|
||||
api_key: Your Sim API key
|
||||
base_url: Base URL for the Sim API (defaults to https://sim.ai)
|
||||
"""
|
||||
|
||||
def __init__(self, api_key: str, base_url: str = "https://simstudio.ai"):
|
||||
def __init__(self, api_key: str, base_url: str = "https://sim.ai"):
|
||||
self.api_key = api_key
|
||||
self.base_url = base_url.rstrip('/')
|
||||
self._session = requests.Session()
|
||||
|
||||
Reference in New Issue
Block a user