Coder Social home page Coder Social logo

Comments (8)

marks avatar marks commented on June 16, 2024 1

Hi @NicoHood & @mesozoic - the Airtable PATCH/PUT endpoints for a single record now support returnFieldsByFieldId

from pyairtable.

mesozoic avatar mesozoic commented on June 16, 2024 1

Thanks for resolving this issue, @marks!

from pyairtable.

mesozoic avatar mesozoic commented on June 16, 2024

That's true! Unfortunately this is a limitation of the Airtable API; passing returnFieldsByFieldId to the update endpoint returns a 422 (unlike the batch update endpoint, which does the right thing).

In the branch you mentioned, there's a commented-out test showing how we could test it, if it were supported.

from pyairtable.

NicoHood avatar NicoHood commented on June 16, 2024

WTF? Alright, wouldnt it make sense to use the batch api then? I mean we could keep the same syntax and whenever airtable fixes this issue we could switch the call internally? That would make more sense, as we do not need to work around in the user code. Or is there any advantage in the "normal", single update call?

from pyairtable.

NicoHood avatar NicoHood commented on June 16, 2024

Nice! So then we could just enable it, right?

from pyairtable.

mesozoic avatar mesozoic commented on June 16, 2024

I'll reopen the issue. Pull requests are welcome!

from pyairtable.

NicoHood avatar NicoHood commented on June 16, 2024

I am sorry I aint got time to work on this. I know the fix is easy, but I have other priorities. Would be nice if someone else could add this parameter :-)

from pyairtable.

marks avatar marks commented on June 16, 2024

@NicoHood - I believe PR #320 takes care of this for you if you want to go over and subscribe for updates over there

from pyairtable.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.