Skip to content

list_ refactor and docs fix#393

Merged
andrew-siftstack merged 1 commit into
python/remote_filesfrom
luck/python/remote_files
Nov 20, 2025
Merged

list_ refactor and docs fix#393
andrew-siftstack merged 1 commit into
python/remote_filesfrom
luck/python/remote_files

Conversation

@alexluck-sift
Copy link
Copy Markdown
Collaborator

  • Updates list_ to use generic filter patterns.
  • Fixes missing mixin in docs

Comment thread python/mkdocs.yml
show_symbol_type_heading: true
show_symbol_type_toc: true
summary: true
inherited_members: true
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This allows the mixin methods to show up (miss that we didn't have it enabled already)

filter_parts.append(cel.equals("file_name", file_name))
filter_parts = [
*self._build_name_cel_filters(
name=name, names=names, name_contains=name_contains, name_regex=name_regex
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is much more flexible so users can leverage CEL without writing it

# *self._build_tags_metadata_cel_filters(metadata=metadata),
*self._build_common_cel_filters(
description_contains=description_contains,
filter_query=filter_query,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as a fallback, users can also just write the CEL expression explicitly

@andrew-siftstack andrew-siftstack merged commit 4b2283c into python/remote_files Nov 20, 2025
10 of 11 checks passed
@andrew-siftstack andrew-siftstack deleted the luck/python/remote_files branch November 20, 2025 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants