From f395b87ab65b961c2cad36f8baf7f512a6e6aecd Mon Sep 17 00:00:00 2001 From: corsaronero Date: Mon, 27 Feb 2023 14:34:19 +0000 Subject: [PATCH] now adding references to a property works too, in function editMemberOnWikidata() --- main.py | 2 +- wikidata/__pycache__/wdPEP.cpython-310.pyc | Bin 3911 -> 3897 bytes wikidata/wdPEP.py | 51 ++++++++++++++------- 3 files changed, 35 insertions(+), 18 deletions(-) diff --git a/main.py b/main.py index 1269625..26f8f77 100644 --- a/main.py +++ b/main.py @@ -30,4 +30,4 @@ wikidataPEP = WikidataPEP(config) #wikidataPEP.createMemberOnWikidata() -#wikidataPEP.editMemberOnWikidata() +wikidataPEP.editMemberOnWikidata('Q116918332') diff --git a/wikidata/__pycache__/wdPEP.cpython-310.pyc b/wikidata/__pycache__/wdPEP.cpython-310.pyc index fbe3b74b3f415291e55a790f62c32c18d1b90962..a6d45683265700acaedda45fd2094149d2a6c365 100644 GIT binary patch delta 824 zcmZva%}>-o7{+(nZofO*g{?^B!zfA$uIUyQ0X2%EVl=u43DSeOFm=2)Sr=OvrPA7XGe&IL^S(nz;SWDE7&aUgR zk!T$)Gi@e1(+W|MdMQJMx`i~PBcm-O1`&yY%r;0&A|VSwlxqt_MmEY5y$(@VTdWB+ z5G5ALqHa_m7INBR0tu{vBuC78u5J^6j4bkZE-jd$+KcdC4@&EM(lC zdl;~hEk<#e$_p(VHEOs>9~;gI7o^To^fX$nHpAI!E3DvfEow#^jqS_y zz2eh%h6&Eo4@O1ycxH)?mMb9t#7ZyEly7LBsRGBP|xne4{ST{V* zb_Uw!-&8!oQ_2jkhzGgm8&VyIPeL3v*1{(4qbDur^c4609Ub4~hB4uv70`)Xn5 z*=n@H?nvCkbKJPiagn>??94JA;^i5RevT^~8pl-zH;?(X48-{e;Ss*t%kjUaGu$|8 zaE+J49Pke3b&gpE`dM@6Aaq8zSkXMiU<=2A*?CkEin^d%5C}h{pHPt{D4B*W&=4-m QH+aHbdI&vGq~G9!U;bIPx&QzG delta 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