Я установил Visual Studio 2013 Community и инструменты Python для Visual Studio 2.1 с Python 3.4.2 на Windows Server 2012. Похоже, intellisense работает неправильно
import gspread
import requests
import json
# correctly calls gc a 'client' type
gc = gspread.login('<user_name redacted>','<password redacted>')
# correctly calls wks a 'Worksheet' type
wks = gc.open('testing_sheet').sheet1
# INCORRECTLY calls the json_test object a 'boolean, NoneType, float, int, object' type
json_test = json.loads('{"chicken":"cluck"}')
# correctly calls post_data a 'dict' type
post_data = {'item':'abc'}
# correctly calls post_headers a 'dict' type
post_headers = {'content-encoding': 'json'}
# INCORRECTLY calls post_requests a 'bool' type, should be type 'Response'
post_requests = requests.post(url = '<redacted>', data = json.dumps(post_data), headers = post_headers)
Я несколько раз пробовал пересобирать БД, удалял и переустанавливал Python и PTVS, но он всегда неправильно идентифицировал эти объекты. Я делаю что-то неправильно? Есть ли что-то еще, что я могу сделать?