You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you get errors, it is probably the dependencies of the cryptography package that are missing eg. for Ubuntu: python-dev, libffi-dev and libssl-dev. See [cryptography dependencies](https://cryptography.io/en/latest/installation/#building-cryptography-on-linux)
51
51
@@ -68,7 +68,7 @@ Let's start with a simple example that also ensures that the library is working
5. If you get errors, it is probably the [dependencies of the cryptography package](#installing-the-library)
73
73
6. Launch python:
74
74
@@ -246,9 +246,9 @@ You can also do so by the standard dictionary `update` method, which takes a d
246
246
247
247
Larger amounts of static metadata are best added from files. YAML is very human readable and recommended, while JSON is also accepted eg.
248
248
249
-
dataset.update_yaml([path])
249
+
dataset.update_from_yaml([path])
250
250
251
-
dataset.update_json([path])
251
+
dataset.update_from_json([path])
252
252
253
253
The default path if unspecified is `config/hdx_TYPE_static.yml` for YAML and `config/hdx_TYPE_static.json` for JSON where TYPE is an HDX object's type like dataset or resource eg. `config/hdx_galleryitem_static.json`. The YAML file takes the following form:
254
254
@@ -328,7 +328,7 @@ Next create a file called `run.py` and copy into it the code below.
0 commit comments