Skip to content

Commit 4440f05

Browse files
author
Mike
committed
Fix marking resource data updated when using create_in_hdx and update_in_hdx of dataset
1 parent 03aeb8d commit 4440f05

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

documentation/main.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,11 @@ There is a getter to read the value back:
912912
To indicate that the data in an externally hosted resource (given by a URL) has
913913
been updated, call **mark_data_updated** on the resource, before calling
914914
**create_in_hdx** or **update_in_hdx** on the resource or parent dataset which
915-
will result in the resource `last_modified` field being set to now.
915+
will result in the resource `last_modified` field being set to now.
916+
917+
resource.mark_data_updated()
918+
dataset.update_in_hdx()
919+
916920
Alternatively, when calling **create_in_hdx** or **update_in_hdx** on the
917921
resource, it is possible to supply the parameter `data_updated` eg.
918922

0 commit comments

Comments
 (0)