Amire80 created this task.
Amire80 added a project: Pywikibot.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  I'm running this code:
  
    import pywikibot
    
    site = pywikibot.Site("wikidata", "wikidata")
    repo = site.data_repository()
    item_id = "Q254" # Wolfgang Amadeus Mozart
    
    item = pywikibot.ItemPage(repo, item_id)
    if item.exists():
        print(f"item {item_id} exists")
    
    item.get()
  
  It produces these warnings at `item.exists()` and `item.get()`:
  
    WARNING: entity-schema datatype is not supported yet.
  
  The reason may be that https://www.wikidata.org/wiki/Q254 has the P12861 
<https://phabricator.wikimedia.org/P12861> property (EntitySchema for this 
class). However, showing this warning at .exists() and .get() looks like an 
exaggeration, because these methods don't seem to do anything with the 
statement with this property.

TASK DETAIL
  https://phabricator.wikimedia.org/T374676

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Amire80
Cc: Aklapper, Amire80, pywikibot-bugs-list, mevo, PotsdamLamb, Jyoo1011, 
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor, Wenyi, Tbscho, 
MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis, mys_721tx, Xqt, 
jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to