-
Notifications
You must be signed in to change notification settings - Fork 1
Release/v2.0.0 #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Release/v2.0.0 #26
Changes from 95 commits
Commits
Show all changes
136 commits
Select commit
Hold shift + click to select a range
154c8c0
Add deprecation warnings for `space_id`
PabloPardoGarcia e19bc8a
Create APIClient abstract class
PabloPardoGarcia e53aafa
Create APIClient abstract class
PabloPardoGarcia 4f50993
Add PipelineDataSink and PipelineDataSource clients
PabloPardoGarcia b3b9c5f
Add deprecation warnings to PipelineClient
PabloPardoGarcia bb58e1f
Remove client from GlassFlowConfig
PabloPardoGarcia 9e51392
include PipelineDataSource and PipelineDataSink
PabloPardoGarcia 588150b
add Personal Access Token on glassflow client
PabloPardoGarcia aadcf42
chore: correct typo
PabloPardoGarcia 054fd5e
import errors at top level
PabloPardoGarcia 1680c03
chore: code format
PabloPardoGarcia 4ac0942
update documentation
PabloPardoGarcia 0586f84
add docstrings to errors
PabloPardoGarcia ca2024a
add tests for PipelineDataSink and PipelineDataSource and use staging…
PabloPardoGarcia b0a8671
revert accidental title delete
PabloPardoGarcia af99445
remove duplicated glassflow config attribute
PabloPardoGarcia 257d15f
make gf config class variable and simplify fixtures
PabloPardoGarcia 77fcdd4
add test to check source uses staging api
PabloPardoGarcia 32e74ed
:chore: remove unused import
PabloPardoGarcia c4f39c8
remove deprecated code and move APIClient to client.py
PabloPardoGarcia 805fc7e
Merge pull request #22 from glassflow/pablo/dev-157-add-personal-mana…
PabloPardoGarcia ea821f8
move APIClient to api_client.py
PabloPardoGarcia 7acaa9d
add unknown content type error
PabloPardoGarcia 66b90f4
move APIClient to api_client.py
PabloPardoGarcia 5068e93
create base request and response data models
PabloPardoGarcia 0c04ae4
move request logic to APIClient
PabloPardoGarcia d494fe1
remove unused kwargs
PabloPardoGarcia ab82c24
:chore: format code
PabloPardoGarcia 172eee9
Merge pull request #23 from glassflow/pablo/add-request-method-in-api…
PabloPardoGarcia 30ad343
create new abstractions from BaseRequest
PabloPardoGarcia 4a8b8c4
not raise on 429 error code in APIClient
PabloPardoGarcia bbf4536
add unauthorised error
PabloPardoGarcia a5b105b
use APIClient request in validate_credentials method
PabloPardoGarcia 19dcee9
add API data models
PabloPardoGarcia 7d2a7b3
add get request and response models
PabloPardoGarcia d60c3b3
add Pipeline model and get_pipeline method
PabloPardoGarcia 1e6bc40
catch 404 and 401 in PipelineDataClient
PabloPardoGarcia 017baaf
Create BaseManagementRequest and organise base requests
PabloPardoGarcia e4344d8
Make APIClient inherit from ABC
PabloPardoGarcia c9be38e
Add create_pipeline method
PabloPardoGarcia 6bb3f38
add unit tests
PabloPardoGarcia d863371
move fetch and create pipeline logic to Pipeline object
PabloPardoGarcia 2f136bf
remove kw_only for compatibility with < py3.10
PabloPardoGarcia 79f541a
add consume_failed tests and rename test files
PabloPardoGarcia 3910490
add unittest create_pipeline
PabloPardoGarcia e38036d
add test coverage
PabloPardoGarcia 2b6f4ee
add PAT to workflow envs
PabloPardoGarcia 5b3128d
:chore: core format
PabloPardoGarcia 9d12fb5
:chore: core format
PabloPardoGarcia 92f1af0
:chore: core format
PabloPardoGarcia 06f7e40
add unittest for pipeline creation with none existing transformation …
PabloPardoGarcia b3044fe
:chore: code format
PabloPardoGarcia 61bdef4
unify unit and integration tests step
PabloPardoGarcia d09b7ad
Merge pull request #24 from glassflow/pablo/dev-158-add-get-method-to…
PabloPardoGarcia b0cb034
upload/download cov report and add dependency between tests and cover…
PabloPardoGarcia ab163a7
generate api classes
PabloPardoGarcia 775ff3b
add Pipeline.delete method
PabloPardoGarcia 2e95149
:chore: code formatting
PabloPardoGarcia 4fc3331
simplify docs code
PabloPardoGarcia 045a69b
Merge pull request #25 from glassflow/dev
PabloPardoGarcia edc31f9
add release/* branches to workflow
PabloPardoGarcia 33f4173
bump glassflow to v2.0.0
PabloPardoGarcia b5ac021
Fix UnknownContent error when nothing to consume
PabloPardoGarcia 545b9bb
add created_at attribute to pipeline
PabloPardoGarcia cb5fe5f
add CRUD tests
PabloPardoGarcia c6a825e
add SPACE_ID secret and remove unused secrets to workflow
PabloPardoGarcia a584e65
add get_source and get_sink methods to Pipeline
PabloPardoGarcia f739d4a
rename tests
PabloPardoGarcia 5860635
add list_pipelines method
PabloPardoGarcia f5fd098
expose Pipeline constructor in top level
PabloPardoGarcia bfc7bd1
fix sink and source config type hint
PabloPardoGarcia 03bcad8
update documentation
PabloPardoGarcia 4403bc9
change version to 2.0.0rc
PabloPardoGarcia 5ae41aa
:chore: format code
PabloPardoGarcia 88dc0c0
bump version to deploy on test pypi
171f174
add space list and create operation
943455a
bump test deploy version
db34fa9
Merge pull request #27 from glassflow/space-management
ashish-bagri 32582f2
create pipeline before testing get_pipeline
PabloPardoGarcia 243ee13
add more unit tests
PabloPardoGarcia 24b070c
fix env_vars type hint
PabloPardoGarcia c5e84bb
Merge branch 'release/v2.0.0' of github.com:glassflow/glassflow-pytho…
PabloPardoGarcia 79e7bfb
:chore: format code
PabloPardoGarcia fb81582
fix response type hint
PabloPardoGarcia 9cfa499
add delete method to Space
PabloPardoGarcia 822bcda
create and delete space during IT
PabloPardoGarcia b054733
:chore: format code
PabloPardoGarcia c34ae85
add more unit tests on data client
PabloPardoGarcia 2d3d7af
fixes DEV-196
PabloPardoGarcia 656c0a6
add unittests for spaces
PabloPardoGarcia caa6c37
add integration test for spaces
PabloPardoGarcia 13ed605
catch space client errors
PabloPardoGarcia 0049f85
add more space integration tests
PabloPardoGarcia 8e628d6
rename fixtures
PabloPardoGarcia 936ceaa
:chore: format code
PabloPardoGarcia c6f0e15
add pipeline update method and tests
PabloPardoGarcia 015897e
:chore: format file
PabloPardoGarcia bfd0cb1
fetch function source when pipeline.fetch
PabloPardoGarcia 7014af7
create fixture request mocks
PabloPardoGarcia 08332af
add get function source request
PabloPardoGarcia 5bd1566
add get_logs method
PabloPardoGarcia 31408e6
add dataclass_json decorator
PabloPardoGarcia 5eac67d
use subclass enum
PabloPardoGarcia 778188d
:chore: format code
PabloPardoGarcia 536c42a
add tests for get logs
PabloPardoGarcia 484374a
avoid using 3r party dependency
PabloPardoGarcia 3d612fc
remove unused secret
PabloPardoGarcia 348b51e
write coverage message not only on main
PabloPardoGarcia 1f83061
:chore: format code
PabloPardoGarcia f97a302
download cov report to work dir
PabloPardoGarcia 8290d54
bump rc version to 2.0.0rc3
PabloPardoGarcia ed5e872
do not hide cov comment
PabloPardoGarcia 103b14d
skip covered files in report
PabloPardoGarcia 4aa4468
bump rc version to 2.0.0rc4
PabloPardoGarcia 6ef2256
add junitxml report to PR comment
PabloPardoGarcia c9ef76f
fix skip-covered configuration
PabloPardoGarcia 60d98bb
remove `transformation_code` reference
PabloPardoGarcia d29ec90
bump rc version to 2.0.0rc5
PabloPardoGarcia 5ec3164
:chore: format code [skip ci]
PabloPardoGarcia 5606706
bump version to 2.0.2rc1
PabloPardoGarcia 8194eae
add max tries to consume and get logs tests
PabloPardoGarcia a79dfcb
bump version to 2.0.0rc2
PabloPardoGarcia 952b278
fix unset transformation_file on update
PabloPardoGarcia 6ee1b19
bump rc version to 2.0.2rc3
PabloPardoGarcia 089eae8
:chore: format code [skip ci]
PabloPardoGarcia 3c07197
bump rc version to 2.0.2rc4
PabloPardoGarcia 59dac26
update env vars from function patch endpoint and refactor to fit func…
PabloPardoGarcia 23a140f
bump rc version to 2.0.2rc5
PabloPardoGarcia 286572b
handle space is not empty error in space deletion
PabloPardoGarcia 9001b66
add serialization_method arg to _request
PabloPardoGarcia 4af7c56
fix update artifact and test state change
PabloPardoGarcia ad92af9
bump rc to 2.0.2rc6
PabloPardoGarcia 10f64d5
update docs with pipeline and space management
PabloPardoGarcia 0bfe27b
fix broken links
PabloPardoGarcia 03b19e3
add new files to reference
PabloPardoGarcia 5a16858
bump rc version to 2.0.2rc7
PabloPardoGarcia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,6 @@ site** | |
.pypirc | ||
dist/ | ||
build | ||
.env | ||
.env | ||
tests/reports | ||
.coverage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
```python | ||
import glassflow | ||
|
||
client = glassflow.GlassFlowClient() | ||
pipeline = client.pipeline_client(pipeline_id="<pipeline_id>", pipeline_access_token="<pipeline_token>") | ||
source = glassflow.PipelineDataSource(pipeline_id="<pipeline_id>", pipeline_access_token="<pipeline_token>") | ||
data = { | ||
"name": "Hello World", | ||
"id": 1 | ||
} | ||
res = pipeline.publish(request_body=data) | ||
source_res = source.publish(request_body=data) | ||
|
||
sink = glassflow.PipelineDataSink(pipeline_id="<pipeline_id>", pipeline_access_token="<pipeline_token>") | ||
sink_res = sink.consume() | ||
``` |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.