Skip to content

Commit

Permalink
Fix lingering docstring typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mesozoic committed Sep 16, 2024
1 parent 6a40603 commit 958f7da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyairtable/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,16 +88,16 @@ def attachment(url: str, filename: str = "") -> CreateAttachmentDict:
Usage:
>>> table = Table(...)
>>> profile_url = "https://myprofile.com/id/profile.jpg
>>> profile_url = "https://example.com/profile.jpg"
>>> rec = table.create({"Profile Photo": [attachment(profile_url)]})
{
'id': 'recZXOZ5gT9vVGHfL',
'fields': {
'attachment': [
{
'id': 'attu6kbaST3wUuNTA',
'url': 'https://aws1.discourse-cdn.com/airtable/original/2X/4/411e4fac00df06a5e316a0585a831549e11d0705.png',
'filename': '411e4fac00df06a5e316a0585a831549e11d0705.png'
'url': 'https://content.airtable.com/...',
'filename': 'profile.jpg'
}
]
},
Expand Down

0 comments on commit 958f7da

Please sign in to comment.