Skip to content

SecuritySession updated to be able to use custom logger#13

Merged
xkubov merged 1 commit intoskip-pay:masterfrom
stehlfi1:feat/custom-logger-support
Feb 3, 2025
Merged

SecuritySession updated to be able to use custom logger#13
xkubov merged 1 commit intoskip-pay:masterfrom
stehlfi1:feat/custom-logger-support

Conversation

@stehlfi1
Copy link

@stehlfi1 stehlfi1 commented Feb 3, 2025

SecuritySession updated to be able to use custom logger

@stehlfi1 stehlfi1 force-pushed the feat/custom-logger-support branch 2 times, most recently from ba11ba5 to 0526b17 Compare February 3, 2025 10:09
class SecuritySession(Session):

def __init__(self, slug=None, related_objects=None):
def __init__(self, logger_class=OutputRequestLogger, slug=None, related_objects=None):
Copy link

@xkubov xkubov Feb 3, 2025

Choose a reason for hiding this comment

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

another thing. When You add an optional argument add it to the end of the argument list, please. Not at the beginning.

@coveralls
Copy link

coveralls commented Feb 3, 2025

Pull Request Test Coverage Report for Build 13111551410

Details

  • 3 of 3 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 92.342%

Totals Coverage Status
Change from base Build 13077541267: 0.002%
Covered Lines: 3533
Relevant Lines: 3826

💛 - Coveralls

@stehlfi1 stehlfi1 force-pushed the feat/custom-logger-support branch from 0526b17 to 568e01e Compare February 3, 2025 10:18
@xkubov xkubov assigned stehlfi1 and unassigned Formulka and xkubov Feb 3, 2025
@xkubov xkubov requested review from Formulka and xkubov February 3, 2025 10:26
@stehlfi1 stehlfi1 force-pushed the feat/custom-logger-support branch from 568e01e to a7fb5d6 Compare February 3, 2025 10:35
@xkubov xkubov merged commit 4ab66db into skip-pay:master Feb 3, 2025
2 checks passed
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.

4 participants