stegololz commented on code in PR #61256:
URL: https://github.com/apache/airflow/pull/61256#discussion_r2749402271
##########
providers/keycloak/src/airflow/providers/keycloak/auth_manager/cli/commands.py:
##########
@@ -145,13 +180,57 @@ def _get_client_uuid(args):
return matches[0]["id"]
+def _create_group_membership_mapper(
+ client: KeycloakAdmin, client_uuid: str, *, _dry_run: bool = False
+) -> None:
+ if not conf.getboolean("core", "multi_team"):
Review Comment:
Done! Added a little helper `_ensure_multi_team_enabled` and calling it on
commands instead of there. I also added a Fallback if conf bool does not exists
for backward compatibility (it broke the ci pipeline)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]