unnecessary API call #25

Closed
opened 2025-04-29 11:58:33 +00:00 by foefl · 3 comments
Owner
  • reported: 29.04.2025
  • method call of forecast pipeline seems to call external API twice instead of once
  • one call with: customer_id = 999999 and starting_date = None
- reported: 29.04.2025 - method call of forecast pipeline seems to call external API twice instead of once - one call with: `customer_id = 999999` and `starting_date = None`
foefl added the
bug
label 2025-04-29 11:58:33 +00:00
foefl self-assigned this 2025-04-29 11:58:33 +00:00
foefl added this to the bug fixes project 2025-04-29 11:58:33 +00:00
foefl moved this to In Progress in bug fixes on 2025-04-29 12:12:17 +00:00
Author
Owner

included to assert login status, see:

params: dict[str, int] = {"FirmaId": 999999}

included to assert login status, see: https://git.d-opt.de/delta-barth/delta-barth-py/src/commit/daaf48f1dbcafa683edbda184e0567b9c60bdbc6/src/delta_barth/session.py#L308
Author
Owner

check elimination of assertion for login

  • directly try to obtain data and in case of 401 error try to re-login
  • change signature from assert_login to relogin or just use login method
**check elimination of assertion for login** - directly try to obtain data and in case of 401 error try to re-login - change signature from `assert_login` to `relogin` or just use `login` method
Author
Owner

add max retry parameter to constants

add max retry parameter to constants
foefl added reference login_assertion 2025-04-30 05:41:02 +00:00
foefl closed this issue 2025-04-30 06:46:54 +00:00
foefl moved this to Done in bug fixes on 2025-04-30 06:47:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: delta-barth/delta-barth-py#25
No description provided.