Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding polygons_filter #146

Merged
merged 6 commits into from
Oct 23, 2024
Merged

Adding polygons_filter #146

merged 6 commits into from
Oct 23, 2024

Conversation

arnasbr
Copy link
Contributor

@arnasbr arnasbr commented Oct 22, 2024

No description provided.

@arnasbr arnasbr self-assigned this Oct 22, 2024
@@ -76,7 +78,6 @@ class TimeMapRequest(TravelTimeRequest[TimeMapResponse]):
arrival_searches: List[ArrivalSearch]
unions: List[Union]
intersections: List[Intersection]
snapping: Optional[Snapping] = None
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a useless snapping param, has no references. Normal snapping params are on the ArrivalSearch and DepartureSearch classes, I think I added this one by accident

Comment on lines -141 to +143
arrival_time_period="weekday_morning", # TODO: make customizable with enum / literal
arrival_time_period="weekday_morning",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added these comments in a previous PR, but I didn't notice, that "weekday_morning" is the only possible period, according to docs. Removing the TODOs

@arnasbr arnasbr linked an issue Oct 22, 2024 that may be closed by this pull request
@arnasbr arnasbr changed the title Adding polygon_filter Adding polygons_filter Oct 22, 2024
@arnasbr arnasbr marked this pull request as ready for review October 22, 2024 08:37
@arnasbr arnasbr merged commit 4003e5e into master Oct 23, 2024
5 checks passed
@arnasbr arnasbr deleted the add-missing-params branch October 23, 2024 07:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Polygons filter
2 participants