Skip to content

Commit

Permalink
feat: remove start_date_gte from airflow request params
Browse files Browse the repository at this point in the history
  • Loading branch information
helen-m-lin committed Jul 1, 2024
1 parent ee3a316 commit cb8339c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/aind_data_transfer_service/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Module for data models used in application"""

from datetime import datetime, timedelta
from datetime import datetime
from typing import List, Optional

from pydantic import AwareDatetime, BaseModel, Field
Expand Down Expand Up @@ -37,9 +37,6 @@ class AirflowDagRunsRequestParameters(BaseModel):

limit: int = 25
offset: int = 0
start_date_gte: str = (datetime.utcnow() - timedelta(days=14)).strftime(
"%Y-%m-%dT%H:%M:%SZ"
)
order_by: str = "-start_date"

@classmethod
Expand Down

0 comments on commit cb8339c

Please sign in to comment.