Skip to main content

GetContext

This interface defines a contract for objects that can provide resource metadata. Implementations of this interface must provide a method to retrieve a ResourceMeta object, which typically contains information about a resource's identity and properties.

Methods


ResourceMeta()

@classmethod
def ResourceMeta() - > [ResourceMeta](resourcemeta.md?sid=flyteplugins_go_tasks_pluginmachinery_webapi_resourcemeta)

Retrieves the metadata associated with the resource. Callers use this to access information such as the resource's type, name, or other descriptive attributes.

Returns

TypeDescription
[ResourceMeta](resourcemeta.md?sid=flyteplugins_go_tasks_pluginmachinery_webapi_resourcemeta)The ResourceMeta object containing metadata about the resource.