Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.AdaptersClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public AdaptersClient(
{
}

/// <summary>
/// Creates a new instance of the AdaptersClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public AdaptersClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AdaptersClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.DatasetsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public DatasetsClient(
{
}

/// <summary>
/// Creates a new instance of the DatasetsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public DatasetsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the DatasetsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.DeploymentsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public DeploymentsClient(
{
}

/// <summary>
/// Creates a new instance of the DeploymentsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public DeploymentsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the DeploymentsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.FineTuningClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public FineTuningClient(
{
}

/// <summary>
/// Creates a new instance of the FineTuningClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public FineTuningClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the FineTuningClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.InferenceClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public InferenceClient(
{
}

/// <summary>
/// Creates a new instance of the InferenceClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public InferenceClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the InferenceClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.PredibaseClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,27 @@ public PredibaseClient(
{
}

/// <summary>
/// Creates a new instance of the PredibaseClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public PredibaseClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the PredibaseClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Predibase/Generated/Predibase.RepositoriesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public RepositoriesClient(
{
}

/// <summary>
/// Creates a new instance of the RepositoriesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public RepositoriesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Predibase.EndPointAuthorization>? authorizations,
global::Predibase.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the RepositoriesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down