Patrick Cando
f3e87c5030
Add D202 pydocstyle check ( #11032 )
2020-09-22 16:17:24 +01:00
Patrick Cando
b61225a885
Add D204 pydocstyle check ( #11031 )
2020-09-21 11:45:06 +01:00
Jarek Potiuk
8a7c37281c
Untangle cyclic deps configuration <> secrets ( #10559 )
2020-08-26 16:38:57 +02:00
Kaxil Naik
d760265452
PyDocStyle: No whitespaces allowed surrounding docstring text ( #10533 )
2020-08-25 09:50:21 +01:00
Kaxil Naik
2bb40ef996
Add __init__ method to Variable class ( #9470 )
2020-06-22 09:33:11 +02:00
QP Hou
36f462719f
fix typing error for utils.dates.date_range usage ( #9429 )
...
* fix typing error for utils.dates.date_range usage
* fix type annotation in timezone util
2020-06-21 16:10:34 +02:00
Kaxil Naik
a87575fe34
Make airflow/models/variable.py Pylint compatible ( #9422 )
2020-06-20 02:48:35 +01:00
QP Hou
e2b219823b
implement API v1 for variables ( #9273 )
...
* implement api v1 for variables
* add test for limit parameter default value
* change offset behavior
* address review feedback
* addressed more review feedbacks
* return total item count in db for total_entries field
2020-06-18 05:30:47 +02:00
Kaxil Naik
2503857904
Allow setting Airflow Variable values to empty string ('') ( #8021 )
2020-03-31 18:12:17 +01:00
Kaxil Naik
1bdd5ff657
Get Airflow Connection from Environment Variables ( #7923 )
2020-03-28 10:56:44 +00:00
Kamil Breguła
97a429f9d0
[AIRFLOW-6714] Remove magic comments about UTF-8 ( #7338 )
2020-02-02 22:18:19 +01:00
Kamil Breguła
cf141506a2
[AIRFLOW-6708] Set unique logger names ( #7330 )
2020-02-02 20:48:03 +01:00
Tomek Urbaszek
d2cbf92290
[AIRFLOW-6382] Extract provide/create session to session module ( #6938 )
...
Extracting provide_session and create_session to separate module
reduces number of cyclic imports and make a disctinction between
session and database
2019-12-28 20:31:07 +01:00
Robert Young
5483ae4992
[AIRFLOW-5463] Use same session to delete and add variable in set ( #6807 )
...
Why:
* In our system we had a postgres connection error during Variable.set
resulting in the variable being deleted. The intention of this change is
that an error should leave the variable unchanged.
2019-12-13 14:35:21 +00:00
Kamil Breguła
31db280fef
[AIRFLOW-5614] Enable Fernet by default ( #6282 )
2019-10-09 13:18:51 +01:00
Kevin Yang
d719e1fd67
[AIRFLOW-5362] Reorder imports ( #5944 )
2019-10-02 16:30:03 +01:00
Elliott Shugerman
54e07d5508
[AIRFLOW-4929] Pretty print JSON Variables in UI ( #5573 )
...
- serialize JSON variables with newlines and indentation
- use monospace font family for `val` textarea
- set height of `val` textarea dynamically
2019-07-16 10:34:50 +01:00
Bas Harenslak
7fee0c49da
[AIRFLOW-4721] Remove all builtin imports ( #5357 )
2019-06-02 18:00:52 +02:00
Bas Harenslak
05c06b0f66
[AIRFLOW-4205] Replace type comments by native Python typing ( #5327 )
...
We supported typing in Python 2 with mypy & type comments. Now that
we're dropping Python 2 support, we can switch to native Python types.
We support Python 3.5 which doesn't include variable type annotations
yet, so only function arguments and return values are typed.
2019-05-25 20:58:13 +02:00
BasPH
6970b23396
[AIRFLOW-4259] Move models out of models.py ( #5056 )
2019-04-09 14:08:34 +02:00