gtalarico / pyairtable

Python Api Client for Airtable
https://pyairtable.readthedocs.io
MIT License
784 stars 138 forks source link

Deprecate `escape_quotes` function in favor of `quoted` #384

Closed mesozoic closed 2 months ago

mesozoic commented 2 months ago

The escape_quotes function never quite made sense to me, because it only quotes at most once (so its behavior is hard to predict) and does not enclose the return value in quotes. I don't really know what its utility is, so I'm proposing we deprecate it and encourage people to use quoted instead (which takes a string value and returns it as an Airtable-compatible string representation).