Skip to content

Product API has been added - #6

Open
prem1409 wants to merge 4 commits into
mainfrom
product_api
Open

Product API has been added#6
prem1409 wants to merge 4 commits into
mainfrom
product_api

Conversation

@prem1409

Copy link
Copy Markdown
Collaborator

I have added APIs for the following operations:

  1. Get all products
  2. Get information related to a particular product
  3. Create a new product
  4. Delete an existing product
  5. Update an exisiting product

@pep8speaks

pep8speaks commented Sep 11, 2021

Copy link
Copy Markdown

Hello @prem1409! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 14:43: E231 missing whitespace after ','
Line 29:19: E225 missing whitespace around operator
Line 34:39: E231 missing whitespace after ','
Line 34:61: E231 missing whitespace after ','
Line 37:1: E302 expected 2 blank lines, found 1
Line 38:31: E231 missing whitespace after ':'
Line 40:41: E231 missing whitespace after ','
Line 40:69: E203 whitespace before ':'
Line 41:42: E231 missing whitespace after ':'
Line 45:1: E303 too many blank lines (3)
Line 46:1: E302 expected 2 blank lines, found 3
Line 47:38: E231 missing whitespace after ':'
Line 47:42: E252 missing whitespace around parameter equals
Line 47:53: E231 missing whitespace after ','
Line 47:65: E231 missing whitespace after ':'
Line 47:69: E252 missing whitespace around parameter equals
Line 47:80: E501 line too long (80 > 79 characters)
Line 48:29: E128 continuation line under-indented for visual indent
Line 48:64: E202 whitespace before ')'
Line 49:16: E225 missing whitespace around operator
Line 51:17: E225 missing whitespace around operator
Line 54:27: E225 missing whitespace around operator
Line 55:17: E128 continuation line under-indented for visual indent
Line 55:24: E251 unexpected spaces around keyword / parameter equals
Line 55:43: E231 missing whitespace after ','
Line 55:77: E202 whitespace before ')'
Line 56:79: E225 missing whitespace around operator
Line 57:17: E128 continuation line under-indented for visual indent
Line 60:38: E231 missing whitespace after ':'
Line 60:42: E231 missing whitespace after ','
Line 60:59: E231 missing whitespace after ':'
Line 63:38: E231 missing whitespace after ':'
Line 63:42: E231 missing whitespace after ','
Line 63:59: E231 missing whitespace after ':'
Line 66:38: E231 missing whitespace after ':'
Line 66:42: E231 missing whitespace after ','
Line 66:59: E231 missing whitespace after ':'
Line 66:80: E501 line too long (99 > 79 characters)
Line 68:80: E501 line too long (81 > 79 characters)
Line 69:13: E128 continuation line under-indented for visual indent
Line 70:17: E225 missing whitespace around operator
Line 71:31: E231 missing whitespace after ':'
Line 72:30: E231 missing whitespace after ':'
Line 73:29: E231 missing whitespace after ':'
Line 77:80: E501 line too long (95 > 79 characters)
Line 78:70: E231 missing whitespace after ','
Line 79:34: E231 missing whitespace after ':'
Line 79:38: E231 missing whitespace after ','
Line 79:55: E231 missing whitespace after ':'
Line 79:80: E501 line too long (84 > 79 characters)
Line 81:34: E231 missing whitespace after ':'
Line 81:38: E231 missing whitespace after ','
Line 81:55: E231 missing whitespace after ':'
Line 81:80: E501 line too long (95 > 79 characters)
Line 84:30: E231 missing whitespace after ':'
Line 84:34: E231 missing whitespace after ','
Line 84:51: E231 missing whitespace after ':'
Line 84:80: E501 line too long (91 > 79 characters)
Line 87:1: E302 expected 2 blank lines, found 1
Line 105:1: E303 too many blank lines (3)
Line 106:1: E302 expected 2 blank lines, found 3
Line 108:41: E231 missing whitespace after ','
Line 108:65: E203 whitespace before ':'
Line 108:74: E231 missing whitespace after ':'
Line 108:80: E501 line too long (88 > 79 characters)
Line 109:42: E231 missing whitespace after ':'
Line 112:1: E302 expected 2 blank lines, found 1
Line 113:36: E231 missing whitespace after ':'
Line 113:40: E231 missing whitespace after ','
Line 113:52: E231 missing whitespace after ':'
Line 114:25: E128 continuation line under-indented for visual indent
Line 115:25: E128 continuation line under-indented for visual indent
Line 115:32: E231 missing whitespace after ':'
Line 115:36: E252 missing whitespace around parameter equals
Line 115:47: E231 missing whitespace after ','
Line 115:59: E231 missing whitespace after ':'
Line 115:63: E252 missing whitespace around parameter equals
Line 117:45: E231 missing whitespace after ','
Line 117:69: E203 whitespace before ':'
Line 117:78: E231 missing whitespace after ':'
Line 117:80: E501 line too long (92 > 79 characters)
Line 118:16: E225 missing whitespace around operator
Line 120:61: E225 missing whitespace around operator
Line 121:25: E128 continuation line under-indented for visual indent
Line 121:47: E231 missing whitespace after ','
Line 123:21: E225 missing whitespace around operator
Line 123:69: E231 missing whitespace after ','
Line 125:20: E225 missing whitespace around operator
Line 127:27: E225 missing whitespace around operator
Line 128:17: E128 continuation line under-indented for visual indent
Line 128:24: E251 unexpected spaces around keyword / parameter equals
Line 128:43: E231 missing whitespace after ','
Line 129:59: E225 missing whitespace around operator
Line 130:33: E127 continuation line over-indented for visual indent
Line 130:80: E501 line too long (84 > 79 characters)
Line 131:52: E231 missing whitespace after ','
Line 132:13: E128 continuation line under-indented for visual indent
Line 132:24: E231 missing whitespace after ':'
Line 132:40: E231 missing whitespace after ':'
Line 132:48: E231 missing whitespace after ','
Line 132:62: E231 missing whitespace after ':'
Line 132:74: E231 missing whitespace after ','
Line 132:80: E501 line too long (97 > 79 characters)
Line 132:87: E231 missing whitespace after ':'
Line 133:34: E231 missing whitespace after ':'
Line 133:38: E231 missing whitespace after ','
Line 133:55: E231 missing whitespace after ':'
Line 133:80: E501 line too long (82 > 79 characters)
Line 135:34: E231 missing whitespace after ':'
Line 135:38: E231 missing whitespace after ','
Line 135:55: E231 missing whitespace after ':'
Line 135:80: E501 line too long (97 > 79 characters)
Line 138:30: E231 missing whitespace after ':'
Line 138:34: E231 missing whitespace after ','
Line 138:51: E231 missing whitespace after ':'
Line 138:80: E501 line too long (93 > 79 characters)
Line 140:1: E302 expected 2 blank lines, found 0
Line 143:45: E231 missing whitespace after ','
Line 143:69: E203 whitespace before ':'
Line 143:78: E231 missing whitespace after ':'
Line 143:80: E501 line too long (92 > 79 characters)
Line 144:16: E225 missing whitespace around operator
Line 145:16: E225 missing whitespace around operator
Line 145:78: E231 missing whitespace after ','
Line 145:80: E501 line too long (99 > 79 characters)
Line 146:51: E231 missing whitespace after ','
Line 146:80: E501 line too long (90 > 79 characters)
Line 148:21: E225 missing whitespace around operator
Line 148:69: E231 missing whitespace after ','
Line 150:52: E231 missing whitespace after ','
Line 150:76: E203 whitespace before ':'
Line 150:80: E501 line too long (99 > 79 characters)
Line 150:85: E231 missing whitespace after ':'
Line 151:34: E231 missing whitespace after ':'
Line 151:38: E231 missing whitespace after ','
Line 151:55: E231 missing whitespace after ':'
Line 151:80: E501 line too long (82 > 79 characters)
Line 153:34: E231 missing whitespace after ':'
Line 153:38: E231 missing whitespace after ','
Line 153:55: E231 missing whitespace after ':'
Line 153:80: E501 line too long (97 > 79 characters)
Line 156:30: E231 missing whitespace after ':'
Line 156:34: E231 missing whitespace after ','
Line 156:51: E231 missing whitespace after ':'
Line 156:80: E501 line too long (93 > 79 characters)
Line 159:1: E302 expected 2 blank lines, found 1

Line 10:1: E302 expected 2 blank lines, found 0
Line 12:64: E231 missing whitespace after ','
Line 20:24: E225 missing whitespace around operator
Line 41:42: E128 continuation line under-indented for visual indent
Line 47:80: E501 line too long (98 > 79 characters)
Line 47:85: E201 whitespace after '('
Line 49:5: E301 expected 1 blank line, found 0
Line 49:32: E231 missing whitespace after ','
Line 49:44: E231 missing whitespace after ','
Line 58:55: E231 missing whitespace after ','

Comment last updated at 2021-09-11 13:25:48 UTC

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