Skip to content

Commit

Permalink
Adding Snowflake nativeapp inference class (#194)
Browse files Browse the repository at this point in the history
* Adding Snowflake nativeapp inference class

* format

* lint and typing

* lint

* Dont warn type: ignore

* Refactoring predict.py file to split it to other files

* Remove TODO

* Ignore unused imports on path shortcuts

* Add snowflake connector as optional

* fix poetry lock deps

* Fix position of extra deps

* Add private key authentication to snowflake

* lint

* Fix to support api-key while we have it

* Fix test import

* Avoid import error with snowflake aditions are not installed
  • Loading branch information
pappacena authored May 21, 2024
1 parent 9bea866 commit 97e676f
Show file tree
Hide file tree
Showing 10 changed files with 1,531 additions and 953 deletions.
903 changes: 0 additions & 903 deletions landingai/predict.py

This file was deleted.

4 changes: 4 additions & 0 deletions landingai/predict/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .edge import EdgePredictor # noqa: F401
from .cloud import Predictor # noqa: F401
from .ocr import OcrPredictor # noqa: F401
from .snowflake import SnowflakeNativeAppPredictor # noqa: F401
Loading

0 comments on commit 97e676f

Please sign in to comment.