Skip to content

Update NotebookMetadata.metadata to an appropriate type #112

@santhoshramaraj

Description

@santhoshramaraj

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions