Fixes #50, Fixes #56, Fixes #58 - Environment Improvements #57
+198
−127
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.
This pull request includes several changes to improve the handling of environment libraries and the retry logic within the
fabric_cicd
module. The most important changes involve adding new dependencies, modifying theinvoke
method, and refactoring the retry logic.Dependency Updates:
fuzzywuzzy
andpython-levenshtein
toenvironment.yml
to handle string matching and distance calculations.Method Enhancements:
invoke
method infabric_cicd/_common/_fabric_endpoint.py
to accept additional keyword arguments and handle retry logic more flexibly. [1] [2] [3] [4] [5]Retry Logic Refactoring:
_handle_retry
method and introduced a newhandle_retry
function to centralize and simplify retry logic. [1] [2] [3]Environment Publishing:
_publish_environment_metadata
function to include new steps for updating compute settings, adding and removing libraries, and checking the publish state. [1] [2]_publish_item
method infabric_workspace.py
to support additional parameters and improved logging control. [1] [2] [3] [4]Fixes #50
Fixes #56
Fixes #58