Skip to content

Commit

Permalink
structuredData -> structured_data (#1064)
Browse files Browse the repository at this point in the history
  • Loading branch information
mishig25 authored Oct 30, 2023
1 parent cd15b19 commit d0180ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/hub/models-widgets-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ widget:
```yaml
widget:
- structuredData:
- structured_data:
fixed_acidity:
- 7.4
- 7.8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function isAssetAndTextInput<TOutput>(
export function isStructuredDataInput<TOutput>(
sample: WidgetExample<TOutput>
): sample is WidgetExampleStructuredDataInput<TOutput> {
return "structuredData" in sample;
return "structured_data" in sample;
}

export function isTableDataInput<TOutput>(
Expand Down

0 comments on commit d0180ef

Please sign in to comment.