@huggingface/hub
Version:
Utilities to interact with the Hugging Face hub
17 lines • 632 B
TypeScript
import type { CredentialsParams } from "../../types/public";
import type { ApiScheduledJob, CreateScheduledJobOptions } from "../../types/api/api-jobs";
/**
* Create a scheduled job.
*/
export declare function createScheduledJob(params: {
/**
* The namespace (username or organization name)
*/
namespace: string;
hubUrl?: string;
/**
* Custom fetch function to use instead of the default one, for example to use a proxy or edit headers.
*/
fetch?: typeof fetch;
} & CreateScheduledJobOptions & CredentialsParams): Promise<ApiScheduledJob>;
//# sourceMappingURL=create-scheduled-job.d.ts.map