Metadata Class
Class that maps to the metadata section of the MLTable.
Supports the getting & adding of arbritrary metadata properties.
- Inheritance
-
builtins.objectMetadata
Constructor
Metadata()
Methods
add |
Sets the value of the property named key in this MLTable's metadata to value. If the value of key was previously set, the value is overriden. |
get |
Returns the value associated with the property key in this MLTable's metadata. If no such property exists, returns None. |
has |
Returns if this MLTable's metadata has a property named key. |
add
Sets the value of the property named key in this MLTable's metadata to value. If the value of key was previously set, the value is overriden.
add(key, value)
Parameters
Name | Description |
---|---|
key
Required
|
property name to check |
value
Required
|
value to set |
Returns
Type | Description |
---|---|
None |
get
Returns the value associated with the property key in this MLTable's metadata. If no such property exists, returns None.
get(key)
Parameters
Name | Description |
---|---|
key
Required
|
property name to retrieve value of |
Returns
Type | Description |
---|---|
value associated with key, or None if nonexistant |
has
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for