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

split topic endpoint parameter to endpoint and aggregation_type #600

Merged
merged 9 commits into from
Jul 11, 2023

Conversation

Gigaszi
Copy link
Contributor

@Gigaszi Gigaszi commented Jun 24, 2023

Description

Topic definitions now have one field for the used ohsome API endpoint and one field for the aggregation type.

New or changed dependencies

  • None

Checklist

  • I have updated my branch to main (e.g. through git rebase main)
  • My code follows the style guide and was checked with pre-commit before committing
  • I have updated the CHANGELOG.md

@@ -70,4 +70,75 @@ interactions:
- accept-encoding
http_version: HTTP/1.1
status_code: 200
- request:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why did this cassette change?

workers/ohsome_quality_analyst/topics/models.py Outdated Show resolved Hide resolved
workers/tests/unittests/test_topic.py Outdated Show resolved Hide resolved
@matthiasschaub
Copy link
Collaborator

Do not forget to update docs/topic.md

CHANGELOG.md Outdated
@@ -84,6 +84,7 @@
- refactor: move base classes to related modules ([#524])
- refactor: move topic-indicator-combinations to topic definition ([#528])
- tests(vcr): don't record local requests and change cassettes directory structure ([#579])
- split 'endpoint' parameter of topics to `endpoint` and `aggregation_type` ([#600])
Copy link
Collaborator

Choose a reason for hiding this comment

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

Add this to a new section # current main. A release happened since this PR.

@Gigaszi Gigaszi merged commit 5899a06 into main Jul 11, 2023
@Gigaszi Gigaszi deleted the aggregation_type branch July 11, 2023 12:11
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.

2 participants