Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NotebookMetadata.metadata to an appropriate type #112

Open
santhoshramaraj opened this issue Mar 19, 2025 · 0 comments
Open

Update NotebookMetadata.metadata to an appropriate type #112

santhoshramaraj opened this issue Mar 19, 2025 · 0 comments

Comments

@santhoshramaraj
Copy link
Member

NotebookMetadata.metadata is typed as Dict[str,Any] whereas there are a few standard fields documented by the example provided in the swagger docs.

OrderedMap { 
	"interfaces": List [ "interface" ], 
	"outputs": List [ 
		OrderedMap { 
			"display_name": "Output", 
			"id": "output", 
			"type": "scalar" 
			} ], 
	"parameters": List [
		OrderedMap { 
			"display_name": "Parameter1",
			"id": "parameter1",
			"type": "string" },
			OrderedMap {
				"display_name": "Parameter2",
				"id": "parameter2",
				"type": "string[]" 
				} ] 
			}

Developer experience will improve if the metadata field is properly modeled to depict the default optional fields instead of a generic type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant