Skip to content

__init__.py#11

Open
sunpriya wants to merge 1 commit intocsspec:masterfrom
sunpriya:patch-6
Open

__init__.py#11
sunpriya wants to merge 1 commit intocsspec:masterfrom
sunpriya:patch-6

Conversation

@sunpriya
Copy link

@sunpriya sunpriya commented Nov 5, 2016

No description provided.

Copy link
Contributor

@akshayarora2009 akshayarora2009 left a comment

Choose a reason for hiding this comment

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

  1. Please make sure you commit all files in a single commit, and raise ONE pull-request for different files of related task.
  2. As of now, communication service should have one endpoint - a POST which can send an email. I do not see any such endpoint here.

from flask import Flask,jsonify,request,make_response
import constants as constants
from exception import CSSException
app=Flask(__name__)
Copy link
Contributor

Choose a reason for hiding this comment

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

Not enough spacing given between lines (as per PEP 8 guidelines). If you are using PyCharm, violations should be underlined automatically.

from exception import CSSException
app=Flask(__name__)
@app.route(constants.API_PATH_PREFIX + constants.API_PATH_EMAIL,methods=['GET'])
def get_email_id():
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't get the point of this function, why is this endpoint needed? GET email? Why?

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