coltrane icon indicating copy to clipboard operation
coltrane copied to clipboard

'_check_deprecated_find_param' not found : low

Open GabeSoler opened this issue 10 months ago • 0 comments

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. :)

GabeSoler avatar Feb 19 '25 12:02 GabeSoler