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 and yoonhyejin committed Jul 16, 2024
1 parent 0a61f84 commit 9cf3a65
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 9cf3a65

Please sign in to comment.