summaryrefslogtreecommitdiff
path: root/freebase/api/__init__.py
diff options
context:
space:
mode:
authornitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-07-09 01:36:29 +0000
committernitromaster101 <nitromaster101@5914aa95-5b3a-0410-a3b5-7b719e7fe9b2>2009-07-09 01:36:29 +0000
commit637b2c5788657535ab05b6610f3b02d56ab957ec (patch)
treee774b101c86e33e2fab7afaf9feec161b799edf5 /freebase/api/__init__.py
parent8e71e49ea3708c30a4a0d3688cc9d643665d68be (diff)
add upload/revert schema manipulation, more tests, and other changes of the past few days
git-svn-id: http://freebase-python.googlecode.com/svn/trunk@172 5914aa95-5b3a-0410-a3b5-7b719e7fe9b2
Diffstat (limited to 'freebase/api/__init__.py')
-rwxr-xr-xfreebase/api/__init__.py19
1 files changed, 2 insertions, 17 deletions
diff --git a/freebase/api/__init__.py b/freebase/api/__init__.py
index 9e7be3e..c48009d 100755
--- a/freebase/api/__init__.py
+++ b/freebase/api/__init__.py
@@ -1,19 +1,4 @@
-from session import HTTPMetawebSession, MetawebError, attrdict
+from session import HTTPMetawebSession, MetawebError, attrdict, LITERAL_TYPE_IDS
-from mqlkey import quotekey, unquotekey
-
-LITERAL_TYPE_IDS = set([
- "/type/int",
- "/type/float",
- "/type/boolean",
- "/type/rawstring",
- "/type/uri",
- "/type/text",
- "/type/datetime",
- "/type/bytestring",
- "/type/id",
- "/type/key",
- "/type/value",
- "/type/enumeration"
-])
+from mqlkey import quotekey, unquotekey \ No newline at end of file