Skip to content

Commit 6e90fe5

Browse files
refacored examples
1 parent 5970e1b commit 6e90fe5

170 files changed

Lines changed: 373 additions & 427 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
from flask_wtf.csrf import CSRFProtect
55

66
from .ds_config import DS_CONFIG
7-
from .eSignature import examples
7+
from .eSignature import views as examples
88
from .docusign.views import ds
99
from .api_type import EXAMPLES_API_TYPE
10-
from .rooms import examples as rooms_examples
11-
from .click import examples as click_examples
12-
from .monitor import examples as monitor_examples
13-
from .admin import examples as admin_examples
10+
from .rooms import views as rooms_examples
11+
from .click import views as click_examples
12+
from .monitor import views as monitor_examples
13+
from .admin import views as admin_examples
1414
from .views import core
1515

1616
session_path = "/tmp/python_recipe_sessions"

app/admin/examples/eg004_add_users_via_bulk_import/csv/uploaded_file.csv renamed to app/admin/examples/csv/uploaded_file.csv

File renamed without changes.

app/admin/examples/eg001_create_a_new_user/controller.py renamed to app/admin/examples/eg001_create_a_new_user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from app.ds_config import DS_CONFIG
88

99

10-
class Eg001Controller:
10+
class Eg001CreateNewUserController:
1111

1212
@staticmethod
1313
def get_args(request):

app/admin/examples/eg001_create_a_new_user/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/admin/examples/eg002_create_active_clm_esign_user/controller.py renamed to app/admin/examples/eg002_create_active_clm_esign_user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from ....ds_config import DS_CONFIG
55
from app.admin.utils import get_organization_id
66

7-
class Eg002Controller:
7+
class Eg002CreateActiveClmEsignUserController:
88
@staticmethod
99
def get_args():
1010
"""Get required session and request arguments"""

app/admin/examples/eg002_create_active_clm_esign_user/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/admin/examples/eg003_bulk_export_user_data/controller.py renamed to app/admin/examples/eg003_bulk_export_user_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from app.ds_config import DS_CONFIG
77

88

9-
class Eg003Controller:
9+
class Eg003BulkExportUserDataController:
1010

1111
@classmethod
1212
def worker(cls):

app/admin/examples/eg003_bulk_export_user_data/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/admin/examples/eg004_add_users_via_bulk_import/controller.py renamed to app/admin/examples/eg004_add_users_via_bulk_import.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from app.ds_config import DS_CONFIG
88

99

10-
class Eg004Controller:
10+
class Eg004AddUsersViaBulkImportController:
1111

1212
@staticmethod
1313
def worker(self, request):

app/admin/examples/eg004_add_users_via_bulk_import/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)