Commit 06355dc
feat: enable publishing pipelines and indexes to deepset AI platfrom (#256)
* enable publish
* fixes
* fixes
* fixes
* format fixes
* format fixes
* format fixes
* format fixes
* format fixes
* format fixes
* fix sorting
* optimize input/ouput validations if else statements
* early return in Pipeline import
* change to debug log status
* Add an SDK class with init method
* rephrase pydoc style
* rephrase pydoc style
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Tobias Wochinger <tobias.wochinger@deepset.ai>
* support sync and async publishing
* use yaml parsing
* fix docstrings
* fix docstrings
* fix test interference
* fix format
* use separate configs for Index and Pipeline
* add docstrings directly to code
* add docstrings directly to code
* formatting
* docs fixes
* revert local version
* close event loop if it was newly created
* test exception
* use Mock object
* remove changed stout
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: ArzelaAscoIi <37148029+ArzelaAscoIi@users.noreply.github.com>
* reset rate limiter in tests
* fix import
* re-add log configs
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: ArzelaAscoIi <37148029+ArzelaAscoIi@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: ArzelaAscoIi <37148029+ArzelaAscoIi@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: ArzelaAscoIi <37148029+ArzelaAscoIi@users.noreply.github.com>
* move _convert_to_yaml_dict to models
* rename to _from_haystack_pipelin
* haystack version
* rename to import instead of publish
* revert python version
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* fix dics
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* fix docs
* fix docs
* fix docs
* fix docs
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/models.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* fix docs
* fix docs
* add fullstops
* from future import annothations
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/sdk.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* from future import annothations
* update docstring to use paramater
* remove initilized
* disable too few public methods
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* Update deepset_cloud_sdk/workflows/pipeline_client/pipeline_service.py
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>
* fix docstring
* fix docstring
* fix docstring
* fix docstring
* fix docstring
* fix docstring
* fix docstring
* fix docstring
---------
Co-authored-by: Marie-Luise Klaus <marieluiseklauscode@gmail.com>
Co-authored-by: Tobias Wochinger <tobias.wochinger@deepset.ai>
Co-authored-by: ArzelaAscoIi <37148029+ArzelaAscoIi@users.noreply.github.com>
Co-authored-by: Agnieszka Marzec <97166305+agnieszka-m@users.noreply.github.com>1 parent d5dcd98 commit 06355dc
10 files changed
Lines changed: 1232 additions & 9 deletions
File tree
- deepset_cloud_sdk/workflows
- pipeline_client
- tests/unit
- workflows
- pipeline_client
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
0 commit comments