Skip to content

Commit

Permalink
feat(dataset): add support for external url in Dataset (#10877)
Browse files Browse the repository at this point in the history
  • Loading branch information
dragontail authored Jul 15, 2024
1 parent 5f38d13 commit cfcd216
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ class Dataset(BaseModel):
structured_properties: Optional[
Dict[str, Union[str, float, List[Union[str, float]]]]
] = None
external_url: Optional[str] = None

@property
def platform_urn(self) -> str:
Expand Down Expand Up @@ -236,6 +237,7 @@ def generate_mcp(
description=self.description,
name=self.name,
customProperties=self.properties,
externalUrl=self.external_url,
),
)
yield mcp
Expand Down

0 comments on commit cfcd216

Please sign in to comment.