Skip to content

Commit

Permalink
access to community table by default
Browse files Browse the repository at this point in the history
  • Loading branch information
josuebrunel committed May 25, 2015
1 parent 9421047 commit 1256823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion myql/myql.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class MYQL(object):
private_url = 'http://query.yahooapis.com/v1/yql'
community_data = "env 'store://datatables.org/alltableswithkeys'; " #Access to community table

def __init__(self, table=None, url=public_url, community=False, format='json', jsonCompact=False, crossProduct=None, debug=False, oauth=None):
def __init__(self, table=None, url=public_url, community=True, format='json', jsonCompact=False, crossProduct=None, debug=False, oauth=None):
self.table = table
self.format = format
self._query = None # used to build query when using methods such as <select>, <insert>, ...
Expand Down

0 comments on commit 1256823

Please sign in to comment.