Skip to content

feat(posts): accept default accounts on bulk import - #44

Merged
alihesari merged 1 commit into
mainfrom
feature/bulk-import-accounts
Nov 10, 2026
Merged

alihesari merged 1 commit into
mainfrom
feature/bulk-import-accounts

Conversation

@alihesari

Copy link
Copy Markdown
Member

posts.validate_bulk_import and posts.commit_bulk_import take an optional accounts keyword: a list of account ids or platform names. It is sent as a comma-separated accounts form field and applies to every CSV row whose own accounts cell is empty. The field is omitted when the list is missing or empty.

Tested: uv run pytest (226 passed), ruff check, ruff format --check, mypy. The bulk import test asserts the field is sent when given and absent when not.

Refs fopost/fopost#1219

@alihesari
alihesari merged commit 7c418c3 into main Nov 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant