Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is deck_id necessary? #127

Open
kerrickstaley opened this issue Jan 15, 2024 · 1 comment
Open

Is deck_id necessary? #127

kerrickstaley opened this issue Jan 15, 2024 · 1 comment

Comments

@kerrickstaley
Copy link
Owner

kerrickstaley commented Jan 15, 2024

I'm not sure what effect setting the deck_id has. Maybe we could just use a default value like 0 always. We need to experiment with this.

@cyrialize
Copy link

cyrialize commented Mar 10, 2024

I believe it is! I am working on some python code that'll parse an org file from Emacs org-mode to generate Anki cards.

If I set the deck_id to 1, it ends up inserting all of the created cards into the "Default" deck.

When I set the deck_id to a different number, it created a new deck with my passed in deck name, and inserted all the cards into the created deck.

This also includes if I set the setting "Import any deck presets" to on.

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

No branches or pull requests

2 participants