You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bugraoz93 (via GitHub)" <gi...@apache.org> on 2025/02/17 21:18:24 UTC
[PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
bugraoz93 opened a new pull request, #46839:
URL: https://github.com/apache/airflow/pull/46839
closes: #46837
I also included the token generation in SimpleAuthManager to enable further development.
<!-- Please keep an empty line above the dashes. -->
---
**^ Add meaningful description above**
Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)** for more information.
In case of fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals)) is needed.
In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
In case of backwards incompatible changes please leave a note in a newsfragment file, named `{pr_number}.significant.rst` or `{issue_number}.significant.rst`, in [newsfragments](https://github.com/apache/airflow/tree/main/newsfragments).
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960716997
##########
tests/auth/managers/simple/routes/__init__.py:
##########
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
Amazing, renamed the src to routes to be consistent
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2667135065
I address them all. Whenever you have time :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2667186532
> Nice! Thanks for addressing all the comments
Thanks for your time! :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960668154
##########
tests/auth/managers/simple/conftest.py:
##########
@@ -0,0 +1,66 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+import pytest
+from fastapi.testclient import TestClient
+from flask import Flask
+
+from airflow.auth.managers.simple.simple_auth_manager import SimpleAuthManager
+from airflow.auth.managers.simple.user import SimpleAuthManagerUser
+from airflow.www.extensions.init_appbuilder import init_appbuilder
+
+
+@pytest.fixture
+def auth_manager():
+ return SimpleAuthManager(None)
+
+
+@pytest.fixture
+def auth_manager_with_appbuilder():
+ flask_app = Flask(__name__)
+ auth_manager = SimpleAuthManager()
+ auth_manager.appbuilder = init_appbuilder(flask_app)
+ return auth_manager
Review Comment:
Yes, missed that, thanks! I removed it and one more that is not used and added from me.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2664181923
> Looks good. I assume then you want to use the simple auth manager in the CLI? That's cool :)
That is exactly my intention :) Thanks for the review!
Fixed the openapi specs. Surprised it got away from my local pre-commit run before the commit.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2666498030
> Could you please add unit tests?
For sure, I am going to add them. Sorry for double-checking!
I am going to work on the changes needed in FAB next for this integration. I might again need your review there :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960665062
##########
tests/auth/managers/simple/conftest.py:
##########
@@ -0,0 +1,66 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+import pytest
+from fastapi.testclient import TestClient
+from flask import Flask
+
+from airflow.auth.managers.simple.simple_auth_manager import SimpleAuthManager
+from airflow.auth.managers.simple.user import SimpleAuthManagerUser
+from airflow.www.extensions.init_appbuilder import init_appbuilder
+
+
+@pytest.fixture
+def auth_manager():
+ return SimpleAuthManager(None)
+
+
+@pytest.fixture
+def auth_manager_with_appbuilder():
+ flask_app = Flask(__name__)
+ auth_manager = SimpleAuthManager()
+ auth_manager.appbuilder = init_appbuilder(flask_app)
+ return auth_manager
Review Comment:
Actually, this one is no longer needed. You can remove it
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2666509369
> > Could you please add unit tests?
>
> For sure, I am going to add them. Sorry for double-checking!
>
> I am going to work on the changes needed in FAB next for this integration. I might again need your review there :)
For sure! Happy to review :) Feel free to add me as reviewer/tag me
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960727963
##########
airflow/auth/managers/simple/services/simple_auth_manager_login.py:
##########
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
It is a bit long name let's keep login.py. Sending in a moment. My bad!
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960719547
##########
tests/auth/managers/simple/routes/test_login.py:
##########
@@ -0,0 +1,82 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from unittest.mock import patch
+
+import pytest
+
+from tests_common.test_utils.config import conf_vars
+
+TEST_USER_1 = "test1"
+TEST_ROLE_1 = "viewer"
+TEST_USER_2 = "test2"
+TEST_ROLE_2 = "admin"
+
+
+@pytest.mark.db_test
+class TestLogin:
Review Comment:
Make sense! Separated the service layer test and route test. Service one calls the service and route one using the `test_client`. I ended up with 4 tests though because mocking is a bit weird due to LoginResponse normally not returning HTTPException but raising them. It should be fine to have them separate
##########
airflow/auth/managers/simple/services/login.py:
##########
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from fastapi import HTTPException, status
+
+from airflow.api_fastapi.app import get_auth_manager
+from airflow.auth.managers.simple.datamodels.login import LoginBody, LoginResponse
+from airflow.auth.managers.simple.simple_auth_manager import SimpleAuthManager
+from airflow.auth.managers.simple.user import SimpleAuthManagerUser
+from airflow.configuration import conf
+from airflow.utils.jwt_signer import JWTSigner
+
+
+class Login:
Review Comment:
Renamed :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960674280
##########
airflow/auth/managers/simple/services/login.py:
##########
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from fastapi import HTTPException, status
+
+from airflow.api_fastapi.app import get_auth_manager
+from airflow.auth.managers.simple.datamodels.login import LoginBody, LoginResponse
+from airflow.auth.managers.simple.simple_auth_manager import SimpleAuthManager
+from airflow.auth.managers.simple.user import SimpleAuthManagerUser
+from airflow.configuration import conf
+from airflow.utils.jwt_signer import JWTSigner
+
+
+class Login:
Review Comment:
Should we rename it?
```suggestion
class SimpleAuthManagerLogin:
```
##########
tests/auth/managers/simple/routes/test_login.py:
##########
@@ -0,0 +1,82 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from unittest.mock import patch
+
+import pytest
+
+from tests_common.test_utils.config import conf_vars
+
+TEST_USER_1 = "test1"
+TEST_ROLE_1 = "viewer"
+TEST_USER_2 = "test2"
+TEST_ROLE_2 = "admin"
+
+
+@pytest.mark.db_test
+class TestLogin:
Review Comment:
Ideally, these tests should be in `test_login` in `services`. Because they test the business logic that is contained in `services/login` now. And then in here `router/test_login` we should have 2 tests, one per endpoint, that are mocking `Login`. These tests should just check that the value returned by `Login` is passed through the wire
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2667034578
> > > Could you please add unit tests?
> >
> >
> > For sure, I am going to add them. Sorry for double-checking!
> > I am going to work on the changes needed in FAB next for this integration. I might again need your review there :)
>
> For sure! Happy to review :) Feel free to add me as reviewer/tag me
Thanks a lot! I will do that :) I added unit tests and moved some parts to `conftest`.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2667061475
> Sorry I did not add comments as part of one review, they arrived in my mind after my first review :)
All welcome! Thanks! I'm going to check in a moment :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960668166
##########
tests/auth/managers/simple/routes/__init__.py:
##########
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
It should be `router` and not `routes`
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960672930
##########
tests/auth/managers/simple/routes/__init__.py:
##########
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
Should we say `router` or `routers`? Not sure we will have more controller layer in this context :thinking:
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck merged PR #46839:
URL: https://github.com/apache/airflow/pull/46839
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960726873
##########
airflow/auth/managers/simple/services/simple_auth_manager_login.py:
##########
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
I think we can keep the filename `login.py`. Or if you really want to rename it `simple_auth_manager_login`, please rename the test filename as well
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960731768
##########
airflow/auth/managers/simple/services/simple_auth_manager_login.py:
##########
@@ -0,0 +1,74 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
Adjusted the name of the file and removed additional object creation in the test since the only method is `classmethod` now.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960670591
##########
tests/auth/managers/simple/routes/__init__.py:
##########
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
I followed the same convention here even my mind ping me was that routers. I think all should be routers since we are creating a router in each router file :)
https://github.com/apache/airflow/tree/main/tests/api_fastapi/core_api/routes
https://github.com/apache/airflow/tree/main/tests/api_fastapi/execution_api/routes
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on code in PR #46839:
URL: https://github.com/apache/airflow/pull/46839#discussion_r1960675355
##########
tests/auth/managers/simple/routes/__init__.py:
##########
@@ -0,0 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one
Review Comment:
I am happy to rename it `routes`, but then we should be consistent and do the same in `src`. I just want to use the same name in `src` and `tests`
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] AIP-81 Include CLI Token Expiration Time API Configuration and Integrate New Config in SimpleAuthManager [airflow]
Posted by "vincbeck (via GitHub)" <gi...@apache.org>.
vincbeck commented on PR #46839:
URL: https://github.com/apache/airflow/pull/46839#issuecomment-2667057854
Sorry I did not add comments as part of one review, they arrived in my mind after my first review :)
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org