File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -56,14 +56,15 @@ class OrganizationClient(ClientMixin):
5656 * Artifacts: list_runs_artifacts_lineage
5757
5858 Examples:
59- # Organization-wide operations
60- org_client = OrganizationClient(owner="my-org")
61- org_client.list_runs() # All runs across the organization
62-
63- # Team-scoped operations (effectively a "Team Client")
64- team_client = OrganizationClient(owner="my-org/engineering")
65- team_client.list_runs() # Only runs within the engineering team
66- team_client.list_model_versions() # Only model versions within the team
59+ ```python
60+ >>> # Organization-wide operations
61+ >>> org_client = OrganizationClient(owner="my-org")
62+ >>> org_client.list_runs() # All runs across the organization
63+ >>> # Team-scoped operations (effectively a "Team Client")
64+ >>> team_client = OrganizationClient(owner="my-org/engineering")
65+ >>> team_client.list_runs() # Only runs within the engineering team
66+ >>> team_client.list_model_versions() # Only model versions within the team
67+ ```
6768
6869 Properties:
6970 owner: str.
Original file line number Diff line number Diff line change @@ -50,13 +50,17 @@ class ProjectClient(ClientMixin):
5050 only the `owner` parameter is required.
5151
5252 Team Scoping:
53+
5354 Projects can be scoped to a specific team within an organization by providing
5455 the owner in the format "owner/team". When a team is specified, the project
5556 will be created under that team using the team projects API.
5657
5758 Examples:
58- ProjectClient(owner="my-org", project="my-project") # Organization project
59- ProjectClient(owner="my-org/engineering", project="my-project") # Team project
59+
60+ ```python
61+ >>> ProjectClient(owner="my-org", project="my-project") # Organization project
62+ >>> ProjectClient(owner="my-org/engineering", project="my-project") # Team project
63+ ```
6064
6165 Properties:
6266 project: str.
You can’t perform that action at this time.
0 commit comments