Module ImportFrom alias ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad GeneratorExp TupleLoad Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return CompareIn Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad Assign NameStore Num FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr Num orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad orelse If BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body AugAssignSub AttributeStore NameLoad attr Num If CompareEq AttributeLoad NameLoad attr Num body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr orelse If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad ListComp TupleLoad NameLoad NameLoad comprehension NameStore NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call NameLoad Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Dict Str Str Str Str Str Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad BinOpMod Str NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If Call NameLoad NameLoad Str body If CompareEq AttributeLoad NameLoad attr Num body Expr Call NameLoad Str NameLoad Str orelse Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad Str body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad Str orelse Expr Call NameLoad BinOpMod Str NameLoad NameLoad Expr Call NameLoad BinOpMod Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Assign NameStore Str For NameStore Call NameLoad NameLoad body AugAssignAdd NameStore BinOpMod Str NameLoad Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Str Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore IfExp CompareEq AttributeLoad NameLoad attr Str Str AttributeLoad NameLoad attr AugAssignAdd NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str AttributeLoad NameLoad attr If CompareGt Call NameLoad NameLoad Num body AugAssignAdd NameStore BinOpMod Str NameLoad Expr Call NameLoad BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Dict Str NameLoad Assign NameStore BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Str BinOpMod Str NameLoad Assign NameStore Dict Str BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body If Call NameLoad NameLoad Str body If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num NameLoad body Expr Call NameLoad BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad body Expr Yield NameLoad Return orelse Expr Call NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad Str body Expr Call NameLoad BinOpMod Str TupleLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num NameLoad orelse Expr Call NameLoad BinOpMod Str NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr While CompareIsNot NameLoad NameLoad body Expr Yield NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A multicorn ForeignDataWrapper multicorn.utils log_to_postgres ERROR DEBUG yajl YajlContentHandler YajlParser Queue Queue threading Thread N/A urllib N/A urllib2 N/A json N/A pprint N/A collections CaseInsensitiveDict N/A N/A collections Mapping N/A __init__ N/A N/A self d N/A N/A N/A N/A self _d d N/A N/A self _s N/A dict N/A N/A N/A N/A k lower k N/A k d N/A __contains__ N/A N/A self k N/A N/A N/A N/A N/A N/A k lower N/A self _s N/A __len__ N/A N/A self N/A N/A N/A N/A len N/A self _s N/A __iter__ N/A N/A self N/A N/A N/A N/A iter N/A self _s N/A __getitem__ N/A N/A self k N/A N/A N/A N/A N/A self _d N/A N/A N/A self _s N/A N/A N/A k lower N/A actual_key_case N/A N/A self k N/A N/A N/A N/A N/A N/A self _s get N/A N/A k lower N/A N/A ContentHandler N/A YajlContentHandler N/A N/A _column N/A INIT 0 N/A IN_OBJECT 1 N/A SEEN_RECORDS 2 N/A IN_ARRAY 3 N/A IN_RECORD 4 N/A SEEN_KEY 5 N/A _state INIT N/A _depth 0 __init__ N/A N/A self queue column_map N/A N/A N/A N/A self _queue queue N/A N/A self _column_map column_map N/A handle_value N/A N/A self ctx val N/A N/A N/A N/A N/A N/A self _state N/A ContentHandler SEEN_KEY N/A N/A self _depth 0 N/A N/A N/A self _state N/A ContentHandler IN_RECORD N/A N/A N/A self _record N/A N/A N/A self _column_map N/A N/A self _column val N/A yajl_null N/A N/A self ctx N/A N/A N/A N/A N/A self handle_value ctx None N/A yajl_boolean N/A N/A self ctx boolVal N/A N/A N/A N/A N/A self handle_value ctx boolVal N/A yajl_integer N/A N/A self ctx integerVal N/A N/A N/A N/A N/A self handle_value ctx integerVal N/A yajl_double N/A N/A self ctx doubleVal N/A N/A N/A N/A N/A self handle_value ctx doubleVal N/A yajl_string N/A N/A self ctx stringVal N/A N/A N/A N/A N/A self handle_value ctx stringVal N/A yajl_start_map N/A N/A self ctx N/A N/A N/A N/A N/A self _state N/A ContentHandler SEEN_KEY N/A N/A N/A self _depth 1 N/A N/A N/A N/A self _state N/A ContentHandler IN_ARRAY N/A N/A N/A self _state N/A ContentHandler IN_RECORD N/A N/A self _record N/A N/A N/A N/A N/A self _state N/A ContentHandler INIT N/A N/A N/A self _state N/A ContentHandler IN_OBJECT N/A yajl_map_key N/A N/A self ctx stringVal N/A N/A N/A N/A N/A self _state N/A ContentHandler IN_RECORD N/A N/A N/A self _state N/A ContentHandler SEEN_KEY N/A N/A self _column stringVal N/A N/A N/A N/A N/A self _state N/A ContentHandler IN_OBJECT N/A stringVal records N/A N/A N/A self _state N/A ContentHandler SEEN_RECORDS N/A yajl_end_map N/A N/A self ctx N/A N/A N/A N/A N/A self _state N/A ContentHandler SEEN_KEY N/A N/A N/A self _depth 1 N/A N/A N/A self _depth 0 N/A N/A N/A self _state N/A ContentHandler IN_RECORD N/A N/A N/A N/A self _state N/A ContentHandler IN_RECORD N/A N/A N/A self _state N/A ContentHandler IN_ARRAY N/A N/A N/A N/A self _queue put N/A self _record N/A N/A N/A N/A self _state N/A ContentHandler IN_OBJECT N/A N/A N/A self _state N/A ContentHandler INIT N/A yajl_start_array N/A N/A self ctx N/A N/A N/A N/A N/A self _state N/A ContentHandler SEEN_RECORDS N/A N/A N/A self _state N/A ContentHandler IN_ARRAY N/A yajl_end_array N/A N/A self ctx N/A N/A N/A N/A N/A self _state N/A ContentHandler IN_ARRAY N/A N/A N/A self _state N/A ContentHandler IN_OBJECT N/A N/A parseToQueue N/A N/A stream queue column_map N/A N/A N/A parser N/A YajlParser N/A ContentHandler queue column_map N/A N/A N/A parser parse stream N/A N/A N/A queue put None N/A DatabaseDotComForeignDataWrapper N/A ForeignDataWrapper N/A __init__ N/A N/A self options columns N/A N/A N/A N/A N/A N/A super DatabaseDotComForeignDataWrapper self __init__ options columns N/A N/A self column_map N/A CaseInsensitiveDict N/A dict N/A N/A x x N/A x columns N/A N/A self obj_type N/A N/A options get obj_type None N/A N/A N/A self obj_type None N/A N/A N/A log_to_postgres You MUST set the obj_type ERROR N/A N/A self client_id N/A N/A options get client_id None N/A N/A N/A self client_id None N/A N/A N/A log_to_postgres You MUST set the client_id ERROR N/A N/A self client_secret N/A N/A options get client_secret None N/A N/A N/A self client_secret None N/A N/A N/A log_to_postgres You MUST set the client_secret ERROR N/A N/A self username N/A N/A options get username None N/A N/A N/A self username None N/A N/A N/A log_to_postgres You MUST set the username ERROR N/A N/A self password N/A N/A options get password None N/A N/A N/A self password None N/A N/A N/A log_to_postgres You MUST set the password ERROR N/A N/A self login_server N/A N/A options get login_server https://login.salesforce.com N/A N/A self oauth N/A N/A self get_token N/A get_token N/A N/A self N/A N/A N/A token_url N/A %s/services/oauth2/token N/A self login_server N/A params N/A N/A urllib urlencode N/A grant_type client_id client_secret username password password N/A self client_id N/A self client_secret N/A self username N/A self password N/A N/A log_to_postgres N/A Getting token from %s token_url DEBUG N/A N/A N/A data N/A N/A N/A N/A urllib2 urlopen token_url params read N/A N/A N/A N/A urllib2 URLError N/A e N/A N/A N/A hasattr e code N/A N/A N/A N/A e code 400 N/A N/A N/A log_to_postgres Bad Request ERROR Check the client_id, client_secret, username and password N/A N/A N/A log_to_postgres N/A HTTP status %d N/A e code ERROR N/A N/A N/A hasattr e reason N/A N/A N/A log_to_postgres N/A Error posting to URL %s: %d %s N/A token_url N/A N/A e reason N/A 0 N/A N/A e reason N/A 1 ERROR Check the login_server N/A N/A N/A log_to_postgres N/A Unknown error %s e ERROR N/A N/A log_to_postgres N/A Got token %s data DEBUG N/A oauth N/A N/A json loads data N/A N/A log_to_postgres N/A Logged in to %s as %s N/A N/A self login_server N/A self username N/A oauth N/A execute N/A N/A self quals columns retry N/A True N/A N/A cols N/A column_name N/A list columns N/A N/A cols N/A ,%s column_name N/A cols N/A cols N/A 1 N/A where N/A parameters N/A N/A qual quals N/A N/A operator N/A N/A N/A qual operator ~~ LIKE N/A qual operator N/A where N/A  AND %s %s '%s' N/A N/A qual field_name operator N/A qual value N/A where N/A where N/A 5 N/A query N/A N/A N/A SELECT  cols  FROM  N/A self obj_type N/A N/A N/A len where 0 N/A N/A query N/A  WHERE %s  where N/A N/A log_to_postgres N/A SOQL query is %s query N/A params N/A N/A urllib urlencode N/A q query N/A query_url N/A N/A N/A self oauth N/A instance_url N/A /services/data/v23.0/query?%s params N/A headers N/A Authorization N/A OAuth %s N/A N/A self oauth N/A access_token N/A req N/A N/A urllib2 Request query_url None headers N/A queue N/A Queue N/A N/A N/A stream N/A N/A urllib2 urlopen req N/A N/A N/A N/A urllib2 URLError N/A e N/A N/A N/A hasattr e code N/A N/A N/A N/A N/A e code 401 retry N/A N/A N/A log_to_postgres N/A Invalid token %s - trying refresh N/A N/A self oauth N/A access_token N/A N/A self oauth N/A N/A self get_token N/A line N/A N/A self execute quals columns False N/A N/A N/A line N/A N/A N/A N/A log_to_postgres N/A HTTP status %d N/A e code ERROR N/A N/A N/A hasattr e reason N/A N/A N/A log_to_postgres N/A Error posting to URL %s: %d %s N/A token_url N/A N/A e reason N/A 0 N/A N/A e reason N/A 1 ERROR N/A N/A N/A log_to_postgres N/A Unknown error %s e ERROR N/A t N/A Thread target parseToQueue args N/A stream queue N/A self column_map N/A N/A t daemon True N/A N/A N/A t start N/A item N/A N/A queue get N/A N/A item None N/A N/A N/A item N/A N/A N/A queue task_done N/A item N/A N/A queue get N/A N/A