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

Add environment variable support for Doccano credentials #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ledurnan
Copy link

Updated doccano_client tests and project dependencies to utilize environment variables via python-dotenv. This enhancement allows secure and flexible configuration for different environments.

Key Changes

  1. Integrated python-dotenv for environment variable management.
  2. Replaced hard-coded credentials in test_full_integration_tests.py with environment variables.
  3. Added python-dotenv to pyproject.toml.

Testing

Ensure tests pass with .env configurations.

@ledurnan ledurnan requested a review from Hironsan as a code owner December 22, 2023 10:01
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