Skip to content

Upgrading huggingface-hub 0.34 to 0.35

Unknown0.34.6 → 0.35.3Deprecated1New13Changed15Fixed17Other14

UnknownUpgrade verdict

DepDelta hasn't looked for the notes of 2 of 6 releases yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
1 item needs code or config changes
Deprecated1
Deprecates library/tags/task and similar filtering in list_models.
list_models

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: export create_scheduled_job
  • added: export create_scheduled_uv_job
  • added: export delete_scheduled_job
  • added: export inspect_scheduled_job
  • added: export resume_scheduled_job
  • added: export suspend_scheduled_job
  • added: class ScheduledDeleteCommand(BaseHuggingfaceCLICommand)
  • added: class ScheduledInspectCommand(BaseHuggingfaceCLICommand)
  • added: class ScheduledJobsCommands(BaseHuggingfaceCLICommand)
  • added: class ScheduledPsCommand(BaseHuggingfaceCLICommand)
  • added: class ScheduledResumeCommand(BaseHuggingfaceCLICommand)
  • added: class ScheduledRunCommand(BaseHuggingfaceCLICommand)
  • added: class ScheduledSuspendCommand(BaseHuggingfaceCLICommand)
  • added: class ScheduledUvCommand(BaseHuggingfaceCLICommand)
  • added: constructor ScheduledDeleteCommand(args: Namespace) -> None
  • added: constructor ScheduledInspectCommand(args: Namespace) -> None
  • added: constructor ScheduledPsCommand(args: Namespace) -> None
  • added: constructor ScheduledResumeCommand(args: Namespace) -> None
  • added: constructor ScheduledRunCommand(args: Namespace) -> None
  • added: constructor ScheduledSuspendCommand(args: Namespace) -> None
  • added: constructor ScheduledUvCommand(args: Namespace) -> None
  • added: method ScheduledDeleteCommand.run() -> None
  • added: method ScheduledInspectCommand.run() -> None
  • added: method ScheduledPsCommand.run() -> None
  • added: method ScheduledResumeCommand.run() -> None
  • added: method ScheduledRunCommand.run() -> None
  • added: method ScheduledSuspendCommand.run() -> None
  • added: method ScheduledUvCommand.run() -> None
  • added: static method ScheduledDeleteCommand.register_subcommand(parser: _SubParsersAction) -> None
  • added: static method ScheduledInspectCommand.register_subcommand(parser: _SubParsersAction) -> None
  • added: static method ScheduledJobsCommands.register_subcommand(parser: _SubParsersAction)
  • added: static method ScheduledPsCommand.register_subcommand(parser: _SubParsersAction) -> None
  • added: static method ScheduledResumeCommand.register_subcommand(parser: _SubParsersAction) -> None
  • added: static method ScheduledRunCommand.register_subcommand(parser: _SubParsersAction) -> None
  • added: static method ScheduledSuspendCommand.register_subcommand(parser: _SubParsersAction) -> None
  • added: static method ScheduledUvCommand.register_subcommand(parser)
  • changed: method HfApi.list_models(*, filter: Union[str, Iterable[str], None]=…, author: Optional[str]=…, gated: Optional[bool]=…, inference: Optional[Literal['warm']]=…, inference_provider: Optional[Union[Literal['all'], PROVIDER_T, List[PROVIDER_T]]]=…, library: Optional[Union[str, List[str]]]=…, language: Optional[Union[str, List[str]]]=…, model_name: Optional[str]=…, task: Optional[Union[str, List[str]… → method HfApi.list_models(*, filter: Union[str, Iterable[str], None]=…, author: Optional[str]=…, apps: Optional[Union[str, List[str]]]=…, gated: Optional[bool]=…, inference: Optional[Literal['warm']]=…, inference_provider: Optional[Union[Literal['all'], PROVIDER_T, List[PROVIDER_T]]]=…, model_name: Optional[str]=…, trained_dataset: Optional[Union[str, List[str]]]=…, search: Optional[str]=…, pipeli…
  • added: method HfApi.create_scheduled_job(*, image: str, command: List[str], schedule: str, suspend: Optional[bool]=…, concurrency: Optional[bool]=…, env: Optional[Dict[str, Any]]=…, secrets: Optional[Dict[str, Any]]=…, flavor: Optional[SpaceHardware]=…, timeout: Optional[Union[int, float, str]]=…, namespace: Optional[str]=…, token: Union[bool, str, None]=…) -> ScheduledJobInfo
  • added: method HfApi.create_scheduled_uv_job(script: str, *, script_args: Optional[List[str]]=…, schedule: str, suspend: Optional[bool]=…, concurrency: Optional[bool]=…, dependencies: Optional[List[str]]=…, python: Optional[str]=…, image: Optional[str]=…, env: Optional[Dict[str, Any]]=…, secrets: Optional[Dict[str, Any]]=…, flavor: Optional[SpaceHardware]=…, timeout: Optional[Union[int, float, str]]=…, n…
  • added: method HfApi.delete_scheduled_job(*, scheduled_job_id: str, namespace: Optional[str]=…, token: Union[bool, str, None]=…) -> None
  • added: method HfApi.inspect_scheduled_job(*, scheduled_job_id: str, namespace: Optional[str]=…, token: Union[bool, str, None]=…) -> ScheduledJobInfo
  • added: method HfApi.list_scheduled_jobs(*, timeout: Optional[int]=…, namespace: Optional[str]=…, token: Union[bool, str, None]=…) -> List[ScheduledJobInfo]
  • added: method HfApi.resume_scheduled_job(*, scheduled_job_id: str, namespace: Optional[str]=…, token: Union[bool, str, None]=…) -> None
  • added: method HfApi.suspend_scheduled_job(*, scheduled_job_id: str, namespace: Optional[str]=…, token: Union[bool, str, None]=…) -> None
  • added: variable create_scheduled_job
  • added: variable create_scheduled_uv_job
  • added: variable delete_scheduled_job
  • added: variable inspect_scheduled_job
  • added: variable list_scheduled_jobs
  • added: variable resume_scheduled_job
  • added: variable suspend_scheduled_job