Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
documentation, fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Dec 3, 2015
1 parent 632a183 commit f808da6
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements.txt
Expand Up @@ -83,4 +83,5 @@ pyquickhelper
pymyinstall
colormap
easydev
qgrid
qgrid
pandas_datareader
41 changes: 41 additions & 0 deletions src/pyensae/remote/magic_azure.py
Expand Up @@ -23,6 +23,47 @@ class MagicAzure(MagicClassWithHelpers):
and `HDInsight <http://azure.microsoft.com/fr-fr/services/hdinsight/>`_.
When the container is not specified, it will take the default one.
@FAQ(Magic command %blob_open does not work)
Try this::
%load_ext pyensae
The exception tells more about what goes wrong.
Usually a module is missing.
@endFAQ
@FAQ(Incorrect padding)
The following crypted message happens sometimes::
Error: Incorrect padding
It is usually due to an incorrect password.
Some notebooks uses::
import pyquickhelper.ipythonhelper as ipy
params={"blob_storage":"hdblobstorage", "password":""}
ipy.open_html_form(params=params,title="credentials",key_save="blobservice")
blobstorage = blobservice["blob_storage"]
blobpassword = blobservice["password"]
import pyensae
%blob_open
This code avoids the author letting password in a notebook
but you can just replace everything by::
blobstorage = "<username>"
blobpassword = "****long*key*******=="
import pyensae
%blob_open
@endFAQ
"""

def create_client(self, account_name, account_key,
Expand Down

0 comments on commit f808da6

Please sign in to comment.