Advertisement
Mochinov

Untitled

Feb 28th, 2024
21
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1.  
  2. 2024-02-28 12:29:57.207
  3. TypeError: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
  4. 2024-02-28 12:29:57.207
  5. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  6. 2024-02-28 12:29:57.207
  7. countFailedUsersPaymentsPreviousPeriod=int(failed_payments[7] if failed_payments[6] else 0),
  8. 2024-02-28 12:29:57.207
  9. File "/code/src/dashboard/routers/dashboard.py", line 463, in get_overview
  10. 2024-02-28 12:29:57.207
  11. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  12. 2024-02-28 12:29:57.207
  13. return await next_(source, info, **kwargs)
  14. 2024-02-28 12:29:57.207
  15. File "/usr/local/lib/python3.11/site-packages/strawberry/permission.py", line 172, in resolve_async
  16. 2024-02-28 12:29:57.207
  17. ^^^^^^^^^^^
  18. 2024-02-28 12:29:57.207
  19. return await value
  20. 2024-02-28 12:29:57.207
  21. File "/usr/local/lib/python3.11/site-packages/strawberry/utils/await_maybe.py", line 12, in await_maybe
  22. 2024-02-28 12:29:57.207
  23. ^^^^^^^^^^^^^^^^^^
  24. 2024-02-28 12:29:57.207
  25. return await await_maybe(
  26. 2024-02-28 12:29:57.207
  27. File "/usr/local/lib/python3.11/site-packages/strawberry/schema/schema_converter.py", line 675, in _async_resolver
  28. 2024-02-28 12:29:57.207
  29. ^^^^^^^^^^^^
  30. 2024-02-28 12:29:57.207
  31. return_type, field_nodes, info, path, await result
  32. 2024-02-28 12:29:57.207
  33. File "/usr/local/lib/python3.11/site-packages/graphql/execution/execute.py", line 528, in await_result
  34. 2024-02-28 12:29:57.207
  35. Traceback (most recent call last):
  36. 2024-02-28 12:29:57.207
  37. 4 | filters: {
  38. 2024-02-28 12:29:57.207
  39. | ^
  40. 2024-02-28 12:29:57.207
  41. 3 | getOverview(
  42. 2024-02-28 12:29:57.207
  43. 2 | {
  44. 2024-02-28 12:29:57.207
  45. GraphQL request:3:13
  46. 2024-02-28 12:29:57.207
  47.  
  48. 2024-02-28 12:29:57.207
  49. int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement