fix(trigger): clean up whitespace in encryption utility and trigger provider service

- Removed unnecessary blank lines in `encryption.py` and `trigger_provider_service.py` for improved code readability.
- This minor adjustment enhances the overall code quality without altering functionality.

🤖 Generated with [Claude Code](https://claude.ai/code)
This commit is contained in:
Harry 2025-09-05 14:45:26 +08:00
parent e04083fc0e
commit 85caa5bd0c
2 changed files with 3 additions and 1 deletions

View File

@ -65,6 +65,7 @@ def create_trigger_provider_encrypter_for_subscription(
)
return encrypter, cache
def delete_cache_for_subscription(tenant_id: str, provider_id: str, subscription_id: str):
cache = TriggerProviderCredentialsCache(
tenant_id=tenant_id,
@ -73,6 +74,7 @@ def delete_cache_for_subscription(tenant_id: str, provider_id: str, subscription
)
cache.delete()
def create_trigger_provider_encrypter_for_properties(
tenant_id: str,
controller: PluginTriggerProviderController,

View File

@ -186,7 +186,7 @@ class TriggerProviderService:
provider_id=db_provider.provider_id,
subscription_id=db_provider.id,
)
@classmethod
def refresh_oauth_token(
cls,