langsmith.client.Client.has_project#
- Client.has_project(project_name: str, *, project_id: str | None = None) bool[source]#
Check if a project exists.
- Parameters:
project_name (str) – The name of the project to check for.
project_id (str or None, default=None) – The ID of the project to check for.
Returns –
------- –
bool – Whether the project exists.
- Return type:
bool