aamster opened a new issue, #29113:
URL: https://github.com/apache/airflow/issues/29113

   ### What do you see as an issue?
   
   The sqlite conn doc here 
https://airflow.apache.org/docs/apache-airflow-providers-sqlite/stable/operators.html
 is unclear.
   
   Sqlite does not use username, password, port, schema. These need to be 
removed from the docs. Furthermore, it is unclear how to construct a conn 
string for sqlite, since the docs for constructing a conn string here 
https://airflow.apache.org/docs/apache-airflow/stable/howto/connection.html 
assume that all these fields are given. 
   
   I am unable to construct a conn string for sqlite. I am trying
   
   ```
   import os
   from airflow.models.connection import Connection
   
   os.environ['AIRFLOW_CONN_MY_TEST_DB'] = '{"conn_type": "sqlite", "host": 
"/tmp/my_test.db"}'
   conn = Connection.get_connection_from_secrets('my_test_db')
   >> conn.host # prints the incorrect value of '', expecting '/tmp/my_test.db'
   ```
   
   
   ### Solving the problem
   
   Remove unused arguments for sqlite in connection, and make it clearer how to 
construct a connection to sqlite
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to