mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-12 15:11:47 +08:00
Fix function spec
This commit is contained in:
parent
4cb6b5cef0
commit
a252a492dd
2 changed files with 2 additions and 2 deletions
|
|
@ -108,7 +108,7 @@ defmodule Livebook.FileSystem.S3 do
|
||||||
If the credentials are not specified by the file system, they are
|
If the credentials are not specified by the file system, they are
|
||||||
fetched from environment variables or AWS instance if applicable.
|
fetched from environment variables or AWS instance if applicable.
|
||||||
"""
|
"""
|
||||||
@spec credentials(S3.t()) :: S3.credentials()
|
@spec credentials(t()) :: credentials()
|
||||||
def credentials(%__MODULE__{} = file_system) do
|
def credentials(%__MODULE__{} = file_system) do
|
||||||
case {file_system.access_key_id, file_system.secret_access_key} do
|
case {file_system.access_key_id, file_system.secret_access_key} do
|
||||||
{nil, nil} ->
|
{nil, nil} ->
|
||||||
|
|
|
||||||
|
|
@ -230,7 +230,7 @@ defmodule Livebook.Teams do
|
||||||
@doc """
|
@doc """
|
||||||
Gets a list of environment variables for a given Hub.
|
Gets a list of environment variables for a given Hub.
|
||||||
"""
|
"""
|
||||||
@spec get_environment_variables(Team.t()) :: list(Teams.Agent.t())
|
@spec get_environment_variables(Team.t()) :: list(Teams.EnvironmentVariable.t())
|
||||||
def get_environment_variables(team) do
|
def get_environment_variables(team) do
|
||||||
TeamClient.get_environment_variables(team.id)
|
TeamClient.get_environment_variables(team.id)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue