Fix function spec

This commit is contained in:
Alexandre de Souza 2025-08-25 17:35:48 -03:00
parent 4cb6b5cef0
commit a252a492dd
No known key found for this signature in database
GPG key ID: E39228FFBA346545
2 changed files with 2 additions and 2 deletions

View file

@ -108,7 +108,7 @@ defmodule Livebook.FileSystem.S3 do
If the credentials are not specified by the file system, they are
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
case {file_system.access_key_id, file_system.secret_access_key} do
{nil, nil} ->

View file

@ -230,7 +230,7 @@ defmodule Livebook.Teams do
@doc """
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
TeamClient.get_environment_variables(team.id)
end