CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pyairtable

Python client for the Airtable API providing comprehensive database operations, ORM functionality, enterprise features, and testing utilities

Pending
Overview
Eval results
Files

comments.mddocs/

Comments and Collaboration

Record-level commenting system with user mentions, collaborative features, and comment management for team coordination.

Capabilities

Comment Operations

Retrieve and manage comments on individual records with full CRUD support.

def comments(self, record_id: str) -> list[object]:
    """
    Get all comments for a record.
    
    Parameters:
    - record_id: Record ID to get comments for
    
    Returns:
    List of Comment objects
    """

def add_comment(self, record_id: str, text: str) -> object:
    """
    Add comment to record.
    
    Parameters:
    - record_id: Record ID to comment on
    - text: Comment text content
    
    Returns:
    Comment object for the created comment
    """

class Comment:
    def save(self) -> 'Comment':
        """Save changes to comment text."""
    
    def delete(self) -> bool:
        """Delete comment."""

Usage Examples

from pyairtable import Api

api = Api('your_token')
table = api.table('base_id', 'table_name')

# Add comment to record
comment = table.add_comment('rec1234567890abcde', 'This needs review')

# Get all comments for record
comments = table.comments('rec1234567890abcde')
for comment in comments:
    print(f"{comment.author.name}: {comment.text}")

# Update comment
comment.text = 'This has been reviewed and approved'
comment.save()

# Delete comment
comment.delete()

Install with Tessl CLI

npx tessl i tessl/pypi-pyairtable

docs

attachments.md

cli.md

comments.md

core-api.md

enterprise.md

formulas.md

index.md

orm.md

record-operations.md

testing.md

webhooks.md

tile.json