Skip to content

Commit e5a2e95

Browse files
authored
Merge pull request #11 from docusign/DEVDOCS-3882
hides click API untill sdk fix is ready
2 parents be8380a + 85bc654 commit e5a2e95

File tree

5 files changed

+17
-19
lines changed

5 files changed

+17
-19
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ This example adds a standard real estate related form to a specific room in your
150150
[Source.](./app/rooms/examples/eg005_get_rooms_with_filters/controller.py)
151151
1. **Create an external form fillable session.**
152152
[Source.](./app/rooms/examples/eg006_create_external_form_fill_session/controller.py)
153-
153+
<!--
154154
## Click API
155155
156156
1. **Create a clickwrap.**
@@ -167,7 +167,7 @@ This example demonstrates how to use DocuSign Click to get a list of clickwraps
167167
[Source.](./app/click/examples/eg006_list_clickwraps/controller.py)
168168
1. **Get clickwrap responses.**
169169
This example demonstrates how to use DocuSign Click to get user responses to your clickwrap agreements.
170-
[Source.](./app/click/examples/eg007_clickwrap_responses/controller.py)
170+
[Source.](./app/click/examples/eg007_clickwrap_responses/controller.py) -->
171171

172172
## Included OAuth grant types:
173173

app/__init__.py

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
from .docusign.views import ds
99
from .ds_config import EXAMPLES_API_TYPE
1010
from .rooms import examples as rooms_examples
11-
from .click import examples as click_examples
11+
# from .click import examples as click_examples
1212
from .views import core
1313

1414
session_path = "/tmp/python_recipe_sessions"
1515

1616
if EXAMPLES_API_TYPE["Rooms"]:
1717
app = Flask(__name__, template_folder='rooms/templates')
18-
elif EXAMPLES_API_TYPE["Click"]:
19-
app = Flask(__name__, template_folder='click/templates')
18+
# elif EXAMPLES_API_TYPE["Click"]:
19+
# app = Flask(__name__, template_folder='click/templates')
2020
else:
2121
app = Flask(__name__)
2222
app.config.from_pyfile("config.py")
@@ -43,12 +43,12 @@
4343
app.register_blueprint(rooms_examples.eg004)
4444
app.register_blueprint(rooms_examples.eg005)
4545
app.register_blueprint(rooms_examples.eg006)
46-
elif EXAMPLES_API_TYPE["Click"]:
47-
app.register_blueprint(click_examples.eg001)
48-
app.register_blueprint(click_examples.eg002)
49-
app.register_blueprint(click_examples.eg003)
50-
app.register_blueprint(click_examples.eg004)
51-
app.register_blueprint(click_examples.eg005)
46+
# elif EXAMPLES_API_TYPE["Click"]:
47+
# app.register_blueprint(click_examples.eg001)
48+
# app.register_blueprint(click_examples.eg002)
49+
# app.register_blueprint(click_examples.eg003)
50+
# app.register_blueprint(click_examples.eg004)
51+
# app.register_blueprint(click_examples.eg005)
5252
else:
5353
app.register_blueprint(examples.eg001)
5454
app.register_blueprint(examples.eg002)

app/ds_config_sample.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"gateway_display_name": "Stripe",
3030
"github_example_url": "https://github.com/docusign/code-examples-python/tree/master/app/eSignature/examples/",
3131
"documentation": "", # Use an empty string to indicate no documentation path.
32-
"quickstart": "false"
32+
"quickstart": "{QUICSTART_VALUE}"
3333
}
3434

3535
DS_JWT = {
@@ -42,5 +42,4 @@
4242
EXAMPLES_API_TYPE = {
4343
"Rooms": False,
4444
"ESignature": True,
45-
"Click" : False
4645
}

app/views.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ def index():
1414
return render_template(
1515
"home_rooms.html", title="Home - Python Rooms API Code Examples"
1616
)
17-
elif EXAMPLES_API_TYPE["Click"]:
18-
return render_template(
19-
"home_click.html", title="Home - Python Click API Code Examples"
20-
)
17+
# elif EXAMPLES_API_TYPE["Click"]:
18+
# return render_template(
19+
# "home_click.html", title="Home - Python Click API Code Examples"
20+
# )
2121
if DS_CONFIG["quickstart"] == "true":
2222
return redirect(url_for("core.qshome"))
2323
else:

requirements.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ astroid==2.3.3
22
certifi==2019.9.11
33
cffi==1.14.3
44
chardet==3.0.4
5-
Click==7.0
5+
Click
66
cryptography==3.2.1
77
docusign-esign==3.6.0
88
docusign-rooms==1.0.0b1
9-
docusign-click==1.0.0b1
109
Flask==1.1.1
1110
Flask-OAuthlib
1211
flask-wtf==0.14.3

0 commit comments

Comments
 (0)