Updates is_wildfire column name to "label"

Open
#501 1 comment 1 reaction 0 assignees View on GitHub

Maintainers usually reply within 7 days

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
fastapi, postgresql, python
Domain
api, backend, databases

Research direction

Search the repository for every reference to the is_wildfire column and review how the schema and API expose it. Rename the column to label consistently, account for any database migration or compatibility impact, and verify that relevant tests and API behavior still pass.

Written by the indexing model from the issue text.

Description

endpoint: sequences module: models

Thanks to #497 the is_wildfire column is more explicit allowing finer labelisation.

However, from now on, the name of the column is ambiguous. Indeed, the name is_wildfire makes one think of a boolean which is not anymore.

Would the name "label" more convenient ?
What do you think ?

Happy to discuss it !

Dominant language
Python
Stars
31
Forks
15
Avg merge
7d 18h
Merged PRs (30d)
17

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pyronear/pyro-api

All issues in pyronear/pyro-api

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.