Skip to content

make build_complex_query a staticmethod#1444

Open
mahdishirvani79 wants to merge 1 commit into
MISP:mainfrom
mahdishirvani79:make-build_complex_query-a-staticmethod
Open

make build_complex_query a staticmethod#1444
mahdishirvani79 wants to merge 1 commit into
MISP:mainfrom
mahdishirvani79:make-build_complex_query-a-staticmethod

Conversation

@mahdishirvani79

Copy link
Copy Markdown

The build_complex_query method is needed in Objects that create the query. Since this query builder don't need an access to misp server (single responsibility principle) I propose making build_complex_query a staticmethod. self object is not used in the function either.

@Rafiot Rafiot self-assigned this Jun 16, 2026
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