-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from AIAScience/me/remove-server-host-param
Me/remove server host param
- Loading branch information
Showing
5 changed files
with
43 additions
and
18 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
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 |
---|---|---|
@@ -1,7 +1,17 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
from mflux_ai.mflux_ai import MfluxClient | ||
from mflux_ai.mflux_ai import * | ||
"""Top-level package for mflux-ai.""" | ||
|
||
__author__ = """Meklit Elfiyos Dekita""" | ||
__email__ = "me@aiascience.com" | ||
__version__ = "0.1.0" | ||
|
||
|
||
def set_env_vars(token): | ||
try: | ||
MfluxClient(token=token).set_env_vars() | ||
return True | ||
except Exception as e: | ||
print("couldn't connect to mflux server :", e) | ||
|
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