LaunchCodeEducation / LaunchCodeEducation/flicklist-flask

unused variable names in schema definition

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
8
Forks
89
PR merge metrics
No merged PRs in 30d

Description

e.g. in this:

class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)
    email = db.Column(db.String(120), unique=True)
    password = db.Column(db.String(120))
    salt = db.Column(db:String(SALT_SIZE))

the variables id, email, password, and salt go unused and should be removed.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by locating the User schema definition shown in the issue and inspect how its fields are used by the application. Verify whether the names are referenced elsewhere before making the requested cleanup, then check that the schema still behaves as intended after the unused names are removed.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, sqlalchemy
Domain
backend, database
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.