Menu

#618 WikiData: property datatype

open
Amir
None
5
2013-06-11
2013-06-07
No

in file attached there's a simple function for determine datatype of a wikidata property via API, instead use of "isinstance".
Useful in DataPage.editclaim()

Discussion

  • Luca Rabinelli

    Luca Rabinelli - 2013-06-07

    property datatype

     
  • Amir

    Amir - 2013-06-11

    Looks good, I will commit and make related changes

    I want to add a comment but the new system don't let me
    "It's seems a bad idea because getting datatype each time we want to make a edit put lots of pressure on server I think using a cache for properties would be better (like featured.py)"

     

    Last edit: Amir 2013-06-13
    • Luca Rabinelli

      Luca Rabinelli - 2013-07-04

      Now I can post a new comment, so I'll respond here too.

      Your idea is really interesting, would be a good thing the use of the cache, either for speed and for the bandwidth.

       
  • Amir

    Amir - 2013-06-11
    • assigned_to: nobody --> amird
     

Log in to post a comment.