HfHub.Spaces.SpaceVariable (HfHub v0.2.0)

Copy Markdown View Source

A Space environment variable.

Summary

Functions

Create a SpaceVariable struct from an API response.

Types

t()

@type t() :: %HfHub.Spaces.SpaceVariable{
  description: String.t() | nil,
  key: String.t(),
  updated_at: DateTime.t() | nil,
  value: String.t() | nil
}

Functions

from_response(key, response)

@spec from_response(String.t(), map() | String.t()) :: t()

Create a SpaceVariable struct from an API response.