imobanco / bb-wrapper

https://pypi.org/project/bb-wrapper/
GNU General Public License v3.0
8 stars 1 forks source link

Corrige tratamento de erro de autenticação com a API BB #44

Closed brenomfviana closed 2 years ago

brenomfviana commented 2 years ago

Resumo

Relacionado aos issues/prs:

Este PR trata de falhas dee autenticação com a API BB de forma a realizar, no máximo, 5 tentativas.

Alterações de models

Alterações de services

Alterações de wrappers

Foi adicionado a constante MAX_ATTEMPTS pra controlar o número de tentativas de autenticação com a API BB.

codecov[bot] commented 2 years ago

Codecov Report

Merging #44 (80840dd) into main (81a43c8) will increase coverage by 0.10%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #44      +/-   ##
==========================================
+ Coverage   87.56%   87.66%   +0.10%     
==========================================
  Files          23       23              
  Lines         981      989       +8     
==========================================
+ Hits          859      867       +8     
  Misses        122      122              
Impacted Files Coverage Δ
bb_wrapper/wrapper/bb.py 91.93% <100.00%> (+0.55%) :arrow_up:
Impacted Files Coverage Δ
bb_wrapper/wrapper/bb.py 91.93% <100.00%> (+0.55%) :arrow_up: