Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HH-200040 fix getting preprocessor name #665

Closed
wants to merge 1 commit into from
Closed

HH-200040 fix getting preprocessor name #665

wants to merge 1 commit into from

Conversation

712u3
Copy link
Contributor

@712u3 712u3 commented Nov 28, 2023

@712u3 712u3 requested a review from a team as a code owner November 28, 2023 16:18
Copy link

hh-sonar bot commented Nov 28, 2023

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -27,4 +27,6 @@ def get_preprocessors(func: Callable) -> list:


def make_full_name(func: Callable | Any) -> str:
if isinstance(func, Preprocessor):

Choose a reason for hiding this comment

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

а препроцессоры только в ххапи? может тогда там это переопределить?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

только в апи, обновил там
https://github.com/hhru/hhapi/pull/2977 посмотри плз

Copy link
Contributor Author

@712u3 712u3 Nov 29, 2023

Choose a reason for hiding this comment

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

есть еще вариант из апи вообще препроцессоры выпилить, но я вот не знаю хороший ли вариант, т.к.

  1. они там хорошо смотрятся тк только какие-то чеки делают, типа "is_employer" и не возвращают данных
  2. есть еще местные просто декораторы, не препроцессоры, их тоже в зависимости превращать?

@712u3 712u3 closed this Nov 29, 2023
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