Module Expr Str ImportFrom alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Str Assign NameStore Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Dict TryExcept body If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Dict Str Str Str Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad keyword NameLoad keyword NameLoad keyword TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If SubscriptLoad AttributeLoad NameLoad attr Index Str body For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad orelse For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad NameLoad Return NameLoad decorator_list decorator_list
N/A N/A 
 ----------------------------------------------------------------------
   Copyright 2014 Smartsheet, Inc.
  
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
  
    http://www.apache.org/licenses/LICENSE-2.0
  
  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and       
  limitations under the License.             
 ----------------------------------------------------------------------
 utils config N/A requests N/A logging N/A pdb N/A theConfig N/A N/A config Config N/A appConfig N/A N/A theConfig getConfigFromFile app.json N/A logger N/A N/A theConfig getLogger appConfig RestGETDeskCon N/A N/A __init__ N/A N/A self sourceConfig N/A N/A N/A N/A self apiConfig sourceConfig N/A 
		 Example REST GET Desk.com Configuration ( to be set in the settings/sources.json file )
		 {
			"sourceId": "deskAPI",
			"connectorClassName": "RestGETDeskCon",
			"apiUrl": "https://yourOrg.desk.com/api/v2/cases/{}",
			"username": "yourUsername",
			"password": "yourPassword",
			"isArray": false,
			"isStrict": false
		 }
		 
		 list required fields other than 'sourceId' and 'connectorClassName' from sourceConfig entry
		 'sourceId' and 'connectorClassName' are required for every source, and are already being checked
		 N/A requiredFields apiUrl,username,password,isArray N/A N/A self apiConfig N/A N/A theConfig validateSourceConfig sourceConfig logger requiredFields N/A None N/A findSourceMatch N/A N/A self lookupVal lookupKey N/A N/A N/A matchingRecord N/A N/A N/A N/A N/A N/A self apiConfig N/A username N/A N/A headers N/A Accept Content-type application/json application/json N/A params None N/A resp N/A N/A requests get N/A N/A N/A N/A self apiConfig N/A apiUrl format lookupVal headers headers params params auth N/A N/A N/A self apiConfig N/A username N/A N/A self apiConfig N/A password N/A N/A N/A KeyError N/A N/A resp N/A N/A requests get N/A N/A N/A N/A self apiConfig N/A apiUrl format lookupVal N/A respJSON N/A N/A resp json N/A N/A N/A self apiConfig N/A isArray N/A N/A N/A key val N/A N/A N/A respJSON N/A 0 items N/A N/A N/A matchingRecord N/A key val N/A N/A N/A key val N/A N/A respJSON items N/A N/A N/A matchingRecord N/A key val N/A matchingRecord N/A N/A