BuildForSDG / BuildForSDG/team-272-SMES-Server
Method could be a function
- Dominant language
- Python
- Stars
- 2
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
### [Codacy](https://app.codacy.com/gh/BuildForSDG/team-272-SMES-Server/commit?cid=469587798) detected an issue:
#### Message: `Method could be a function`
#### Occurred on:
+ **Commit**: b3ff0019795419a392647e530bc5f7651d3a0fd8
+ **File**: [sme/serializers.py](https://github.com/BuildForSDG/team-272-SMES-Server/blob/b3ff0019795419a392647e530bc5f7651d3a0fd8/sme/serializers.py)
+ **LineNum**: [13](https://github.com/BuildForSDG/team-272-SMES-Server/blob/b3ff0019795419a392647e530bc5f7651d3a0fd8/sme/serializers.py#L13)
+ **Code**: `def create(self, validated_data):`
#### Currently on:
+ **Commit**: 8f6fa99e6d0a77f76cbc85b03106c0442fe4d105
+ **File**: [sme/serializers.py](https://github.com/BuildForSDG/team-272-SMES-Server/blob/8f6fa99e6d0a77f76cbc85b03106c0442fe4d105/sme/serializers.py)
+ **LineNum**: [12](https://github.com/BuildForSDG/team-272-SMES-Server/blob/8f6fa99e6d0a77f76cbc85b03106c0442fe4d105/sme/serializers.py#L12)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in sme/serializers.py at the create(self, validated_data) method on the current commit and review the Codacy warning. Run the repository's available tests after the change; done means the warning is resolved without changing serializer behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100