Mohammadaminrmz commented on issue #32844:
URL: https://github.com/apache/airflow/issues/32844#issuecomment-2561865524
Modifying airflow/providers/oracle/hooks/oracle.py and adding following
lines to `OracleHook` class under `get_conn` method at `#Set up DSN` section
worked for me:
```
expire_time = conn.extra_dejson.get("expire_time")
self.log.info("Expire Time is set: %s", expire_time)
if expire_time:
conn_config["expire_time"] = expire_time
```
and also in airflow connection, add expire time of your choice (based on
network configuration)
in Extra field as a Json key-value:
`{ "expire_time": "15"}`
--
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]