Skip to content

Update function signatures - #3458

Draft
deruyter92 wants to merge 3 commits into
jaap/lazy-loadingfrom
jaap/update-function-signatures
Draft

Update function signatures#3458
deruyter92 wants to merge 3 commits into
jaap/lazy-loadingfrom
jaap/update-function-signatures

Conversation

@deruyter92

Copy link
Copy Markdown
Collaborator

Motivation
The DeepLabCut API was recently streamlined in #3332 and #3198, which introduced consistent paramteter names (e.g. snake case, lowercase internally consistent parameter names). However several function signatures currently still remain to be normalized.

This PR aims to further streamline all function signatures of all API to normalize

  • config_path: str, config: str --> config: ProjectConfig | str | Path | dict
  • Shuffles --> shuffles
  • TrainFraction --> train_fraction
    etcetera.

Note

This PR is a placeholder that currently has draft status. I am still considering a smaller scope and the specific renames remain to be discussed and tested properly.

@deruyter92
deruyter92 changed the base branch from jaap/prepare_tf_deprecation to jaap/lazy-loading August 21, 2026 08:58
@C-Achard C-Achard added enhancement New feature or request backwards compatibility issues concerning prior to current versions labels Aug 21, 2026
Apply a new parameter-aliasing deprecation round (since 3.0.2) to the
public API, GUI, and internals: add @renamed_parameter markers and update
signatures, docstrings, and call sites for parameters that still used
legacy camelCase or concatenated names (e.g. outlieralgorithm ->
outlier_algorithm, filtertype -> filter_type, trainFraction ->
train_fraction). Update tests for the new names.
@deruyter92
deruyter92 force-pushed the jaap/update-function-signatures branch from ced1b85 to 16312b9 Compare August 26, 2026 11:34
@deruyter92 deruyter92 added the 3.1 label Aug 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.1 backwards compatibility issues concerning prior to current versions enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants