feat(utils): treat env as plain string and default to "dev"#50
Merged
TordAreStromsnes merged 2 commits intomainfrom Dec 10, 2025
Merged
feat(utils): treat env as plain string and default to "dev"#50TordAreStromsnes merged 2 commits intomainfrom
TordAreStromsnes merged 2 commits intomainfrom
Conversation
leefw
approved these changes
Dec 10, 2025
This was referenced Dec 10, 2025
TordAreStromsnes
pushed a commit
that referenced
this pull request
Dec 10, 2025
🤖 I have created a release *beep* *boop* --- ## [0.4.0](dataorc-utils-v0.3.0...dataorc-utils-v0.4.0) (2025-12-10) ### Features * **utils:** treat env as plain string and default to "dev" ([#50](#50)) ([65473a8](65473a8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
TordAreStromsnes
pushed a commit
that referenced
this pull request
Feb 5, 2026
🤖 I have created a release *beep* *boop* --- ## [0.2.0](dataorc-v0.1.1...dataorc-v0.2.0) (2026-02-05) ### Features * add Azure Key Vault support and documentation ([#42](#42)) ([abc42a0](abc42a0)) * create config tool for pipeline setup ([#22](#22)) ([21a8a84](21a8a84)) * introduce dictionary functionality for environment variables access ([#57](#57)) ([b6291fa](b6291fa)) * mount data lake ([#31](#31)) ([0bb3e51](0bb3e51)) * **utils:** add argument parsing helper for Databricks wheel tasks ([#43](#43)) ([393c6a2](393c6a2)) * **utils:** add retry logic and customizable parameters for get_keyvault_secret ([#63](#63)) ([acbc2b7](acbc2b7)) * **utils:** implement LakeFileSystem for data lake operations and add documentation ([#64](#64)) ([be9e738](be9e738)) * **utils:** support optional revision suffix in version format and update tests ([#59](#59)) ([8ea0b60](8ea0b60)) * **utils:** treat env as plain string and default to "dev" ([#50](#50)) ([65473a8](65473a8)) ### Documentation * add changelog tab ([#20](#20)) ([2ec4271](2ec4271)) * add CI status badge ([#9](#9)) ([8de41fe](8de41fe)) * add contributing guidelines ([#15](#15)) ([434cf31](434cf31)) * add developing instructions ([#33](#33)) ([835a35e](835a35e)) * add early development phase warning ([#39](#39)) ([406746d](406746d)) * bootstrap package ([#6](#6)) ([afbb765](afbb765)) * build docs using uv ([#36](#36)) ([15a1125](15a1125)) * initialize documentation structure ([#8](#8)) ([0adb45d](0adb45d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
We remove the
Environmentenum from the configuration codebase and updates all related logic, documentation, and tests to treat theenvparameter as a plain string with a default value of"dev". The changes simplify environment handling.Core codebase changes:
Removed the
Environmentenum and all references to it from the codebase, including imports, type annotations, and default values. Theenvparameter is now a plain string throughout models and logic, defaulting to"dev"when not set.Updated the
PipelineParameterManager.prepare_infrastructuremethod to no longer requireenvto be set in the environment; it now defaults to"dev"if missing and returnsenvas a plain string in theInfraContext.Documentation updates:
envis now optional, defaults to"dev", and is a plain string (not an enum). Clarified lookup strategy and migration notes for users.Test and usage updates:
envas a plain string instead of using the removed enum.Validation and printing improvements:
env.