Обновить dags/OSV.py

This commit is contained in:
bn_user 2025-09-01 13:15:26 +00:00
parent b3b8419d96
commit 63017b86c0
1 changed files with 4 additions and 2 deletions

View File

@ -51,8 +51,10 @@ def read_data_1C(**kwargs):
) )
data_from_1c = response.json() data_from_1c = response.json()
# df = pd.DataFrame(data_from_1c['data']) df = pd.DataFrame()
return data_from_1c['data'] for data in data_from_1c['data']:
df.loc[len(df)] = data
return df
with DAG( with DAG(
dag_id='data_download_from_1C_source', dag_id='data_download_from_1C_source',