Skip to content

Deprecate cl.array_backend and cl.auto_sparse #859

Closed

Description

@genedan

These two functions have been marked for deprecation 4 years ago, although from the code itself, no date has been specified:

@deprecated("In an upcoming version of the package, this function will be deprecated. Use `chainladder.options.set_option('ARRAY_BACKEND', value)` to avoid breakage.")
def array_backend(array_backend="numpy"):
options.set_option('ARRAY_BACKEND', array_backend)
@deprecated("In an upcoming version of the package, this function will be deprecated. Use `chainladder.options.set_option('AUTO_SPARSE', value)` to avoid breakage.")
def auto_sparse(auto_sparse=True):
options.set_option('AUTO_SPARSE', auto_sparse)

There's already been a warning, so we could remove these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Scope

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions