Skip to content

'_check_deprecated_find_param' not found : low #76

Description

@GabeSoler

Hi, I got this bug when I pressed 'play'. It does not stop the process, but the function '_check_deprecated_find_param' is used and not defined.

"""
, line 298, in find
result = finder.find(path, all=all)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/gsole/Documents/Web-Work/portfolio/.venv/lib/python3.12/site-packages/coltrane/finders.py", line 53, in find
find_all = self._check_deprecated_find_param(find_all=find_all, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'ColtraneSiteFinder' object has no attribute '_check_deprecated_find_param'

"""

It seems that it is only used here after searching the repository:
#finders.py
line 47

"""

def find(self, path, find_all=False, **kwargs):
    """
    Look for files in the extra locations as defined in STATICFILES_DIRS.
    """

    if kwargs:
        find_all = self._check_deprecated_find_param(find_all=find_all, **kwargs)

    matches = []

"""

PS: I also noticed an update in the setup to include UV, which is excellent. As I started playing with uv, I realised the docs do not have the 'uv add' option. It is a different system that they implemented recently instead of uv pip. It can also be used with 'uv run', which has a transient venv- a cool and strange new concept. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions