Skip to content

Commit

Permalink
Updated formatting of warning in insert_rows
Browse files Browse the repository at this point in the history
Updated the formatting of warning to increase readability.
  • Loading branch information
RichieSK committed May 4, 2024
1 parent 518a08a commit f34fb6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion airflow/providers/oracle/hooks/oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,11 @@ def insert_rows(
:param replace: Does not do anything.
"""
if replace:
warnings.warn("Using 'replace=True' does not implement any replace functionality currently.", category=UserWarning, stacklevel=2)
warnings.warn(
"Using 'replace=True' does not implement any replace functionality currently.",
category=UserWarning,
stacklevel=2
)
try:
import numpy as np
except ImportError:
Expand Down

0 comments on commit f34fb6b

Please sign in to comment.