Widen other filter from __filename to _filename

This commit is contained in:
Daniel Lindmark 2024-05-15 12:27:09 -05:00
parent 4e9070bd0c
commit 3f5cada2d4

View File

@ -76,7 +76,7 @@ design_review = DesignReview.request(allspice, args.repo_owner, args.repo_name,
file_name = "design_review_comments.md"
# Filter out special methods and attributes
design_review_attributes = [attr for attr in dir(design_review) if not attr.startswith('__')]
design_review_attributes = [attr for attr in dir(design_review) if not attr.startswith('_')]
# Print the public design_review attributes
print(f"design_review_attributes: {design_review_attributes}")