kubatyszko commented on pull request #10256:
URL: https://github.com/apache/airflow/pull/10256#issuecomment-671153598


   Yeah, I just concluded the same:
   
   ```
   >>> c = Connection(uri='https://server.com:443/foo/bar')
   >>> print(c.schema)
   foo/bar
   >>> print(c.conn_type)
   https
   >>> print(c.get_uri())
   https://server.com:443/foo%2Fbar
   
   
   root@41009fd10af0:/opt/airflow# airflow connections get http_default
   [2020-08-10 04:06:27,818] {base_hook.py:68} INFO - Using connection to: id: 
http_default. Host: https://www.httpbin.org/, Port: None, Schema: None, Login: 
None, Password: None, extra: None
   Conn ID: http_default
   Conn Type: http
   Extra: {}
   Host: https://www.httpbin.org/
   Is Encrypted: false
   Is Extra Encrypted: false
   Port: null
   URI: http://https%3A%2F%2Fwww.httpbin.org%2F
   
   root@41009fd10af0:/opt/airflow#
   ```
   
   Even though I can make it work this way, it's extremely unintuitive, and 
does not match ANY URI representation to my knowledge, I checked. URI would be 
basically exactly the same as URL.
   
   Thanks
   


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to