Skip to content

Commit

Permalink
Feature req req (#174)
Browse files Browse the repository at this point in the history
* Added information

* Bump version and remove requests from default loader

* Added iso in the installs for testing cuallee
  • Loading branch information
canimus authored Mar 7, 2024
1 parent 1af64e2 commit e276df5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Generate coverage report
run: |
pip install --upgrade pip
pip install '.[test,snowpark,pyspark,pandas,duckdb,bigquery,polars,dagster,cloud]'
pip install '.[test,iso,snowpark,pyspark,pandas,duckdb,bigquery,polars,dagster,cloud]'
coverage run -m pytest test/unit
coverage xml -o coverage.xml
env:
Expand Down
2 changes: 1 addition & 1 deletion cuallee/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from datetime import datetime, timedelta, timezone
from types import ModuleType
from typing import Any, Dict, List, Literal, Optional, Protocol, Tuple, Union
from .iso.checks import ISO
from toolz import compose, valfilter # type: ignore

logger = logging.getLogger("cuallee")
Expand Down Expand Up @@ -209,6 +208,7 @@ def __init__(
self.config: Dict[str, str] = {}
self.table_name = table_name
try:
from .iso.checks import ISO
self.iso = ISO(self)
except (ModuleNotFoundError, ImportError):
logger.error("ISO module requires requests")
Expand Down

0 comments on commit e276df5

Please sign in to comment.