beanhub-cli 2.1.0b3__tar.gz → 2.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/PKG-INFO +1 -1
  2. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/connect/main.py +43 -2
  3. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/create_dump_request_request.py +13 -0
  4. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/get_dump_request_response.py +22 -0
  5. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/pyproject.toml +1 -1
  6. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/LICENSE +0 -0
  7. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/README.md +0 -0
  8. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/__init__.py +0 -0
  9. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/aliase.py +0 -0
  10. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/api_helpers.py +0 -0
  11. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/cli.py +0 -0
  12. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/config.py +0 -0
  13. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/connect/__init__.py +0 -0
  14. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/connect/cli.py +0 -0
  15. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/connect/config.py +0 -0
  16. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/connect/encryption.py +0 -0
  17. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/connect/file_io.py +0 -0
  18. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/environment.py +0 -0
  19. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/format.py +0 -0
  20. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/__init__.py +0 -0
  21. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/__init__.py +0 -0
  22. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/constants.py +0 -0
  23. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/data/sample_forms_doc.yaml +0 -0
  24. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/deps.py +0 -0
  25. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/helpers.py +0 -0
  26. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/main.py +0 -0
  27. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/routes.py +0 -0
  28. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/settings.py +0 -0
  29. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/js/beanhub-web-react-0.3.0.js +0 -0
  30. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/js/beanhub-web-react-0.3.0.js.LICENSE.txt +0 -0
  31. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/js/beanhub-web-react-0.3.0.js.map +0 -0
  32. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/LICENSE +0 -0
  33. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/css/bootstrap-datepicker.css +0 -0
  34. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/css/bootstrap-datepicker.css.map +0 -0
  35. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/css/bootstrap-datepicker.min.css +0 -0
  36. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/js/bootstrap-datepicker.js +0 -0
  37. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/js/bootstrap-datepicker.min.js +0 -0
  38. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker-en-CA.min.js +0 -0
  39. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ar-DZ.min.js +0 -0
  40. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ar-tn.min.js +0 -0
  41. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ar.min.js +0 -0
  42. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.az.min.js +0 -0
  43. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bg.min.js +0 -0
  44. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bm.min.js +0 -0
  45. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bn.min.js +0 -0
  46. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.br.min.js +0 -0
  47. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.bs.min.js +0 -0
  48. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ca.min.js +0 -0
  49. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.cs.min.js +0 -0
  50. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.cy.min.js +0 -0
  51. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.da.min.js +0 -0
  52. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.de.min.js +0 -0
  53. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.el.min.js +0 -0
  54. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-AU.min.js +0 -0
  55. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-CA.min.js +0 -0
  56. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-GB.min.js +0 -0
  57. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-IE.min.js +0 -0
  58. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-NZ.min.js +0 -0
  59. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-US.min.js +0 -0
  60. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.en-ZA.min.js +0 -0
  61. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.eo.min.js +0 -0
  62. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.es.min.js +0 -0
  63. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.et.min.js +0 -0
  64. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.eu.min.js +0 -0
  65. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fa.min.js +0 -0
  66. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fi.min.js +0 -0
  67. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fo.min.js +0 -0
  68. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fr-CH.min.js +0 -0
  69. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.fr.min.js +0 -0
  70. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.gl.min.js +0 -0
  71. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.he.min.js +0 -0
  72. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hi.min.js +0 -0
  73. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hr.min.js +0 -0
  74. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hu.min.js +0 -0
  75. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.hy.min.js +0 -0
  76. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.id.min.js +0 -0
  77. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.is.min.js +0 -0
  78. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.it-CH.min.js +0 -0
  79. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.it.min.js +0 -0
  80. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ja.min.js +0 -0
  81. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ka.min.js +0 -0
  82. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.kh.min.js +0 -0
  83. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.kk.min.js +0 -0
  84. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.km.min.js +0 -0
  85. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ko.min.js +0 -0
  86. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.kr.min.js +0 -0
  87. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.lt.min.js +0 -0
  88. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.lv.min.js +0 -0
  89. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.me.min.js +0 -0
  90. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.mk.min.js +0 -0
  91. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.mn.min.js +0 -0
  92. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.mr.min.js +0 -0
  93. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ms.min.js +0 -0
  94. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.nl-BE.min.js +0 -0
  95. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.nl.min.js +0 -0
  96. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.no.min.js +0 -0
  97. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.oc.min.js +0 -0
  98. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.pl.min.js +0 -0
  99. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.pt-BR.min.js +0 -0
  100. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.pt.min.js +0 -0
  101. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ro.min.js +0 -0
  102. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.rs-latin.min.js +0 -0
  103. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.rs.min.js +0 -0
  104. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ru.min.js +0 -0
  105. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.si.min.js +0 -0
  106. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sk.min.js +0 -0
  107. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sl.min.js +0 -0
  108. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sq.min.js +0 -0
  109. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sr-latin.min.js +0 -0
  110. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sr.min.js +0 -0
  111. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sv.min.js +0 -0
  112. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.sw.min.js +0 -0
  113. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.ta.min.js +0 -0
  114. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.tg.min.js +0 -0
  115. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.th.min.js +0 -0
  116. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.tk.min.js +0 -0
  117. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.tr.min.js +0 -0
  118. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.uk.min.js +0 -0
  119. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.uz-cyrl.min.js +0 -0
  120. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.uz-latn.min.js +0 -0
  121. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.vi.min.js +0 -0
  122. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.zh-CN.min.js +0 -0
  123. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/bootstrap-datepicker/locales/bootstrap-datepicker.zh-TW.min.js +0 -0
  124. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/LICENSE.txt +0 -0
  125. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/css/all.min.css +0 -0
  126. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-brands-400.ttf +0 -0
  127. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-brands-400.woff2 +0 -0
  128. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-regular-400.ttf +0 -0
  129. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-regular-400.woff2 +0 -0
  130. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-solid-900.ttf +0 -0
  131. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-solid-900.woff2 +0 -0
  132. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-v4compatibility.ttf +0 -0
  133. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/fontawesome6/webfonts/fa-v4compatibility.woff2 +0 -0
  134. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/LICENSE.md +0 -0
  135. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/css/select2.css +0 -0
  136. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/css/select2.min.css +0 -0
  137. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/af.js +0 -0
  138. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ar.js +0 -0
  139. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/az.js +0 -0
  140. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/bg.js +0 -0
  141. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/bn.js +0 -0
  142. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/bs.js +0 -0
  143. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ca.js +0 -0
  144. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/cs.js +0 -0
  145. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/da.js +0 -0
  146. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/de.js +0 -0
  147. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/dsb.js +0 -0
  148. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/el.js +0 -0
  149. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/en.js +0 -0
  150. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/eo.js +0 -0
  151. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/es.js +0 -0
  152. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/et.js +0 -0
  153. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/eu.js +0 -0
  154. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/fa.js +0 -0
  155. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/fi.js +0 -0
  156. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/fr.js +0 -0
  157. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/gl.js +0 -0
  158. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/he.js +0 -0
  159. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hi.js +0 -0
  160. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hr.js +0 -0
  161. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hsb.js +0 -0
  162. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hu.js +0 -0
  163. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/hy.js +0 -0
  164. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/id.js +0 -0
  165. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/is.js +0 -0
  166. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/it.js +0 -0
  167. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ja.js +0 -0
  168. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ka.js +0 -0
  169. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/km.js +0 -0
  170. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ko.js +0 -0
  171. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/lt.js +0 -0
  172. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/lv.js +0 -0
  173. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/mk.js +0 -0
  174. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ms.js +0 -0
  175. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/nb.js +0 -0
  176. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ne.js +0 -0
  177. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/nl.js +0 -0
  178. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pa.js +0 -0
  179. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pl.js +0 -0
  180. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ps.js +0 -0
  181. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pt-BR.js +0 -0
  182. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/pt.js +0 -0
  183. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ro.js +0 -0
  184. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/ru.js +0 -0
  185. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sk.js +0 -0
  186. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sl.js +0 -0
  187. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sq.js +0 -0
  188. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sr-Cyrl.js +0 -0
  189. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sr.js +0 -0
  190. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/sv.js +0 -0
  191. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/te.js +0 -0
  192. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/th.js +0 -0
  193. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/tk.js +0 -0
  194. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/tr.js +0 -0
  195. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/uk.js +0 -0
  196. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/vi.js +0 -0
  197. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/zh-CN.js +0 -0
  198. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/i18n/zh-TW.js +0 -0
  199. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/select2.full.js +0 -0
  200. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/select2.full.min.js +0 -0
  201. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/select2.js +0 -0
  202. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/static/vendor/select2/js/select2.min.js +0 -0
  203. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/templates/errors.html +0 -0
  204. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/templates/flash_messages.html +0 -0
  205. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/templates/footer.html +0 -0
  206. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/templates/form.html +0 -0
  207. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/templates/home.html +0 -0
  208. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/app/templates/layout.html +0 -0
  209. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/cli.py +0 -0
  210. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/main.py +0 -0
  211. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/forms/validator.py +0 -0
  212. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/import_cli.py +0 -0
  213. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/__init__.py +0 -0
  214. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/__init__.py +0 -0
  215. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/auth/__init__.py +0 -0
  216. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/auth/create_auth_session.py +0 -0
  217. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/auth/poll_auth_session.py +0 -0
  218. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/connect/__init__.py +0 -0
  219. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/connect/create_dump_request.py +0 -0
  220. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/connect/create_sync_batch.py +0 -0
  221. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/connect/get_dump_request.py +0 -0
  222. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/connect/get_sync_batch.py +0 -0
  223. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/repo/__init__.py +0 -0
  224. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/api/repo/list_repo.py +0 -0
  225. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/client.py +0 -0
  226. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/errors.py +0 -0
  227. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/__init__.py +0 -0
  228. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/auth_session_not_ready_response.py +0 -0
  229. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/auth_session_poll_response.py +0 -0
  230. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/auth_session_request.py +0 -0
  231. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/auth_session_response.py +0 -0
  232. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/create_dump_request_response.py +0 -0
  233. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/create_sync_batch_response.py +0 -0
  234. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/dump_request_state.py +0 -0
  235. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/generic_error.py +0 -0
  236. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/get_sync_batch_response.py +0 -0
  237. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/http_validation_error.py +0 -0
  238. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/item_data.py +0 -0
  239. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/list_repositories_response.py +0 -0
  240. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/plaid_item_sync_state.py +0 -0
  241. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/repository.py +0 -0
  242. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/repository_type.py +0 -0
  243. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/sync_data.py +0 -0
  244. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/models/validation_error.py +0 -0
  245. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/py.typed +0 -0
  246. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/internal_api/types.py +0 -0
  247. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/login.py +0 -0
  248. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/main.py +0 -0
  249. {beanhub_cli-2.1.0b3 → beanhub_cli-2.1.1}/beanhub_cli/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: beanhub-cli
3
- Version: 2.1.0b3
3
+ Version: 2.1.1
4
4
  Summary: Command line tools for BeanHub
5
5
  License: MIT
6
6
  Author: Fang-Pen Lin
@@ -1,5 +1,6 @@
1
1
  import json
2
2
  import logging
3
+ import pathlib
3
4
  import sys
4
5
  import tarfile
5
6
  import tempfile
@@ -170,6 +171,11 @@ def sync(env: Environment, repo: str | None):
170
171
  is_flag=True,
171
172
  help="Run sync first before running dump",
172
173
  )
174
+ @click.option(
175
+ "--output-accounts",
176
+ type=click.Path(writable=True),
177
+ help="File path of Bank accounts CSV file to write to, if a folder is provided, default filename accounts.csv will be used",
178
+ )
173
179
  @click.option(
174
180
  "--unsafe-tar-extract",
175
181
  type=bool,
@@ -179,7 +185,13 @@ def sync(env: Environment, repo: str | None):
179
185
  @pass_env
180
186
  @check_imports(ExtraDepsSet.CONNECT, logger)
181
187
  @handle_api_exception(logger)
182
- def dump(env: Environment, repo: str | None, sync: bool, unsafe_tar_extract: bool):
188
+ def dump(
189
+ env: Environment,
190
+ repo: str | None,
191
+ sync: bool,
192
+ output_accounts: str | None,
193
+ unsafe_tar_extract: bool,
194
+ ):
183
195
  import httpx
184
196
  from ..internal_api.api.connect import create_dump_request
185
197
  from ..internal_api.api.connect import get_dump_request
@@ -207,7 +219,9 @@ def dump(env: Environment, repo: str | None, sync: bool, unsafe_tar_extract: boo
207
219
  with make_auth_client(base_url=env.api_base_url, token=config.token) as client:
208
220
  client.raise_on_unexpected_status = True
209
221
  resp: CreateDumpRequestResponse = create_dump_request.sync(
210
- body=CreateDumpRequestRequest(public_key=public_key),
222
+ body=CreateDumpRequestRequest(
223
+ public_key=public_key, output_accounts=output_accounts is not None
224
+ ),
211
225
  username=config.username,
212
226
  repo_name=config.repo,
213
227
  client=client,
@@ -264,4 +278,31 @@ def dump(env: Environment, repo: str | None, sync: bool, unsafe_tar_extract: boo
264
278
  )
265
279
  extract_tar(input_file=decrypted_file, logger=env.logger)
266
280
 
281
+ if output_accounts is not None and resp.accounts_download_url is not None:
282
+ output_accounts = pathlib.Path(output_accounts)
283
+ if output_accounts.is_dir():
284
+ output_accounts_path = output_accounts / "accounts.csv"
285
+ else:
286
+ output_accounts_path = output_accounts
287
+ with (
288
+ tempfile.SpooledTemporaryFile(SPOOLED_FILE_MAX_SIZE) as encrypted_file,
289
+ output_accounts_path.open("wb") as decrypted_file,
290
+ ):
291
+ with httpx.stream("GET", resp.accounts_download_url) as req:
292
+ for chunk in req.iter_bytes():
293
+ encrypted_file.write(chunk)
294
+ encrypted_file.flush()
295
+ encrypted_file.seek(0)
296
+ logger.info(
297
+ "Decrypting downloaded accounts file to %s ...", output_accounts_path
298
+ )
299
+
300
+ # delay import for testing purpose
301
+ from .encryption import decrypt_file
302
+ from .file_io import extract_tar
303
+
304
+ decrypt_file(
305
+ input_file=encrypted_file, output_file=decrypted_file, key=key, iv=iv
306
+ )
307
+
267
308
  logger.info("done")
@@ -1,9 +1,13 @@
1
1
  from typing import Any
2
2
  from typing import TypeVar
3
+ from typing import Union
3
4
 
4
5
  from attrs import define as _attrs_define
5
6
  from attrs import field as _attrs_field
6
7
 
8
+ from ..types import UNSET
9
+ from ..types import Unset
10
+
7
11
  T = TypeVar("T", bound="CreateDumpRequestRequest")
8
12
 
9
13
 
@@ -12,14 +16,18 @@ class CreateDumpRequestRequest:
12
16
  """
13
17
  Attributes:
14
18
  public_key (str):
19
+ output_accounts (Union[Unset, bool]): Default: False.
15
20
  """
16
21
 
17
22
  public_key: str
23
+ output_accounts: Union[Unset, bool] = False
18
24
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
19
25
 
20
26
  def to_dict(self) -> dict[str, Any]:
21
27
  public_key = self.public_key
22
28
 
29
+ output_accounts = self.output_accounts
30
+
23
31
  field_dict: dict[str, Any] = {}
24
32
  field_dict.update(self.additional_properties)
25
33
  field_dict.update(
@@ -27,6 +35,8 @@ class CreateDumpRequestRequest:
27
35
  "public_key": public_key,
28
36
  }
29
37
  )
38
+ if output_accounts is not UNSET:
39
+ field_dict["output_accounts"] = output_accounts
30
40
 
31
41
  return field_dict
32
42
 
@@ -35,8 +45,11 @@ class CreateDumpRequestRequest:
35
45
  d = src_dict.copy()
36
46
  public_key = d.pop("public_key")
37
47
 
48
+ output_accounts = d.pop("output_accounts", UNSET)
49
+
38
50
  create_dump_request_request = cls(
39
51
  public_key=public_key,
52
+ output_accounts=output_accounts,
40
53
  )
41
54
 
42
55
  create_dump_request_request.additional_properties = d
@@ -22,6 +22,7 @@ class GetDumpRequestResponse:
22
22
  state (DumpRequestState):
23
23
  encryption_key (Union[None, Unset, str]):
24
24
  download_url (Union[None, Unset, str]):
25
+ accounts_download_url (Union[None, Unset, str]):
25
26
  error_message (Union[None, Unset, str]):
26
27
  """
27
28
 
@@ -29,6 +30,7 @@ class GetDumpRequestResponse:
29
30
  state: DumpRequestState
30
31
  encryption_key: Union[None, Unset, str] = UNSET
31
32
  download_url: Union[None, Unset, str] = UNSET
33
+ accounts_download_url: Union[None, Unset, str] = UNSET
32
34
  error_message: Union[None, Unset, str] = UNSET
33
35
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
34
36
 
@@ -49,6 +51,12 @@ class GetDumpRequestResponse:
49
51
  else:
50
52
  download_url = self.download_url
51
53
 
54
+ accounts_download_url: Union[None, Unset, str]
55
+ if isinstance(self.accounts_download_url, Unset):
56
+ accounts_download_url = UNSET
57
+ else:
58
+ accounts_download_url = self.accounts_download_url
59
+
52
60
  error_message: Union[None, Unset, str]
53
61
  if isinstance(self.error_message, Unset):
54
62
  error_message = UNSET
@@ -67,6 +75,8 @@ class GetDumpRequestResponse:
67
75
  field_dict["encryption_key"] = encryption_key
68
76
  if download_url is not UNSET:
69
77
  field_dict["download_url"] = download_url
78
+ if accounts_download_url is not UNSET:
79
+ field_dict["accounts_download_url"] = accounts_download_url
70
80
  if error_message is not UNSET:
71
81
  field_dict["error_message"] = error_message
72
82
 
@@ -97,6 +107,17 @@ class GetDumpRequestResponse:
97
107
 
98
108
  download_url = _parse_download_url(d.pop("download_url", UNSET))
99
109
 
110
+ def _parse_accounts_download_url(data: object) -> Union[None, Unset, str]:
111
+ if data is None:
112
+ return data
113
+ if isinstance(data, Unset):
114
+ return data
115
+ return cast(Union[None, Unset, str], data)
116
+
117
+ accounts_download_url = _parse_accounts_download_url(
118
+ d.pop("accounts_download_url", UNSET)
119
+ )
120
+
100
121
  def _parse_error_message(data: object) -> Union[None, Unset, str]:
101
122
  if data is None:
102
123
  return data
@@ -111,6 +132,7 @@ class GetDumpRequestResponse:
111
132
  state=state,
112
133
  encryption_key=encryption_key,
113
134
  download_url=download_url,
135
+ accounts_download_url=accounts_download_url,
114
136
  error_message=error_message,
115
137
  )
116
138
 
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "beanhub-cli"
3
- version = "2.1.0b3"
3
+ version = "2.1.1"
4
4
  description = "Command line tools for BeanHub"
5
5
  authors = ["Fang-Pen Lin <fangpen@launchplatform.com>"]
6
6
  license = "MIT"
File without changes
File without changes