【问题标题】:Is there a proper way to encode a search from Google Cloud vs Locally Running a Python Script?有没有一种正确的方法来编码来自谷歌云的搜索与本地运行 Python 脚本?
【发布时间】:2019-06-25 14:32:05
【问题描述】:

Airtable Python Wrapper 在从本地机器执行时能够使用 Airtable.MAtch 找到字段,但它无法在 Google Cloud 上进行匹配。

声明:

-- 编码:UTF-8 --

search = d['TITLE'] +  d['OFFICE']
    try: #THIS WONT WORK?? WHAT?
       record = airtable.match('mysearch', search)
       airtable.update(record['id'], d, typecast=True)
       print (' UPDATED ')       
   except:
       try: #NO PROBLEM INSERTING - TOO BAD ITS NOT CATCHING DUPLICATES
       airtable.insert(d,typecast=True)
       print (' INSERTED ')

应在 {mysearch} 字段中找到搜索变量。 在我的机器上工作得很好。 不会在 GCM 中找到匹配项。

【问题讨论】:

  • gc 上的控制台在我的 Mac 上显示 (11, ' INSERTED ', u'Wrong Turn', ' - INSERT success counter:', 2) - 11 UPDATED Wrong Turn - UPDATE success counter : 2

标签: python google-cloud-platform urlencode airtable


【解决方案1】:

答案是我们有 Fiverr,很明显。

【讨论】:

    猜你喜欢
    • 2011-04-15
    • 1970-01-01
    • 1970-01-01
    • 2017-01-06
    • 2017-09-23
    • 1970-01-01
    • 1970-01-01
    • 2015-09-14
    • 2011-04-04
    相关资源
    最近更新 更多