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

Support project CRUD #91

Merged
merged 1 commit into from
Sep 27, 2022
Merged

Support project CRUD #91

merged 1 commit into from
Sep 27, 2022

Conversation

Hironsan
Copy link
Member

@Hironsan Hironsan commented Sep 27, 2022

Description

from doccano_client.client import DoccanoClient
from doccano_client.clients.project import ProjectClient
from doccano_client.models.project import Project

client = DoccanoClient(...)
client.login(...)
project_client = ProjectClient(client)

project = Project(...)
project_client.create(project)
project_client.update(project)
project_client.delete(project)
project_client.all()
project_client.find_by_id(...)

@Hironsan Hironsan merged commit 87ef68e into develop Sep 27, 2022
@Hironsan Hironsan deleted the feature/support-project-crud branch September 27, 2022 12:51
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