This repository has been archived by the owner on Oct 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new field in result object called "text_blob" for TextBlob DC type (
#64) * bytes type and base64 encoder * fix support for old node params typing * text_blob dtype * add bytes class * add textblob class support * offline mode for precompilation * merge node-init into main * get rid of useless var * add lock for read operations in dao * fix/hacky invalid value plotly error * style * option to toggle print * switch to logging instead * style * add new field in result object called text_blob * return text_blob for both text_blob and bytes type --------- Co-authored-by: Vinicius <[email protected]> Co-authored-by: Luiz Tauffer <[email protected]> Co-authored-by: Hristo <[email protected]> Co-authored-by: Joey Yu <[email protected]>
- Loading branch information
1 parent
e492415
commit 0604f4c
Showing
19 changed files
with
402 additions
and
229 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ | |
from .flojoy_node_venv import * | ||
from .job_service import * | ||
from .node_init import * | ||
from .config import * |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import logging | ||
|
||
LOGGER_NAME = "flojoy" | ||
|
||
|
||
class FlojoyConfig: | ||
_instance = None | ||
|
||
@classmethod | ||
def get_instance(cls): | ||
if cls._instance is None: | ||
cls._instance = FlojoyConfig() | ||
return cls._instance | ||
|
||
def __init__(self): | ||
self.is_offline = False | ||
|
||
|
||
logger = logging.getLogger(LOGGER_NAME) |
This file contains 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
Oops, something went wrong.