Skip to content

Commit

Permalink
feat: enable setting encoding in yaml handler via env var
Browse files Browse the repository at this point in the history
  • Loading branch information
z3z1ma committed Dec 24, 2023
1 parent 784fa82 commit 5812254
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dbt_osmosis/core/osmosis.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def __init__(self, **kwargs) -> None:
self.width = 800
self.preserve_quotes = True
self.default_flow_style = False
self.encoding = os.getenv("DBT_OSMOSIS_ENCODING", "utf-8")


class SchemaFileLocation(BaseModel):
Expand Down

0 comments on commit 5812254

Please sign in to comment.