code: def from_metadata(metadata: Metadata) -> Any:
          
          irods_metadata = IrodsMetadata()
          for key, value in metadata.items():
              irods_metadata[key] = {value}
          return irods_metadata
docs: Static factory method to create an equivalent instance of this type from the given `Metadata` instance.
          :param metadata: the `Metadata` instance to create an instance of this class from
          :return: the created instance of this class