Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bharatraut/devops_exercise
/ functions
Functions
40 in github.com/bharatraut/devops_exercise
⨍
Functions
40
◇
Types & classes
6
↳
Endpoints
8
↓ 4 callers
Function
get_question_list
(file_list: List[bytes])
scripts/question_utils.py:18
↓ 3 callers
Function
get_answered_questions
Dont let the type hint confuse you, problem of not using classes. It takes the result of get_question_list(file_list) Returns a list of qu
scripts/question_utils.py:42
↓ 3 callers
Function
open_test_case_file
(n: int)
tests/syntax_checker_unittest.py:12
↓ 3 callers
Function
pretty_json
(arg)
topics/flask_container_ci/app/main.py:49
↓ 2 callers
Function
get_challenges_count
()
scripts/question_utils.py:66
↓ 2 callers
Function
open_test_case_file
(n: int)
tests/scripts_question_utils_unittest.py:7
↓ 1 callers
Function
binary_search
A Binary Search Example which has O(log n) time complexity.
coding/python/binary_search.py:7
↓ 1 callers
Function
check_details_tag
Check whether the structure: <details> ... </details> Is correctly followed, if not generates an error.
tests/syntax_lint.py:60
↓ 1 callers
Function
check_summary_tag
Check whether the structure: <summary> ... </summary> Is correctly followed, if not generates an error.
tests/syntax_lint.py:97
↓ 1 callers
Function
get_file_list
()
scripts/question_utils.py:12
↓ 1 callers
Function
main
Reads through README.md for question/answer pairs and adds them to a list to randomly select from and quiz yourself. Supports skipping quesito
scripts/random_question.py:5
↓ 1 callers
Function
pretty_json
(arg)
topics/flask_container_ci2/app/main.py:47
Function
all_users
()
topics/flask_container_ci/app/main.py:32
Function
column
(matrix, column_number)
topics/flask_container_ci2/app/main.py:36
Function
count_details
Counts the total amount of <details> and </details> Used for debugging purpose, not meant to be used in actual tests
tests/syntax_lint.py:24
Function
count_summary
Counts the total amount of <details> and </details> Used for debugging purpose, not meant to be used in actual tests
tests/syntax_lint.py:42
Function
create_test_app
()
topics/flask_container_ci/app/main.py:55
Function
get_random_question
(question_list: List[List[bytes]], with_answer=False)
scripts/question_utils.py:72
Function
index
()
topics/flask_container_ci2/app/main.py:17
Function
index
()
topics/flask_container_ci/app/main.py:21
Function
matrix
(matrix)
topics/flask_container_ci2/app/main.py:30
Function
row
(matrix, row_number)
topics/flask_container_ci2/app/main.py:42
Method
setUp
(self)
topics/flask_container_ci2/tests.py:11
Method
setUp
(self)
topics/flask_container_ci2/app/tests.py:14
Method
setUp
(self)
topics/flask_container_ci/tests.py:11
Method
setUp
(self)
topics/flask_container_ci/app/tests.py:14
Method
tearDown
(self)
topics/flask_container_ci2/app/tests.py:22
Method
tearDown
(self)
topics/flask_container_ci/app/tests.py:22
Method
test_case_1
(self)
tests/scripts_question_utils_unittest.py:17
Method
test_case_2
(self)
tests/scripts_question_utils_unittest.py:25
Method
test_details_count_case1
(self)
tests/syntax_checker_unittest.py:27
Method
test_details_count_case2
(self)
tests/syntax_checker_unittest.py:30
Method
test_details_errors_1
(self)
tests/syntax_checker_unittest.py:33
Method
test_details_errors_2
(self)
tests/syntax_checker_unittest.py:37
Method
test_main_page
(self)
topics/flask_container_ci2/tests.py:14
Method
test_main_page
(self)
topics/flask_container_ci/tests.py:14
Method
test_matrix
(self)
topics/flask_container_ci2/tests.py:18
Method
test_users_page
(self)
topics/flask_container_ci/tests.py:18
Function
user_data
(username)
topics/flask_container_ci/app/main.py:37
Function
user_something
(username)
topics/flask_container_ci/app/main.py:45