Skip to content

Business Account - refine AccountService #33560

Open

Description

@kialj876

Should serve as a good example for future services that wrap other API integrations.

  • add init method
    • decouple from flask app context (no current_app, etc. - could give option for passing in flask app?)
    • sets passed in config (urls, secrets)
    • sets logger
    • consider setting a passed in 'flags'
  • add centralized method for calling the api its wrapping
  • fill out test suite / rework tests setup

Activity

  1. added
    Entities Team
    on May 26, 2026
  2. changed the title [-]Business Account - update AccountService[/-] [+]Business Account - refine AccountService[/+] on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Entities Team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions