Skip to content

Commit

Permalink
bump: version 0.7.2 → 0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasyager committed Jan 22, 2025
1 parent 4c463c8 commit a41671e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion dbt_loom/manifests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from io import BytesIO
import json
import gzip
import os
from pathlib import Path
from typing import Dict, List, Optional
from urllib.parse import unquote, urlunparse
Expand Down Expand Up @@ -128,7 +129,16 @@ def load_from_local_filesystem(config: FileReferenceConfig) -> Dict:
if not config.path.path:
raise InvalidManifestPath()

file_path = Path(unquote(config.path.path.lstrip("/")))
if config.path.netloc:
file_path = Path(f"//{config.path.netloc}{config.path.path}")
else:
file_path = Path(
unquote(
config.path.path.lstrip("/")
if os.name == "nt"
else config.path.path
)
)

if not file_path.exists():
raise LoomConfigurationError(f"The path `{file_path}` does not exist.")
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[tool.poetry]
name = "dbt-loom"
version = "0.7.2"
version = "0.7.3"
description = "A dbt-core plugin to import public nodes in multi-project deployments."
authors = ["Nicholas Yager <[email protected]>"]
readme = "README.md"
packages = [{ include = "dbt_loom" }]

[tool.commitizen]
version = "0.7.2"
version = "0.7.3"
version_files = ["pyproject.toml:^version"]

[tool.poetry.dependencies]
Expand Down

0 comments on commit a41671e

Please sign in to comment.