-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from DrVeles/drveles-parser
Drveles parser testing pylint
- Loading branch information
Showing
13 changed files
with
79 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ name: Docker Compose Build and Test | |
on: | ||
push: | ||
branches: | ||
- vds_parse | ||
- all-testing | ||
|
||
jobs: | ||
build-redis: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
from parse_edu import * | ||
from parser_sender import * | ||
""" | ||
# Entery point to parse service | ||
## Parse and send data to DB API | ||
""" | ||
|
||
from parse_edu import login_and_parse_campus_map | ||
from parse_raw_from_html import convert_to_json | ||
from parser_sender import update_peers | ||
|
||
|
||
# отдельный поточек блин блинский пончик | ||
if __name__ == "__main__": | ||
temp_data = login_and_parse_campus_map() | ||
temp_json = convert_to_json(temp_data) | ||
update_peers(temp_json) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,10 @@ | ||
def time_test_parse(): | ||
start = time.time() | ||
login_and_parse_campus_map() | ||
print(f"parse take {time.time() - start} seconds") | ||
""" | ||
## Tests for parser service | ||
""" | ||
|
||
# import time | ||
|
||
# def time_test_parse(): | ||
# start = time.time() | ||
# login_and_parse_campus_map() | ||
# print(f"parse take {time.time() - start} seconds") |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.