hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
2fdb8a801f883511ee62680970710ce9701df5e7
96
py
Python
venv/lib/python3.8/site-packages/pip/_internal/build_env.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/pip/_internal/build_env.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
venv/lib/python3.8/site-packages/pip/_internal/build_env.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/da/11/6d/6c4a0ee2f0341717a137f7b6a1767fdc4ded02f2a99d599cf2c3988efd
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.385417
0
96
1
96
96
0.510417
0
0
0
0
0
0
0
0
1
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
5
2fe610911018fd511ba6e049898cd2afa60d8962
39
py
Python
ethronsoft/gcspypi/exceptions/script_errors.py
JuergenSimon/gcspypi
80ac843e6702161915db45949c470d749aaabfda
[ "BSD-2-Clause" ]
8
2018-01-06T21:11:36.000Z
2021-07-25T13:19:30.000Z
ethronsoft/gcspypi/exceptions/script_errors.py
JuergenSimon/gcspypi
80ac843e6702161915db45949c470d749aaabfda
[ "BSD-2-Clause" ]
8
2017-05-24T17:14:07.000Z
2021-03-12T22:58:49.000Z
ethronsoft/gcspypi/exceptions/script_errors.py
JuergenSimon/gcspypi
80ac843e6702161915db45949c470d749aaabfda
[ "BSD-2-Clause" ]
7
2018-01-06T21:11:42.000Z
2020-12-06T17:43:53.000Z
class ScriptError(Exception): pass
13
29
0.74359
4
39
7.25
1
0
0
0
0
0
0
0
0
0
0
0
0.179487
39
2
30
19.5
0.90625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
64333be99a210ad27ea24e522d3c0bb8512103b3
17,021
py
Python
homeschool/courses/tests/test_views.py
sabrisay/homeschool
a48cbb8483627e7f74af518397f591fb73abe709
[ "MIT" ]
null
null
null
homeschool/courses/tests/test_views.py
sabrisay/homeschool
a48cbb8483627e7f74af518397f591fb73abe709
[ "MIT" ]
null
null
null
homeschool/courses/tests/test_views.py
sabrisay/homeschool
a48cbb8483627e7f74af518397f591fb73abe709
[ "MIT" ]
null
null
null
import datetime from homeschool.courses.models import Course, CourseTask, GradedWork from homeschool.courses.tests.factories import ( CourseFactory, CourseTaskFactory, GradedWorkFactory, ) from homeschool.schools.tests.factories import GradeLevelFactory, SchoolYearFactory from homeschool.test import TestCase class TestCourseCreateView(TestCase): def test_unauthenticated_access(self): self.assertLoginRequired("courses:create") def test_get(self): user = self.make_user() SchoolYearFactory(school__admin=user) with self.login(user): self.get_check_200("courses:create") assert self.get_context("create") def test_school_year_uuid(self): """A school year is fetched from the querystring.""" user = self.make_user() today = user.get_local_today() # Use dates in the past so the school year won't be a "current" school year. school_year = SchoolYearFactory( school__admin=user, start_date=today - datetime.timedelta(days=365), end_date=today - datetime.timedelta(days=1), ) with self.login(user): self.get_check_200( "courses:create", data={"school_year": str(school_year.uuid)} ) form = self.get_context("form") assert form.school_year == school_year def test_school_year_only_user_school_years(self): """A school year from the querystring can only be a user's school years.""" user = self.make_user() user_school_year = SchoolYearFactory(school__admin=user) school_year = SchoolYearFactory() with self.login(user): self.get_check_200( "courses:create", data={"school_year": str(school_year.uuid)} ) form = self.get_context("form") assert form.school_year == user_school_year def test_school_year_from_user(self): """A school year is fetched from the user if not provided on the querystring.""" user = self.make_user() school_year = SchoolYearFactory(school__admin=user) with self.login(user): self.get_check_200("courses:create") form = self.get_context("form") assert form.school_year == school_year def test_school_year_uuid_bogus(self): """A malformed school year uuid in the querystring is ignored.""" user = self.make_user() school_year = SchoolYearFactory(school__admin=user) with self.login(user): self.get_check_200("courses:create", data={"school_year": "bogus"}) form = self.get_context("form") assert form.school_year == school_year def test_no_school_year(self): """When no school year is provided, the user is redirected to the list page.""" user = self.make_user() with self.login(user): response = self.get("courses:create") self.response_302(response) assert self.reverse("schools:school_year_list") in response.get("Location") def test_has_grade_level(self): """A grade level put in the querystring is available as context.""" user = self.make_user() grade_level = GradeLevelFactory(school_year__school__admin=user) with self.login(user): self.get_check_200( "courses:create", data={"grade_level": str(grade_level.uuid)} ) assert self.get_context("grade_level") == grade_level def test_not_other_grade_level(self): """A different user's grade level cannot be in the context.""" user = self.make_user() SchoolYearFactory(school__admin=user) grade_level = GradeLevelFactory() with self.login(user): self.get_check_200( "courses:create", data={"grade_level": str(grade_level.uuid)} ) assert self.get_context("grade_level") is None def test_bogus_grade_level(self): """A bogus grade level is ignored and not in the context""" user = self.make_user() SchoolYearFactory(school__admin=user) with self.login(user): self.get_check_200("courses:create", data={"grade_level": "bogus"}) assert self.get_context("grade_level") is None def test_post(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) data = { "name": "Course name", "wednesday": "on", "friday": "on", "grade_levels": str(grade_level.id), } with self.login(user): response = self.post("courses:create", data=data) course = Course.objects.get(grade_levels=grade_level.id) assert course.name == "Course name" assert course.days_of_week == Course.WEDNESDAY + Course.FRIDAY self.response_302(response) assert self.reverse("courses:detail", uuid=course.uuid) in response.get( "Location" ) class TestCourseDetailView(TestCase): def test_unauthenticated_access(self): course = CourseFactory() self.assertLoginRequired("courses:detail", uuid=course.uuid) def test_get(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) with self.login(user): self.get_check_200("courses:detail", uuid=course.uuid) assert self.get_context("school_year") == grade_level.school_year def test_grade_level_name_with_task(self): """Any grade level specific task has the grade level's name next to it.""" user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) CourseTaskFactory(course=course, grade_level=grade_level) with self.login(user): self.get("courses:detail", uuid=course.uuid) self.assertResponseContains(grade_level.name) class TestCourseEditView(TestCase): def test_unauthenticated_access(self): course = CourseFactory() self.assertLoginRequired("courses:edit", uuid=course.uuid) def test_get(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) with self.login(user): self.get_check_200("courses:edit", uuid=course.uuid) def test_post(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) data = { "name": "New course name", "wednesday": "on", "friday": "on", "grade_levels": str(grade_level.id), } with self.login(user): self.post("courses:edit", uuid=course.uuid, data=data) course.refresh_from_db() assert course.name == "New course name" assert course.days_of_week == Course.WEDNESDAY + Course.FRIDAY class TestCourseTaskCreateView(TestCase): def test_unauthenticated_access(self): course = CourseFactory() self.assertLoginRequired("courses:task_create", uuid=course.uuid) def test_get(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) with self.login(user): self.get_check_200("courses:task_create", uuid=course.uuid) def test_post(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) data = {"course": str(course.id), "description": "A new task", "duration": "30"} with self.login(user): response = self.post("courses:task_create", uuid=course.uuid, data=data) assert CourseTask.objects.count() == 1 task = CourseTask.objects.get(course=course) assert task.description == data["description"] assert task.duration == int(data["duration"]) self.response_302(response) assert response.get("Location") == self.reverse( "courses:detail", uuid=course.uuid ) assert not hasattr(task, "graded_work") def test_has_create(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) with self.login(user): self.get("courses:task_create", uuid=course.uuid) self.assertContext("create", True) def test_redirect_next(self): next_url = "/another/location/" user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) data = { "course": str(course.id), "description": "new description", "duration": 15, } url = self.reverse("courses:task_create", uuid=course.uuid) url += f"?next={next_url}" with self.login(user): response = self.post(url, data=data) self.response_302(response) assert next_url in response.get("Location") def test_has_course(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) with self.login(user): self.get("courses:task_create", uuid=course.uuid) self.assertContext("course", course) def test_after_task(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) data = {"course": str(course.id), "description": "A new task", "duration": "30"} task_1 = CourseTaskFactory(course=course) task_2 = CourseTaskFactory(course=course) url = self.reverse("courses:task_create", uuid=course.uuid) url += f"?previous_task={task_1.uuid}" with self.login(user): self.post(url, data=data) task_3 = CourseTask.objects.get(description="A new task") assert list(CourseTask.objects.all()) == [task_1, task_3, task_2] def test_is_graded(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) data = { "course": str(course.id), "description": "A new task", "duration": "30", "is_graded": "on", } with self.login(user): self.post("courses:task_create", uuid=course.uuid, data=data) assert CourseTask.objects.count() == 1 task = CourseTask.objects.get(course=course) assert task.graded_work is not None class TestCourseTaskUpdateView(TestCase): def test_unauthenticated_access(self): task = CourseTaskFactory() self.assertLoginRequired("courses:task_edit", uuid=task.uuid) def test_get(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory(course=course) with self.login(user): self.get_check_200("courses:task_edit", uuid=task.uuid) def test_get_other_user(self): user = self.make_user() task = CourseTaskFactory() with self.login(user): response = self.get("courses:task_edit", uuid=task.uuid) self.response_404(response) def test_post(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory( description="some description", duration=30, course=course ) data = { "course": str(task.course.id), "description": "new description", "duration": 15, } with self.login(user): response = self.post("courses:task_edit", uuid=task.uuid, data=data) task.refresh_from_db() assert task.description == data["description"] assert task.duration == data["duration"] self.response_302(response) def test_has_course(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory(course=course) with self.login(user): self.get("courses:task_edit", uuid=task.uuid) self.assertContext("course", task.course) def test_redirect_next(self): next_url = "/another/location/" user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory(course=course) data = { "course": str(task.course.id), "description": "new description", "duration": 15, } url = self.reverse("courses:task_edit", uuid=task.uuid) url += f"?next={next_url}" with self.login(user): response = self.post(url, data=data) self.response_302(response) assert next_url in response.get("Location") def test_is_graded(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory( description="some description", duration=30, course=course ) data = { "course": str(task.course.id), "description": "new description", "duration": 15, "is_graded": "on", } with self.login(user): self.post("courses:task_edit", uuid=task.uuid, data=data) task.refresh_from_db() assert task.graded_work is not None def test_keep_graded(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory( description="some description", duration=30, course=course ) GradedWorkFactory(course_task=task) data = { "course": str(task.course.id), "description": "new description", "duration": 15, "is_graded": "on", } with self.login(user): self.post("courses:task_edit", uuid=task.uuid, data=data) task.refresh_from_db() assert task.graded_work is not None assert GradedWork.objects.count() == 1 def test_remove_graded(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory( description="some description", duration=30, course=course ) GradedWorkFactory(course_task=task) data = { "course": str(task.course.id), "description": "new description", "duration": 15, } with self.login(user): self.post("courses:task_edit", uuid=task.uuid, data=data) task.refresh_from_db() assert not hasattr(task, "graded_work") class TestCourseTaskDeleteView(TestCase): def test_unauthenticated_access(self): course = CourseFactory() task = CourseTaskFactory(course=course) self.assertLoginRequired( "courses:task_delete", uuid=course.uuid, task_uuid=task.uuid ) def test_post(self): user = self.make_user() grade_level = GradeLevelFactory(school_year__school=user.school) course = CourseFactory(grade_levels=[grade_level]) task = CourseTaskFactory(course=course) with self.login(user): response = self.post( "courses:task_delete", uuid=course.uuid, task_uuid=task.uuid ) assert CourseTask.objects.count() == 0 self.response_302(response) assert response.get("Location") == self.reverse( "courses:detail", uuid=course.uuid ) def test_post_other_user(self): user = self.make_user() course = CourseFactory() task = CourseTaskFactory(course=course) with self.login(user): response = self.get( "courses:task_delete", uuid=course.uuid, task_uuid=task.uuid ) self.response_404(response)
34.879098
88
0.63263
1,941
17,021
5.340031
0.076765
0.063676
0.03589
0.047853
0.816884
0.800772
0.761216
0.728509
0.699469
0.677858
0
0.008227
0.257329
17,021
487
89
34.950719
0.811724
0.037777
0
0.687166
0
0
0.098212
0.003184
0
0
0
0
0.114973
1
0.09893
false
0
0.013369
0
0.128342
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
64392a893cd704a41238d6cbf2630cb0a05f38bf
104
py
Python
helpdesk/search/admin.py
pritesh-ranjan/Help-Desk-Search-Engine
ca988574a2d41c4c965d7596d6cc58f300faff5e
[ "MIT" ]
1
2021-07-28T16:18:11.000Z
2021-07-28T16:18:11.000Z
helpdesk/search/admin.py
pritesh-ranjan/Help-Desk-Search-Engine
ca988574a2d41c4c965d7596d6cc58f300faff5e
[ "MIT" ]
null
null
null
helpdesk/search/admin.py
pritesh-ranjan/Help-Desk-Search-Engine
ca988574a2d41c4c965d7596d6cc58f300faff5e
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import HelpdeskModel admin.site.register(HelpdeskModel)
17.333333
34
0.836538
13
104
6.692308
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.105769
104
5
35
20.8
0.935484
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
643fedea7134da5649a1339e99a36a85f76bf1fa
22,213
py
Python
parsePoemDirectory.py
thornewolf/PoemGenerator
21cbd86a71334c0cba1443970566c6883739b681
[ "MIT" ]
null
null
null
parsePoemDirectory.py
thornewolf/PoemGenerator
21cbd86a71334c0cba1443970566c6883739b681
[ "MIT" ]
null
null
null
parsePoemDirectory.py
thornewolf/PoemGenerator
21cbd86a71334c0cba1443970566c6883739b681
[ "MIT" ]
null
null
null
import os import collections import random def concat_dir_poems(inDirectory): ''' This function takes an input directory and returns the concated string containing every text file in the entire directory The line !='style' is because in each poem type there should be a description detailing the style each poem has so future generation will know what to do. ''' _returnString='' fileList=[f for f in os.listdir(inDirectory) if f!='style' and f!='.DS_Store'] for eachFile in fileList: #print('opening',eachFile) with open(inDirectory+'/'+eachFile) as f: fileContents=f.read() _returnString+=fileContents+'\n' return _returnString def gen_freq_dict(stringArg): ''' This takes an input string an makes a dictionary to show what words follow each unique word. Also generates a list of words that are found ad the start of a line/sentence. ''' stringArg=stringArg.replace('\n','. ') _returnDict={'START':[],'END':[]} listOfWords=stringArg.split() for eachIndex in range(len(listOfWords)-1): key=listOfWords[eachIndex] #This is the word that will have a list assigned to it. key=key.replace(',','') key=key.replace('-','') value=listOfWords[eachIndex+1].replace('.','') #The first word that follows the word in interest. if eachIndex>0: if listOfWords[eachIndex-1][-1] in '.!?': if key!='.': _returnDict['START'].append(key.strip(".:;?!’'").replace(u"\u2018", "'").replace(u"\u2019", "'")) if key[-1] not in '.!?': if key not in _returnDict: #If this word has not occured so far in the data analysis. listOfWords[eachIndex]='word' ? _returnDict[key.strip(".:;?!'’")]=[value.strip(".:;?!'’")] else: #TODO #This will add to the list value that coresponds to the dictionary key in the event that the key already exists _returnDict[key].append(value.replace(u"\u2018", "'").replace(u"\u2019", "'")) return _returnDict #Testing Code test_string=''' Call me Ishmael. Some years ago- never mind how long precisely- having little or no money in my purse, and nothing particular to interest me on shore, I thought I would sail about a little and see the watery part of the world. It is a way I have of driving off the spleen and regulating the circulation. Whenever I find myself growing grim about the mouth; whenever it is a damp, drizzly November in my soul; whenever I find myself involuntarily pausing before coffin warehouses, and bringing up the rear of every funeral I meet; and especially whenever my hypos get such an upper hand of me, that it requires a strong moral principle to prevent me from deliberately stepping into the street, and methodically knocking people's hats off- then, I account it high time to get to sea as soon as I can. This is my substitute for pistol and ball. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. There is nothing surprising in this. If they but knew it, almost all men in their degree, some time or other, cherish very nearly the same feelings towards the ocean with me. There now is your insular city of the Manhattoes, belted round by wharves as Indian isles by coral reefs- commerce surrounds it with her surf. Right and left, the streets take you waterward. Its extreme downtown is the battery, where that noble mole is washed by waves, and cooled by breezes, which a few hours previous were out of sight of land. Look at the crowds of water-gazers there. Circumambulate the city of a dreamy Sabbath afternoon. Go from Corlears Hook to Coenties Slip, and from thence, by Whitehall, northward. What do you see?- Posted like silent sentinels all around the town, stand thousands upon thousands of mortal men fixed in ocean reveries. Some leaning against the spiles; some seated upon the pier-heads; some looking over the bulwarks of ships from China; some high aloft in the rigging, as if striving to get a still better seaward peep. But these are all landsmen; of week days pent up in lath and plaster- tied to counters, nailed to benches, clinched to desks. How then is this? Are the green fields gone? What do they here? But look! here come more crowds, pacing straight for the water, and seemingly bound for a dive. Strange! Nothing will content them but the extremest limit of the land; loitering under the shady lee of yonder warehouses will not suffice. No. They must get just as nigh the water as they possibly can without falling And there they stand- miles of them- leagues. Inlanders all, they come from lanes and alleys, streets avenues- north, east, south, and west. Yet here they all unite. Tell me, does the magnetic virtue of the needles of the compasses of all those ships attract them thither? Once more. Say you are in the country; in some high land of lakes. Take almost any path you please, and ten to one it carries you down in a dale, and leaves you there by a pool in the stream. There is magic in it. Let the most absent-minded of men be plunged in his deepest reveries- stand that man on his legs, set his feet a-going, and he will infallibly lead you to water, if water there be in all that region. Should you ever be athirst in the great American desert, try this experiment, if your caravan happen to be supplied with a metaphysical professor. Yes, as every one knows, meditation and water are wedded for ever. But here is an artist. He desires to paint you the dreamiest, shadiest, quietest, most enchanting bit of romantic landscape in all the valley of the Saco. What is the chief element he employs? There stand his trees, each with a hollow trunk, as if a hermit and a crucifix were within; and here sleeps his meadow, and there sleep his cattle; and up from yonder cottage goes a sleepy smoke. Deep into distant woodlands winds a mazy way, reaching to overlapping spurs of mountains bathed in their hill-side blue. But though the picture lies thus tranced, and though this pine-tree shakes down its sighs like leaves upon this shepherd's head, yet all were vain, unless the shepherd's eye were fixed upon the magic stream before him. Go visit the Prairies in June, when for scores on scores of miles you wade knee-deep among Tiger-lilies- what is the one charm wanting?- Water- there is not a drop of water there! Were Niagara but a cataract of sand, would you travel your thousand miles to see it? Why did the poor poet of Tennessee, upon suddenly receiving two handfuls of silver, deliberate whether to buy him a coat, which he sadly needed, or invest his money in a pedestrian trip to Rockaway Beach? Why is almost every robust healthy boy with a robust healthy soul in him, at some time or other crazy to go to sea? Why upon your first voyage as a passenger, did you yourself feel such a mystical vibration, when first told that you and your ship were now out of sight of land? Why did the old Persians hold the sea holy? Why did the Greeks give it a separate deity, and own brother of Jove? Surely all this is not without meaning. And still deeper the meaning of that story of Narcissus, who because he could not grasp the tormenting, mild image he saw in the fountain, plunged into it and was drowned. But that same image, we ourselves see in all rivers and oceans. It is the image of the ungraspable phantom of life; and this is the key to it all. Now, when I say that I am in the habit of going to sea whenever I begin to grow hazy about the eyes, and begin to be over conscious of my lungs, I do not mean to have it inferred that I ever go to sea as a passenger. For to go as a passenger you must needs have a purse, and a purse is but a rag unless you have something in it. Besides, passengers get sea-sick- grow quarrelsome- don't sleep of nights- do not enjoy themselves much, as a general thing;- no, I never go as a passenger; nor, though I am something of a salt, do I ever go to sea as a Commodore, or a Captain, or a Cook. I abandon the glory and distinction of such offices to those who like them. For my part, I abominate all honorable respectable toils, trials, and tribulations of every kind whatsoever. It is quite as much as I can do to take care of myself, without taking care of ships, barques, brigs, schooners, and what not. And as for going as cook,- though I confess there is considerable glory in that, a cook being a sort of officer on ship-board- yet, somehow, I never fancied broiling fowls;- though once broiled, judiciously buttered, and judgmatically salted and peppered, there is no one who will speak more respectfully, not to say reverentially, of a broiled fowl than I will. It is out of the idolatrous dotings of the old Egyptians upon broiled ibis and roasted river horse, that you see the mummies of those creatures in their huge bakehouses the pyramids. No, when I go to sea, I go as a simple sailor, right before the mast, plumb down into the fore-castle, aloft there to the royal mast-head. True, they rather order me about some, and make me jump from spar to spar, like a grasshopper in a May meadow. And at first, this sort of thing is unpleasant enough. It touches one's sense of honor, particularly if you come of an old established family in the land, the Van Rensselaers, or Randolphs, or Hardicanutes. And more than all, if just previous to putting your hand into the tar-pot, you have been lording it as a country schoolmaster, making the tallest boys stand in awe of you. The transition is a keen one, I assure you, from a schoolmaster to a sailor, and requires a strong decoction of Seneca and the Stoics to enable you to grin and bear it. But even this wears off in time. What of it, if some old hunks of a sea-captain orders me to get a broom and sweep down the decks? What does that indignity amount to, weighed, I mean, in the scales of the New Testament? Do you think the archangel Gabriel thinks anything the less of me, because I promptly and respectfully obey that old hunks in that particular instance? Who ain't a slave? Tell me that. Well, then, however the old sea-captains may order me about- however they may thump and punch me about, I have the satisfaction of knowing that it is all right; that everybody else is one way or other served in much the same way- either in a physical or metaphysical point of view, that is; and so the universal thump is passed round, and all hands should rub each other's shoulder-blades, and be content. Again, I always go to sea as a sailor, because they make a point of paying me for my trouble, whereas they never pay passengers a single penny that I ever heard of. On the contrary, passengers themselves must pay. And there is all the difference in the world between paying and being paid. The act of paying is perhaps the most uncomfortable infliction that the two orchard thieves entailed upon us. But being paid,- what will compare with it? The urbane activity with which a man receives money is really marvellous, considering that we so earnestly believe money to be the root of all earthly ills, and that on no account can a monied man enter heaven. Ah! how cheerfully we consign ourselves to perdition! Finally, I always go to sea as a sailor, because of the wholesome exercise and pure air of the fore-castle deck. For as in this world, head winds are far more prevalent than winds from astern (that is, if you never violate the Pythagorean maxim), so for the most part the Commodore on the quarter-deck gets his atmosphere at second hand from the sailors on the forecastle. He thinks he breathes it first; but not so. In much the same way do the commonalty lead their leaders in many other things, at the same time that the leaders little suspect it. But wherefore it was that after having repeatedly smelt the sea as a merchant sailor, I should now take it into my head to go on a whaling voyage; this the invisible police officer of the Fates, who has the constant surveillance of me, and secretly dogs me, and influences me in some unaccountable way- he can better answer than any one else. And, doubtless, my going on this whaling voyage, formed part of the grand programme of Providence that was drawn up a long time ago. It came in as a sort of brief interlude and solo between more extensive performances. I take it that this part of the bill must have run something like this: "Grand Contested Election for the Presidency of the United States. "WHALING VOYAGE BY ONE ISHMAEL." "BLOODY BATTLE IN AFFGHANISTAN." Though I cannot tell why it was exactly that those stage managers, the Fates, put me down for this shabby part of a whaling voyage, when others were set down for magnificent parts in high tragedies, and short and easy parts in genteel comedies, and jolly parts in farces- though I cannot tell why this was exactly; yet, now that I recall all the circumstances, I think I can see a little into the springs and motives which being cunningly presented to me under various disguises, induced me to set about performing the part I did, besides cajoling me into the delusion that it was a choice resulting from my own unbiased freewill and discriminating judgment. Chief among these motives was the overwhelming idea of the great whale himself. Such a portentous and mysterious monster roused all my curiosity. Then the wild and distant seas where he rolled his island bulk; the undeliverable, nameless perils of the whale; these, with all the attending marvels of a thousand Patagonian sights and sounds, helped to sway me to my wish. With other men, perhaps, such things would not have been inducements; but as for me, I am tormented with an everlasting itch for things remote. I love to sail forbidden seas, and land on barbarous coasts. Not ignoring what is good, I am quick to perceive a horror, and could still be social with it- would they let me- since it is but well to be on friendly terms with all the inmates of the place one lodges in. By reason of these things, then, the whaling voyage was welcome; the great flood-gates of the wonder-world swung open, and in the wild conceits that swayed me to my purpose, two and two there floated into my inmost soul, endless processions of the whale, and, mid most of them all, one grand hooded phantom, like a snow hill in the air. I stuffed a shirt or two into my old carpet-bag, tucked it under my arm, and started for Cape Horn and the Pacific. Quitting the good city of old Manhatto, I duly arrived in New Bedford. It was a Saturday night in December. Much was I disappointed upon learning that the little packet for Nantucket had already sailed, and that no way of reaching that place would offer, till the following Monday. As most young candidates for the pains and penalties of whaling stop at this same New Bedford, thence to embark on their voyage, it may as well be related that I, for one, had no idea of so doing. For my mind was made up to sail in no other than a Nantucket craft, because there was a fine, boisterous something about everything connected with that famous old island, which amazingly pleased me. Besides though New Bedford has of late been gradually monopolizing the business of whaling, and though in this matter poor old Nantucket is now much behind her, yet Nantucket was her great original- the Tyre of this Carthage;- the place where the first dead American whale was stranded. Where else but from Nantucket did those aboriginal whalemen, the Red-Men, first sally out in canoes to give chase to the Leviathan? And where but from Nantucket, too, did that first adventurous little sloop put forth, partly laden with imported cobblestones- so goes the story- to throw at the whales, in order to discover when they were nigh enough to risk a harpoon from the bowsprit? Now having a night, a day, and still another night following before me in New Bedford, ere could embark for my destined port, it became a matter of concernment where I was to eat and sleep meanwhile. It was a very dubious-looking, nay, a very dark and dismal night, bitingly cold and cheerless. I knew no one in the place. With anxious grapnels I had sounded my pocket, and only brought up a few pieces of silver,- So, wherever you go, Ishmael, said I to myself, as I stood in the middle of a dreary street shouldering my bag, and comparing the towards the north with the darkness towards the south- wherever in your wisdom you may conclude to lodge for the night, my dear Ishmael, be sure to inquire the price, and don't be too particular. With halting steps I paced the streets, and passed the sign of "The Crossed Harpoons"- but it looked too expensive and jolly there. Further on, from the bright red windows of the "Sword-Fish Inn," there came such fervent rays, that it seemed to have melted the packed snow and ice from before the house, for everywhere else the congealed frost lay ten inches thick in a hard, asphaltic pavement,- rather weary for me, when I struck my foot against the flinty projections, because from hard, remorseless service the soles of my boots were in a most miserable plight. Too expensive and jolly, again thought I, pausing one moment to watch the broad glare in the street, and hear the sounds of the tinkling glasses within. But go on, Ishmael, said I at last; don't you hear? get away from before the door; your patched boots are stopping the way. So on I went. I now by instinct followed the streets that took me waterward, for there, doubtless, were the cheapest, if not the cheeriest inns. Such dreary streets! blocks of blackness, not houses, on either hand, and here and there a candle, like a candle moving about in a tomb. At this hour of the night, of the last day of the week, that quarter of the town proved all but deserted. But presently I came to a smoky light proceeding from a low, wide building, the door of which stood invitingly open. It had a careless look, as if it were meant for the uses of the public; so, entering, the first thing I did was to stumble over an ash-box in the porch. Ha! thought I, ha, as the flying particles almost choked me, are these ashes from that destroyed city, Gomorrah? But "The Crossed Harpoons," and the "The Sword-Fish?"- this, then must needs be the sign of "The Trap." However, I picked myself up and hearing a loud voice within, pushed on and opened a second, interior door. It seemed the great Black Parliament sitting in Tophet. A hundred black faces turned round in their rows to peer; and beyond, a black Angel of Doom was beating a book in a pulpit. It was a negro church; and the preacher's text was about the blackness of darkness, and the weeping and wailing and teeth-gnashing there. Ha, Ishmael, muttered I, backing out, Wretched entertainment at the sign of 'The Trap!' Moving on, I at last came to a dim sort of light not far from the docks, and heard a forlorn creaking in the air; and looking up, saw a swinging sign over the door with a white painting upon it, faintly representing tall straight jet of misty spray, and these words underneath- "The Spouter Inn:- Peter Coffin." Coffin?- Spouter?- Rather ominous in that particular connexion, thought I. But it is a common name in Nantucket, they say, and I suppose this Peter here is an emigrant from there. As the light looked so dim, and the place, for the time, looked quiet enough, and the dilapidated little wooden house itself looked as if it might have been carted here from the ruins of some burnt district, and as the swinging sign had a poverty-stricken sort of creak to it, I thought that here was the very spot for cheap lodgings, and the best of pea coffee. It was a queer sort of place- a gable-ended old house, one side palsied as it were, and leaning over sadly. It stood on a sharp bleak corner, where that tempestuous wind Euroclydon kept up a worse howling than ever it did about poor Paul's tossed craft. Euroclydon, nevertheless, is a mighty pleasant zephyr to any one in-doors, with his feet on the hob quietly toasting for bed. "In of that tempestuous wind called Euroclydon," says an old writer- of whose works I possess the only copy extant- "it maketh a marvellous difference, whether thou lookest out at it from a glass window where the frost is all on the outside, or whether thou observest it from that sashless window, where the frost is on both sides, and of which the wight Death is the only glazier." True enough, thought I, as this passage occurred to my mind- old black-letter, thou reasonest well. Yes, these eyes are windows, and this body of mine is the house. What a pity they didn't stop up the chinks and the crannies though, and thrust in a little lint here and there. But it's too late to make any improvements now. The universe is finished; the copestone is on, and the chips were carted off a million years ago. Poor Lazarus there, chattering his teeth against the curbstone for his pillow, and shaking off his tatters with his shiverings, he might plug up both ears with rags, and put a corn-cob into his mouth, and yet that would not keep out the tempestuous Euroclydon. Euroclydon! says old Dives, in his red silken wrapper- (he had a redder one afterwards) pooh, pooh! What a fine frosty night; how Orion glitters; what northern lights! Let them talk of their oriental summer climes of everlasting conservatories; give me the privilege of making my own summer with my own coals. But what thinks Lazarus? Can he warm his blue hands by holding them up to the grand northern lights? Would not Lazarus rather be in Sumatra than here? Would he not far rather lay him down lengthwise along the line of the equator; yea, ye gods! go down to the fiery pit itself, in order to keep out this frost? Now, that Lazarus should lie stranded there on the curbstone before the door of Dives, this is more wonderful than that an iceberg should be moored to one of the Moluccas. Yet Dives himself, he too lives like a Czar in an ice palace made of frozen sighs, and being a president of a temperance society, he only drinks the tepid tears of orphans. But no more of this blubbering now, we are going a-whaling, and there is plenty of that yet to come. Let us scrape the ice from our frosted feet, and see what sort of a place this "Spouter" may be. ''' ''' myDict=gen_freq_dict(test_string) for key in sorted(list(myDict.keys())): print(key,random.sample(myDict[key],1),len(myDict[key])) print(myDict['START']) '''
193.156522
1,949
0.777923
3,994
22,213
4.321983
0.338758
0.009559
0.002433
0.002086
0.018538
0.008226
0.005214
0.003476
0.003476
0
0
0.001262
0.179399
22,213
114
1,950
194.850877
0.945743
0.035745
0
0
0
0.457627
0.952282
0
0
0
0
0.008772
0
1
0.033898
false
0.118644
0.067797
0
0.135593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
5
ff429ecf57f8dbaa5149c5bae649521ac77e819a
383
py
Python
coop_cms/apps/coop_bootstrap/forms.py
ljean/coop_cms
531f65ceb9ad82c113597d15b764dbcf51264794
[ "BSD-3-Clause" ]
3
2016-01-29T10:55:09.000Z
2022-03-08T16:02:12.000Z
coop_cms/apps/coop_bootstrap/forms.py
ljean/coop_cms
531f65ceb9ad82c113597d15b764dbcf51264794
[ "BSD-3-Clause" ]
11
2015-03-07T17:30:24.000Z
2016-07-13T09:40:43.000Z
coop_cms/apps/coop_bootstrap/forms.py
ljean/coop_cms
531f65ceb9ad82c113597d15b764dbcf51264794
[ "BSD-3-Clause" ]
5
2018-08-30T09:03:22.000Z
2019-09-10T13:01:56.000Z
# -*- coding: utf-8 -*- """ Default CMS application : It define a simple Article """ from coop_cms.bs_forms import Form, ModelForm # Just for compatibility class BootstrapForm(Form): # pylint: disable=R0901 """Deprecated: Just for compatibility""" pass class BootstrapModelForm(ModelForm): # pylint: disable=R0901 """Deprecated: Just for compatibility""" pass
21.277778
61
0.704961
44
383
6.090909
0.659091
0.078358
0.223881
0.208955
0.38806
0.38806
0.38806
0.38806
0
0
0
0.028571
0.177546
383
17
62
22.529412
0.822222
0.553525
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
5
ff6f303918f6bd03a24ae6f534e5169cb65d16ba
211
py
Python
sample/stop_after_delay.py
engineer-taro/tenacity_sample
812dcde5401153dd25076d67cfdbde7d92067dce
[ "MIT" ]
null
null
null
sample/stop_after_delay.py
engineer-taro/tenacity_sample
812dcde5401153dd25076d67cfdbde7d92067dce
[ "MIT" ]
null
null
null
sample/stop_after_delay.py
engineer-taro/tenacity_sample
812dcde5401153dd25076d67cfdbde7d92067dce
[ "MIT" ]
null
null
null
from tenacity import retry, stop_after_delay @retry(stop=stop_after_delay(10)) def stop_after_delay_test(): print('retry') raise Exception stop_after_delay_test() """ retry retry ~~~~~ 10秒後に止まる """
11.722222
44
0.725118
29
211
4.931034
0.482759
0.251748
0.391608
0.251748
0
0
0
0
0
0
0
0.022222
0.146919
211
17
45
12.411765
0.772222
0
0
0
0
0
0.028249
0
0
0
0
0
0
1
0.166667
true
0
0.166667
0
0.333333
0.166667
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ff7620e491586b785160ed2e8065340c982efa8a
245
py
Python
lino_book/projects/float2decimal/lib/float2decimal/models.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
3
2016-08-25T05:58:09.000Z
2019-12-05T11:13:45.000Z
lino_book/projects/float2decimal/lib/float2decimal/models.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
18
2016-11-12T21:38:58.000Z
2019-12-03T17:54:38.000Z
lino_book/projects/float2decimal/lib/float2decimal/models.py
lino-framework/lino_book
4eab916832cd8f48ff1b9fc8c2789f0b437da0f8
[ "BSD-2-Clause" ]
9
2016-10-15T11:12:33.000Z
2021-09-22T04:37:37.000Z
from django.db import models class A(models.Model): price = models.DecimalField(max_digits=10, decimal_places=2) qty = models.DecimalField(max_digits=5, decimal_places=2) def total(self): return self.price * self.qty
22.272727
64
0.702041
35
245
4.8
0.628571
0.214286
0.25
0.321429
0
0
0
0
0
0
0
0.025381
0.195918
245
10
65
24.5
0.827411
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
5
ff7dd4e0ab721529fe5bbc711dd0fb3ed20b2915
44
py
Python
src/__init__.py
xibalbas/signal_backtester
8eaa52ecad22419b29b0e0e34eaadfea83f4e4b9
[ "MIT" ]
14
2022-03-04T20:23:45.000Z
2022-03-30T11:04:40.000Z
src/__init__.py
xibalbas/signal_backtester
8eaa52ecad22419b29b0e0e34eaadfea83f4e4b9
[ "MIT" ]
null
null
null
src/__init__.py
xibalbas/signal_backtester
8eaa52ecad22419b29b0e0e34eaadfea83f4e4b9
[ "MIT" ]
2
2022-03-05T10:18:19.000Z
2022-03-06T12:51:49.000Z
"""src src Package more description """
8.8
20
0.636364
5
44
5.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.227273
44
4
21
11
0.823529
0.818182
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ff9cb65346a7bbd4264bb058a838fd5ef88467aa
154
py
Python
src/infi/nose_plugins/html/__init__.py
Infinidat/infi.nose_plugins
02835c5fa24e1464caaae0087ab070689850c341
[ "BSD-3-Clause" ]
null
null
null
src/infi/nose_plugins/html/__init__.py
Infinidat/infi.nose_plugins
02835c5fa24e1464caaae0087ab070689850c341
[ "BSD-3-Clause" ]
null
null
null
src/infi/nose_plugins/html/__init__.py
Infinidat/infi.nose_plugins
02835c5fa24e1464caaae0087ab070689850c341
[ "BSD-3-Clause" ]
null
null
null
__import__("pkg_resources").declare_namespace(__name__) # This is temp __init__ so that nose won't get an exception for lxml missing (html is not in use)
51.333333
97
0.792208
26
154
4.153846
0.961538
0
0
0
0
0
0
0
0
0
0
0
0.136364
154
3
97
51.333333
0.81203
0.616883
0
0
0
0
0.224138
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
440643bd60e5426f6225d3513aacddcafead250f
424
py
Python
Python/dbpy/employee.py
Catamondium/scratch
c67dc76e11a66fc5cf0fe142f161791223ca6861
[ "Unlicense" ]
null
null
null
Python/dbpy/employee.py
Catamondium/scratch
c67dc76e11a66fc5cf0fe142f161791223ca6861
[ "Unlicense" ]
null
null
null
Python/dbpy/employee.py
Catamondium/scratch
c67dc76e11a66fc5cf0fe142f161791223ca6861
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 class Employee: def __init__(self, first, last, pay): self.first = first self.last = last self.pay = pay @property def email(self): return f"{self.first}.{self.last}@email.com" @property def fullname(self): return f"{self.first} {self.last}" def __repr__(self): return f"Employee('{self.first}', '{self.last}', '{self.pay}')"
23.555556
71
0.57783
55
424
4.309091
0.345455
0.189873
0.219409
0.21519
0.236287
0.236287
0.236287
0
0
0
0
0.003185
0.259434
424
17
72
24.941176
0.751592
0.049528
0
0.153846
0
0
0.276119
0.144279
0
0
0
0
0
1
0.307692
false
0
0
0.230769
0.615385
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
44262410145b0a8564aa500b391ed1f8ce905689
356
py
Python
Sample/Doudizhu/Server/src/ZyGames.Doudizhu.HostServer/PyScript/Logic/roomLogic.py
wenhulove333/ScutServer
338a50ff577c0e2ef2276a2883a8bfe28517c79b
[ "MIT" ]
2
2017-05-27T13:32:28.000Z
2019-05-28T15:11:33.000Z
Sample/Doudizhu/Server/src/ZyGames.Doudizhu.HostServer/PyScript/Logic/roomLogic.py
Jesse1205/Scut
3df3adbcd0588fa2657ff110380210236ae45dae
[ "Unlicense" ]
null
null
null
Sample/Doudizhu/Server/src/ZyGames.Doudizhu.HostServer/PyScript/Logic/roomLogic.py
Jesse1205/Scut
3df3adbcd0588fa2657ff110380210236ae45dae
[ "Unlicense" ]
4
2016-08-27T05:26:16.000Z
2019-12-27T07:07:09.000Z
import clr, sys clr.AddReference('ZyGames.Framework') clr.AddReference('ZyGames.Framework.Game') clr.AddReference('ZyGames.Doudizhu.Model') from ZyGames.Doudizhu.Model import * from ZyGames.Framework.Cache.Generic import * from ZyGames.Framework.Game.Cache import * class RoomLogic(): """斗地主房间逻辑""" def getRoomInfo(): return []
29.666667
46
0.72191
41
356
6.292683
0.463415
0.248062
0.255814
0.24031
0
0
0
0
0
0
0
0
0.146067
356
12
47
29.666667
0.845395
0
0
0
0
0
0.183735
0.13253
0
0
0
0
0
0
null
null
0
0.4
null
null
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
5
44535ae877be61dc011392fe08a8cb2721d2e2b4
147,292
py
Python
tests/test_aws_resolver.py
reprah/gimme-aws-creds
265d28bda174f5d60c30efa8a83f8651e519b8fc
[ "Apache-2.0" ]
1
2021-04-10T13:49:48.000Z
2021-04-10T13:49:48.000Z
tests/test_aws_resolver.py
reprah/gimme-aws-creds
265d28bda174f5d60c30efa8a83f8651e519b8fc
[ "Apache-2.0" ]
1
2020-05-06T14:28:02.000Z
2020-05-06T14:28:02.000Z
tests/test_aws_resolver.py
elzayat/gimme-aws-creds
839f5041e9099c030c40ad54a92e4873f659e129
[ "Apache-2.0" ]
1
2020-05-08T18:59:20.000Z
2020-05-08T18:59:20.000Z
"""Unit tests for gimme_aws_creds""" import sys import unittest from contextlib import contextmanager from io import StringIO import requests import responses from nose.tools import assert_equals import gimme_aws_creds.common as commondef from gimme_aws_creds.aws import AwsResolver class TestAwsResolver(unittest.TestCase): """Class to test Okta Client Class. Mock is used to mock external calls""" @contextmanager def captured_output(self): """Capture StdErr and StdOut""" new_out, new_err = StringIO(), StringIO() old_out, old_err = sys.stdout, sys.stderr try: sys.stdout, sys.stderr = new_out, new_err yield sys.stdout, sys.stderr finally: sys.stdout, sys.stderr = old_out, old_err def setUp(self): """Set up for the unit tests""" self.resolver = self.setUp_client(False) self.aws_signinpage = """ <!DOCTYPE html> <html> <head> <title>Amazon Web Services Sign-In</title> <meta name="viewport" content="width=device-width" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> /*! jQuery v1.7.2 jquery.com | jquery.org/license */ (function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1; }function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display"); d.remove(); if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck); if(!cl||!ck.createElement){cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close(); }d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck); }cj[a]=e; }return cj[a]; }function ct(a,b){var c={}; f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a; }); return c; }function cs(){cq=b; }function cr(){setTimeout(cs,0); return cq=f.now(); }function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP"); }catch(b){}}function ch(){try{return new a.XMLHttpRequest; }catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType)); var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p; for(g=1; g<i; g++){if(g===1){for(h in a.converters){typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]); }}l=k,k=d[g]; if(k==="*"){k=l; }else{if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k]; if(!n){p=b; for(o in e){j=o.split(" "); if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k]; if(p){o=e[o],o===!0?n=p:p===!0&&(n=o); break; }}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c))); }}}return c; }function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k; for(i in g){i in d&&(c[g[i]]=d[i]); }while(f[0]==="*"){f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type")); }if(h){for(i in e){if(e[i]&&e[i].test(h)){f.unshift(i); break; }}}if(f[0] in d){j=f[0]; }else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i; break; }k||(k=i); }j=j||k; }if(j){j!==f[0]&&f.unshift(j); return d[j]; }}function b_(a,b,c,d){if(f.isArray(b)){f.each(b,function(b,e){c||bD.test(a)?d(a,e):b_(a+"["+(typeof e=="object"?b:"")+"]",e,c,d); }); }else{if(!c&&f.type(b)==="object"){for(var e in b){b_(a+"["+e+"]",b[e],c,d); }}else{d(a,b); }}}function b$(a,c){var d,e,g=f.ajaxSettings.flatOptions||{}; for(d in c){c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]); }e&&f.extend(!0,a,e); }function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0; var h=a[f],i=0,j=h?h.length:0,k=a===bS,l; for(; i<j&&(k||!l); i++){l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bZ(a,c,d,e,l,g))); }(k||!l)&&!g["*"]&&(l=bZ(a,c,d,e,"*",g)); return l; }function bY(a){return function(b,c){typeof b!="string"&&(c=b,b="*"); if(f.isFunction(c)){var d=b.toLowerCase().split(bO),e=0,g=d.length,h,i,j; for(; e<g; e++){h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c); }}}; }function bB(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?1:0,g=4; if(d>0){if(c!=="border"){for(; e<g; e+=2){c||(d-=parseFloat(f.css(a,"padding"+bx[e]))||0),c==="margin"?d+=parseFloat(f.css(a,c+bx[e]))||0:d-=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0; }}return d+"px"; }d=by(a,b); if(d<0||d==null){d=a.style[b]; }if(bt.test(d)){return d; }d=parseFloat(d)||0; if(c){for(; e<g; e+=2){d+=parseFloat(f.css(a,"padding"+bx[e]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+bx[e]))||0); }}return d+"px"; }function bo(a){var b=c.createElement("div"); bh.appendChild(b),b.innerHTML=a.outerHTML; return b.firstChild; }function bn(a){var b=(a.nodeName||"").toLowerCase(); b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm); }function bm(a){if(a.type==="checkbox"||a.type==="radio"){a.defaultChecked=a.checked; }}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]; }function bk(a,b){var c; b.nodeType===1&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?b.outerHTML=a.outerHTML:c!=="input"||a.type!=="checkbox"&&a.type!=="radio"?c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text):(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)),b.removeAttribute(f.expando),b.removeAttribute("_submit_attached"),b.removeAttribute("_change_attached")); }function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events; if(i){delete h.handle,h.events={}; for(c in i){for(d=0,e=i[c].length; d<e; d++){f.event.add(b,c,i[c][d]); }}}h.data&&(h.data=f.extend({},h.data)); }}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a; }function U(a){var b=V.split("|"),c=a.createDocumentFragment(); if(c.createElement){while(b.length){c.createElement(b.pop()); }}return c; }function T(a,b,c){b=b||0; if(f.isFunction(b)){return f.grep(a,function(a,d){var e=!!b.call(a,d,a); return e===c; }); }if(b.nodeType){return f.grep(a,function(a,d){return a===b===c; }); }if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1; }); if(O.test(b)){return f.filter(b,d,!c); }b=f.filter(b,d); }return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c; }); }function S(a){return !a||!a.parentNode||a.parentNode.nodeType===11; }function K(){return !0; }function J(){return !1; }function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d); h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire()); },0); }function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b])){continue; }if(b!=="toJSON"){return !1; }}return !0; }function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase(); d=a.getAttribute(e); if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d; }catch(g){}f.data(a,c,d); }else{d=b; }}return d; }function h(a){var b=g[a]={},c,d; a=a.split(/\s+/); for(c=0,d=a.length; c<d; c++){b[a[c]]=!0; }return b; }var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left"); }catch(a){setTimeout(J,1); return; }e.ready(); }}var e=function(a,b){return new e.fn.init(a,b,h); },f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase(); },y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={}; e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k; if(!a){return this; }if(a.nodeType){this.context=this[0]=a,this.length=1; return this; }if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1; return this; }if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null]; if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes); return e.merge(this,a); }h=c.getElementById(g[2]); if(h&&h.parentNode){if(h.id!==g[2]){return f.find(a); }this.length=1,this[0]=h; }this.context=c,this.selector=a; return this; }return !d||d.jquery?(d||f).find(a):this.constructor(d).find(a); }if(e.isFunction(a)){return f.ready(a); }a.selector!==b&&(this.selector=a.selector,this.context=a.context); return e.makeArray(a,this); },selector:"",jquery:"1.7.2",length:0,size:function(){return this.length; },toArray:function(){return F.call(this,0); },get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]; },pushStack:function(a,b,c){var d=this.constructor(); e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"); return d; },each:function(a,b){return e.each(this,a,b); },ready:function(a){e.bindReady(),A.add(a); return this; },eq:function(a){a=+a; return a===-1?this.slice(a):this.slice(a,a+1); },first:function(){return this.eq(0); },last:function(){return this.eq(-1); },slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(",")); },map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b); })); },end:function(){return this.prevObject||this.constructor(null); },push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1; typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j); for(; j<k; j++){if((a=arguments[j])!=null){for(c in a){d=i[c],f=a[c]; if(i===f){continue; }l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f); }}}return i; },e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f); return e; },isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0); },ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body){return setTimeout(e.ready,1); }e.isReady=!0; if(a!==!0&&--e.readyWait>0){return; }A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready"); }},bindReady:function(){if(!A){A=e.Callbacks("once memory"); if(c.readyState==="complete"){return setTimeout(e.ready,1); }if(c.addEventListener){c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1); }else{if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready); var b=!1; try{b=a.frameElement==null; }catch(d){}c.documentElement.doScroll&&b&&J(); }}}},isFunction:function(a){return e.type(a)==="function"; },isArray:Array.isArray||function(a){return e.type(a)==="array"; },isWindow:function(a){return a!=null&&a==a.window; },isNumeric:function(a){return !isNaN(parseFloat(a))&&isFinite(a); },type:function(a){return a==null?String(a):I[C.call(a)]||"object"; },isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a)){return !1; }try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf")){return !1; }}catch(c){return !1; }var d; for(d in a){}return d===b||D.call(a,d); },isEmptyObject:function(a){for(var b in a){return !1; }return !0; },error:function(a){throw new Error(a); },parseJSON:function(b){if(typeof b!="string"||!b){return null; }b=e.trim(b); if(a.JSON&&a.JSON.parse){return a.JSON.parse(b); }if(n.test(b.replace(o,"@").replace(p,"]").replace(q,""))){return(new Function("return "+b))(); }e.error("Invalid JSON: "+b); },parseXML:function(c){if(typeof c!="string"||!c){return null; }var d,f; try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c)); }catch(g){d=b; }(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c); return d; },noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b); })(b); },camelCase:function(a){return a.replace(w,"ms-").replace(v,x); },nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase(); },each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a); if(d){if(i){for(f in a){if(c.apply(a[f],d)===!1){break; }}}else{for(; g<h; ){if(c.apply(a[g++],d)===!1){break; }}}}else{if(i){for(f in a){if(c.call(a[f],f,a[f])===!1){break; }}}else{for(; g<h; ){if(c.call(a[g],g,a[g++])===!1){break; }}}}return a; },trim:G?function(a){return a==null?"":G.call(a); }:function(a){return a==null?"":(a+"").replace(k,"").replace(l,""); },makeArray:function(a,b){var c=b||[]; if(a!=null){var d=e.type(a); a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a); }return c; },inArray:function(a,b,c){var d; if(b){if(H){return H.call(b,a,c); }d=b.length,c=c?c<0?Math.max(0,d+c):c:0; for(; c<d; c++){if(c in b&&b[c]===a){return c; }}}return -1; },merge:function(a,c){var d=a.length,e=0; if(typeof c.length=="number"){for(var f=c.length; e<f; e++){a[d++]=c[e]; }}else{while(c[e]!==b){a[d++]=c[e++]; }}a.length=d; return a; },grep:function(a,b,c){var d=[],e; c=!!c; for(var f=0,g=a.length; f<g; f++){e=!!b(a[f],f),c!==e&&d.push(a[f]); }return d; },map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a)); if(k){for(; i<j; i++){f=c(a[i],i,d),f!=null&&(h[h.length]=f); }}else{for(g in a){f=c(a[g],g,d),f!=null&&(h[h.length]=f); }}return h.concat.apply([],h); },guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c]; c=a,a=d; }if(!e.isFunction(a)){return b; }var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments))); }; g.guid=a.guid=a.guid||g.guid||e.guid++; return g; },access:function(a,c,d,f,g,h,i){var j,k=d==null,l=0,m=a.length; if(d&&typeof d=="object"){for(l in d){e.access(a,c,l,d[l],1,h,f); }g=1; }else{if(f!==b){j=i===b&&e.isFunction(f),k&&(j?(j=c,c=function(a,b,c){return j.call(e(a),c); }):(c.call(a,f),c=null)); if(c){for(; l<m; l++){c(a[l],d,j?f.call(a[l],l,c(a[l],d)):f,i); }}g=1; }}return g?a:k?c.call(a):m?c(a[0],d):h; },now:function(){return(new Date).getTime(); },uaMatch:function(a){a=a.toLowerCase(); var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[]; return{browser:b[1]||"",version:b[2]||"0"}; },sub:function(){function a(b,c){return new a.fn.init(b,c); }e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f)); return e.fn.init.call(this,d,f,b); },a.fn.init.prototype=a.fn; var b=a(c); return a; },browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase(); }),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready(); }:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready()); }); return e; }(),g={}; f.Callbacks=function(a){a=a?g[a]||h(a):{}; var c=[],d=[],e,i,j,k,l,m,n=function(b){var d,e,g,h,i; for(d=0,e=b.length; d<e; d++){g=b[d],h=f.type(g),h==="array"?n(g):h==="function"&&(!a.unique||!p.has(g))&&c.push(g); }},o=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,j=!0,m=k||0,k=0,l=c.length; for(; c&&m<l; m++){if(c[m].apply(b,f)===!1&&a.stopOnFalse){e=!0; break; }}j=!1,c&&(a.once?e===!0?p.disable():c=[]:d&&d.length&&(e=d.shift(),p.fireWith(e[0],e[1]))); },p={add:function(){if(c){var a=c.length; n(arguments),j?l=c.length:e&&e!==!0&&(k=a,o(e[0],e[1])); }return this; },remove:function(){if(c){var b=arguments,d=0,e=b.length; for(; d<e; d++){for(var f=0; f<c.length; f++){if(b[d]===c[f]){j&&f<=l&&(l--,f<=m&&m--),c.splice(f--,1); if(a.unique){break; }}}}}return this; },has:function(a){if(c){var b=0,d=c.length; for(; b<d; b++){if(a===c[b]){return !0; }}}return !1; },empty:function(){c=[]; return this; },disable:function(){c=d=e=b; return this; },disabled:function(){return !c; },lock:function(){d=b,(!e||e===!0)&&p.disable(); return this; },locked:function(){return !d; },fireWith:function(b,c){d&&(j?a.once||d.push([b,c]):(!a.once||!e)&&o(b,c)); return this; },fire:function(){p.fireWith(this,arguments); return this; },fired:function(){return !!i; }}; return p; }; var i=[].slice; f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e; },isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c); return this; },always:function(){i.done.apply(i,arguments).fail.apply(i,arguments); return this; },pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g; f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g]); }):i[a](d[e]); }); }).promise(); },promise:function(a){if(a==null){a=h; }else{for(var b in h){a[b]=h[b]; }}return a; }},i=h.promise({}),j; for(j in g){i[j]=g[j].fire,i[j+"With"]=g[j].fireWith; }i.done(function(){e="resolved"; },c.disable,d.lock).fail(function(){e="rejected"; },b.disable,d.lock),a&&a.call(i,i); return i; },when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e); }; }function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b); }; }var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise(); if(d>1){for(; c<d; c++){b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g; }g||j.resolveWith(j,b); }else{j!==a&&j.resolveWith(j,d?[a]:[]); }return k; }}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p=c.createElement("div"),q=c.documentElement; p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0]; if(!d||!d.length||!e){return{}; }g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled; try{delete p.test; }catch(r){b.deleteExpando=!1; }!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1; }),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p); if(p.attachEvent){for(n in {submit:1,change:1,focusin:1}){m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o; }}j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0]; !u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="<div "+n+"display:block;'><div style='"+t+"0;display:block;overflow:hidden;'></div></div>"+"<table "+n+"' cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="<table><tr><td style='"+t+"0;display:none'></td><td>t</td></tr></table>",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="<div style='width:5px;'></div>",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j)); }); return b; }(); var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g; f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando]; return !!a&&!m(a); },data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events"; if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b){return; }n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop)); if(typeof c=="object"||typeof c=="function"){e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c); }g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d); if(o&&!h[c]){return g.events; }k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h; return i; }},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h; if(!j[k]){return; }if(b){d=c?j[k]:j[k].data; if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" "))); for(e=0,g=b.length; e<g; e++){delete d[b[e]]; }if(!(c?m:f.isEmptyObject)(d)){return; }}}if(!c){delete j[k].data; if(!m(j[k])){return; }}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null); }},_data:function(a,b,c){return f.data(a,b,c,!0); },acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()]; if(b){return b!==!0&&a.getAttribute("classid")===b; }}return !0; }}),f.fn.extend({data:function(a,c){var d,e,g,h,i,j=this[0],k=0,m=null; if(a===b){if(this.length){m=f.data(j); if(j.nodeType===1&&!f._data(j,"parsedAttrs")){g=j.attributes; for(i=g.length; k<i; k++){h=g[k].name,h.indexOf("data-")===0&&(h=f.camelCase(h.substring(5)),l(j,h,m[h])); }f._data(j,"parsedAttrs",!0); }}return m; }if(typeof a=="object"){return this.each(function(){f.data(this,a); }); }d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!"; return f.access(this,function(c){if(c===b){m=this.triggerHandler("getData"+e,[d[0]]),m===b&&j&&(m=f.data(j,a),m=l(j,a,m)); return m===b&&d[1]?this.data(d[0]):m; }d[1]=c,this.each(function(){var b=f(this); b.triggerHandler("setData"+e,d),f.data(this,a,c),b.triggerHandler("changeData"+e,d); }); },null,c,arguments.length>1,null,!1); },removeData:function(a){return this.each(function(){f.removeData(this,a); }); }}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1)); },_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1); if(b){c=c||"fx"; var d=c+"mark",e=a?0:(f._data(b,d)||1)-1; e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark")); }},queue:function(a,b,c){var d; if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c)); return d||[]; }},dequeue:function(a,b){b=b||"fx"; var c=f.queue(a,b),d=c.shift(),e={}; d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b); },e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue")); }}),f.fn.extend({queue:function(a,c){var d=2; typeof a!="string"&&(c=a,a="fx",d--); if(arguments.length<d){return f.queue(this[0],a); }return c===b?this:this.each(function(){var b=f.queue(this,a,c); a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a); }); },dequeue:function(a){return this.each(function(){f.dequeue(this,a); }); },delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx"; return this.queue(b,function(b,c){var d=setTimeout(b,a); c.stop=function(){clearTimeout(d); }; }); },clearQueue:function(a){return this.queue(a||"fx",[]); },promise:function(a,c){function m(){--h||d.resolveWith(e,[e]); }typeof a!="string"&&(c=a,a=b),a=a||"fx"; var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l; while(g--){if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0)){h++,l.add(m); }}m(); return d.promise(c); }}); var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y; f.fn.extend({attr:function(a,b){return f.access(this,f.attr,a,b,arguments.length>1); },removeAttr:function(a){return this.each(function(){f.removeAttr(this,a); }); },prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1); },removeProp:function(a){a=f.propFix[a]||a; return this.each(function(){try{this[a]=b,delete this[a]; }catch(c){}}); },addClass:function(a){var b,c,d,e,g,h,i; if(f.isFunction(a)){return this.each(function(b){f(this).addClass(a.call(this,b,this.className)); }); }if(a&&typeof a=="string"){b=a.split(p); for(c=0,d=this.length; c<d; c++){e=this[c]; if(e.nodeType===1){if(!e.className&&b.length===1){e.className=a; }else{g=" "+e.className+" "; for(h=0,i=b.length; h<i; h++){~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" "); }e.className=f.trim(g); }}}}return this; },removeClass:function(a){var c,d,e,g,h,i,j; if(f.isFunction(a)){return this.each(function(b){f(this).removeClass(a.call(this,b,this.className)); }); }if(a&&typeof a=="string"||a===b){c=(a||"").split(p); for(d=0,e=this.length; d<e; d++){g=this[d]; if(g.nodeType===1&&g.className){if(a){h=(" "+g.className+" ").replace(o," "); for(i=0,j=c.length; i<j; i++){h=h.replace(" "+c[i]+" "," "); }g.className=f.trim(h); }else{g.className=""; }}}}return this; },toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean"; if(f.isFunction(a)){return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b); }); }return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p); while(e=j[g++]){i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e); }}else{if(c==="undefined"||c==="boolean"){this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""; }}}); },hasClass:function(a){var b=" "+a+" ",c=0,d=this.length; for(; c<d; c++){if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1){return !0; }}return !1; },val:function(a){var c,d,e,g=this[0]; if(!!arguments.length){e=f.isFunction(a); return this.each(function(d){var g=f(this),h; if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""; })),c=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()]; if(!c||!("set" in c)||c.set(this,h,"value")===b){this.value=h; }}}); }if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()]; if(c&&"get" in c&&(d=c.get(g,"value"))!==b){return d; }d=g.value; return typeof d=="string"?d.replace(q,""):d==null?"":d; }}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value; return !b||b.specified?a.value:a.text; }},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one"; if(g<0){return null; }c=j?g:0,d=j?g+1:i.length; for(; c<d; c++){e=i[c]; if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val(); if(j){return b; }h.push(b); }}if(j&&!h.length&&i.length){return f(i[g]).val(); }return h; },set:function(a,b){var c=f.makeArray(b); f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=0; }),c.length||(a.selectedIndex=-1); return c; }}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType; if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn){return f(a)[c](d); }if(typeof a.getAttribute=="undefined"){return f.prop(a,c,d); }i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w)); if(d!==b){if(d===null){f.removeAttr(a,c); return; }if(h&&"set" in h&&i&&(g=h.set(a,d,c))!==b){return g; }a.setAttribute(c,""+d); return d; }if(h&&"get" in h&&i&&(g=h.get(a,c))!==null){return g; }g=a.getAttribute(c); return g===null?b:g; }},removeAttr:function(a,b){var c,d,e,g,h,i=0; if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length; for(; i<g; i++){e=d[i],e&&(c=f.propFix[e]||e,h=u.test(e),h||f.attr(a,e,""),a.removeAttribute(v?e:c),h&&c in a&&(a[c]=!1)); }}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode){f.error("type property can't be changed"); }else{if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value; a.setAttribute("type",b),c&&(a.value=c); return b; }}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button")){return w.get(a,b); }return b in a?a.value:null; },set:function(a,b,c){if(w&&f.nodeName(a,"button")){return w.set(a,b,c); }a.value=b; }}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e,g,h,i=a.nodeType; if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]); return d!==b?g&&"set" in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get" in g&&(e=g.get(a,c))!==null?e:a[c]; }},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex"); return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b; }}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c); return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b; },set:function(a,b,c){var d; b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase())); return c; }},v||(y={name:!0,id:!0,coords:!0},w=f.valHooks.button={get:function(a,c){var d; d=a.getAttributeNode(c); return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b; },set:function(a,b,d){var e=a.getAttributeNode(d); e||(e=c.createAttribute(d),a.setAttributeNode(e)); return e.nodeValue=b+""; }},f.attrHooks.tabindex.set=w.set,f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto"); return c; }}}); }),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,c); }}),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2); return d===null?b:d; }}); }),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b; },set:function(a,b){return a.style.cssText=""+b; }}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode; b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex); return null; }})),f.support.enctype||(f.propFix.enctype="encoding"),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value; }}; }),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b)){return a.checked=f.inArray(f(a).val(),b)>=0; }}}); }); var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a); b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)")); return b; },H=function(a,b){var c=a.attributes||{}; return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value)); },I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1"); }; f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s; if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b; },i.elem=a),c=f.trim(I(c)).split(" "); for(k=0; k<c.length; k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:g&&G(g),namespace:n.join(".")},p),r=j[m]; if(!r){r=j[m]=[],r.delegateCount=0; if(!s.setup||s.setup.call(a,e,n,i)===!1){a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i); }}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0; }a=null; }},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s; if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" "); for(h=0; h<b.length; h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2]; if(!j){for(j in o){f.event.remove(a,j+b[h],c,d,!0); }continue; }p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null; for(n=0; n<r.length; n++){s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s)); }r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j]); }f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0)); }},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s; if(E.test(h+f.event.triggered)){return; }h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort()); if((!e||f.event.customEvent[h])&&!f.event.global[h]){return; }c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:""; if(!e){j=f.cache; for(l in j){j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0); }return; }c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{}; if(p.trigger&&p.trigger.apply(e,d)===!1){return; }r=[[e,p.bindType||h]]; if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null; for(; m; m=m.parentNode){r.push([m,s]),n=m; }n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s]); }for(l=0; l<r.length&&!c.isPropagationStopped(); l++){m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault(); }c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n)); return c.result; }},dispatch:function(c){c=f.event.fix(c||a.event); var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=f.event.special[c.type]||{},j=[],k,l,m,n,o,p,q,r,s,t,u; g[0]=c,c.delegateTarget=this; if(!i.preDispatch||i.preDispatch.call(this,c)!==!1){if(e&&(!c.button||c.type!=="click")){n=f(this),n.context=this.ownerDocument||this; for(m=c.target; m!=this; m=m.parentNode||this){if(m.disabled!==!0){p={},r=[],n[0]=m; for(k=0; k<e; k++){s=d[k],t=s.selector,p[t]===b&&(p[t]=s.quick?H(m,s.quick):n.is(t)),p[t]&&r.push(s); }r.length&&j.push({elem:m,matches:r}); }}}d.length>e&&j.push({elem:this,matches:d.slice(e)}); for(k=0; k<j.length&&!c.isPropagationStopped(); k++){q=j[k],c.currentTarget=q.elem; for(l=0; l<q.matches.length&&!c.isImmediatePropagationStopped(); l++){s=q.matches[l]; if(h||!c.namespace&&!s.namespace||c.namespace_re&&c.namespace_re.test(s.namespace)){c.data=s.data,c.handleObj=s,o=((f.event.special[s.origType]||{}).handle||s.handler).apply(q.elem,g),o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation())); }}}i.postDispatch&&i.postDispatch.call(this,c); return c.result; }},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode); return a; }},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement; a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0); return a; }},fix:function(a){if(a[f.expando]){return a; }var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props; a=f.Event(g); for(d=i.length; d; ){e=i[--d],a[e]=g[e]; }a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey); return h.filter?h.filter(a,g):a; },special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c); },teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null); }}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}}); d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault(); }},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1); }:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c); },f.Event=function(a,b){if(!(this instanceof f.Event)){return new f.Event(a,b); }a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0; },f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K; var a=this.originalEvent; !a||(a.preventDefault?a.preventDefault():a.returnValue=!1); },stopPropagation:function(){this.isPropagationStopped=K; var a=this.originalEvent; !a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0); },stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation(); },isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h; if(!d||d!==c&&!f.contains(c,d)){a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b; }return h; }}; }),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form")){return !1; }f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b; d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){a._submit_bubble=!0; }),d._submit_attached=!0); }); },postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0)); },teardown:function(){if(f.nodeName(this,"form")){return !1; }f.event.remove(this,"._submit"); }}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio"){f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0); }),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0)); }); }return !1; }f.event.add(this,"beforeactivate._change",function(a){var b=a.target; z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0); }),b._change_attached=!0); }); },handle:function(a){var b=a.target; if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox"){return a.handleObj.handler.apply(this,arguments); }},teardown:function(){f.event.remove(this,"._change"); return z.test(this.nodeName); }}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0); }; f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0); },teardown:function(){--d===0&&c.removeEventListener(a,e,!0); }}; }),f.fn.extend({on:function(a,c,d,e,g){var h,i; if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b); for(i in a){this.on(i,c,d,a[i],g); }return this; }d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b)); if(e===!1){e=J; }else{if(!e){return this; }}g===1&&(h=e,e=function(a){f().off(a); return h.apply(this,arguments); },e.guid=h.guid||(h.guid=f.guid++)); return this.each(function(){f.event.add(this,a,e,d,c); }); },one:function(a,b,c,d){return this.on(a,b,c,d,1); },off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj; f(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler); return this; }if(typeof a=="object"){for(var g in a){this.off(g,c,a[g]); }return this; }if(c===!1||typeof c=="function"){d=c,c=b; }d===!1&&(d=J); return this.each(function(){f.event.remove(this,a,d,c); }); },bind:function(a,b,c){return this.on(a,null,b,c); },unbind:function(a,b){return this.off(a,null,b); },live:function(a,b,c){f(this.context).on(a,this.selector,b,c); return this; },die:function(a,b){f(this.context).off(a,this.selector||"**",b); return this; },delegate:function(a,b,c,d){return this.on(b,a,c,d); },undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c); },trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this); }); },triggerHandler:function(a,b){if(this[0]){return f.event.trigger(a,b,this[0],!0); }},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d; f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault(); return b[e].apply(this,arguments)||!1; }; e.guid=c; while(d<b.length){b[d++].guid=c; }return this.click(e); },hover:function(a,b){return this.mouseenter(a).mouseleave(b||a); }}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null); return arguments.length>0?this.on(b,null,a,c):this.trigger(b); },f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks); }),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length; h<i; h++){var j=e[h]; if(j){var k=!1; j=j[a]; while(j){if(j[d]===c){k=e[j.sizset]; break; }if(j.nodeType===1){g||(j[d]=c,j.sizset=h); if(typeof b!="string"){if(j===b){k=!0; break; }}else{if(m.filter(b,[j]).length>0){k=j; break; }}}j=j[a]; }e[h]=k; }}}function w(a,b,c,e,f,g){for(var h=0,i=e.length; h<i; h++){var j=e[h]; if(j){var k=!1; j=j[a]; while(j){if(j[d]===c){k=e[j.sizset]; break; }j.nodeType===1&&!g&&(j[d]=c,j.sizset=h); if(j.nodeName.toLowerCase()===b){k=j; break; }j=j[a]; }e[h]=k; }}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/; [0,0].sort(function(){i=!1; return 0; }); var m=function(b,d,e,f){e=e||[],d=d||c; var h=d; if(d.nodeType!==1&&d.nodeType!==9){return[]; }if(!b||typeof b!="string"){return e; }var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b; do{a.exec(""),i=a.exec(x); if(i){x=i[3],w.push(i[1]); if(i[2]){l=i[3]; break; }}}while(i); if(w.length>1&&p.exec(b)){if(w.length===2&&o.relative[w[0]]){j=y(w[0]+w[1],d,f); }else{j=o.relative[w[0]]?[d]:m(w.shift(),d); while(w.length){b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f); }}}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]); if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1; while(w.length){q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v); }}else{k=w=[]; }}k||(k=j),k||m.error(q||b); if(g.call(k)==="[object Array]"){if(!u){e.push.apply(e,k); }else{if(d&&d.nodeType===1){for(t=0; k[t]!=null; t++){k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]); }}else{for(t=0; k[t]!=null; t++){k[t]&&k[t].nodeType===1&&e.push(j[t]); }}}}else{s(k,e); }l&&(m(l,h,e,f),m.uniqueSort(e)); return e; }; m.uniqueSort=function(a){if(u){h=i,a.sort(u); if(h){for(var b=1; b<a.length; b++){a[b]===a[b-1]&&a.splice(b--,1); }}}return a; },m.matches=function(a,b){return m(a,null,null,b); },m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0; },m.find=function(a,b,c){var d,e,f,g,h,i; if(!a){return[]; }for(e=0,f=o.order.length; e<f; e++){h=o.order[e]; if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1); if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c); if(d!=null){a=a.replace(o.match[h],""); break; }}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]); return{set:d,expr:a}; },m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]); while(a&&c.length){for(h in o.filter){if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1); if(l.substr(l.length-1)==="\\"){continue; }s===r&&(r=[]); if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t); if(!f){g=i=!0; }else{if(f===!0){continue; }}}if(f){for(n=0; (j=s[n])!=null; n++){j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0)); }}if(i!==b){d||(s=r),a=a.replace(o.match[h],""); if(!g){return[]; }break; }}}if(a===q){if(g==null){m.error(a); }else{break; }}q=a; }return s; },m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a); }; var n=m.getText=function(a){var b,c,d=a.nodeType,e=""; if(d){if(d===1||d===9||d===11){if(typeof a.textContent=="string"){return a.textContent; }if(typeof a.innerText=="string"){return a.innerText.replace(k,""); }for(a=a.firstChild; a; a=a.nextSibling){e+=n(a); }}else{if(d===3||d===4){return a.nodeValue; }}}else{for(b=0; c=a[b]; b++){c.nodeType!==8&&(e+=n(c)); }}return e; },o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href"); },type:function(a){return a.getAttribute("type"); }},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d; d&&(b=b.toLowerCase()); for(var f=0,g=a.length,h; f<g; f++){if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1){}a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b; }}e&&m.filter(b,a,!0); },">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length; if(d&&!l.test(b)){b=b.toLowerCase(); for(; e<f; e++){c=a[e]; if(c){var g=c.parentNode; a[e]=g.nodeName.toLowerCase()===b?g:!1; }}}else{for(; e<f; e++){c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b); }d&&m.filter(b,a,!0); }},"":function(a,b,c){var d,f=e++,g=x; typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c); },"~":function(a,b,c){var d,f=e++,g=x; typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c); }},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]); return d&&d.parentNode?[d]:[]; }},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]); for(var e=0,f=d.length; e<f; e++){d[e].getAttribute("name")===a[1]&&c.push(d[e]); }return c.length===0?null:c; }},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined"){return b.getElementsByTagName(a[1]); }}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" "; if(f){return a; }for(var g=0,h; (h=b[g])!=null; g++){h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1)); }return !1; },ID:function(a){return a[1].replace(j,""); },TAG:function(a,b){return a[1].replace(j,"").toLowerCase(); },CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,""); var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]); a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0; }else{a[2]&&m.error(a[0]); }a[0]=e++; return a; },ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,""); !f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" "); return a; },PSEUDO:function(b,c,d,e,f){if(b[1]==="not"){if((a.exec(b[3])||"").length>1||/^\w/.test(b[3])){b[3]=m(b[3],null,null,c); }else{var g=m.filter(b[3],c,d,!0^f); d||e.push.apply(e,g); return !1; }}else{if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0])){return !0; }}return b; },POS:function(a){a.unshift(!0); return a; }},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"; },disabled:function(a){return a.disabled===!0; },checked:function(a){return a.checked===!0; },selected:function(a){a.parentNode&&a.parentNode.selectedIndex; return a.selected===!0; },parent:function(a){return !!a.firstChild; },empty:function(a){return !a.firstChild; },has:function(a,b,c){return !!m(c[3],a).length; },header:function(a){return/h\d/i.test(a.nodeName); },text:function(a){var b=a.getAttribute("type"),c=a.type; return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null); },radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type; },checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type; },file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type; },password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type; },submit:function(a){var b=a.nodeName.toLowerCase(); return(b==="input"||b==="button")&&"submit"===a.type; },image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type; },reset:function(a){var b=a.nodeName.toLowerCase(); return(b==="input"||b==="button")&&"reset"===a.type; },button:function(a){var b=a.nodeName.toLowerCase(); return b==="input"&&"button"===a.type||b==="button"; },input:function(a){return/input|select|textarea|button/i.test(a.nodeName); },focus:function(a){return a===a.ownerDocument.activeElement; }},setFilters:{first:function(a,b){return b===0; },last:function(a,b,c,d){return b===d.length-1; },even:function(a,b){return b%2===0; },odd:function(a,b){return b%2===1; },lt:function(a,b,c){return b<c[3]-0; },gt:function(a,b,c){return b>c[3]-0; },nth:function(a,b,c){return c[3]-0===b; },eq:function(a,b,c){return c[3]-0===b; }},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e]; if(f){return f(a,c,b,d); }if(e==="contains"){return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0; }if(e==="not"){var g=b[3]; for(var h=0,i=g.length; h<i; h++){if(g[h]===a){return !1; }}return !0; }m.error(e); },CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a; switch(k){case"only":case"first":while(l=l.previousSibling){if(l.nodeType===1){return !1; }}if(k==="first"){return !0; }l=a; case"last":while(l=l.nextSibling){if(l.nodeType===1){return !1; }}return !0; case"nth":c=b[2],e=b[3]; if(c===1&&e===0){return !0; }f=b[0],g=a.parentNode; if(g&&(g[d]!==f||!a.nodeIndex)){i=0; for(l=g.firstChild; l; l=l.nextSibling){l.nodeType===1&&(l.nodeIndex=++i); }g[d]=f; }j=a.nodeIndex-e; return c===0?j===0:j%c===0&&j/c>=0; }},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b; },TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b; },CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1; },ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4]; return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1; },POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e]; if(f){return f(a,c,b,d); }}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1); }; for(var r in o.match){o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q)); }o.match.globalPOS=p; var s=function(a,b){a=Array.prototype.slice.call(a,0); if(b){b.push.apply(b,a); return b; }return a; }; try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType; }catch(t){s=function(a,b){var c=0,d=b||[]; if(g.call(a)==="[object Array]"){Array.prototype.push.apply(d,a); }else{if(typeof a.length=="number"){for(var e=a.length; c<e; c++){d.push(a[c]); }}else{for(; a[c]; c++){d.push(a[c]); }}}return d; }; }var u,v; c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0; return 0; }if(!a.compareDocumentPosition||!b.compareDocumentPosition){return a.compareDocumentPosition?-1:1; }return a.compareDocumentPosition(b)&4?-1:1; }:(u=function(a,b){if(a===b){h=!0; return 0; }if(a.sourceIndex&&b.sourceIndex){return a.sourceIndex-b.sourceIndex; }var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g; if(g===i){return v(a,b); }if(!g){return -1; }if(!i){return 1; }while(j){e.unshift(j),j=j.parentNode; }j=i; while(j){f.unshift(j),j=j.parentNode; }c=e.length,d=f.length; for(var k=0; k<c&&k<d; k++){if(e[k]!==f[k]){return v(e[k],f[k]); }}return k===c?v(a,f[k],-1):v(e[k],b,1); },v=function(a,b,c){if(a===b){return c; }var d=a.nextSibling; while(d){if(d===b){return -1; }d=d.nextSibling; }return 1; }),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement; a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]); return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]; }},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id"); return a.nodeType===1&&c&&c.nodeValue===b; }),e.removeChild(a),e=a=null; }(),function(){var a=c.createElement("div"); a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]); if(a[1]==="*"){var d=[]; for(var e=0; c[e]; e++){c[e].nodeType===1&&d.push(c[e]); }c=d; }return c; }),a.innerHTML="<a href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2); }),a=null; }(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__"; b.innerHTML="<p class='TEST'></p>"; if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c; if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b); if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1]){return s(e.getElementsByTagName(b),f); }if(h[2]&&o.find.CLASS&&e.getElementsByClassName){return s(e.getElementsByClassName(h[2]),f); }}if(e.nodeType===9){if(b==="body"&&e.body){return s([e.body],f); }if(h&&h[3]){var i=e.getElementById(h[3]); if(!i||!i.parentNode){return s([],f); }if(i.id===h[3]){return s([i],f); }}try{return s(e.querySelectorAll(b),f); }catch(j){}}else{if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b); l?n=n.replace(/'/g,"\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode); try{if(!q||p){return s(e.querySelectorAll("[id='"+n+"'] "+b),f); }}catch(r){}finally{l||k.removeAttribute("id"); }}}}return a(b,e,f,g); }; for(var e in a){m[e]=a[e]; }b=null; }}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector; if(b){var d=!b.call(c.createElement("div"),"div"),e=!1; try{b.call(c.documentElement,"[test!='']:sizzle"); }catch(f){e=!0; }m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']"); if(!m.isXML(a)){try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c); if(f||!d||a.document&&a.document.nodeType!==11){return f; }}}catch(g){}}return m(c,null,null,[a]).length>0; }; }}(),function(){var a=c.createElement("div"); a.innerHTML="<div class='test e'></div><div class='test'></div>"; if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e"; if(a.getElementsByClassName("e").length===1){return; }o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c){return b.getElementsByClassName(a[1]); }},a=null; }}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0); }:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return !!(a.compareDocumentPosition(b)&16); }:m.contains=function(){return !1; },m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement; return b?b.nodeName!=="HTML":!1; }; var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b; while(d=o.match.PSEUDO.exec(a)){f+=d[0],a=a.replace(o.match.PSEUDO,""); }a=o.relative[a]?a+"*":a; for(var h=0,i=g.length; h<i; h++){m(a,g[h],e,c); }return m.filter(f,e); }; m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains; }(); var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.globalPOS,R={children:!0,contents:!0,next:!0,prev:!0}; f.fn.extend({find:function(a){var b=this,c,d; if(typeof a!="string"){return f(a).filter(function(){for(c=0,d=b.length; c<d; c++){if(f.contains(b[c],this)){return !0; }}}); }var e=this.pushStack("","find",a),g,h,i; for(c=0,d=this.length; c<d; c++){g=e.length,f.find(a,this[c],e); if(c>0){for(h=g; h<e.length; h++){for(i=0; i<g; i++){if(e[i]===e[h]){e.splice(h--,1); break; }}}}}return e; },has:function(a){var b=f(a); return this.filter(function(){for(var a=0,c=b.length; a<c; a++){if(f.contains(this,b[a])){return !0; }}}); },not:function(a){return this.pushStack(T(this,a,!1),"not",a); },filter:function(a){return this.pushStack(T(this,a,!0),"filter",a); },is:function(a){return !!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0); },closest:function(a,b){var c=[],d,e,g=this[0]; if(f.isArray(a)){var h=1; while(g&&g.ownerDocument&&g!==b){for(d=0; d<a.length; d++){f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h}); }g=g.parentNode,h++; }return c; }var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0; for(d=0,e=this.length; d<e; d++){g=this[d]; while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g); break; }g=g.parentNode; if(!g||!g.ownerDocument||g===b||g.nodeType===11){break; }}}c=c.length>1?f.unique(c):c; return this.pushStack(c,"closest",a); },index:function(a){if(!a){return this[0]&&this[0].parentNode?this.prevAll().length:-1; }if(typeof a=="string"){return f.inArray(this[0],f(a)); }return f.inArray(a.jquery?a[0]:a,this); },add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c); return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d)); },andSelf:function(){return this.add(this.prevObject); }}),f.each({parent:function(a){var b=a.parentNode; return b&&b.nodeType!==11?b:null; },parents:function(a){return f.dir(a,"parentNode"); },parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c); },next:function(a){return f.nth(a,2,"nextSibling"); },prev:function(a){return f.nth(a,2,"previousSibling"); },nextAll:function(a){return f.dir(a,"nextSibling"); },prevAll:function(a){return f.dir(a,"previousSibling"); },nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c); },prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c); },siblings:function(a){return f.sibling((a.parentNode||{}).firstChild,a); },children:function(a){return f.sibling(a.firstChild); },contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes); }},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c); L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse()); return this.pushStack(e,a,P.call(arguments).join(",")); }; }),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")"); return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b); },dir:function(a,c,d){var e=[],g=a[c]; while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d))){g.nodeType===1&&e.push(g),g=g[c]; }return e; },nth:function(a,b,c,d){b=b||1; var e=0; for(; a; a=a[c]){if(a.nodeType===1&&++e===b){break; }}return a; },sibling:function(a,b){var c=[]; for(; a; a=a.nextSibling){a.nodeType===1&&a!==b&&c.push(a); }return c; }}); var V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")[\\s/>]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c); bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div<div>","</div>"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a)); },null,a,arguments.length); },wrapAll:function(a){if(f.isFunction(a)){return this.each(function(b){f(this).wrapAll(a.call(this,b)); }); }if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0); this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this; while(a.firstChild&&a.firstChild.nodeType===1){a=a.firstChild; }return a; }).append(this); }return this; },wrapInner:function(a){if(f.isFunction(a)){return this.each(function(b){f(this).wrapInner(a.call(this,b)); }); }return this.each(function(){var b=f(this),c=b.contents(); c.length?c.wrapAll(a):b.append(a); }); },wrap:function(a){var b=f.isFunction(a); return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a); }); },unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes); }).end(); },append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a); }); },prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild); }); },before:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this); }); }if(arguments.length){var a=f.clean(arguments); a.push.apply(a,this.toArray()); return this.pushStack(a,"before",arguments); }},after:function(){if(this[0]&&this[0].parentNode){return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling); }); }if(arguments.length){var a=this.pushStack(this,"after",arguments); a.push.apply(a,f.clean(arguments)); return a; }},remove:function(a,b){for(var c=0,d; (d=this[c])!=null; c++){if(!a||f.filter(a,[d]).length){!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d); }}return this; },empty:function(){for(var a=0,b; (b=this[a])!=null; a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*")); while(b.firstChild){b.removeChild(b.firstChild); }}return this; },clone:function(a,b){a=a==null?!1:a,b=b==null?a:b; return this.map(function(){return f.clone(this,a,b); }); },html:function(a){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length; if(a===b){return c.nodeType===1?c.innerHTML.replace(W,""):null; }if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>"); try{for(; d<e; d++){c=this[d]||{},c.nodeType===1&&(f.cleanData(c.getElementsByTagName("*")),c.innerHTML=a); }c=0; }catch(g){}}c&&this.empty().append(a); },null,a,arguments.length); },replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a)){return this.each(function(b){var c=f(this),d=c.html(); c.replaceWith(a.call(this,b,d)); }); }typeof a!="string"&&(a=f(a).detach()); return this.each(function(){var b=this.nextSibling,c=this.parentNode; f(this).remove(),b?f(b).before(a):f(c).append(a); }); }return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this; },detach:function(a){return this.remove(a,!0); },domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[]; if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j)){return this.each(function(){f(this).domManip(a,c,d,!0); }); }if(f.isFunction(j)){return this.each(function(e){var g=f(this); a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d); }); }if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild; if(g){c=c&&f.nodeName(g,"tr"); for(var l=0,m=this.length,n=m-1; l<m; l++){d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h); }}k.length&&f.each(k,function(a,b){b.src?f.ajax({type:"GET",global:!1,url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b); }); }return this; }}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0]; b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1); return{fragment:e,cacheable:g}; },f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode; if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]); return this; }for(var h=0,i=e.length; h<i; h++){var j=(h>0?this.clone(!0):this).get(); f(e[h])[b](j),d=d.concat(j); }return this.pushStack(d,a,e.selector); }; }),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a); if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h); for(g=0; d[g]; ++g){e[g]&&bk(d[g],e[g]); }}if(b){bj(a,h); if(c){d=bl(a),e=bl(h); for(g=0; d[g]; ++g){bj(d[g],e[g]); }}}d=e=null; return h; },clean:function(a,b,d,e){var g,h,i,j=[]; b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c); for(var k=0,l; (l=a[k])!=null; k++){typeof l=="number"&&(l+=""); if(!l){continue; }if(typeof l=="string"){if(!_.test(l)){l=b.createTextNode(l); }else{l=l.replace(Y,"<$1></$2>"); var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r; b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2]; while(o--){p=p.lastChild; }if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]==="<table>"&&!s?p.childNodes:[]; for(i=t.length-1; i>=0; --i){f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i]); }}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r))); }}var u; if(!f.support.appendChecked){if(l[0]&&typeof(u=l.length)=="number"){for(i=0; i<u; i++){bn(l[i]); }}else{bn(l); }}l.nodeType?j.push(l):j=f.merge(j,l); }if(d){g=function(a){return !a.type||be.test(a.type); }; for(k=0; j[k]; k++){h=j[k]; if(e&&f.nodeName(h,"script")&&(!h.type||be.test(h.type))){e.push(h.parentNode?h.parentNode.removeChild(h):h); }else{if(h.nodeType===1){var v=f.grep(h.getElementsByTagName("script"),g); j.splice.apply(j,[k+1,0].concat(v)); }d.appendChild(h); }}}return j; },cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando; for(var h=0,i; (i=a[h])!=null; h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()]){continue; }c=i[f.expando]; if(c){b=d[c]; if(b&&b.events){for(var j in b.events){e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle); }b.handle&&(b.handle.elem=null); }g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]; }}}}); var bp=/alpha\([^)]*\)/i,bq=/opacity=([^)]*)/,br=/([A-Z]|^ms)/g,bs=/^[\-+]?(?:\d*\.)?\d+$/i,bt=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,bu=/^([\-+])=([\-+.\de]+)/,bv=/^margin/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Top","Right","Bottom","Left"],by,bz,bA; f.fn.css=function(a,c){return f.access(this,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c); },a,c,arguments.length>1); },f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity"); return c===""?"1":c; }return a.style.opacity; }}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i]; c=f.cssProps[i]||i; if(d===b){if(k&&"get" in k&&(g=k.get(a,!1,e))!==b){return g; }return j[c]; }h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number"); if(d==null||h==="number"&&isNaN(d)){return; }h==="number"&&!f.cssNumber[i]&&(d+="px"); if(!k||!("set" in k)||(d=k.set(a,d))!==b){try{j[c]=d; }catch(l){}}}},css:function(a,c,d){var e,g; c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float"); if(g&&"get" in g&&(e=g.get(a,!0,d))!==b){return e; }if(by){return by(a,c); }},swap:function(a,b,c){var d={},e,f; for(f in b){d[f]=a.style[f],a.style[f]=b[f]; }e=c.call(a); for(f in b){a.style[f]=d[f]; }return e; }}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style; b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g); return c; }),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style; f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d)); return f===""?"auto":f; }),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c){return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d); }); }},set:function(a,b){return bs.test(b)?b+"px":b; }}; }),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""; },set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||""; c.zoom=1; if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter"); if(d&&!d.filter){return; }}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e; }}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight; }); }}); }),f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight; return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"; },f.expr.filters.visible=function(a){return !f.expr.filters.hidden(a); }),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={}; for(d=0; d<4; d++){f[a+bx[d]+b]=e[d]||e[d-2]||e[0]; }return f; }}; }); var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"]; try{bU=e.href; }catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href; }bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR){return bR.apply(this,arguments); }if(!this.length){return this; }var e=a.indexOf(" "); if(e>=0){var g=a.slice(e,a.length); a=a.slice(0,e); }var h="GET"; c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST")); var i=this; f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a; }),i.html(g?f("<div>").append(c.replace(bM,"")).find(g):c)),d&&i.each(d,[c,b,a]); }}); return this; },serialize:function(){return f.param(this.serializeArray()); },serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this; }).filter(function(){return this.name&&!this.disabled&&(this.checked||bN.test(this.nodeName)||bH.test(this.type)); }).map(function(a,b){var c=f(this).val(); return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bE,"\r\n")}; }):{name:b.name,value:c.replace(bE,"\r\n")}; }).get(); }}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a); }; }),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b); return f.ajax({type:c,url:a,data:d,success:e,dataType:g}); }; }),f.extend({getScript:function(a,c){return f.get(a,b,c,"script"); },getJSON:function(a,b,c){return f.get(a,b,c,"json"); },ajaxSetup:function(a,b){b?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b); return a; },ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0; var o,r,u,w=c,x=l?ca(d,v,l):b,y,z; if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified")){f.lastModified[k]=y; }if(z=v.getResponseHeader("Etag")){f.etag[k]=z; }}if(a===304){w="notmodified",o=!0; }else{try{r=cb(d,x),w="success",o=!0; }catch(A){w="parsererror",u=A; }}}else{u=w; if(!w||a){w="error",a<0&&(a=0); }}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop")); }}typeof a=="object"&&(c=a,a=b),c=c||{}; var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase(); a=m[c]=m[c]||a,l[a]=b; }return this; },getAllResponseHeaders:function(){return s===2?n:null; },getResponseHeader:function(a){var c; if(s===2){if(!o){o={}; while(c=bG.exec(n)){o[c[1].toLowerCase()]=c[2]; }}c=o[a.toLowerCase()]; }return c===b?null:c; },overrideMimeType:function(a){s||(d.mimeType=a); return this; },abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a); return this; }}; h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b; if(s<2){for(b in a){j[b]=[j[b],a[b]]; }}else{b=a[v.status],v.then(b,b); }}return this; },d.url=((a||d.url)+"").replace(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v); if(s===2){return !1; }t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart"); if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url; if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x); d.url=y+(y===d.url?(bL.test(d.url)?"&":"?")+"_="+x:""); }}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bW+"; q=0.01":""):d.accepts["*"]); for(u in d.headers){v.setRequestHeader(u,d.headers[u]); }if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort(); return !1; }for(u in {success:1,error:1,complete:1}){v[u](d[u]); }p=bZ(bT,d,c,v); if(!p){w(-1,"No Transport"); }else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout"); },d.timeout)); try{s=1,p.send(l,w); }catch(z){if(s<2){w(-1,z); }else{throw z; }}}return v; },param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b); }; c===b&&(c=f.ajaxSettings.traditional); if(f.isArray(a)||a.jquery&&!f.isPlainObject(a)){f.each(a,function(){e(this.name,this.value); }); }else{for(var g in a){b_(g,a[g],c,e); }}return d.join("&").replace(bC,"+"); }}),f.extend({active:0,lastModified:{},etag:{}}); var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i; f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++; }}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType); if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2"; b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]; },d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0]); }),b.converters["script json"]=function(){g||f.error(h+" was not called"); return g[0]; },b.dataTypes[0]="json"; return"script"; }}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a); return a; }}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1); }),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement; return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState)){d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success"); }},e.insertBefore(d,e.firstChild); },abort:function(){d&&d.onload(0,1); }}; }}); var ce=a.ActiveXObject?function(){for(var a in cg){cg[a](0,1); }}:!1,cf=0,cg; f.ajaxSettings.xhr=a.ActiveXObject?function(){return !this.isLocal&&ch()||ci(); }:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials" in a}); }(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d; return{send:function(e,g){var h=c.xhr(),i,j; c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async); if(c.xhrFields){for(j in c.xhrFields){h[j]=c.xhrFields[j]; }}c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest"); try{for(j in e){h.setRequestHeader(j,e[j]); }}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n; try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]); if(e){h.readyState!==4&&h.abort(); }else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n); try{m.text=h.responseText; }catch(a){}try{k=h.statusText; }catch(o){k=""; }!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204); }}}catch(p){e||g(-1,p); }m&&g(j,k,m,l); },!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d); },abort:function(){d&&d(0,1); }}; }}); var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq; f.fn.extend({show:function(a,b,c){var d,e; if(a||a===0){return this.animate(ct("show",3),a,b,c); }for(var g=0,h=this.length; g<h; g++){d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),(e===""&&f.css(d,"display")==="none"||!f.contains(d.ownerDocument.documentElement,d))&&f._data(d,"olddisplay",cu(d.nodeName))); }for(g=0; g<h; g++){d=this[g]; if(d.style){e=d.style.display; if(e===""||e==="none"){d.style.display=f._data(d,"olddisplay")||""; }}}return this; },hide:function(a,b,c){if(a||a===0){return this.animate(ct("hide",3),a,b,c); }var d,e,g=0,h=this.length; for(; g<h; g++){d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e)); }for(g=0; g<h; g++){this[g].style&&(this[g].style.display="none"); }return this; },_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean"; f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden"); f(this)[b?"show":"hide"](); }):this.animate(ct("toggle",3),a,b,c); return this; },fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d); },animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this); var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o,p,q; b.animatedProperties={}; for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]); if((k=f.cssHooks[g])&&"expand" in k){l=k.expand(a[g]),delete a[g]; for(i in l){i in a||(a[i]=l[i]); }}}for(g in a){h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing"; if(h==="hide"&&d||h==="show"&&!d){return b.complete.call(this); }c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1)); }b.overflow!=null&&(this.style.overflow="hidden"); for(i in a){j=new f.fx(this,b,i),h=a[i],cm.test(h)?(q=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),q?(f._data(this,"toggle"+i,q==="show"?"hide":"show"),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?"":"px"),p!=="px"&&(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&&(o=(m[1]==="-="?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,"")); }return !0; }var e=f.speed(b,c,d); if(f.isEmptyObject(a)){return this.each(e.complete,[!1]); }a=f.extend({},a); return e.queue===!1?this.each(g):this.queue(e.queue,g); },stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]); return this.each(function(){function h(a,b,c){var e=b[c]; f.removeData(a,c,!0),e.stop(d); }var b,c=!1,e=f.timers,g=f._data(this); d||f._unmark(!0,this); if(a==null){for(b in g){g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b); }}else{g[b=a+".run"]&&g[b].stop&&h(this,g,b); }for(b=e.length; b--; ){e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1)); }(!d||!c)&&f.dequeue(this,a); }); }}),f.each({slideDown:ct("show",1),slideUp:ct("hide",1),slideToggle:ct("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d); }; }),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b}; d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default; if(d.queue==null||d.queue===!0){d.queue="fx"; }d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this); }; return d; },easing:{linear:function(a){return a; },swing:function(a){return -Math.cos(a*Math.PI)/2+0.5; }},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}; }}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this); },cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null)){return this.elem[this.prop]; }var a,b=f.css(this.elem,this.prop); return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a; },custom:function(a,c,d){function h(a){return e.step(a); }var e=this,g=f.fx; this.startTime=cq||cr(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){f._data(e.elem,"fxshow"+e.prop)===b&&(e.options.hide?f._data(e.elem,"fxshow"+e.prop,e.start):e.options.show&&f._data(e.elem,"fxshow"+e.prop,e.end)); },h()&&f.timers.push(h)&&!co&&(co=setInterval(g.tick,g.interval)); },show:function(){var a=f._data(this.elem,"fxshow"+this.prop); this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show(); },hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0); },step:function(a){var b,c,d,e=cq||cr(),g=!0,h=this.elem,i=this.options; if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0; for(b in i.animatedProperties){i.animatedProperties[b]!==!0&&(g=!1); }if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]; }),i.hide&&f(h).hide(); if(i.hide||i.show){for(b in i.animatedProperties){f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0); }}d=i.complete,d&&(i.complete=!1,d.call(h)); }return !1; }i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update(); return !0; }},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0; for(; c<b.length; c++){a=b[c],!a()&&b[c]===a&&b.splice(c--,1); }b.length||f.fx.stop(); },interval:13,stop:function(){clearInterval(co),co=null; },speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now); },_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now; }}}),f.each(cp.concat.apply([],cp),function(a,b){b.indexOf("margin")&&(f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit); }); }),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem; }).length; }); var cv,cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i; "getBoundingClientRect" in c.documentElement?cv=function(a,b,c,d){try{d=a.getBoundingClientRect(); }catch(e){}if(!d||!f.contains(c,a)){return d?{top:d.top,left:d.left}:{top:0,left:0}; }var g=b.body,h=cy(b),i=c.clientTop||g.clientTop||0,j=c.clientLeft||g.clientLeft||0,k=h.pageYOffset||f.support.boxModel&&c.scrollTop||g.scrollTop,l=h.pageXOffset||f.support.boxModel&&c.scrollLeft||g.scrollLeft,m=d.top+k-i,n=d.left+l-j; return{top:m,left:n}; }:cv=function(a,b,c){var d,e=a.offsetParent,g=a,h=b.body,i=b.defaultView,j=i?i.getComputedStyle(a,null):a.currentStyle,k=a.offsetTop,l=a.offsetLeft; while((a=a.parentNode)&&a!==h&&a!==c){if(f.support.fixedPosition&&j.position==="fixed"){break; }d=i?i.getComputedStyle(a,null):a.currentStyle,k-=a.scrollTop,l-=a.scrollLeft,a===e&&(k+=a.offsetTop,l+=a.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(a.nodeName))&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),g=e,e=a.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),j=d; }if(j.position==="relative"||j.position==="static"){k+=h.offsetTop,l+=h.offsetLeft; }f.support.fixedPosition&&j.position==="fixed"&&(k+=Math.max(c.scrollTop,h.scrollTop),l+=Math.max(c.scrollLeft,h.scrollLeft)); return{top:k,left:l}; },f.fn.offset=function(a){if(arguments.length){return a===b?this:this.each(function(b){f.offset.setOffset(this,a,b); }); }var c=this[0],d=c&&c.ownerDocument; if(!d){return null; }if(c===d.body){return f.offset.bodyOffset(c); }return cv(c,d,d.documentElement); },f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft; f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0); return{top:b,left:c}; },setOffset:function(a,b,c){var d=f.css(a,"position"); d==="static"&&(a.style.position="relative"); var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n; j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using" in b?b.using.call(a,k):e.css(k); }},f.fn.extend({position:function(){if(!this[0]){return null; }var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset(); c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0; return{top:c.top-d.top,left:c.left-d.left}; },offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body; while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static"){a=a.offsetParent; }return a; }); }}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c); f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a); if(g===b){return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e]; }h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g; },a,e,arguments.length,null); }; }),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a; f.fn["inner"+a]=function(){var a=this[0]; return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null; },f.fn["outer"+a]=function(a){var b=this[0]; return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null; },f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l; if(f.isWindow(a)){i=a.document,j=i.documentElement[d]; return f.support.boxModel&&j||i.body&&i.body[d]||j; }if(a.nodeType===9){i=a.documentElement; if(i[d]>=i[e]){return i[d]; }return Math.max(a.body[e],i[e],a.body[g],i[g]); }if(h===b){k=f.css(a,c),l=parseFloat(k); return f.isNumeric(l)?l:k; }f(a).css(c,h); },c,a,arguments.length,null); }; }),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f; }); })(window); if(typeof JSON!=="object"){JSON={}; }(function(){function f(n){return n<10?"0"+n:n; }if(typeof Date.prototype.toJSON!=="function"){Date.prototype.toJSON=function(key){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null; }; String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(key){return this.valueOf(); }; }var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep; function quote(string){escapable.lastIndex=0; return escapable.test(string)?'"'+string.replace(escapable,function(a){var c=meta[a]; return typeof c==="string"?c:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4); })+'"':'"'+string+'"'; }function str(key,holder){var i,k,v,length,mind=gap,partial,value=holder[key]; if(value&&typeof value==="object"&&typeof value.toJSON==="function"){value=value.toJSON(key); }if(typeof rep==="function"){value=rep.call(holder,key,value); }switch(typeof value){case"string":return quote(value); case"number":return isFinite(value)?String(value):"null"; case"boolean":case"null":return String(value); case"object":if(!value){return"null"; }gap+=indent; partial=[]; if(Object.prototype.toString.apply(value)==="[object Array]"){length=value.length; for(i=0; i<length; i+=1){partial[i]=str(i,value)||"null"; }v=partial.length===0?"[]":gap?"[\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"]":"["+partial.join(",")+"]"; gap=mind; return v; }if(rep&&typeof rep==="object"){length=rep.length; for(i=0; i<length; i+=1){if(typeof rep[i]==="string"){k=rep[i]; v=str(k,value); if(v){partial.push(quote(k)+(gap?": ":":")+v); }}}}else{for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=str(k,value); if(v){partial.push(quote(k)+(gap?": ":":")+v); }}}}v=partial.length===0?"{}":gap?"{\n"+gap+partial.join(",\n"+gap)+"\n"+mind+"}":"{"+partial.join(",")+"}"; gap=mind; return v; }}if(typeof JSON.stringify!=="function"){JSON.stringify=function(value,replacer,space){var i; gap=""; indent=""; if(typeof space==="number"){for(i=0; i<space; i+=1){indent+=" "; }}else{if(typeof space==="string"){indent=space; }}rep=replacer; if(replacer&&typeof replacer!=="function"&&(typeof replacer!=="object"||typeof replacer.length!=="number")){throw new Error("JSON.stringify"); }return str("",{"":value}); }; }if(typeof JSON.parse!=="function"){JSON.parse=function(text,reviver){var j; function walk(holder,key){var k,v,value=holder[key]; if(value&&typeof value==="object"){for(k in value){if(Object.prototype.hasOwnProperty.call(value,k)){v=walk(value,k); if(v!==undefined){value[k]=v; }else{delete value[k]; }}}}return reviver.call(holder,key,value); }text=String(text); cx.lastIndex=0; if(cx.test(text)){text=text.replace(cx,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4); }); }if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){j=eval("("+text+")"); return typeof reviver==="function"?walk({"":j},""):j; }throw new SyntaxError("JSON.parse"); }; }}()); </script> <script type="text/javascript"> $(function() { var problems = {}; $.each(problems, function(index, value) { if(index == "main") { // not associated with any one input $("#main_error").append("<p>" + value + "</p>"); } else { $("#input_" + index).addClass("error"); } }); $("#signin_button").click(function(e){ e.stopPropagation(); $("#saml_form").submit(); return false; }); }); </script> <script type="text/javascript"> function expandCollapse(theDiv){ el = document.getElementById(theDiv); img = document.getElementById('image' + theDiv); if(el.style.display == 'none'){ el.style.display = ''; img.src = '/static/image/down.png'; } else{ el.style.display = 'none'; img.src = '/static/image/up.png'; } return false; } function checkRadio(theDiv){ el = theDiv.firstElementChild; el.checked = true; return false; } </script> <style> #container>h1.background{background-position:.1em 0;background-repeat:no-repeat;background-size:contain;color:rgba(0,0,0,0);height:50px;margin-top:10px;margin-left:10px;padding:0;width:84px;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAAB4CAYAAAC3kr3rAAAACXBIWXMAACxKAAAsSgF3enRNAAALvklEQVR42u1dy7GkOhK9nrDq9TigGDdwQ15gw0Tgg1yQBzigPUvt2ChCNdwo8YLmUYU+mSlRlYuz6ehLCciT/0x+Ho/HDyb+/Oe/coVaMa2wK9yKRwRc+P+/fzeuENhnZdTD7/sN73mTE38hHz78P7NC/8oZxrmwbvSXEHMkEVLgwgPsAcmr32CA+q2Is/Th916dRRKeRUQ8mx7od3SC0ozBAikj0KRYEEjxCrZEawRtFftbM7JA2oSzGOSzpDwXWSAvhkBGXCCgqEKQoGVmQlKcCu+KLuPsOvF3xgYEskgwIwU35Rw68fpd0O415GQkI0i4UVuZGEdN0Sfew5BKxAasx4YJ6SwKi6jBhXSV5WRCJ0i4Ud8QOfZBW4+oLR9IQpnlZzdC1i5BGbUiMx02QUyD5NiTRCTcS2rMNCBk+EheNAJZZyRLjY0BmyC2YYIkadeMOGQCFkhdcJ+yMlnVTb0N/e0EiX4I4QVWc20KExy6MllFRJy63FU2ahBkX9RRQWPJXSFR74pEEK5WrH/sark2hdrVAhNkgVQUhdZx2RWI5dFaHmRHB7la7kQQH7Sjyi3YBN/VEFgRUyMOybBeaEmDoO3B3KucBEiQmaKaRbiPTW58awTx4WADQoU5x1Q7pCByqpRSRYtDMp5Bf3G9KcNiCKQa01LyzCCyWBariAbgz/YIrs4CdE8Q2UAFdJYJUvEkuq0OIyN3omR1jpzmCusWR5A1EIbfdUhu1kwdhwAVzeYK8ccE7DqOVDLURLNiQ31C0YFsxnWHwvsQUHWfCvFHD/gsfesyd8e2aAcdyGYIyURAdAfpRgLFHx44e2WZIPAEmSDz9VhpToB7GClclMTnaYAJMjFBcAawwDM9GVmlDtnnF5EpdUNokQdggsxMEJxgHTxeyAguB8TzuwRhc0SxkI+8poZOxTNBcCvQGkmbTog+v0m0loIg6TEjEARttuXbCWKRCDJhxyGRAqQSrWWuNTPQ6diMouPCBLkPQSR2HBJ59j4xXpkI4o8OMYU9YxcLmSBwY6Ees8iV6utHWrUFOf6YEZIQZ2ltyQRpnyAGMu2ZYaHmTJelQ4w/VOK1S/rMbEtEYYKUCY7Dij8ysnYSURGIjExd6aCUo25nqk6QkEqVL9A3QpAOoxCZ0PPVZ7osWK5kbjJCAbXTbN2+VciCWasYErbknZnZ+dXyNkyCZFx/hBTKguyaTVRU6JOLSBOFoIvhSAlCsCdrW0XqkAmioOOQSKG0JW4f0v31BfIgkGfSHTZZoIgxNLDzCJIgAjoOiRRKXXgeCejqgVS6CRc3oJAFwpVqfYmDJnAPBFBQLAtrFgo4/pgAY0/K7SZgmbBSd8o3To4SgkyQcUiMgAMQbAaOPySg+y0qKNNiolDuk70bQXqoOCTSRbIAz9wDxh8eKYGjKijWiYwgNyNHaRbGQ/jqkc9sAoqLeqAMnUFM929j25REWXLaWT5lLy8WQUCKaZHu2gDhpl25e7XWrF4oj7lVkmAvTTjLX8vIrXxy90EZU+C/6sLsXHEcEhnwd0CENRDNmJXmfMaLnVYgn8vAIoj+00BvTcaeLF340orikMhrLICpYgfwDqtP+u0WwGGUDwZQghT01iikh2cpCAJRM4i0QhNw4kAUPremVvGE+54AyRK9mhazr2ZEfGCUBBlL4pBIrT0AJw6GwvijydmMA1lK3TAFSZCFKq3WIEFEyUOPPCt0w+NUEH80v4rnoLxyrYoDIUjGhJj/g79KkowgiQpiztDaLqOOkBzTJBQ+1V0IAhAfCwiCpM4YG4IHQk0QnVNci9TaBqmA2WWS/Jbfo8+sz40QBNFYGQKiT4VpIL83ufs18tmNSAVMmZGNW+5IjgJZ1RAESd1C3hPky8m/xJTg66rEeEEgWVCd4QXomxMkNdtqIQiSVKAjyo/XIMiUGodEvCyPqCltxtn7OxMkQ6F/JEFMJYIMKXFIpFs2Z55FpryLyPjD3Z0cGMuzMb5JKBoyoaBuQ8Jv95HZJoUch8kEl3RigtAQRCLe/ITdewNUVVeRlq5HzuSphOyO/BCCGOogXdfS2IVbD8EzMwnCNkcE9Z5AU86RAuM/gRwZ2yIVBEEURoWSuM2+I86geWzLFqkwfKTAmA8hxwidccXS3AOw5SjtuxkBzwO1ykYT14Oo3pfefQJcNJzihWk1yXwRIO0mhR+jx4pDoBaiSYCzgMx4A1v6f1kn7PgmtEOh9AtCB6fHNSx9gamEngMQgC+jCaHMTFpgKg9JuZancHRXQBJkKHgBJmJOutsNyGBNk5lKgSBax2zhe8FwP2WCh7G5YTLF2zhs7cyVleiUNqVQuOASmJ2fajOv6zL/TjSiuTVx0oBk9qMg07ifPt2gd7AFsnImOx0GQSSSZs+Jb/rM7s2pEUGQjSQNbCOpeEokPXvsNg8UchRYNVuhqo6ttUusmUJIx7dMjmR3MsekL5Vubjm6SBk++FipYovWUl4YhwiEjNLHkCN3cVwNkrz8hl1CqnOuXJRC6XkqiEMWpJSrbowYvkQxtr602l8VsSJW7HuMMdKCTS8DwlmW2u7ViVVrYcGgLbWSLWuLKeHLqj3WAwK+/wVRIFvbG9CFNG6Nz2I4KHcaqnBmAG9MZ07Z7T/es1DtdtqlId0bYdzS2x2y1rYX1mT7chfpYBTCXqt39wf63jFWR86pY4+Un9RiVG8oFLsVowuAC47a94VtYrcPdI5B06rdvwkWGMbh467qUCA8g6KUH35BDAYThMFggjAYTBAGgwnCYDBBGAwmCIPBBGEwmCAMBhOEwWAwQRgMJgjj6/G/n26FPKBjgjC+jQB6hVlhV7gVj0i48DfTinFFzwRh3J0UQxDoJYEIj0TS/F5fMEEYdyGFDBbCI5HiDL+/NewPwPMZjNaIMSJaihgsP4cDzEwURiMWw1Ukxj/4eWFadGq0z2AABd1zC8TYE8S98cFGfnEMInII4hgjmiD9xcEcE4VBQBANINA2I9V7QZDHPyRZIn5c8stkIBFEvahRzIE8OqR4ZbIcPv9mzMmEHf2/JZKlTBQGlpvVtRTnnF3AJJgzJgrjrmR0cWnecn9w4RiFcUOCxBgCe1XS94kl+pHTw4wPSgroq4v0GZXMrY7CBUfG3QkyYBdvDMcpDOK29h7QxRIlabhHcpzC7hcDPut1lro1EX9rL0OG5G7ep8vlCjskTTTLGYzXTYxXAj5eXMNfej9Z7e5w/TJLsEpsVRixyjml0KcvLM9l/FE2D/JkMVTvzLwdiME4CLLKbHkfL2T36u+78oGp5w1Y4CEVw2T5+oB7LPRSlsIAfYYduX2y3CNMdDFZmBQ53khXWEUf4GfS4a3JGVk4E/Z57tMMKCNjZCzz/jqoSxtwrMlZH5jibNgtA22MhQs2ujB9XSCc8LeaPE2mIRpqcWxdmrYSm+vkkTwLlXimK3IKurU/z8om9dD9ErTUwISpRghDMFNuk9uZrtO7ps5eLBq36x1hzKvFYIxil0kREWLvMQyZ59Up1oN2L9bT7ZoamDP2QftsE2rcVBmvfYfw3Gyld1e2TOQ9iU/bU2r2zzwaw7aCUuXscP3Axj8Vnodt4N2YYkX2PnvlX12/tnm2DRLlzNqYw0x09wFEkLu9thsRfINKSwLdr8lpS2nlRbVOlHfxzZ5A+q9N4vVcIbmzAnsC3OU5w49zvyb/26p7axrtrkRJsUZH7Ml1hfnFNT7lGeHsOXjfe9XfgyDtxygMPMyoFvd1tf6yhtJ61mRqcdseA7R9SBDIUXTW6j4E+Xcjm2Oh+gg40jmg89rHEvv7d8y8sPt1XzdqqCAzLpcc9yPI31Yld5CGQZvlqzc1+lSo2eS4L0HOO0TZBWvHhZqaaOt5KlJ/1qX7PQRhsjApEMGzB4wS90l/egPoN06vcdqYpzqZIBHBW82u1LsQYv72yU1u4/6bMPMXxy88N8MEyZp9+ETSbD1gincnM0GgLc14aBz0DWeW9s2QkofDmCC1s2Z7Ap1130K22B87gQcmATz+D9Zp6+NS+L6QAAAAAElFTkSuQmCC");font-size:1em} #container>h1.background-bjs{background-position:.1em 0;background-repeat:no-repeat;background-size:contain;color:rgba(0,0,0,0);height:6em;margin:10px 0 10px 10px;padding:0;width:165px;background-image:url("//s3.cn-north-1.amazonaws.com.cn/signin-assets/roundtable/cn/AWS-logo-CN_Web-op-sinnet-Chinese.png");font-size:1em} body{font-size:75%;font-family:Helvetica,Arial,sans-serif;padding:0;margin:0} a{color:black} a#logo_link{color:transparent;width:84px;height:50px;display:block;font-size:12px} input{font:16px / 18px sans-serif} form{max-width:800px;margin:0 auto} fieldset{margin:0;padding:0;border:0} a.more{text-decoration:none;font-size:.8em} .textaslabel{border:0;background-color:#fff;font:16px / 18px sans-serif} .buttoninput{clear:both;padding-left:240px;padding-top:15px;padding-bottom:15px} .checkboxinput{clear:both;padding-top:10px;padding-left:240px} .textinput{padding-top:20px;clear:both} .textinput label{display:block;clear:left;text-align:right;width:230px;float:left;padding-right:10px;line-height:27px;font-weight:bold;font-size:1.25em} form div{padding:0} .textinput input{width:250px;float:left} .textinput input#mfacode,input#next_mfacode{width:56px;float:left;margin-right:10px} .error input{border-color:red} .error label{color:red} .link{padding-left:240px;font-size:.8em} .mainError{padding-left:20px;color:red} .mainInfo{padding-left:20px;color:blue} .signin-tabs{margin:1.67em 1.67em 0} .signin-tabs ul{margin:0;padding:0;width:100%;list-style:none} .signin-tabs ul:after{content:".";display:block;height:0;clear:both;visibility:hidden} .signin-tabs ul li{margin:0;padding:0;float:left;width:50%} .signin-tabs ul li a,.signin-tabs ul li a:visited{display:block;text-align:center;text-decoration:none;margin:0;padding:.93em 0;border:1px solid #BBB;font-weight:bold;color:#000;background:0;background-color:#f1f1f1;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAIAAACmkByiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAEZJREFUeNqsw4kNwCAMBDD23zZAgPxdoYew5FZVDZ2ZT0bEdXeHmxlUVaEiAj3n/L73hq61oMwMnXPCxxjXe+9PEhHyE2AAARBFdOaEAOUAAAAASUVORK5CYII=);background-repeat:no-repeat;background-size:100% 100%;-webkit-touch-callout:none} .signin-tabs ul li:first-child a{border-radius:.5em 0 0 .5em;-webkit-border-radius:.5em 0 0 .5em;border-right-width:0} .signin-tabs ul li:last-child a{border-right:solid 1px #ccc;border-radius:0 .5em .5em 0;-webkit-border-radius:0 .5em .5em 0} .signin-tabs ul li a.signin-active{background-color:#dfdfdf;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADICAIAAACmkByiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUeNpiuHDhAhMDAwPRmJGRkST11DSDHH2k6iFF/UCrHQxupVe8DFD6AwgwAFBMBCxDk7alAAAAAElFTkSuQmCC)} .amzn_button{background:-webkit-linear-gradient(top,#fd8 15%,#f49d00 85%);background:-moz-linear-gradient(top,#fd8 15%,#f49d00 85%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0.15,#fd8),color-stop(1.0,#f49d00));background:-webkit-linear-gradient(top,#fd8 15%,#f49d00 85%);border:1px solid #2164a6;margin-right:20px;padding:5px 15px 4px 15px;text-decoration:none;border-radius:4px;-moz-border-radius:4px;-webkit-border-radius:4px;box-shadow:inset 0 0 2px #fff;-webkit-box-shadow:inset 0 0 2px #fff;-moz-box-shadow:inset 0 0 2px #fff;color:#000;font-size:13px} .css3button{font-family:Arial,Helvetica,sans-serif;font-size:14px;color:#fff;padding:10px 20px;margin-left:0;margin-right:3px;text-decoration:none;background:-moz-linear-gradient(top,#38d 0,#16b);background:-webkit-gradient(linear,left top,left bottom,from(#38d),to(#16b));-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #16b;-moz-box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);-webkit-box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);text-shadow:0 1px 0 rgba(025,084,167,1),0px 0 0 rgba(255,255,255,0);background-color:#16B} #content{border-top:1px solid #CCC;min-width:1200px} #center-2{margin-top:10px} .signin_form{float:left;padding-top:50px;padding-left:5%;width:45%} .mfa_form{float:left;padding-left:5%} a:focus{color:#ccc} #container{margin:0;padding:0} #smallprint br{display:none} .saml-role{display:block;margin:20px} .saml-role-description{margin:0;font-weight:bold;font-size:16px;color:#000;vertical-align:middle} .saml-role-invalid{color:#bbb} .saml-account{padding-left:20px;margin-bottom:20px} .saml-account-name{font-size:18px;display:inline;vertical-align:middle} .saml-error{display:inline;color:red;vertical-align:middle;float:right} .saml-radio{width:18px;height:18px;vertical-align:middle;s} .warningbox{border:thin solid #000;width:50%;margin-left:auto;margin-right:auto} .awsc-classification-notice{font-family:Arial,sans-serif;font-size:14px;text-decoration:none;padding:5px;spacing:0;margin:0;background-color:#ff0} .awsc-classification-notice-footer{font-family:Arial,sans-serif;font-size:14px;text-decoration:none;padding:5px;spacing:0;margin:0;background-color:#ff0;bottom:0;position:fixed;width:100%} .awsc-notice-link{position:absolute;left:10px} .awsc-notice{text-align:center} a.awsc-notice-link:link{color:#6e6f1b;text-decoration:none} a.awsc-notice-link:visited{color:#6e6f1b;text-decoration:none} a.awsc-notice-link:hover{color:#6e6f1b;text-decoration:underline} a.awsc-notice-link:active{color:#6e6f1b;text-decoration:none} .mfaMovedText{padding-left:240px;padding-top:10px} p#mfaHeaderMessage{margin-bottom:0;font-size:28px;border-bottom:1px solid #CCC;width:200%} .resendButton{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;color:#444;padding:10px 20px;margin-left:0;text-decoration:none;background:-moz-linear-gradient(top,#fff 0,#dedede);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede));-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b8b8b8;-moz-box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);-webkit-box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);text-shadow:0 1px 1px rgba(255,255,255,.75);border-top-color:#dedede;background-color:#dedede} .resendButtonDisable{font-family:Arial,Helvetica,sans-serif;font-size:14px;font-weight:700;color:#444;opacity:.5;padding:10px 20px;margin-left:0;text-decoration:none;background:-moz-linear-gradient(top,#fff 0,#dedede);background:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede));-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #b8b8b8;-moz-box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);-webkit-box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);box-shadow:0 0 0 rgba(000,000,000,0),inset 0 0 2px rgba(255,255,255,1);text-shadow:0 1px 1px rgba(255,255,255,.75);border-top-color:#dedede;background-color:#dedede;pointer-events:none;cursor:default} .resendButton:visited{color:#444} a#cancel_button{font-size:14px;font-weight:bold;font-style:normal;color:#16b} a#lost_device{font-size:14px;font-weight:400;font-style:normal;color:#444;line-height:27px} .mfaFields{padding-bottom:100px} .ui-dialog.feedback-dialog .ui-dialog-titlebar-close:hover,.ui-dialog .ui-dialog-titlebar-close:focus{padding:1px} .no-close .ui-dialog-titlebar-close{display:none} .awsc-nav-dialog-modal{font-size:12px;line-height:1.5em} .awsc-nav-dialog-modal .ui-dialog-title{font-size:13px} .awsc-nav-dialog-modal .btn{display:inline-block;padding:4px 14px;margin-bottom:0;font-size:14px;font-weight:bold;line-height:1.5em;color:#444;text-align:center;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.75);vertical-align:middle;cursor:pointer;background-color:#f2f2f2;background-image:-webkit-linear-gradient(top,#fff,#dedede);background-image:linear-gradient(to bottom,#fff,#dedede);background-repeat:repeat-x;border:1px solid #bbb;border-top-color:#ccc;border-radius:.3em;box-shadow:"0 1px 0 rgba(0, 0, 0, 0.1)"} .awsc-nav-dialog-modal .btn.focus,.awsc-nav-dialog-modal .btn:focus,.awsc-nav-dialog-modal .btn.hover,.awsc-nav-dialog-modal .btn:hover{color:#444;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.75);background-color:#ebebeb;background-image:-webkit-linear-gradient(top,#fff,#ccc);background-image:linear-gradient(to bottom,#fff,#ccc);background-position:0 0;background-repeat:repeat-x} .awsc-nav-dialog-modal .btn::-moz-focus-inner{border:0} .awsc-nav-dialog-modal .btn.active,.awsc-nav-dialog-modal .btn:active{color:#444;text-shadow:0 -1px 1px rgba(255,255,255,0.75);background-color:#ebebeb;background-image:-webkit-linear-gradient(top,#dedede,#fff);background-image:linear-gradient(to bottom,#dedede,#fff);background-position:0 0;background-repeat:repeat-x;outline:0;box-shadow:"inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05)"} .awsc-nav-dialog-modal .btn-primary.active{color:rgba(255,255,255,0.75)} .awsc-nav-dialog-modal .btn-primary{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,0.75);background-color:#257acf;background-image:-webkit-linear-gradient(top,#38d,#16b);background-image:linear-gradient(to bottom,#38d,#16b);background-repeat:repeat-x;border:1px solid #16b;border-top-color:#05a} .awsc-nav-dialog-modal .btn-primary.focus,.awsc-nav-dialog-modal .btn-primary:focus,.awsc-nav-dialog-modal .btn-primary.hover,.awsc-nav-dialog-modal .btn-primary:hover{color:#fff;text-shadow:0 1px 1px rgba(0,0,0,0.75);background-color:#1f74c9;background-image:-webkit-linear-gradient(top,#38d,#05a);background-image:linear-gradient(to bottom,#38d,#05a);background-repeat:repeat-x} .awsc-nav-dialog-modal .btn-primary.active,.awsc-nav-dialog-modal .btn-primary:active{color:#fff;text-shadow:0 -1px 1px rgba(0,0,0,0.75);background-color:#1f74c9;background-image:-webkit-linear-gradient(top,#16b,#38d);background-image:linear-gradient(to bottom,#16b,#38d);background-repeat:repeat-x} .awsc-nav-dialog-modal.ui-widget,.awsc-nav-dialog-modal.ui-widget button{font-family:Verdana,Arial,sans-serif} .awsc-nav-dialog-modal .ui-widget-header{background-color:#f2f2f2;background-image:-webkit-linear-gradient(top,#fff,#dedede);background-image:linear-gradient(to bottom,#fff,#dedede);background-repeat:repeat-x;border:0;padding:1em 1em} .awsc-nav-dialog-modal.ui-dialog{padding:0} .awsc-nav-dialog-modal .ui-dialog-buttonpane{margin-top:1em;padding:.5em 1em .5em .4em;border-top:1px solid #ddd;background-color:#f5f5f5} .awsc-nav-dialog-modal .ui-dialog-buttonpane button{margin:.5em .4em} .messageDiv{padding-left:20px;width:45%} .alert{padding:8px 25px 8px 14px;margin:.5em 0 1em 0;text-shadow:0 1px 0 rgba(255,255,255,0.5);background-color:#fffcec;border:1px solid #e07700;border-radius:.3em} .alert.alert-info{color:#444;background-color:#f0f9ff;border-color:#16b} .alert .imgclass{float:left;margin-left:10px;margin-right:14px;width:20px;height:20px;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABbUlEQVR4nK3UPUgdQRSG4eeKBH9I/MUuBkxhpWBl2lR2kYABKyEJprEIgaBYWGknaGOjCWrASkiRCKZQEKuQ0sLEwkZsbCIELirRwuLuwDDsXi7oB8vMOfPNO7O7M6fU9m7Hfaq+IF/CEF6gHy0o4w+28Q3XtQL7sJGBUj3Da5xk7V5qqEviUfxKYH3Zjpui3BPs4mM14CC+oDHxXGXtZc7cebyMk+GVG7CJB+mKGMdpzkJB6/iJsxg4hu6CCZMF+aBHeI/psG0YyTHuq3y78DRXgb4KnQAcyDFdJfFFFeBTPIyBbTmmASyhswooVnsMLOcYujCB1hqB5Rh4WOOkIp3hbwzcuiPwe+gE4Ar+JaY9lb97HOVK+Jz4brCYAs/xNjHmXn78T+IpHIUgLg5fMYPZLH4eGyM9jvqrWIgH02ozhwOsoQO9Bbu8xAcspwN55WsLPXiDYZVq06pyLH7jBz7J7m6q0n1X7LQe3lm38dY7Km33QX8AAAAASUVORK5CYII=')} .alert .header{font-size:18px;display:inline;color:#16b;padding:4px 0} .alert .message{color:#444;margin-left:45px;padding:4px 0;margin-top:0;margin-bottom:0} @media screen and (max-width:640px){form{padding:0 20px} .textinput{padding-top:5px} .textinput label{display:block;float:none;text-align:left;width:auto;line-height:20px} .textinput input{clear:both;width:100%;top:0} .checkboxinput,.buttoninput,.link,.mfaMovedText{padding-left:0} .buttoninput{padding-top:5px} #smallprint br{display:block} #content{border-top:0} } </style> </head> <body> <div id="container"> <h1 class="background">Amazon Web Services Login</h1> <div id="content"> <div id="main_error"></div> <form id="saml_form" name="saml_form" action="/saml" method="post"> <input type="hidden" name="RelayState" value="" /> <input type="hidden" name="SAMLResponse" value="PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c2FtbDJwOlJlc3BvbnNlIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiBEZXN0aW5hdGlvbj0iaHR0cHM6Ly9zaWduaW4uYXdzLmFtYXpvbi5jb20vc2FtbCIgSUQ9ImlkMTMwMDM3MDA2MjEyMzQ1NDgwOTQxMTA2MzAiIElzc3VlSW5zdGFudD0iMjAxOC0wMy0xNFQyMjoxODo0MS44MzlaIiBWZXJzaW9uPSIyLjAiIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSI+PHNhbWwyOklzc3VlciB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiIgRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6bmFtZWlkLWZvcm1hdDplbnRpdHkiPmh0dHA6Ly93d3cub2t0YS5jb20vZXhrYlhYWFhYWFhYWEh3MGg3PC9zYW1sMjpJc3N1ZXI+PGRzOlNpZ25hdHVyZSB4bWxuczpkcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnIyI+PGRzOlNpZ25lZEluZm8+PGRzOkNhbm9uaWNhbGl6YXRpb25NZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiLz48ZHM6U2lnbmF0dXJlTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxkc2lnLW1vcmUjcnNhLXNoYTI1NiIvPjxkczpSZWZlcmVuY2UgVVJJPSIjaWQxMzAwMzcwMDYyMTIzNDU0ODA5NDExMDYzMCI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNlbnZlbG9wZWQtc2lnbmF0dXJlIi8+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PGVjOkluY2x1c2l2ZU5hbWVzcGFjZXMgeG1sbnM6ZWM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIgUHJlZml4TGlzdD0ieHMiLz48L2RzOlRyYW5zZm9ybT48L2RzOlRyYW5zZm9ybXM+PGRzOkRpZ2VzdE1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMDQveG1sZW5jI3NoYTI1NiIvPjxkczpEaWdlc3RWYWx1ZT5SL3NNbEdPYzRDZjUyTDkwTEV5Ym52VTd5R2owMERLNkhmNWMwNTBQYnNVPTwvZHM6RGlnZXN0VmFsdWU+PC9kczpSZWZlcmVuY2U+PC9kczpTaWduZWRJbmZvPjxkczpTaWduYXR1cmVWYWx1ZT5MM2NnUlgwa0FXNFRtVjNheVFzVnF3R2JMQnhMWjkvS0dYdjN2U3hZNUFyQm5yeUd3dmJzSlFTVS9EbE05TzhJNHZHdi9YNVpPN0Y4L1M2Wll2TnNlVWF2akVXNmxPcmNtakpEYkY3MTJiZ0M2YnF3Z280Z1BYaVM3aXZPa3ZMK2JSamEyblo5NUUzQ0hVWThIamVFQ0FObTlMaWU0SVFveStGZGdxMlk4TmxzVHZZME91UVkzVlBYREdjTFNiVWxZL294N2FneENUaHNGc1FZbDdqR1VZblRkbVlqdXU5L3E2dExaL2wvRyt6ZVBPdVhnK1JnUzBuTVJiRmV5dXljQzlnZm04TWpDLzRxbjhoTjlyNDFRMUU3dXNKZ0RySkxhd1lhbXVPekI1TzREUTV4Y096QVgrOXZkUU0xdEhuYmUrck1LYUl1S0xjRTlaczA3cURaNEE9PTwvZHM6U2lnbmF0dXJlVmFsdWU+PGRzOktleUluZm8+PGRzOlg1MDlEYXRhPjxkczpYNTA5Q2VydGlmaWNhdGU+YmxhaGJsYWg8L2RzOlg1MDlDZXJ0aWZpY2F0ZT48L2RzOlg1MDlEYXRhPjwvZHM6S2V5SW5mbz48L2RzOlNpZ25hdHVyZT48c2FtbDJwOlN0YXR1cyB4bWxuczpzYW1sMnA9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpwcm90b2NvbCI+PHNhbWwycDpTdGF0dXNDb2RlIFZhbHVlPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6c3RhdHVzOlN1Y2Nlc3MiLz48L3NhbWwycDpTdGF0dXM+PHNhbWwyOkFzc2VydGlvbiB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiIgSUQ9ImlkMTMwMDM3MDA2Mjc2MTQ5NjI5NjA5OTQxMiIgSXNzdWVJbnN0YW50PSIyMDE4LTAzLTE0VDIyOjE4OjQxLjgzOVoiIFZlcnNpb249IjIuMCIgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIj48c2FtbDI6SXNzdWVyIEZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOm5hbWVpZC1mb3JtYXQ6ZW50aXR5IiB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiI+aHR0cDovL3d3dy5va3RhLmNvbS9leGtiWFhYWFhYWFhYSHcwaDc8L3NhbWwyOklzc3Vlcj48ZHM6U2lnbmF0dXJlIHhtbG5zOmRzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj48ZHM6U2lnbmVkSW5mbz48ZHM6Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIvPjxkczpTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2Ii8+PGRzOlJlZmVyZW5jZSBVUkk9IiNpZDEzMDAzNzAwNjI3NjE0OTYyOTYwOTk0MTIiPjxkczpUcmFuc2Zvcm1zPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjZW52ZWxvcGVkLXNpZ25hdHVyZSIvPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiPjxlYzpJbmNsdXNpdmVOYW1lc3BhY2VzIHhtbG5zOmVjPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiIFByZWZpeExpc3Q9InhzIi8+PC9kczpUcmFuc2Zvcm0+PC9kczpUcmFuc2Zvcm1zPjxkczpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiLz48ZHM6RGlnZXN0VmFsdWU+U0VNekJ3cHh1ZTgvLytVdTNwUHY0b1RTRzZ1blU5YXh1SlZreWQ2OXdRQT08L2RzOkRpZ2VzdFZhbHVlPjwvZHM6UmVmZXJlbmNlPjwvZHM6U2lnbmVkSW5mbz48ZHM6U2lnbmF0dXJlVmFsdWU+R00zdmlhaklCK0p2RnpDSTF6eERIUWtMRmljc0JmSlorYTUxeksxT0p5YmRFR1hMNlN4VkY4MVFMK3FhcHNPQ1ZHbmtkMWtua20zYTBTMFVjbDRpTnNtRDFvT1g1UGliQjlFNkdXWHd3eUo5bTJRV1h4SUViRzVReXpWMGRJQmNKTTBiZk1XTEg1M3JiS0tDUnd5N0pYa0tNYS9leWFQTzNuVUZBVWFmbnEvOHZkd2hsTEJwTDhnWFB3RmJUL3dhK2FzMUROL3JQTDREaUxvUWpkZ2JMWlBDNUVXY3BpT0VBYjcreWg5OTFIaVlqOWN2NUFnME56VTJMTHNwcy94cjh6YzIzaEsrLys3UUpSS2taVkI3am0za0J3OEhaeDRxOUxqOWx3VlNwc1JHZy8xcEFCS25TVFo3VUp6YTEzMEZDWFVjaWZvWUxyODJ1M1ZiUzdEcjJRPT08L2RzOlNpZ25hdHVyZVZhbHVlPjxkczpLZXlJbmZvPjxkczpYNTA5RGF0YT48ZHM6WDUwOUNlcnRpZmljYXRlPmJsYWhibGFoPC9kczpYNTA5Q2VydGlmaWNhdGU+PC9kczpYNTA5RGF0YT48L2RzOktleUluZm8+PC9kczpTaWduYXR1cmU+PHNhbWwyOlN1YmplY3QgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpOYW1lSUQgRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6bmFtZWlkLWZvcm1hdDp1bnNwZWNpZmllZCI+am9obi5kb2VAbXljb3JwLmNvbTwvc2FtbDI6TmFtZUlEPjxzYW1sMjpTdWJqZWN0Q29uZmlybWF0aW9uIE1ldGhvZD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmNtOmJlYXJlciI+PHNhbWwyOlN1YmplY3RDb25maXJtYXRpb25EYXRhIE5vdE9uT3JBZnRlcj0iMjAxOC0wMy0xNFQyMjoyMzo0MS44MzlaIiBSZWNpcGllbnQ9Imh0dHBzOi8vc2lnbmluLmF3cy5hbWF6b24uY29tL3NhbWwiLz48L3NhbWwyOlN1YmplY3RDb25maXJtYXRpb24+PC9zYW1sMjpTdWJqZWN0PjxzYW1sMjpDb25kaXRpb25zIE5vdEJlZm9yZT0iMjAxOC0wMy0xNFQyMjoxMzo0MS44MzlaIiBOb3RPbk9yQWZ0ZXI9IjIwMTgtMDMtMTRUMjI6MjM6NDEuODM5WiIgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpBdWRpZW5jZVJlc3RyaWN0aW9uPjxzYW1sMjpBdWRpZW5jZT51cm46YW1hem9uOndlYnNlcnZpY2VzPC9zYW1sMjpBdWRpZW5jZT48L3NhbWwyOkF1ZGllbmNlUmVzdHJpY3Rpb24+PC9zYW1sMjpDb25kaXRpb25zPjxzYW1sMjpBdXRoblN0YXRlbWVudCBBdXRobkluc3RhbnQ9IjIwMTgtMDMtMTRUMjI6MTg6MTAuOTIwWiIgU2Vzc2lvbkluZGV4PSJpZDE1MjEwNjU5MjE4MzkuMTM2MTc3OTMwOSIgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpBdXRobkNvbnRleHQ+PHNhbWwyOkF1dGhuQ29udGV4dENsYXNzUmVmPnVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphYzpjbGFzc2VzOlBhc3N3b3JkUHJvdGVjdGVkVHJhbnNwb3J0PC9zYW1sMjpBdXRobkNvbnRleHRDbGFzc1JlZj48L3NhbWwyOkF1dGhuQ29udGV4dD48L3NhbWwyOkF1dGhuU3RhdGVtZW50PjxzYW1sMjpBdHRyaWJ1dGVTdGF0ZW1lbnQgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpBdHRyaWJ1dGUgTmFtZT0iaHR0cHM6Ly9hd3MuYW1hem9uLmNvbS9TQU1ML0F0dHJpYnV0ZXMvUm9sZSIgTmFtZUZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmF0dHJuYW1lLWZvcm1hdDp1cmkiPjxzYW1sMjpBdHRyaWJ1dGVWYWx1ZSB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTp0eXBlPSJ4czpzdHJpbmciPmFybjphd3M6aWFtOjo5ODc2NTQzMjE5ODc6c2FtbC1wcm92aWRlci9PS1RBLUlEUCxhcm46YXdzOmlhbTo6OTg3NjU0MzIxOTg3OnJvbGUvdGVzdHJvbGUzPC9zYW1sMjpBdHRyaWJ1dGVWYWx1ZT48c2FtbDI6QXR0cmlidXRlVmFsdWUgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6dHlwZT0ieHM6c3RyaW5nIj5hcm46YXdzOmlhbTo6OTg3NjU0MzIxOTg3OnNhbWwtcHJvdmlkZXIvT0tUQS1JRFAsYXJuOmF3czppYW06Ojk4NzY1NDMyMTk4Nzpyb2xlL3Rlc3Ryb2xlNDwvc2FtbDI6QXR0cmlidXRlVmFsdWU+PHNhbWwyOkF0dHJpYnV0ZVZhbHVlIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnR5cGU9InhzOnN0cmluZyI+YXJuOmF3czppYW06Ojk4NzY1NDMyMTk4NzpzYW1sLXByb3ZpZGVyL09LVEEtSURQLGFybjphd3M6aWFtOjo5ODc2NTQzMjE5ODc6cm9sZS90ZXN0cm9sZTU8L3NhbWwyOkF0dHJpYnV0ZVZhbHVlPjxzYW1sMjpBdHRyaWJ1dGVWYWx1ZSB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTp0eXBlPSJ4czpzdHJpbmciPmFybjphd3M6aWFtOjowMTIzNDU2Nzg5MDE6c2FtbC1wcm92aWRlci9PS1RBLUlEUCxhcm46YXdzOmlhbTo6MDEyMzQ1Njc4OTAxOnJvbGUvdGVzdHJvbGUxPC9zYW1sMjpBdHRyaWJ1dGVWYWx1ZT48c2FtbDI6QXR0cmlidXRlVmFsdWUgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6dHlwZT0ieHM6c3RyaW5nIj5hcm46YXdzOmlhbTo6MDEyMzQ1Njc4OTAxOnNhbWwtcHJvdmlkZXIvT0tUQS1JRFAsYXJuOmF3czppYW06OjAxMjM0NTY3ODkwMTpyb2xlL3Rlc3Ryb2xlMjwvc2FtbDI6QXR0cmlidXRlVmFsdWU+PC9zYW1sMjpBdHRyaWJ1dGU+PHNhbWwyOkF0dHJpYnV0ZSBOYW1lPSJodHRwczovL2F3cy5hbWF6b24uY29tL1NBTUwvQXR0cmlidXRlcy9Sb2xlU2Vzc2lvbk5hbWUiIE5hbWVGb3JtYXQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphdHRybmFtZS1mb3JtYXQ6YmFzaWMiPjxzYW1sMjpBdHRyaWJ1dGVWYWx1ZSB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTp0eXBlPSJ4czpzdHJpbmciPmpvaG4uZG9lQG15Y29ycC5jb208L3NhbWwyOkF0dHJpYnV0ZVZhbHVlPjwvc2FtbDI6QXR0cmlidXRlPjxzYW1sMjpBdHRyaWJ1dGUgTmFtZT0iaHR0cHM6Ly9hd3MuYW1hem9uLmNvbS9TQU1ML0F0dHJpYnV0ZXMvU2Vzc2lvbkR1cmF0aW9uIiBOYW1lRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXR0cm5hbWUtZm9ybWF0OmJhc2ljIj48c2FtbDI6QXR0cmlidXRlVmFsdWUgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6dHlwZT0ieHM6c3RyaW5nIj4zNjAwPC9zYW1sMjpBdHRyaWJ1dGVWYWx1ZT48L3NhbWwyOkF0dHJpYnV0ZT48L3NhbWwyOkF0dHJpYnV0ZVN0YXRlbWVudD48L3NhbWwyOkFzc2VydGlvbj48L3NhbWwycDpSZXNwb25zZT4=" /> <input type="hidden" name="name" value="" /> <input type="hidden" name="portal" value="" /> <p style="font-size: 16px; padding-left: 20px;">Sélectionner un rôle :</p> <fieldset> <div class="saml-account"> <div onClick="expandCollapse(0);"> <img id="image0" src="/static/image/down.png" valign="middle"></img> <div class="saml-account-name">Account: testaccount1 (012345678901)</div> </div> <hr style="border: 1px solid #ddd;"> <div id="0" class="saml-account" > <div class="saml-role" onClick="checkRadio(this);"> <input type="radio" name="roleIndex" value="arn:aws:iam::012345678901:role/testrole1" class="saml-radio" id="arn:aws:iam::012345678901:role/testrole1" /> <label for="arn:aws:iam::012345678901:role/testrole1" class="saml-role-description">testrole1</label> <span style="clear: both;"></span> </div> <div class="saml-role" onClick="checkRadio(this);"> <input type="radio" name="roleIndex" value="arn:aws:iam::012345678901:role/testrole2" class="saml-radio" id="arn:aws:iam::012345678901:role/testrole2" /> <label for="arn:aws:iam::012345678901:role/testrole2" class="saml-role-description">testrole2</label> <span style="clear: both;"></span> </div> </div></div><div class="saml-account"> <div onClick="expandCollapse(1);"> <img id="image1" src="/static/image/down.png" valign="middle"></img> <div class="saml-account-name">Account: 987654321987</div> </div> <hr style="border: 1px solid #ddd;"> <div id="1" class="saml-account" > <div class="saml-role" onClick="checkRadio(this);"> <input type="radio" name="roleIndex" value="arn:aws:iam::987654321987:role/testrole3" class="saml-radio" id="arn:aws:iam::987654321987:role/testrole3" /> <label for="arn:aws:iam::987654321987:role/testrole3" class="saml-role-description">testrole3</label> <span style="clear: both;"></span> </div> <div class="saml-role" onClick="checkRadio(this);"> <input type="radio" name="roleIndex" value="arn:aws:iam::987654321987:role/testrole4" class="saml-radio" id="arn:aws:iam::987654321987:role/testrole4" /> <label for="arn:aws:iam::987654321987:role/testrole4" class="saml-role-description">testrole4</label> <span style="clear: both;"></span> </div> <div class="saml-role" onClick="checkRadio(this);"> <input type="radio" name="roleIndex" value="arn:aws:iam::987654321987:role/testrole5" class="saml-radio" id="arn:aws:iam::987654321987:role/testrole5" /> <label for="arn:aws:iam::987654321987:role/testrole5" class="saml-role-description">testrole5</label> <span style="clear: both;"></span> </div> </div></div> </fieldset> <br> <div class="buttoninput" id="input_signin_button"> <a id="signin_button" class="css3button" href="#" alt="Continue" value="Continue">Connexion</a> </div> </form> </div> <br/> <div id="smallprint" style="text-align: center;"> <div class="textinput" style = "text-align: center; font-size: x-small;"> <div style="border-top: 1px solid #ccc; margin-bottom: 12px; padding-top: 1em; text-align: center;"> <select id="languageSelector"> <option value="en_US" >English</option> <option value="de_DE" >Deutsch</option> <option value="es_ES" >Español</option> <option value="fr_FR" selected >Français</option> <option value="ja" >日本語</option> <option value="pt_BR" >Português</option> <option value="ko_KR" >한국어</option> <option value="zh_CN" >中文(简体)</option> </select> <script type="text/javascript"> var currentYear = new Date().getFullYear() $(document).ready(function () { $('#languageSelector').bind("change", function () { document.cookie= ("noflush_locale=" + $('#languageSelector').val()+ "; domain=.amazon.com"); window.location.reload(); }); }); </script> </div> <a href="https://aws.amazon.com/terms/">Conditions d'utilisation</a> <a href="https://aws.amazon.com/privacy/">Politique de confidentialité</a><br/> <script type="text/javascript"> document.write('&copy; 1996-' + currentYear + ', Amazon Web Services, Inc. ou ses affiliés.'); </script> </div> </div> </div> </body> </html> """ self.saml = "PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c2FtbDJwOlJlc3BvbnNlIHhtbG5zOnNhbWwycD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOnByb3RvY29sIiBEZXN0aW5hdGlvbj0iaHR0cHM6Ly9zaWduaW4uYXdzLmFtYXpvbi5jb20vc2FtbCIgSUQ9ImlkMTMwMDM3MDA2MjEyMzQ1NDgwOTQxMTA2MzAiIElzc3VlSW5zdGFudD0iMjAxOC0wMy0xNFQyMjoxODo0MS44MzlaIiBWZXJzaW9uPSIyLjAiIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSI+PHNhbWwyOklzc3VlciB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiIgRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6bmFtZWlkLWZvcm1hdDplbnRpdHkiPmh0dHA6Ly93d3cub2t0YS5jb20vZXhrYlhYWFhYWFhYWEh3MGg3PC9zYW1sMjpJc3N1ZXI+PGRzOlNpZ25hdHVyZSB4bWxuczpkcz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC8wOS94bWxkc2lnIyI+PGRzOlNpZ25lZEluZm8+PGRzOkNhbm9uaWNhbGl6YXRpb25NZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiLz48ZHM6U2lnbmF0dXJlTWV0aG9kIEFsZ29yaXRobT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS8wNC94bWxkc2lnLW1vcmUjcnNhLXNoYTI1NiIvPjxkczpSZWZlcmVuY2UgVVJJPSIjaWQxMzAwMzcwMDYyMTIzNDU0ODA5NDExMDYzMCI+PGRzOlRyYW5zZm9ybXM+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvMDkveG1sZHNpZyNlbnZlbG9wZWQtc2lnbmF0dXJlIi8+PGRzOlRyYW5zZm9ybSBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyI+PGVjOkluY2x1c2l2ZU5hbWVzcGFjZXMgeG1sbnM6ZWM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIgUHJlZml4TGlzdD0ieHMiLz48L2RzOlRyYW5zZm9ybT48L2RzOlRyYW5zZm9ybXM+PGRzOkRpZ2VzdE1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMDQveG1sZW5jI3NoYTI1NiIvPjxkczpEaWdlc3RWYWx1ZT5SL3NNbEdPYzRDZjUyTDkwTEV5Ym52VTd5R2owMERLNkhmNWMwNTBQYnNVPTwvZHM6RGlnZXN0VmFsdWU+PC9kczpSZWZlcmVuY2U+PC9kczpTaWduZWRJbmZvPjxkczpTaWduYXR1cmVWYWx1ZT5MM2NnUlgwa0FXNFRtVjNheVFzVnF3R2JMQnhMWjkvS0dYdjN2U3hZNUFyQm5yeUd3dmJzSlFTVS9EbE05TzhJNHZHdi9YNVpPN0Y4L1M2Wll2TnNlVWF2akVXNmxPcmNtakpEYkY3MTJiZ0M2YnF3Z280Z1BYaVM3aXZPa3ZMK2JSamEyblo5NUUzQ0hVWThIamVFQ0FObTlMaWU0SVFveStGZGdxMlk4TmxzVHZZME91UVkzVlBYREdjTFNiVWxZL294N2FneENUaHNGc1FZbDdqR1VZblRkbVlqdXU5L3E2dExaL2wvRyt6ZVBPdVhnK1JnUzBuTVJiRmV5dXljQzlnZm04TWpDLzRxbjhoTjlyNDFRMUU3dXNKZ0RySkxhd1lhbXVPekI1TzREUTV4Y096QVgrOXZkUU0xdEhuYmUrck1LYUl1S0xjRTlaczA3cURaNEE9PTwvZHM6U2lnbmF0dXJlVmFsdWU+PGRzOktleUluZm8+PGRzOlg1MDlEYXRhPjxkczpYNTA5Q2VydGlmaWNhdGU+YmxhaGJsYWg8L2RzOlg1MDlDZXJ0aWZpY2F0ZT48L2RzOlg1MDlEYXRhPjwvZHM6S2V5SW5mbz48L2RzOlNpZ25hdHVyZT48c2FtbDJwOlN0YXR1cyB4bWxuczpzYW1sMnA9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDpwcm90b2NvbCI+PHNhbWwycDpTdGF0dXNDb2RlIFZhbHVlPSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6c3RhdHVzOlN1Y2Nlc3MiLz48L3NhbWwycDpTdGF0dXM+PHNhbWwyOkFzc2VydGlvbiB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiIgSUQ9ImlkMTMwMDM3MDA2Mjc2MTQ5NjI5NjA5OTQxMiIgSXNzdWVJbnN0YW50PSIyMDE4LTAzLTE0VDIyOjE4OjQxLjgzOVoiIFZlcnNpb249IjIuMCIgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIj48c2FtbDI6SXNzdWVyIEZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOm5hbWVpZC1mb3JtYXQ6ZW50aXR5IiB4bWxuczpzYW1sMj0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmFzc2VydGlvbiI+aHR0cDovL3d3dy5va3RhLmNvbS9leGtiWFhYWFhYWFhYSHcwaDc8L3NhbWwyOklzc3Vlcj48ZHM6U2lnbmF0dXJlIHhtbG5zOmRzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjIj48ZHM6U2lnbmVkSW5mbz48ZHM6Q2Fub25pY2FsaXphdGlvbk1ldGhvZCBBbGdvcml0aG09Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvMTAveG1sLWV4Yy1jMTRuIyIvPjxkczpTaWduYXR1cmVNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNyc2Etc2hhMjU2Ii8+PGRzOlJlZmVyZW5jZSBVUkk9IiNpZDEzMDAzNzAwNjI3NjE0OTYyOTYwOTk0MTIiPjxkczpUcmFuc2Zvcm1zPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwLzA5L3htbGRzaWcjZW52ZWxvcGVkLXNpZ25hdHVyZSIvPjxkczpUcmFuc2Zvcm0gQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiPjxlYzpJbmNsdXNpdmVOYW1lc3BhY2VzIHhtbG5zOmVjPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzEwL3htbC1leGMtYzE0biMiIFByZWZpeExpc3Q9InhzIi8+PC9kczpUcmFuc2Zvcm0+PC9kczpUcmFuc2Zvcm1zPjxkczpEaWdlc3RNZXRob2QgQWxnb3JpdGhtPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGVuYyNzaGEyNTYiLz48ZHM6RGlnZXN0VmFsdWU+U0VNekJ3cHh1ZTgvLytVdTNwUHY0b1RTRzZ1blU5YXh1SlZreWQ2OXdRQT08L2RzOkRpZ2VzdFZhbHVlPjwvZHM6UmVmZXJlbmNlPjwvZHM6U2lnbmVkSW5mbz48ZHM6U2lnbmF0dXJlVmFsdWU+R00zdmlhaklCK0p2RnpDSTF6eERIUWtMRmljc0JmSlorYTUxeksxT0p5YmRFR1hMNlN4VkY4MVFMK3FhcHNPQ1ZHbmtkMWtua20zYTBTMFVjbDRpTnNtRDFvT1g1UGliQjlFNkdXWHd3eUo5bTJRV1h4SUViRzVReXpWMGRJQmNKTTBiZk1XTEg1M3JiS0tDUnd5N0pYa0tNYS9leWFQTzNuVUZBVWFmbnEvOHZkd2hsTEJwTDhnWFB3RmJUL3dhK2FzMUROL3JQTDREaUxvUWpkZ2JMWlBDNUVXY3BpT0VBYjcreWg5OTFIaVlqOWN2NUFnME56VTJMTHNwcy94cjh6YzIzaEsrLys3UUpSS2taVkI3am0za0J3OEhaeDRxOUxqOWx3VlNwc1JHZy8xcEFCS25TVFo3VUp6YTEzMEZDWFVjaWZvWUxyODJ1M1ZiUzdEcjJRPT08L2RzOlNpZ25hdHVyZVZhbHVlPjxkczpLZXlJbmZvPjxkczpYNTA5RGF0YT48ZHM6WDUwOUNlcnRpZmljYXRlPmJsYWhibGFoPC9kczpYNTA5Q2VydGlmaWNhdGU+PC9kczpYNTA5RGF0YT48L2RzOktleUluZm8+PC9kczpTaWduYXR1cmU+PHNhbWwyOlN1YmplY3QgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpOYW1lSUQgRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6bmFtZWlkLWZvcm1hdDp1bnNwZWNpZmllZCI+am9obi5kb2VAbXljb3JwLmNvbTwvc2FtbDI6TmFtZUlEPjxzYW1sMjpTdWJqZWN0Q29uZmlybWF0aW9uIE1ldGhvZD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmNtOmJlYXJlciI+PHNhbWwyOlN1YmplY3RDb25maXJtYXRpb25EYXRhIE5vdE9uT3JBZnRlcj0iMjAxOC0wMy0xNFQyMjoyMzo0MS44MzlaIiBSZWNpcGllbnQ9Imh0dHBzOi8vc2lnbmluLmF3cy5hbWF6b24uY29tL3NhbWwiLz48L3NhbWwyOlN1YmplY3RDb25maXJtYXRpb24+PC9zYW1sMjpTdWJqZWN0PjxzYW1sMjpDb25kaXRpb25zIE5vdEJlZm9yZT0iMjAxOC0wMy0xNFQyMjoxMzo0MS44MzlaIiBOb3RPbk9yQWZ0ZXI9IjIwMTgtMDMtMTRUMjI6MjM6NDEuODM5WiIgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpBdWRpZW5jZVJlc3RyaWN0aW9uPjxzYW1sMjpBdWRpZW5jZT51cm46YW1hem9uOndlYnNlcnZpY2VzPC9zYW1sMjpBdWRpZW5jZT48L3NhbWwyOkF1ZGllbmNlUmVzdHJpY3Rpb24+PC9zYW1sMjpDb25kaXRpb25zPjxzYW1sMjpBdXRoblN0YXRlbWVudCBBdXRobkluc3RhbnQ9IjIwMTgtMDMtMTRUMjI6MTg6MTAuOTIwWiIgU2Vzc2lvbkluZGV4PSJpZDE1MjEwNjU5MjE4MzkuMTM2MTc3OTMwOSIgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpBdXRobkNvbnRleHQ+PHNhbWwyOkF1dGhuQ29udGV4dENsYXNzUmVmPnVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphYzpjbGFzc2VzOlBhc3N3b3JkUHJvdGVjdGVkVHJhbnNwb3J0PC9zYW1sMjpBdXRobkNvbnRleHRDbGFzc1JlZj48L3NhbWwyOkF1dGhuQ29udGV4dD48L3NhbWwyOkF1dGhuU3RhdGVtZW50PjxzYW1sMjpBdHRyaWJ1dGVTdGF0ZW1lbnQgeG1sbnM6c2FtbDI9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPjxzYW1sMjpBdHRyaWJ1dGUgTmFtZT0iaHR0cHM6Ly9hd3MuYW1hem9uLmNvbS9TQU1ML0F0dHJpYnV0ZXMvUm9sZSIgTmFtZUZvcm1hdD0idXJuOm9hc2lzOm5hbWVzOnRjOlNBTUw6Mi4wOmF0dHJuYW1lLWZvcm1hdDp1cmkiPjxzYW1sMjpBdHRyaWJ1dGVWYWx1ZSB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTp0eXBlPSJ4czpzdHJpbmciPmFybjphd3M6aWFtOjo5ODc2NTQzMjE5ODc6c2FtbC1wcm92aWRlci9PS1RBLUlEUCxhcm46YXdzOmlhbTo6OTg3NjU0MzIxOTg3OnJvbGUvdGVzdHJvbGUzPC9zYW1sMjpBdHRyaWJ1dGVWYWx1ZT48c2FtbDI6QXR0cmlidXRlVmFsdWUgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6dHlwZT0ieHM6c3RyaW5nIj5hcm46YXdzOmlhbTo6OTg3NjU0MzIxOTg3OnNhbWwtcHJvdmlkZXIvT0tUQS1JRFAsYXJuOmF3czppYW06Ojk4NzY1NDMyMTk4Nzpyb2xlL3Rlc3Ryb2xlNDwvc2FtbDI6QXR0cmlidXRlVmFsdWU+PHNhbWwyOkF0dHJpYnV0ZVZhbHVlIHhtbG5zOnhzPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVtYS1pbnN0YW5jZSIgeHNpOnR5cGU9InhzOnN0cmluZyI+YXJuOmF3czppYW06Ojk4NzY1NDMyMTk4NzpzYW1sLXByb3ZpZGVyL09LVEEtSURQLGFybjphd3M6aWFtOjo5ODc2NTQzMjE5ODc6cm9sZS90ZXN0cm9sZTU8L3NhbWwyOkF0dHJpYnV0ZVZhbHVlPjxzYW1sMjpBdHRyaWJ1dGVWYWx1ZSB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTp0eXBlPSJ4czpzdHJpbmciPmFybjphd3M6aWFtOjowMTIzNDU2Nzg5MDE6c2FtbC1wcm92aWRlci9PS1RBLUlEUCxhcm46YXdzOmlhbTo6MDEyMzQ1Njc4OTAxOnJvbGUvdGVzdHJvbGUxPC9zYW1sMjpBdHRyaWJ1dGVWYWx1ZT48c2FtbDI6QXR0cmlidXRlVmFsdWUgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6dHlwZT0ieHM6c3RyaW5nIj5hcm46YXdzOmlhbTo6MDEyMzQ1Njc4OTAxOnNhbWwtcHJvdmlkZXIvT0tUQS1JRFAsYXJuOmF3czppYW06OjAxMjM0NTY3ODkwMTpyb2xlL3Rlc3Ryb2xlMjwvc2FtbDI6QXR0cmlidXRlVmFsdWU+PC9zYW1sMjpBdHRyaWJ1dGU+PHNhbWwyOkF0dHJpYnV0ZSBOYW1lPSJodHRwczovL2F3cy5hbWF6b24uY29tL1NBTUwvQXR0cmlidXRlcy9Sb2xlU2Vzc2lvbk5hbWUiIE5hbWVGb3JtYXQ9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphdHRybmFtZS1mb3JtYXQ6YmFzaWMiPjxzYW1sMjpBdHRyaWJ1dGVWYWx1ZSB4bWxuczp4cz0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhzaTp0eXBlPSJ4czpzdHJpbmciPmpvaG4uZG9lQG15Y29ycC5jb208L3NhbWwyOkF0dHJpYnV0ZVZhbHVlPjwvc2FtbDI6QXR0cmlidXRlPjxzYW1sMjpBdHRyaWJ1dGUgTmFtZT0iaHR0cHM6Ly9hd3MuYW1hem9uLmNvbS9TQU1ML0F0dHJpYnV0ZXMvU2Vzc2lvbkR1cmF0aW9uIiBOYW1lRm9ybWF0PSJ1cm46b2FzaXM6bmFtZXM6dGM6U0FNTDoyLjA6YXR0cm5hbWUtZm9ybWF0OmJhc2ljIj48c2FtbDI6QXR0cmlidXRlVmFsdWUgeG1sbnM6eHM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hIiB4bWxuczp4c2k9Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hLWluc3RhbmNlIiB4c2k6dHlwZT0ieHM6c3RyaW5nIj4zNjAwPC9zYW1sMjpBdHRyaWJ1dGVWYWx1ZT48L3NhbWwyOkF0dHJpYnV0ZT48L3NhbWwyOkF0dHJpYnV0ZVN0YXRlbWVudD48L3NhbWwyOkFzc2VydGlvbj48L3NhbWwycDpSZXNwb25zZT4=" self.roles = [] self.roles.append(commondef.RoleSet(idp='arn:aws:iam::012345678901:saml-provider/OKTA-IDP', role='arn:aws:iam::012345678901:role/testrole1', friendly_account_name='Account: testaccount1 (012345678901)', friendly_role_name='testrole1')) self.roles.append(commondef.RoleSet(idp='arn:aws:iam::012345678901:saml-provider/OKTA-IDP', role='arn:aws:iam::012345678901:role/testrole2', friendly_account_name='Account: testaccount1 (012345678901)', friendly_role_name='testrole2')) self.roles.append(commondef.RoleSet(idp='arn:aws:iam::987654321987:saml-provider/OKTA-IDP', role='arn:aws:iam::987654321987:role/testrole3', friendly_account_name='Account: 987654321987', friendly_role_name='testrole3')) self.roles.append(commondef.RoleSet(idp='arn:aws:iam::987654321987:saml-provider/OKTA-IDP', role='arn:aws:iam::987654321987:role/testrole4', friendly_account_name='Account: 987654321987', friendly_role_name='testrole4')) self.roles.append(commondef.RoleSet(idp='arn:aws:iam::987654321987:saml-provider/OKTA-IDP', role='arn:aws:iam::987654321987:role/testrole5', friendly_account_name='Account: 987654321987', friendly_role_name='testrole5')) def setUp_client(self, verify_ssl_certs): resolver = AwsResolver(verify_ssl_certs) resolver.req_session = requests return resolver @responses.activate def test_enumerate_saml_roles(self): """Test parsing the roles from SAML assrtion & AwsSigninPage""" responses.add(responses.POST, 'https://signin.aws.amazon.com/saml', status=200, body=self.aws_signinpage) result = self.resolver._enumerate_saml_roles(self.saml, 'https://signin.aws.amazon.com/saml') assert_equals(result[0], self.roles[0]) assert_equals(result[1], self.roles[1]) assert_equals(result[2], self.roles[2]) assert_equals(result[3], self.roles[3]) assert_equals(result[4], self.roles[4]) def test_display_role(self): """Test the roles are well displayed (grouped/indented by account)""" self.display_role = [] self.display_role.append('Account: testaccount1 (012345678901)') self.display_role.append(' [ 0 ]: testrole1') self.display_role.append(' [ 1 ]: testrole2') self.display_role.append('Account: 987654321987') self.display_role.append(' [ 2 ]: testrole3') self.display_role.append(' [ 3 ]: testrole4') self.display_role.append(' [ 4 ]: testrole5') result = self.resolver._display_role(self.roles) assert_equals(result[0], self.display_role[0]) assert_equals(result[1], self.display_role[1]) assert_equals(result[2], self.display_role[2]) assert_equals(result[3], self.display_role[3]) assert_equals(result[4], self.display_role[4]) assert_equals(result[5], self.display_role[5]) assert_equals(result[6], self.display_role[6])
69.608696
9,066
0.699217
22,847
147,292
4.498096
0.065873
0.029863
0.014109
0.006422
0.375467
0.326697
0.291414
0.270288
0.248862
0.234917
0
0.044113
0.045468
147,292
2,115
9,067
69.641608
0.686838
0.001853
0
0.185638
0
0.372252
0.976684
0.822365
0.000489
1
0
0
0.006351
1
0.002443
false
0.001466
0.004397
0
0.072301
0.001466
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
5
448a3f7ee0ba122230dff9968fe7ea18cdbdefce
2,212
py
Python
FullNodeClient.py
00Duck/ChiaStatusPy
485475c210e6f10c27fed4d6031eaafdf40cf2cc
[ "MIT" ]
null
null
null
FullNodeClient.py
00Duck/ChiaStatusPy
485475c210e6f10c27fed4d6031eaafdf40cf2cc
[ "MIT" ]
null
null
null
FullNodeClient.py
00Duck/ChiaStatusPy
485475c210e6f10c27fed4d6031eaafdf40cf2cc
[ "MIT" ]
null
null
null
import ChiaStatusClient as csc class FullNodeClient(csc.ChiaStatusClient): def __init__(self) -> None: super().__init__() self.port = 8555 def get_blockchain_state(self, body={}) -> dict: return self.send("/get_blockchain_state", self.port, body) def get_block(self, body={}) -> dict: return self.send("/get_block", self.port, body) def get_blocks(self, body={}) -> dict: return self.send("/get_blocks", self.port, body) def get_block_record_by_height(self, body={}) -> dict: return self.send("/get_block_record_by_height", self.port, body) def get_block_record(self, body={}) -> dict: return self.send("/get_block_record", self.port, body) def get_unfinished_block_headers(self, body={}) -> dict: return self.send("/get_unfinished_block_headers", self.port, body) def get_network_space(self, body={}) -> dict: return self.send("/get_network_space", self.port, body) def get_additions_and_removals(self, body={}) -> dict: return self.send("/get_additions_and_removals", self.port, body) def get_initial_freeze_period(self, body={}) -> dict: return self.send("/get_initial_freeze_period", self.port, body) def get_network_info(self, body={}) -> dict: return self.send("/get_network_info", self.port, body) def get_coin_records_by_puzzle_hash(self, body={}) -> dict: return self.send("/get_coin_records_by_puzzle_hash", self.port, body) def get_mempool_item_by_tx_id(self, body={}) -> dict: return self.send("/get_mempool_item_by_tx_id", self.port, body) def get_all_mempool_items(self, body={}) -> dict: return self.send("/get_all_mempool_items", self.port, body) def get_connections(self, body={}) -> dict: return self.send("/get_connections", self.port, body) def open_connection(self, body={}) -> dict: return self.send("/open_connection", self.port, body) def close_connection(self, body={}) -> dict: return self.send("/close_connection", self.port, body) def stop_node(self, body={}) -> dict: return self.send("/stop_node", self.port, body)
38.807018
77
0.658228
301
2,212
4.544851
0.172757
0.105263
0.149123
0.223684
0.817251
0.574561
0.490497
0.135965
0.05848
0
0
0.00225
0.196203
2,212
57
78
38.807018
0.767154
0
0
0
0
0
0.154541
0.094894
0
0
0
0
0
1
0.461538
false
0
0.025641
0.435897
0.948718
0
0
0
0
null
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
9282d72b33daa8de4b01c6e51710b0d5022591ea
15,535
py
Python
py_lib/ciqd/tests/SP_CIQData.py
sqgmiciq/py_libs
6e0bf413967e87f3a2ace14fc7a03a7697c21982
[ "MIT" ]
null
null
null
py_lib/ciqd/tests/SP_CIQData.py
sqgmiciq/py_libs
6e0bf413967e87f3a2ace14fc7a03a7697c21982
[ "MIT" ]
null
null
null
py_lib/ciqd/tests/SP_CIQData.py
sqgmiciq/py_libs
6e0bf413967e87f3a2ace14fc7a03a7697c21982
[ "MIT" ]
null
null
null
''' Created on Aug 9, 2020 @author: wakana_sakashita ''' if __name__ == '__main__': pass import requests from requests.auth import HTTPBasicAuth import pandas as pd import datetime from dateutil.relativedelta import relativedelta url = "https://api-ciq.marketintelligence.spglobal.com/gdsapi/rest/v3/clientservice.json" headers = {'Content-Type': 'application/json'} class ciq: def __init__(self, user, pwd): self.user = user self.pwd = pwd def __call_api(self, json): resp = requests.post(url, auth=HTTPBasicAuth(self.user, self.pwd), headers=headers, data=json) if(resp.status_code >= 400 and resp.status_code < 600): print("HTTP error %d is returned during the API process." %(resp.status_code)) print(resp.text) return 'err' data = resp.json() if(isinstance(data, dict) is False): print("HTTP error %d is returned during the API process." %(resp.status_code)) print(resp.text) return 'err' elif('Errors' in data.keys()): print("Error occurred during the API process : %s" %(data)) return 'err' return data ## Open,close,high,low,volume data def get_market_data(self, company, num) : today = datetime.datetime.today() delta = int(num[:len(num)-1]) if num[-1] == 'y': start_day = today - relativedelta(years=delta) elif num[-1] == 'm': start_day = today - relativedelta(months=delta) elif num[-1] == 'd': start_day = today - datetime.timedelta(days=delta) e_day = today.strftime("%Y-%m-%d") s_day = start_day.strftime ('%Y-%m-%d') json = """{ "inputRequests": [ {"function": "GDST", "identifier": "%s", "mnemonic": "IQ_OPENPRICE", "properties":{"startDate": "%s", "endDate": "%s", "frequency": "Daily"}}, {"function": "GDST", "identifier": "%s", "mnemonic": "IQ_HIGHPRICE", "properties":{"startDate": "%s", "endDate": "%s", "frequency": "Daily"}}, {"function": "GDST", "identifier": "%s", "mnemonic": "IQ_LOWPRICE", "properties":{"startDate": "%s", "endDate": "%s", "frequency": "Daily"}}, {"function": "GDST", "identifier": "%s", "mnemonic": "IQ_CLOSEPRICE", "properties":{"startDate": "%s", "endDate": "%s", "frequency": "Daily"}}, {"function": "GDST", "identifier": "%s", "mnemonic": "IQ_VOLUME", "properties":{"startDate": "%s", "endDate": "%s", "frequency": "Daily"}}, ]}""" %(company,s_day,e_day, company,s_day,e_day,company,s_day,e_day,company,s_day,e_day,company,s_day,e_day) res = self.__call_api(json) # print(res) if res == 'err' : return -1 SPCIQ = pd.DataFrame() for r in res['GDSSDKResponse']: if r['NumRows'] > 0: if r['Mnemonic'] == 'IQ_OPENPRICE': SPCIQ['Date'] = [pd.to_datetime(x) for x in r['Headers']] SPCIQ['Open'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_HIGHPRICE': SPCIQ['High'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_LOWPRICE': SPCIQ['Low'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_CLOSEPRICE': SPCIQ['Close'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_VOLUME': SPCIQ['Volume'] = [float(x) for x in r['Rows'][0]['Row']] SPCIQ = SPCIQ.set_index('Date') return SPCIQ def get_CreditStatsDirect_KeyStats(self, company, period, date) : pd.set_option('display.max_columns', None) pd.set_option('display.expand_frame_repr', False) pd.set_option('max_colwidth', None) pd.set_option('display.max_rows', 2000) pd.set_option("display.colheader_justify","left") if date : today = datetime.datetime.today() date = today.strftime("%Y-%m-%d") json = """{{ "inputRequests": [ {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_PERIOD_DATE_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, # {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_ADJUSTMENT_STATUS_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_REVENUES_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EBITDA_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_OPERATING_INC_AFTER_DA_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EBIT_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_FFO_ADJ_PENSIONS_NORMALIZED_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_OPS_CASH_FLOW_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_CAPEX_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_FREE_OPERATING_CASH_FLOW_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_DIVIDENDS_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, # {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_Share_Repurchases_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_DISCRETIONARY_CASH_FLOW_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_CASH_ST_INVESTMENTS_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_DEBT_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_DEBT_EQUITY_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EQUITY_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_DEBT_EBITDA_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_FFO_DEBT_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_OPS_CASH_FLOW_DEBT_PCT_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_FREE_OPERATING_CASH_FLOW_TO_DEBT_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_DISCRETIONARY_CASH_FLOW_DEBT_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EBITDA_INTEREST_COVERAGE_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_FFO_CASH_INTEREST_COVERAGE_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EBITDA_REVENUES_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_RETURN_CAPITAL_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EBIT_MARGIN_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, # {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_Debt_Debt_Plus_Equity_Underpreciated_Basis_Adj_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, # {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_Debt_Fixed_Charge_Coverage_Adj_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_RETURN_COMMON_EQUITY_ADJ_FOR_AFUDC_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, # {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_LTV_Adj_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_EBIT_INTEREST_COVERAGE_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_ANNUAL_REVENUE_GROWTH_ADJ_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_OPERATING_INC_AFTER_DA_REVENUES_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_COMMON_DIVIDEND_PAYOUT_RATIO_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, {{"function": "GDSP", "identifier": "{0}", "mnemonic": "IQ_LAST_UPDATED_CSD", "properties":{{"periodType": "{1}", "asofDate": "{2}"}}}}, ]}}""".format(company,period,date) res = self.__call_api(json) # print(res) if res == 'err' : return -1 SPCIQ = pd.DataFrame() for r in res['GDSSDKResponse']: # if r['NumRows'] > 0: if r['Mnemonic'] == 'IQ_PERIOD_DATE_CSD': SPCIQ['Period End'] = r['Rows'][0]['Row'] elif r['Mnemonic'] == 'IQ_ADJUSTMENT_STATUS_CSD': SPCIQ['Adjustment Status'] = r['Rows'][0]['Row'] elif r['Mnemonic'] == 'IQ_REVENUES_ADJ_CSD': SPCIQ['Revenue'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EBITDA_ADJ_CSD': SPCIQ['EBITDA'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_OPERATING_INC_AFTER_DA_ADJ_CSD': SPCIQ['Operating Income (After D&A)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EBIT_ADJ_CSD': SPCIQ['EBIT'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_FFO_ADJ_PENSIONS_NORMALIZED_CSD': SPCIQ['Funds From Operations (FFO)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_OPS_CASH_FLOW_ADJ_CSD': SPCIQ['Cash flow from operations, Adj.'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_CAPEX_ADJ_CSD': SPCIQ['Capital Expenditures, Adj.'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_FREE_OPERATING_CASH_FLOW_ADJ_CSD': SPCIQ['Free Operating Cash Flow'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_DIVIDENDS_ADJ_CSD': SPCIQ['Dividends, Adj.'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_Share_Repurchases_CSD': SPCIQ['Share Repurchases'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_DISCRETIONARY_CASH_FLOW_ADJ_CSD': SPCIQ['Discretionary Cash Flow'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_CASH_ST_INVESTMENTS_ADJ_CSD': SPCIQ['Cash and Short-Term Investments'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_DEBT_ADJ_CSD': SPCIQ['Debt'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EQUITY_ADJ_CSD': SPCIQ['Equity'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_DEBT_EQUITY_ADJ_CSD': SPCIQ['Debt and Equity'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_DEBT_EBITDA_CSD': SPCIQ['Debt/EBITDA (x)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_FFO_DEBT_CSD': SPCIQ['FFO/Debt (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_OPS_CASH_FLOW_DEBT_PCT_ADJ_CSD': SPCIQ['Operating Cash Flow/Debt (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_FREE_OPERATING_CASH_FLOW_TO_DEBT_ADJ_CSD': SPCIQ['Free Operating Cash Flow/Debt (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_DISCRETIONARY_CASH_FLOW_DEBT_CSD':SPCIQ['Discretionary Cash Flow/Debt (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EBITDA_INTEREST_COVERAGE_CSD': SPCIQ['EBITDA Interest Coverage (x)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_FFO_CASH_INTEREST_COVERAGE_CSD' : SPCIQ['FFO Cash Interest Coverage (x)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EBITDA_REVENUES_CSD': SPCIQ['EBITDA Margin (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_RETURN_CAPITAL_CSD': SPCIQ['Return on Capital (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EBIT_MARGIN_CSD': SPCIQ['EBIT Margin (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_Debt_Debt_Plus_Equity_Underpreciated_Basis_Adj_CSD': SPCIQ['Debt/Debt+Equity(undepreciated basis) (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_Debt_Fixed_Charge_Coverage_Adj_CSD': SPCIQ['Debt Fixed Charge Coverage (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_RETURN_COMMON_EQUITY_ADJ_FOR_AFUDC_CSD': SPCIQ['ROCE (%), Adj. For AFUDC'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_LTV_Adj_CSD': SPCIQ['LTV (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_EBIT_INTEREST_COVERAGE_CSD': SPCIQ['EBIT Interest Coverage (x)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_ANNUAL_REVENUE_GROWTH_ADJ_CSD': SPCIQ['Revenue Growth (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_OPERATING_INC_AFTER_DA_REVENUES_CSD': SPCIQ['Operating Income (After D&A)/Revenues (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_COMMON_DIVIDEND_PAYOUT_RATIO_CSD': SPCIQ['Common Dividend Payout Ratio (%)'] = [float(x) for x in r['Rows'][0]['Row']] elif r['Mnemonic'] == 'IQ_LAST_UPDATED_CSD': SPCIQ['Last Update Date'] = r['Rows'][0]['Row'] SPCIQ = SPCIQ.set_index('Period End') return SPCIQ
77.288557
188
0.550499
1,844
15,535
4.429501
0.113341
0.100392
0.055215
0.045176
0.788443
0.73641
0.720127
0.66834
0.648751
0.637733
0
0.014286
0.22047
15,535
200
189
77.675
0.660198
0.009656
0
0.124183
0
0.27451
0.617626
0.191352
0
0
0
0
0
1
0.026144
false
0.006536
0.03268
0
0.104575
0.03268
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
2b95d52f5d305ef0d94b35f7e1e3f69695c62198
234
py
Python
mmtbx/command_line/cablam_training.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
mmtbx/command_line/cablam_training.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
mmtbx/command_line/cablam_training.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
from __future__ import absolute_import, division, print_function # LIBTBX_SET_DISPATCHER_NAME phenix.cablam_training import sys from mmtbx.cablam import cablam_training if __name__ == "__main__": cablam_training.run(sys.argv[1:])
26
64
0.824786
32
234
5.40625
0.65625
0.242775
0
0
0
0
0
0
0
0
0
0.004762
0.102564
234
8
65
29.25
0.819048
0.209402
0
0
0
0
0.043716
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2b9aa2e83782940909964a476d6abed6b0f4bcf2
252
py
Python
iteration_protocol.py
mpolinski/python-sandbox
b050ccd5707d15cc218256fcb7d5389774d3327c
[ "MIT" ]
null
null
null
iteration_protocol.py
mpolinski/python-sandbox
b050ccd5707d15cc218256fcb7d5389774d3327c
[ "MIT" ]
null
null
null
iteration_protocol.py
mpolinski/python-sandbox
b050ccd5707d15cc218256fcb7d5389774d3327c
[ "MIT" ]
null
null
null
iterable = ['Sprint', 'Summer', 'Autumn', 'Winter'] iterator = iter(iterable) another_iterator = iter(iterable) print(next(iterator)) print(next(iterator)) print(next(iterator)) print(next(another_iterator)) print(next(iterator)) print(next(iterator))
25.2
51
0.753968
31
252
6.064516
0.322581
0.287234
0.452128
0.468085
0.542553
0.542553
0.542553
0.319149
0
0
0
0
0.071429
252
9
52
28
0.803419
0
0
0.555556
0
0
0.095238
0
0
0
0
0
0
1
0
false
0
0
0
0
0.777778
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
2bb7736c158f7f57ffc7a6f0107bde6d550a48b1
421
py
Python
mlpy/tools/__init__.py
evenmarbles/mlpy
b1729bda9b3bf2d8baed504bcb75b00e12265f5f
[ "MIT" ]
10
2015-11-12T18:48:53.000Z
2021-06-22T05:54:11.000Z
mlpy/tools/__init__.py
evenmarbles/mlpy
b1729bda9b3bf2d8baed504bcb75b00e12265f5f
[ "MIT" ]
2
2018-06-16T02:37:31.000Z
2018-11-05T16:42:24.000Z
mlpy/tools/__init__.py
evenmarbles/mlpy
b1729bda9b3bf2d8baed504bcb75b00e12265f5f
[ "MIT" ]
6
2015-11-30T10:32:08.000Z
2020-08-24T01:32:35.000Z
""" ============================ Tools (:mod:`mlpy.tools`) ============================ .. currentmodule:: mlpy.tools .. autosummary:: :toctree: generated/ :nosignatures: ~configuration.ConfigMgr ~log.LoggingMgr .. autosummary:: :toctree: generated/ :nosignatures: ~misc.Waiting """ from __future__ import division, print_function, absolute_import __all__ = ['configuration', 'log', 'misc']
15.592593
64
0.586698
33
421
7.181818
0.666667
0.075949
0.227848
0.329114
0
0
0
0
0
0
0
0
0.149644
421
26
65
16.192308
0.662011
0.71734
0
0
1
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
5
2bc92d5ee92c4a53e1f2c19128dbb0a6ca90bcdf
6,101
py
Python
graphics/20/draw_triangle.py
mamewotoko/threejs_sample
06ea5d91df6367cd6ab14eb3fe239f7e86417272
[ "Apache-2.0" ]
1
2020-06-03T18:34:37.000Z
2020-06-03T18:34:37.000Z
graphics/20/draw_triangle.py
mamewotoko/threejs_sample
06ea5d91df6367cd6ab14eb3fe239f7e86417272
[ "Apache-2.0" ]
null
null
null
graphics/20/draw_triangle.py
mamewotoko/threejs_sample
06ea5d91df6367cd6ab14eb3fe239f7e86417272
[ "Apache-2.0" ]
null
null
null
import math canvas_size = (800, 800) r = 100 theta = math.pi*2/3 o = map(lambda x: x/2, canvas_size) l = r*math.sqrt(3) h = l*math.cos(math.pi/6) def points(i): return map(int, (r*math.cos(theta*i)+o[0], -r*math.sin(theta*i)+o[1])) print '<svg width="%d" height="%d" xmlns="http://www.w3.org/2000/svg">' % canvas_size print '<circle cx="%d" cy="%d" r="%d" fill="none" stroke="black" />' % (o[0], o[1], r) print '<circle cx="%d" cy="%d" r="%d" fill="none" stroke="purple" />' % (o[0], o[1], l) # axis print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="black" />' % (0, o[1], canvas_size[0], o[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="black" />' % (o[0], 0, o[0], canvas_size[1]) pointlist = [points(i) for i in range(0, 3)] for i in range(0, len(pointlist)): fromp = pointlist[i] top = pointlist[(i+1)%len(pointlist)] print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="black" />' % (fromp[0], fromp[1], top[0], top[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="green" />' % (pointlist[1][0], pointlist[1][1], pointlist[0][0]+r, pointlist[1][1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="green" />' % (pointlist[2][0], pointlist[2][1], pointlist[0][0]+r, pointlist[2][1]) # print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="green" />' % (pointlist[0][0], pointlist[0][1], o[0]-r, o[1]-2*r*math.tan(math.pi/3)) #minus print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="green" />' % (pointlist[0][0], pointlist[0][1], o[0]-r, o[1]+2*r*math.tan(math.pi/3)) # y = math.sqrt(3) * x + math.sqrt(3)*r print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="green" />' % (r+o[0], -2*math.sqrt(3)*r+o[1], -2*r+o[0], math.sqrt(3)*r+o[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="green" />' % (r+o[0], 2*math.sqrt(3)*r+o[1], -2*r+o[0], -math.sqrt(3)*r+o[1]) p0up = (pointlist[0][0], pointlist[0][1]-l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[0][0], pointlist[0][1], p0up[0], p0up[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[1][0], pointlist[1][1], p0up[0], p0up[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[0][0], pointlist[0][1], pointlist[0][0], pointlist[0][1]+l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[2][0], pointlist[2][1], pointlist[0][0], pointlist[0][1]+l) p0left = (pointlist[0][0]-2*h, pointlist[0][1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[1][0], pointlist[1][1], p0left[0], p0left[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[2][0], pointlist[2][1], p0left[0], p0left[1]) p1right = (pointlist[1][0]+2*h, pointlist[1][1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[0][0], pointlist[0][1], p1right[0], p1right[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p0up[0], p0up[1], p1right[0], p1right[1]) p2right = (pointlist[2][0]+2*h, pointlist[2][1]) p0down = (pointlist[0][0], pointlist[0][1]+l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[0][0], pointlist[0][1], p2right[0], p2right[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p0down[0], p0down[1], p2right[0], p2right[1]) p1up = (pointlist[1][0], pointlist[1][1]-l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p1up[0], p1up[1], pointlist[1][0], pointlist[1][1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p1up[0], p1up[1], p0up[0], p0up[1]) p2down = (pointlist[2][0], pointlist[2][1]+l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p2down[0], p2down[1], pointlist[2][0], pointlist[2][1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p2down[0], p2down[1], p0down[0], p0down[1]) p0leftup = (p0left[0], p0left[1]-l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p0left[0], p0left[1], p0leftup[0], p0leftup[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[1][0], pointlist[1][1], p0leftup[0], p0leftup[1]) p0leftdown = (p0left[0], p0left[1]+l) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (p0left[0], p0left[1], p0leftdown[0], p0leftdown[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="gray" stroke-dasharray="4,4" />' % (pointlist[2][0], pointlist[2][1], p0leftdown[0], p0leftdown[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="blue" stroke-dasharray="4,4" />' % (o[0]-2*r, o[1]-2*math.sqrt(3)*r, o[0]+2*r, o[1]+2*math.sqrt(3)*r) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="blue" stroke-dasharray="4,4" />' % (o[0]-2*r, o[1]+2*math.sqrt(3)*r, o[0]+2*r, o[1]-2*math.sqrt(3)*r) #6 phi = 2*math.pi/6 q0 = (l*math.cos(0)+o[0], -l*math.sin(0)+o[1]) q1 = (l*math.cos(phi)+o[0], -l*math.sin(phi)+o[1]) q2 = (l*math.cos(2*phi)+o[0], -l*math.sin(2*phi)+o[1]) q3 = (l*math.cos(3*phi)+o[0], -l*math.sin(3*phi)+o[1]) q4 = (l*math.cos(4*phi)+o[0], -l*math.sin(4*phi)+o[1]) q5 = (l*math.cos(5*phi)+o[0], -l*math.sin(5*phi)+o[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="pink" />' % (q0[0], q0[1], q1[0], q1[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="pink" />' % (q1[0], q1[1], q2[0], q2[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="pink" />' % (q2[0], q2[1], q3[0], q3[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="pink" />' % (q3[0], q3[1], q4[0], q4[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="pink" />' % (q4[0], q4[1], q5[0], q5[1]) print '<line x1="%d" y1="%d" x2="%d" y2="%d" stroke="pink" />' % (q5[0], q5[1], q0[0], q0[1]) #print '<line x1="" y1="" x2="" y2="" stroke="blue"/>' print '</svg>'
59.813725
158
0.554171
1,203
6,101
2.806318
0.071488
0.095972
0.117299
0.124408
0.785249
0.734893
0.688981
0.688981
0.685427
0.675059
0
0.104467
0.111949
6,101
101
159
60.405941
0.518642
0.016555
0
0
0
0.558824
0.425472
0.073444
0
0
0
0
0
0
null
null
0
0.014706
null
null
0.573529
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
5
2bd9a278d1f9a36250290fa79ffbb3ffd4021019
107
py
Python
app/core/services/__init__.py
umluizlima/user-manager
5ed4c7cacc82cfd1c91b168f467c0f1162a52a4c
[ "MIT" ]
7
2020-06-15T14:58:09.000Z
2022-02-13T12:05:04.000Z
app/core/services/__init__.py
umluizlima/user-manager
5ed4c7cacc82cfd1c91b168f467c0f1162a52a4c
[ "MIT" ]
2
2021-11-07T18:23:27.000Z
2022-01-27T16:51:36.000Z
app/core/services/__init__.py
umluizlima/user-manager
5ed4c7cacc82cfd1c91b168f467c0f1162a52a4c
[ "MIT" ]
null
null
null
from .access_code import AccessCodeService from .jwt import JWTService from .session import SessionService
26.75
42
0.859813
13
107
7
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.11215
107
3
43
35.666667
0.957895
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
2be77f1d45ba1544e06f71273d75e0a5821044ed
144
py
Python
src/liscopridge/app/__init__.py
liskin/liscopridge
c9d37689bad1b8c87a3b71d3bfc6248334e89191
[ "MIT" ]
null
null
null
src/liscopridge/app/__init__.py
liskin/liscopridge
c9d37689bad1b8c87a3b71d3bfc6248334e89191
[ "MIT" ]
1
2021-04-13T14:40:28.000Z
2021-04-13T14:41:10.000Z
src/liscopridge/app/__init__.py
liskin/liscopridge
c9d37689bad1b8c87a3b71d3bfc6248334e89191
[ "MIT" ]
null
null
null
import bottle # type: ignore [import] from pkg_resources import resource_filename bottle.TEMPLATE_PATH = [resource_filename(__package__, "")]
28.8
59
0.798611
17
144
6.294118
0.705882
0.299065
0
0
0
0
0
0
0
0
0
0
0.111111
144
4
60
36
0.835938
0.145833
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
9205f812e28af1fe8d6fc4bf7e5939aae901d2f1
5,316
py
Python
test/slack/test_slack_api.py
ujiuji1259/gokart
904268ff32feb42847df7ae898b0e2e454f787b5
[ "MIT" ]
null
null
null
test/slack/test_slack_api.py
ujiuji1259/gokart
904268ff32feb42847df7ae898b0e2e454f787b5
[ "MIT" ]
null
null
null
test/slack/test_slack_api.py
ujiuji1259/gokart
904268ff32feb42847df7ae898b0e2e454f787b5
[ "MIT" ]
null
null
null
import unittest from logging import getLogger from unittest import mock from unittest.mock import MagicMock from slack_sdk import WebClient from slack_sdk.web.slack_response import SlackResponse from testfixtures import LogCapture import gokart.slack logger = getLogger(__name__) def _slack_response(token, data): return SlackResponse(client=WebClient(token=token), http_verb="POST", api_url="http://localhost:3000/api.test", req_args={}, data=data, headers={}, status_code=200) class TestSlackAPI(unittest.TestCase): @mock.patch('gokart.slack.slack_api.slack_sdk.WebClient') def test_initialization_with_invalid_token(self, patch): def _conversations_list(params={}): return _slack_response(token='invalid', data={'ok': False, 'error': 'error_reason'}) mock_client = MagicMock() mock_client.conversations_list = MagicMock(side_effect=_conversations_list) patch.return_value = mock_client with LogCapture() as l: gokart.slack.SlackAPI(token='invalid', channel='test', to_user='test user') l.check(('gokart.slack.slack_api', 'WARNING', 'The job will start without slack notification: Channel test is not found in public channels.')) @mock.patch('gokart.slack.slack_api.slack_sdk.WebClient') def test_invalid_channel(self, patch): def _conversations_list(params={}): return _slack_response(token='valid', data={ 'ok': True, 'channels': [{ 'name': 'valid', 'id': 'valid_id' }], 'response_metadata': { 'next_cursor': '' } }) mock_client = MagicMock() mock_client.conversations_list = MagicMock(side_effect=_conversations_list) patch.return_value = mock_client with LogCapture() as l: gokart.slack.SlackAPI(token='valid', channel='invalid_channel', to_user='test user') l.check(('gokart.slack.slack_api', 'WARNING', 'The job will start without slack notification: Channel invalid_channel is not found in public channels.')) @mock.patch('gokart.slack.slack_api.slack_sdk.WebClient') def test_send_snippet_with_invalid_token(self, patch): def _conversations_list(params={}): return _slack_response(token='valid', data={ 'ok': True, 'channels': [{ 'name': 'valid', 'id': 'valid_id' }], 'response_metadata': { 'next_cursor': '' } }) def _api_call(method, data={}): assert method == 'files.upload' return {'ok': False, 'error': 'error_reason'} mock_client = MagicMock() mock_client.conversations_list = MagicMock(side_effect=_conversations_list) mock_client.api_call = MagicMock(side_effect=_api_call) patch.return_value = mock_client with LogCapture() as l: api = gokart.slack.SlackAPI(token='valid', channel='valid', to_user='test user') api.send_snippet(comment='test', title='title', content='content') l.check(('gokart.slack.slack_api', 'WARNING', 'Failed to send slack notification: Error while uploading file. The error reason is "error_reason".')) @mock.patch('gokart.slack.slack_api.slack_sdk.WebClient') def test_send(self, patch): def _conversations_list(params={}): return _slack_response(token='valid', data={ 'ok': True, 'channels': [{ 'name': 'valid', 'id': 'valid_id' }], 'response_metadata': { 'next_cursor': '' } }) def _api_call(method, data={}): assert method == 'files.upload' return {'ok': False, 'error': 'error_reason'} mock_client = MagicMock() mock_client.conversations_list = MagicMock(side_effect=_conversations_list) mock_client.api_call = MagicMock(side_effect=_api_call) patch.return_value = mock_client api = gokart.slack.SlackAPI(token='valid', channel='valid', to_user='test user') api.send_snippet(comment='test', title='title', content='content') if __name__ == '__main__': unittest.main()
41.858268
160
0.508089
481
5,316
5.351351
0.201663
0.05439
0.043512
0.051671
0.762626
0.762626
0.757964
0.745532
0.745532
0.738928
0
0.002168
0.392588
5,316
126
161
42.190476
0.794983
0
0
0.656566
0
0
0.184913
0.044018
0
0
0
0
0.020202
1
0.111111
false
0
0.080808
0.050505
0.272727
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
a697980bdb46b632d6a656bacbf8b1a56f70245e
200
py
Python
rest/main.py
zjurelinac/NoteStack
7c24a7d87d60b1f886585c78d0ce667d74a8c61c
[ "MIT" ]
null
null
null
rest/main.py
zjurelinac/NoteStack
7c24a7d87d60b1f886585c78d0ce667d74a8c61c
[ "MIT" ]
null
null
null
rest/main.py
zjurelinac/NoteStack
7c24a7d87d60b1f886585c78d0ce667d74a8c61c
[ "MIT" ]
null
null
null
from app import app, db from api import * from views import * from models import * if __name__ == '__main__': db.create_tables( [ User, Note, Category, Tag, TagToNote ], safe = True ) app.run()
22.222222
74
0.685
29
200
4.413793
0.689655
0.15625
0
0
0
0
0
0
0
0
0
0
0.2
200
8
75
25
0.8
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
a6b1a9f515a8bbff452a86308890a21b5434ee83
29
py
Python
python/testData/completion/percentStringDictLiteralStringKey.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/completion/percentStringDictLiteralStringKey.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/completion/percentStringDictLiteralStringKey.after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
"format: %(fooo)s" % {"fooo"}
29
29
0.517241
4
29
3.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
1
29
29
0.576923
0
0
0
0
0
0.666667
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
a6f58a47036f09f1c33733c747021edbf3fc73ac
40
py
Python
cloudberry-py/cloudberry/api/metadata_api/__init__.py
olliekrk/cloud-berry
8b39fb0b4f8772348fb50c0c1d0200c96df03cbe
[ "MIT" ]
null
null
null
cloudberry-py/cloudberry/api/metadata_api/__init__.py
olliekrk/cloud-berry
8b39fb0b4f8772348fb50c0c1d0200c96df03cbe
[ "MIT" ]
null
null
null
cloudberry-py/cloudberry/api/metadata_api/__init__.py
olliekrk/cloud-berry
8b39fb0b4f8772348fb50c0c1d0200c96df03cbe
[ "MIT" ]
null
null
null
from .metadata import Metadata, MetaIds
20
39
0.825
5
40
6.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.125
40
1
40
40
0.942857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
5b70d0e2412f0d8ea68876fcb2cb528e08a4a39c
1,619
py
Python
tests/conftest.py
release-depot/flask-container-scaffold
6f494bd603667fb2429de414dfdc798e51f39d43
[ "MIT" ]
null
null
null
tests/conftest.py
release-depot/flask-container-scaffold
6f494bd603667fb2429de414dfdc798e51f39d43
[ "MIT" ]
15
2020-12-07T20:33:38.000Z
2022-01-05T11:33:27.000Z
tests/conftest.py
release-depot/flask-container-scaffold
6f494bd603667fb2429de414dfdc798e51f39d43
[ "MIT" ]
2
2020-12-03T17:54:44.000Z
2021-08-06T15:32:49.000Z
import os import pytest @pytest.fixture def config_defaults(): _dir = os.path.dirname(os.path.realpath(__file__)) return _dir @pytest.fixture def mock_custom_only_folder(config_defaults): return os.path.join(config_defaults, 'data', 'custom') @pytest.fixture def mock_custom_only_settings_file(mock_custom_only_folder): return os.path.join(mock_custom_only_folder, 'config.yml') @pytest.fixture def mock_custom_only_bad_file(mock_custom_only_folder): return os.path.join(mock_custom_only_folder, 'bad_config.yml') @pytest.fixture def mock_custom_only_extra_cfg(mock_custom_only_folder): return os.path.join(mock_custom_only_folder, 'extra.cfg') @pytest.fixture def mock_custom_only_cfg_w_includes(mock_custom_only_folder): return os.path.join(mock_custom_only_folder, 'has_includes.cfg') @pytest.fixture def mock_instance_folder(config_defaults): return os.path.join(config_defaults, 'data') @pytest.fixture def mock_flask_settings_file(config_defaults): return os.path.join(config_defaults, 'data', 'settings.cfg') @pytest.fixture def mock_extra_settings_file(config_defaults): return os.path.join(config_defaults, 'data', 'extra.cfg') @pytest.fixture def mock_custom_settings_file(config_defaults): return os.path.join(config_defaults, 'data', 'config.yml') @pytest.fixture def mock_env_vars(mock_flask_settings_file, monkeypatch): monkeypatch.setenv('FLASK_SETTINGS', mock_flask_settings_file) @pytest.fixture def mock_env_override_vars(mock_extra_settings_file, monkeypatch): monkeypatch.setenv('FLASK_SETTINGS', mock_extra_settings_file)
25.296875
68
0.800494
235
1,619
5.119149
0.144681
0.116376
0.151288
0.182876
0.785536
0.725686
0.648379
0.591854
0.432253
0.432253
0
0
0.097591
1,619
63
69
25.698413
0.823409
0
0
0.307692
0
0
0.082767
0
0
0
0
0
0
1
0.307692
false
0
0.051282
0.230769
0.615385
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
5bc9601817c7d9834e14945ccb00e19ee069c330
3,770
py
Python
tests/test_team_api.py
frugardc/yfantasy-api
9736a0680460ee99411ef040a130e505fe4d229b
[ "MIT" ]
3
2021-03-13T02:15:21.000Z
2021-07-07T02:20:50.000Z
tests/test_team_api.py
frugardc/yfantasy-api
9736a0680460ee99411ef040a130e505fe4d229b
[ "MIT" ]
5
2021-04-10T04:58:47.000Z
2021-11-01T13:55:45.000Z
tests/test_team_api.py
frugardc/yfantasy-api
9736a0680460ee99411ef040a130e505fe4d229b
[ "MIT" ]
1
2021-09-13T12:02:17.000Z
2021-09-13T12:02:17.000Z
import requests_mock from pytest import raises from yfantasy_api.api import YahooFantasyApi def mock_request(requests_mock, path, response_name): with open(f'tests/resources/team/{response_name}.json') as f: requests_mock.get(f'{YahooFantasyApi.base_url}/{path}', text=f.read()) def test_meta(requests_mock): path = 'team/nhl.l.123456.t.1' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, 'meta') hasattr(api.team(1).meta().get(), 'info') def test_matchups(requests_mock): sub_resource = 'matchups' path = f'team/nhl.l.123456.t.1/{sub_resource};weeks=1' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, sub_resource) hasattr(api.team(1).matchups(week=1).get(), sub_resource) def test_roster(requests_mock): sub_resource = 'roster' path = f'team/nhl.l.123456.t.1/{sub_resource}' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, sub_resource) hasattr(api.team(1).roster().get(), sub_resource) def test_roster_week(requests_mock): sub_resource = 'roster' path = f'team/nhl.l.123456.t.1/{sub_resource};week=1' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, sub_resource) hasattr(api.team(1).roster(week=1).get(), sub_resource) def test_roster_date(requests_mock): sub_resource = 'roster' path = f'team/nhl.l.123456.t.1/{sub_resource};date=2021-03-01' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, sub_resource) hasattr(api.team(1).roster(date='2021-03-01').get(), sub_resource) def test_roster_with_more_than_one_coverage(requests_mock): api = YahooFantasyApi(123456, 'nhl', timeout=0) with raises(Exception) as sys_exit_e: api.team(1).roster(date='2021-03-01', week=1).get() assert sys_exit_e.type == Exception def test_standings(requests_mock): sub_resource = 'standings' path = f'team/nhl.l.123456.t.1/{sub_resource}' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, sub_resource) hasattr(api.team(1).standings().get(), sub_resource) def test_standings_with_divisions(requests_mock): sub_resource = 'standings' path = f'team/nhl.l.123456.t.1/{sub_resource}' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, 'standings_with_divisions') hasattr(api.team(1).standings().get(), sub_resource) def test_stats(requests_mock): sub_resource = 'stats' path = f'team/nhl.l.123456.t.1/{sub_resource}' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, sub_resource) hasattr(api.team(1).stats().get(), sub_resource) def test_roster_with_stats(requests_mock): sub_resource = 'roster' path = f'team/nhl.l.123456.t.1/{sub_resource}/players/stats' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, 'roster_with_stats') hasattr(api.team(1).roster().stats().get(), 'roster') def test_roster_with_stats_week(requests_mock): sub_resource = 'roster' path = f'team/nhl.l.123456.t.1/{sub_resource};week=1/players/stats' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, 'roster_with_stats') hasattr(api.team(1).roster(week=1).stats().get(), 'roster') def test_roster_with_stats_date(requests_mock): sub_resource = 'roster' path = f'team/nhl.l.123456.t.1/{sub_resource};date=2021-03-01/players/stats' api = YahooFantasyApi(123456, 'nhl', timeout=0) mock_request(requests_mock, path, 'roster_with_stats') hasattr(api.team(1).roster(date='2021-03-01').stats().get(), 'roster')
31.680672
80
0.71008
554
3,770
4.622744
0.111913
0.141742
0.081218
0.10777
0.81023
0.786802
0.756736
0.730574
0.667317
0.657946
0
0.067734
0.138462
3,770
118
81
31.949153
0.720751
0
0
0.460526
0
0.039474
0.208389
0.152641
0
0
0
0
0.013158
1
0.171053
false
0
0.039474
0
0.210526
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
753d6dae460df5eb1a61f0d0a06b03f692eab298
31
py
Python
datamaps/__init__.py
rowanv/python-datamaps
e7697ec00348ef8139b7b79537236c6ea8a408a7
[ "Apache-2.0" ]
null
null
null
datamaps/__init__.py
rowanv/python-datamaps
e7697ec00348ef8139b7b79537236c6ea8a408a7
[ "Apache-2.0" ]
null
null
null
datamaps/__init__.py
rowanv/python-datamaps
e7697ec00348ef8139b7b79537236c6ea8a408a7
[ "Apache-2.0" ]
null
null
null
from .basic_map import BasicMap
31
31
0.870968
5
31
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
753da23b97793639b659327ac1deb36762f36a7e
52
py
Python
gobayes/__init__.py
jni/gobayes
35b938c6ade3b2c2cfb7e4e675c6966cc902620f
[ "MIT" ]
null
null
null
gobayes/__init__.py
jni/gobayes
35b938c6ade3b2c2cfb7e4e675c6966cc902620f
[ "MIT" ]
null
null
null
gobayes/__init__.py
jni/gobayes
35b938c6ade3b2c2cfb7e4e675c6966cc902620f
[ "MIT" ]
null
null
null
import hypertest, simulation, tools import parsers
13
35
0.826923
6
52
7.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.134615
52
3
36
17.333333
0.955556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
75579873c048e1235076357cb0ff1e20f8c917cd
44
py
Python
rdkit/ForceField/__init__.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
1,609
2015-01-05T02:41:13.000Z
2022-03-30T21:57:24.000Z
rdkit/ForceField/__init__.py
kazuyaujihara/rdkit
06027dcd05674787b61f27ba46ec0d42a6037540
[ "BSD-3-Clause" ]
3,412
2015-01-06T12:13:33.000Z
2022-03-31T17:25:41.000Z
rdkit/ForceField/__init__.py
bp-kelley/rdkit
e0de7c9622ce73894b1e7d9568532f6d5638058a
[ "BSD-3-Clause" ]
811
2015-01-11T03:33:48.000Z
2022-03-28T11:57:49.000Z
from rdkit.ForceField.rdForceField import *
22
43
0.840909
5
44
7.4
1
0
0
0
0
0
0
0
0
0
0
0
0.090909
44
1
44
44
0.925
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f3475dd25a2881c013afb33e106ef123eb3096c2
227
py
Python
dwave_structural_imbalance_demo/__init__.py
hhtong/structural-imbalance
65634a55ecd54ab88eb0fa8c6d87627f886fb874
[ "Apache-2.0" ]
null
null
null
dwave_structural_imbalance_demo/__init__.py
hhtong/structural-imbalance
65634a55ecd54ab88eb0fa8c6d87627f886fb874
[ "Apache-2.0" ]
null
null
null
dwave_structural_imbalance_demo/__init__.py
hhtong/structural-imbalance
65634a55ecd54ab88eb0fa8c6d87627f886fb874
[ "Apache-2.0" ]
null
null
null
from dwave_structural_imbalance_demo.interfaces import * from dwave_structural_imbalance_demo.mmp_network import * from dwave_structural_imbalance_demo.drawing import * from dwave_structural_imbalance_demo.json_schema import *
45.4
57
0.894273
30
227
6.3
0.4
0.190476
0.402116
0.592593
0.772487
0.603175
0
0
0
0
0
0
0.070485
227
4
58
56.75
0.895735
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
f37cff02a0b650e96239e8f7041b71ad9ed115c2
111
py
Python
windflow/losses/__init__.py
tjvandal/windflow
20eee2b04ca983ba1fe6399f30f7ebd67dc68b5b
[ "MIT" ]
null
null
null
windflow/losses/__init__.py
tjvandal/windflow
20eee2b04ca983ba1fe6399f30f7ebd67dc68b5b
[ "MIT" ]
null
null
null
windflow/losses/__init__.py
tjvandal/windflow
20eee2b04ca983ba1fe6399f30f7ebd67dc68b5b
[ "MIT" ]
null
null
null
from .ssim import SSIM, ssim from .losses import SmoothnessLoss, CharbonnierLoss, L1Loss, L1, L2Loss, RMSVDLoss
55.5
82
0.810811
14
111
6.428571
0.714286
0
0
0
0
0
0
0
0
0
0
0.030612
0.117117
111
2
82
55.5
0.887755
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
340328aff87489d875bec949c74fe1ce1525be37
9,618
py
Python
QUANTAXIS/QAIndicator/indicators.py
paracats/QUANTAXIS
23907d5e1398bb57f3e8d9d50c21d9fb5bfe3e86
[ "MIT" ]
1
2017-09-21T08:11:34.000Z
2017-09-21T08:11:34.000Z
QUANTAXIS/QAIndicator/indicators.py
paracats/QUANTAXIS
23907d5e1398bb57f3e8d9d50c21d9fb5bfe3e86
[ "MIT" ]
null
null
null
QUANTAXIS/QAIndicator/indicators.py
paracats/QUANTAXIS
23907d5e1398bb57f3e8d9d50c21d9fb5bfe3e86
[ "MIT" ]
null
null
null
# coding:utf-8 # # The MIT License (MIT) # # Copyright (c) 2016-2017 yutiansut/QUANTAXIS # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all # copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. """ QUANTAXIS 指标计算 分为7类76个指标 - 趋势指标 - 震荡指标 - 成交量指标 - 均价线指标 - 动量指标 - 通道型指标 - 大盘指标 """ """趋势类""" import numpy as np import pandas as pd from .formula import SMA # TODO # 基于无状态的pd结构的指标 def QA_indicator_dma(data, f=10, s=50, N=10): """ 平行线差指标 中短期指标/趋势指标 通过计算两条基准周期不同的移动平均线的差值,来判断当前买入卖出能量的大小和未来价格走势的趋势 """ _dma = pd.Series(data).rolling(f).mean() - \ pd.Series(data).rolling(s).mean() _ama = pd.Series(_dma).rolling(N).mean() return _dma, _ama def QA_indicator_dmi(data): """ 趋向指标 中长期指标 用于判断多空力量由于受到价格波动的影响而发生的由均衡到失衡的过程 """ pass def QA_indicator_dpo(data, N=20, M=6): """ 区间振荡 数个短周波的组合,构成一个长周波。观察短周波的运动规律,可以估计长周波峰谷出现的时机。 例如: 四个短期循环底部,构成一个长期循环底部。 因此,DPO指标刻意忽略较长周期的波动,一方面可以减少周期干扰的混淆,一方面可以凸显个别周期的波动。 一段周期的移动平均线,其周期的二分之一处,是价格重心的聚集点。 以20天的周期为例,第10天是整段周期的重心平衡点。 移动平均线的形状,很像一条波浪状扭曲的绳子,股价在这条绳子的周围,上下来回穿梭。 如果消除扭曲的波动,将这条绳子拉平,重心平衡点视为图表上的0轴。把当日价格与重心平衡点间的差距,绘制于0轴的上下方。 如此一来,可以更清楚的显现出短周期的高、低点。 """ _dpo = pd.Series(data) - pd.Series(data).rolling(N / 2 + 1).mean() _madpo = pd.Series(_dpo).rolling(M).mean() return _dpo, _madpo def QA_indicator_jlhb(high, low, close, N=7, M=5): """ 绝路航标 滞后指标,灵敏性很差,容易出假信号 N:=7;M:=5; VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80; B:SMA(VAR1,N,1); VAR2:SMA(B,M,1); 绝路航标:IF(CROSS(B,VAR2) AND B<40,38,0),COLORYELLOW,LINETHICK2; DRAWICON( 绝路航标>0,38,1 ); 计算公式: VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80; B:SMA(VAR1,N,1); VAR2:SMA(B,M,1); 绝路航标:IF(CROSS(B,VAR2) AND B<40,50,0); VAR1赋值:(收盘价-60日内最低价的最低值)/(60日内最高价的最高值-60日内最低价的最低值)*80 输出 B:VAR1的N日[1日权重]移动平均 输出 VAR2:B的M日[1日权重]移动平均 输出 绝路航标:如果B上穿VAR2 AND B<40,返回50,否则返回0 输入: security_list:股票列表 check_date:要查询数据的日期 N:统计的天数 N M:统计的天数 M 输出: B, VAR2和绝路航标 的值。 输出结果类型: 字典(dict):键(key)为股票代码,值(value)为数据。 """ def JLHB(security_list, check_date, N=7, M=5): ''' import talib import numpy as np # 计算SMA(X, N, M), 即X的N日移动平均,M为权重, 若Y=SMA(X,N,M) 则 Y = (M*X+(N-M)*Y')/N, 其中Y'表示上一周期Y值,N必须大于M。返回一个列表 def SMA(X, N, M=1): ret = [] i = 1 length = len(X) # 跳过X中前面几个 nan 值 while i < length: if np.isnan(X[i]): i += 1 else: break preY = X[i] # Y' ret.append(preY) while i < length: Y = (M * X[i] + (N-M) * preY) / float(N) ret.append(Y) preY = Y i += 1 return ret # VAR1:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*80; # 返回一个列表 # 功能等效于talib.STOCHF返回的第一个值 def STOCHF(high, low, close, N=60): VAR = [] len_total = len(high) i = -len_total # 在N-1天之前,取不到LLV(LOW, N)和(HHV(HIGH,N),所以VAR的值为nan while i < -(len_total-N + 1): t = np.nan VAR.append(t) i += 1 # 终于有了LLV和HHV while i < -1: # 虽然都是+1,但意义不同,一个是弥补-N,一个是因为Python切片只能取到第二个参数所指的数的前一个 llv = min(low[i-N+1 : i+1]) hhv = max(high[i-N+1 : i+1]) t = (close[i]-llv) / (hhv-llv) * 80 VAR.append(t) i += 1 # 因为low[-x: 0]取不到数值,所以low/high/close中的最后N个要单独处理 llv = min(low[i-N+1 :]) hhv = max(high[i-N+1 :]) t = (close[i]-llv) / (hhv-llv) * 80 VAR.append(t) return VAR # 计算 JLHB jlhb_b = {} jlhb_var2 = {} jlhb_jlhb = {} # 修复传入为单只股票的情况 if isinstance(security_list, (str,unicode)): security_list = [security_list] for stock in security_list: security_data = get_price(stock, end_date = check_date, frequency = '1d', fields = ['low', 'high', 'close'] , skip_paused = True, count = N * 20) nan_count = list(np.isnan(security_data['close'])).count(True) if nan_count == len(security_data['close']): log.info("股票 %s 输入数据全是 NaN,该股票可能已退市或刚上市,返回 NaN 值数据。" % stock) jlhb_b[stock] = np.nan jlhb_var2[stock] = np.nan jlhb_jlhb[stock] = np.nan else: close_JLHB = security_data['close'] high_JLHB = security_data['high'] low_JLHB = security_data['low'] close = np.array(close_JLHB) high = np.array(high_JLHB) low = np.array(low_JLHB) # 计算VAR1值 var1 = STOCHF(high, low, close) # 计算 B 值 b = SMA(var1, N, 1) # 计算 var2 值 var2 = SMA(b, M, 1) # 计算 绝路航标 jlhb = 0 cross = 0 if b[-2] < var2[-2] and b[-1] > var2[-1]: cross = 1 if cross == 1 and b[-1] < 40: jlhb = 50 jlhb_b[stock] = b[-1] jlhb_var2[stock] = var2[-1] jlhb_jlhb[stock] = jlhb return jlhb_b, jlhb_var2, jlhb_jlhb # _var_1 = pd.Series(low)- ''' pass def QA_indicator_cho(data): pass def QA_indicator_macd(data): pass def QA_indicator_emv(data): pass def QA_indicator_trix(data): pass def QA_indicator_gdx(data): pass def QA_indicator_qacd(data): pass def QA_indicator_uos(data): pass def QA_indicator_vpt(data): pass def QA_indicator_qr(data): pass def QA_indicator_cye(data): pass def QA_indicator_js(data): pass def QA_indicator_wvad(deta): pass """震荡指标""" def QA_indicator_rsi(data): pass def QA_indicator_marsi(data): pass def QA_indicator_cci(data): pass def QA_indicator_mfi(deta): pass def QA_indicator_mtm(data): pass def QA_indicator_osc(data): pass def QA_indicator_roc(data): pass def QA_indicator_kd(data): pass def QA_indicator_kdj(data): pass def QA_indicator_skdj(data): pass def QA_indicator_udl(data): pass def QA_indicator_wr(data): pass def QA_indicator_lwr(data): pass def QA_indicator_bias(data): pass def QA_indicator_accer(data): pass def QA_indicator_cyd(data): pass def QA_indicator_cyf(data): pass def QA_indicator_fsl(data): pass def QA_indicator_tapi(data): pass def QA_indicator_dkx(data): pass def QA_indicator_atr(data): pass def QA_indicator_adtm(data): pass """成交量指标""" def QA_indicator_vol(data): pass def QA_indicator_vrsi(data): pass def QA_indicator_obv(data): pass def QA_indicator_dblb(data): pass def QA_indicator_dbqrv(data): pass def QA_indicator_amo(data): pass def QA_indicator_hsl(data): pass def QA_indicator_hscol(data): pass """均价线指标""" def QA_indicator_ma(data): pass def QA_indicator_expma(data): pass def QA_indicator_hma(data): pass def QA_indicator_lma(data): pass def QA_indicator_vma(data): pass def QA_indicator_amv(data): pass def QA_indicator_acd(data): pass def QA_indicator_bbi(data): pass """动量指标""" def QA_indicator_psy(data): pass def QA_indicator_vr(data): pass def QA_indicator_brar(data): pass def QA_indicator_cr(data): pass def QA_indicator_mass(data): pass def QA_indicator_wad(data): pass def QA_indicator_pcnt(data): pass def QA_indicator_cyr(data): pass """通道型指标""" def QA_indicator_boll(data): pass def QA_indicator_pbx(data): pass def QA_indicator_ene(data): pass def QA_indicator_mike(data): pass def QA_indicator_xs(data): pass def QA_indicator_xt(data): pass """大盘指标""" def QA_indicator_adl(data): pass def QA_indicator_adr(data): pass def QA_indicator_arms(data): pass def QA_indicator_abi(data): pass def QA_indicator_bti(data): pass def QA_indicator_mcl(data): pass def QA_indicator_obos(data): pass def QA_indicator_stix(data): pass if __name__ == '__main__': import QUANTAXIS as QA import pymongo data = QA.QA_fetch_stock_day( '600016', '2017-01-01', '2017-07-01').T[1].astype(float) print(QA_indicator_dma(data))
17.778189
157
0.590767
1,331
9,618
4.105184
0.294515
0.155015
0.194729
0.220717
0.320278
0.056003
0.044107
0.039165
0.039165
0.039165
0
0.026623
0.297047
9,618
540
158
17.811111
0.781541
0.54242
0
0.443114
0
0
0.009145
0
0
0
0
0.001852
0
1
0.461078
false
0.443114
0.02994
0
0.502994
0.005988
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
5
343cd9784dcaf0a06e196520d86f2088a9d0f322
190
py
Python
Exercicios de Python/Curso em video/Mundo1/Ex14.py
AbraaoLeonardo/EstudandoPython
f4378eb08d4a8d1353372e181b1974d037d6ac9c
[ "MIT" ]
null
null
null
Exercicios de Python/Curso em video/Mundo1/Ex14.py
AbraaoLeonardo/EstudandoPython
f4378eb08d4a8d1353372e181b1974d037d6ac9c
[ "MIT" ]
null
null
null
Exercicios de Python/Curso em video/Mundo1/Ex14.py
AbraaoLeonardo/EstudandoPython
f4378eb08d4a8d1353372e181b1974d037d6ac9c
[ "MIT" ]
null
null
null
temperatura = float(input('Qual é a temperatura em ºC? ')) temperatura_em_f = (temperatura*9/5) + 32 print('A temperatura em {}ºC conrresponde a {}ºf'.format(temperatura, temperatura_em_f))
47.5
88
0.747368
29
190
4.758621
0.551724
0.376812
0.202899
0.231884
0
0
0
0
0
0
0
0.02381
0.115789
190
3
89
63.333333
0.797619
0
0
0
0
0
0.363158
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
34553e91a54515a61c9862aa403817568897249c
129
py
Python
baekjoon/python/park_sung_won_gen.py
yskang/AlgorithmPracticeWithPython
f7129bd1924a7961489198f0ee052d2cd1e9cf40
[ "MIT" ]
null
null
null
baekjoon/python/park_sung_won_gen.py
yskang/AlgorithmPracticeWithPython
f7129bd1924a7961489198f0ee052d2cd1e9cf40
[ "MIT" ]
null
null
null
baekjoon/python/park_sung_won_gen.py
yskang/AlgorithmPracticeWithPython
f7129bd1924a7961489198f0ee052d2cd1e9cf40
[ "MIT" ]
null
null
null
from random import randint n = randint(1, 15) print(n) for _ in range(n): print(randint(1, 10)) print(randint(1, 100))
18.428571
27
0.643411
22
129
3.727273
0.590909
0.292683
0.317073
0
0
0
0
0
0
0
0
0.098039
0.209302
129
7
28
18.428571
0.705882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
5
345714af717cea229439d00b35cf35dd8c0584e4
25
py
Python
api/googlemaps_api/init.py
PranavPusarla/photo-loco
49be824b8280930bfba651101f9d09be495a9a39
[ "MIT" ]
1
2020-08-30T00:12:57.000Z
2020-08-30T00:12:57.000Z
api/googlemaps_api/init.py
PranavPusarla/photo-loco
49be824b8280930bfba651101f9d09be495a9a39
[ "MIT" ]
null
null
null
api/googlemaps_api/init.py
PranavPusarla/photo-loco
49be824b8280930bfba651101f9d09be495a9a39
[ "MIT" ]
null
null
null
#google maps api requests
25
25
0.84
4
25
5.25
1
0
0
0
0
0
0
0
0
0
0
0
0.12
25
1
25
25
0.954545
0.96
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
34610ae321f3588fb867cdd9ca1a274f62be2f55
1,101
py
Python
901-1000/935.knight-dialer.py
guangxu-li/leetcode-in-python
8a5a373b32351500342705c141591a1a8f5f1cb1
[ "MIT" ]
null
null
null
901-1000/935.knight-dialer.py
guangxu-li/leetcode-in-python
8a5a373b32351500342705c141591a1a8f5f1cb1
[ "MIT" ]
null
null
null
901-1000/935.knight-dialer.py
guangxu-li/leetcode-in-python
8a5a373b32351500342705c141591a1a8f5f1cb1
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=935 lang=python3 # # [935] Knight Dialer # # @lc code=start import numpy as np class Solution: def knightDialer(self, n: int) -> int: """ A is adjency matrix, number of n-length paths for i -> j equals to (i, j) in A^n """ adj = np.array( [ [0, 0, 0, 0, 1, 0, 1, 0, 0, 0], [0, 0, 0, 0, 0, 0, 1, 0, 1, 0], [0, 0, 0, 0, 0, 0, 0, 1, 0, 1], [0, 0, 0, 0, 1, 0, 0, 0, 1, 0], [1, 0, 0, 1, 0, 0, 0, 0, 0, 1], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [1, 1, 0, 0, 0, 0, 0, 1, 0, 0], [0, 0, 1, 0, 0, 0, 1, 0, 0, 0], [0, 1, 0, 1, 0, 0, 0, 0, 0, 0], [0, 0, 1, 0, 1, 0, 0, 0, 0, 0], ] ) counter, N, mod = np.identity(10, int), n - 1, 10 ** 9 + 7 while N: if N % 2: counter = counter @ adj % mod adj = adj @ adj % mod N //= 2 return 10 if n == 1 else np.sum(counter) % mod # @lc code=end
25.604651
88
0.354223
187
1,101
2.085562
0.283422
0.307692
0.353846
0.338462
0.25641
0.25641
0.25641
0.25641
0.248718
0.248718
0
0.203072
0.467757
1,101
42
89
26.214286
0.462457
0.150772
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
3466a3be48969205f91e2d6dff4716214b53fcc9
46
py
Python
tests/components/google_domains/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
30,023
2016-04-13T10:17:53.000Z
2020-03-02T12:56:31.000Z
tests/components/google_domains/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
31,101
2020-03-02T13:00:16.000Z
2022-03-31T23:57:36.000Z
tests/components/google_domains/__init__.py
jagadeeshvenkatesh/core
1bd982668449815fee2105478569f8e4b5670add
[ "Apache-2.0" ]
11,956
2016-04-13T18:42:31.000Z
2020-03-02T09:32:12.000Z
"""Tests for the google_domains component."""
23
45
0.73913
6
46
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.108696
46
1
46
46
0.804878
0.847826
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
caa120d43bef94e9e6fa8b729a3286da331b7a62
80
py
Python
keras/initializers.py
ikingye/keras
1a3ee8441933fc007be6b2beb47af67998d50737
[ "MIT" ]
5
2020-11-30T22:26:03.000Z
2020-12-01T22:34:25.000Z
keras/initializers.py
ikingye/keras
1a3ee8441933fc007be6b2beb47af67998d50737
[ "MIT" ]
10
2020-12-01T22:55:29.000Z
2020-12-11T18:31:46.000Z
keras/initializers.py
ikingye/keras
1a3ee8441933fc007be6b2beb47af67998d50737
[ "MIT" ]
15
2020-11-30T22:12:22.000Z
2020-12-09T01:32:48.000Z
"""Built-in weight initializers.""" from tensorflow.keras.initializers import *
26.666667
43
0.775
9
80
6.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.0875
80
3
43
26.666667
0.849315
0.3625
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
cab3d1ffb72cf8eea21f069d303eb143f9cec1cc
1,759
py
Python
main.py
TRBaldim/Q-Learning
32c60dd75c1b2bb72c4c56661caa360a1bff96e3
[ "MIT" ]
null
null
null
main.py
TRBaldim/Q-Learning
32c60dd75c1b2bb72c4c56661caa360a1bff96e3
[ "MIT" ]
null
null
null
main.py
TRBaldim/Q-Learning
32c60dd75c1b2bb72c4c56661caa360a1bff96e3
[ "MIT" ]
null
null
null
from map import Map from default_object import Objects from elements import Wall, Cheese, Mouse, Cat from reinforcement import directions import numpy as np obj = Objects() b_obj = Objects() obj.put_stack(b_obj) map = Map(10, 6) m = Mouse() #[map.set_element(Wall(), np.random.randint(0, 9), np.random.randint(0, 5)) for _ in range(5)] map.set_element(Cheese(), 1, 0) map.set_element(m, 9, 5) map.set_element(Wall(), 9, 4) map.set_element(Wall(), 8, 4) map.set_element(Wall(), 7, 4) map.set_element(Wall(), 5, 4) map.set_element(Wall(), 4, 4) map.set_element(Wall(), 3, 4) map.set_element(Wall(), 2, 4) map.set_element(Wall(), 1, 4) map.set_element(Wall(), 0, 4) map.set_element(Wall(), 5, 5) map.set_element(Wall(), 5, 3) map.set_element(Wall(), 5, 2) map.set_element(Wall(), 6, 2) map.set_element(Wall(), 7, 2) map.set_element(Wall(), 9, 3) map.set_element(Wall(), 9, 2) map.set_element(Wall(), 9, 1) map.set_element(Wall(), 9, 0) map.set_element(Wall(), 8, 0) map.set_element(Wall(), 7, 0) map.set_element(Wall(), 6, 0) map.set_element(Wall(), 5, 0) map.set_element(Wall(), 4, 0) map.set_element(Wall(), 3, 0) map.set_element(Wall(), 3, 1) map.set_element(Wall(), 3, 2) map.set_element(Wall(), 0, 0) map.set_element(Wall(), 0, 1) map.set_element(Wall(), 0, 2) map.set_element(Wall(), 0, 3) map.set_element(Wall(), 2, 0) map.set_element(Wall(), 2, 1) map.set_element(Wall(), 2, 2) #map.set_element(Cheese(), 4, 3) #map.set_element(Cat(), 0, 4) print map for _ in range(1000): pos = map.possible_move(*m.position) p = m.learn(map) #print directions((m.position[0], m.position[1]), pos) #p = pos[np.random.randint(0, len(pos))] #print p map.move_object(m, *p) print map # TODO: Build a Labirinth to teach the mouse to solve
26.651515
94
0.673678
332
1,759
3.430723
0.168675
0.200176
0.433714
0.507463
0.549605
0.13345
0
0
0
0
0
0.05817
0.130188
1,759
65
95
27.061538
0.686275
0.172257
0
0.039216
0
0
0
0
0
0
0
0.015385
0
0
null
null
0
0.098039
null
null
0.039216
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
5
cacf9878aaf797572d99202fa1e1453e7e26356e
97
py
Python
setup.py
operatorequals/connaisseur
a8562fc49deb8e3cb7acf1464f59949e5084fd00
[ "Apache-2.0" ]
281
2020-08-07T16:21:07.000Z
2022-03-31T11:08:42.000Z
setup.py
operatorequals/connaisseur
a8562fc49deb8e3cb7acf1464f59949e5084fd00
[ "Apache-2.0" ]
445
2020-09-02T10:41:18.000Z
2022-03-31T10:19:29.000Z
setup.py
operatorequals/connaisseur
a8562fc49deb8e3cb7acf1464f59949e5084fd00
[ "Apache-2.0" ]
38
2020-10-28T08:05:04.000Z
2022-03-09T02:06:40.000Z
from setuptools import setup, find_packages setup(name="connaisseur", packages=find_packages())
24.25
51
0.814433
12
97
6.416667
0.666667
0.311688
0
0
0
0
0
0
0
0
0
0
0.082474
97
3
52
32.333333
0.865169
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
cad39334fcca0ad26118d722bc3c65c3c228772d
41
py
Python
projects/pass-manager-tkinter-encrypted/launcher.py
srakhe/pass-manager-py
b67068d111c2d2d8f5bac1021e782a34f02061b9
[ "MIT" ]
null
null
null
projects/pass-manager-tkinter-encrypted/launcher.py
srakhe/pass-manager-py
b67068d111c2d2d8f5bac1021e782a34f02061b9
[ "MIT" ]
null
null
null
projects/pass-manager-tkinter-encrypted/launcher.py
srakhe/pass-manager-py
b67068d111c2d2d8f5bac1021e782a34f02061b9
[ "MIT" ]
null
null
null
from scripts import ui ui_obj = ui.UI()
10.25
22
0.707317
8
41
3.5
0.625
0.285714
0
0
0
0
0
0
0
0
0
0
0.195122
41
3
23
13.666667
0.848485
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
cad4e971df1e976c86842f97c5034031156c50fe
781
py
Python
Z_WH/api/__init__.py
Alexis-ba6/Z-WaterHeater
aef4dd8cd345b1230aa87dcc12e3319040d8484b
[ "MIT" ]
1
2021-06-28T11:13:38.000Z
2021-06-28T11:13:38.000Z
Z_WH/api/__init__.py
alexba6/Z-WaterHeater
aef4dd8cd345b1230aa87dcc12e3319040d8484b
[ "MIT" ]
null
null
null
Z_WH/api/__init__.py
alexba6/Z-WaterHeater
aef4dd8cd345b1230aa87dcc12e3319040d8484b
[ "MIT" ]
null
null
null
from .router.auth import authRouter from .router.token import tokenRouter from .router.user import userRouter from .router.timeSlots import timeSlotRouter from .router.outGroup import outGroupRouter from .router.temperature import temperatureRouter from .router.tempSensor import tempSensorRouter from .router.settings import settingsRouter from .router.control import controlRouter from .app import app from .responces import error app.register_blueprint(authRouter) app.register_blueprint(tokenRouter) app.register_blueprint(userRouter) app.register_blueprint(timeSlotRouter) app.register_blueprint(outGroupRouter) app.register_blueprint(temperatureRouter) app.register_blueprint(tempSensorRouter) app.register_blueprint(settingsRouter) app.register_blueprint(controlRouter)
31.24
49
0.866837
89
781
7.505618
0.292135
0.134731
0.269461
0
0
0
0
0
0
0
0
0
0.072983
781
24
50
32.541667
0.922652
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.55
0
0.55
0.45
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
1
0
5
1b037dbad02d4edf277b4a71ddd0cb63d97b9ec5
107
py
Python
maracas/__init__.py
jfsantos/maracas
ae51c9e4accbeffc5706aa44966270824963b5d5
[ "MIT" ]
68
2016-11-02T02:54:59.000Z
2021-11-08T07:05:00.000Z
maracas/__init__.py
nd1511/maracas
ae51c9e4accbeffc5706aa44966270824963b5d5
[ "MIT" ]
5
2016-12-06T14:16:54.000Z
2019-08-02T09:16:36.000Z
maracas/__init__.py
nd1511/maracas
ae51c9e4accbeffc5706aa44966270824963b5d5
[ "MIT" ]
20
2016-12-06T16:48:49.000Z
2021-09-10T04:03:16.000Z
from __future__ import absolute_import from .maracas import asl_meter, rms_energy, add_noise, add_reverb
21.4
65
0.841121
16
107
5.0625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.121495
107
4
66
26.75
0.861702
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1b3d59e13893b66e6045c752a53775a9c8bd38dd
2,223
py
Python
MORE_PYTHON_STUFF/AWS-edX/AWS-Developer_BuildingOnAWS/environment/.c9/metadata/environment/exercise-s3-upload/FlaskApp/application.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
MORE_PYTHON_STUFF/AWS-edX/AWS-Developer_BuildingOnAWS/environment/.c9/metadata/environment/exercise-s3-upload/FlaskApp/application.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
MORE_PYTHON_STUFF/AWS-edX/AWS-Developer_BuildingOnAWS/environment/.c9/metadata/environment/exercise-s3-upload/FlaskApp/application.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
{"filter":false,"title":"application.py","tooltip":"/exercise-s3-upload/FlaskApp/application.py","undoManager":{"mark":7,"position":7,"stack":[[{"start":{"row":52,"column":29},"end":{"row":53,"column":0},"action":"insert","lines":["",""],"id":2},{"start":{"row":53,"column":0},"end":{"row":53,"column":12},"action":"insert","lines":[" "]}],[{"start":{"row":52,"column":29},"end":{"row":52,"column":114},"action":"insert","lines":["sorted(response['Contents'], key=lambda object: object['LastModified'], reverse=True)"],"id":5}],[{"start":{"row":52,"column":114},"end":{"row":52,"column":115},"action":"insert","lines":["]"],"id":6}],[{"start":{"row":53,"column":12},"end":{"row":53,"column":33},"action":"remove","lines":["response['Contents']]"],"id":7}],[{"start":{"row":53,"column":8},"end":{"row":53,"column":12},"action":"remove","lines":[" "],"id":8},{"start":{"row":53,"column":4},"end":{"row":53,"column":8},"action":"remove","lines":[" "]},{"start":{"row":53,"column":0},"end":{"row":53,"column":4},"action":"remove","lines":[" "]}],[{"start":{"row":52,"column":115},"end":{"row":53,"column":0},"action":"remove","lines":["",""],"id":9}],[{"start":{"row":53,"column":0},"end":{"row":54,"column":0},"action":"remove","lines":["",""],"id":10}],[{"start":{"row":52,"column":109},"end":{"row":52,"column":113},"action":"remove","lines":["True"],"id":11},{"start":{"row":52,"column":109},"end":{"row":52,"column":110},"action":"insert","lines":["F"]},{"start":{"row":52,"column":110},"end":{"row":52,"column":111},"action":"insert","lines":["a"]},{"start":{"row":52,"column":111},"end":{"row":52,"column":112},"action":"insert","lines":["l"]},{"start":{"row":52,"column":112},"end":{"row":52,"column":113},"action":"insert","lines":["s"]},{"start":{"row":52,"column":113},"end":{"row":52,"column":114},"action":"insert","lines":["e"]}]]},"ace":{"folds":[],"scrolltop":360,"scrollleft":0,"selection":{"start":{"row":52,"column":114},"end":{"row":52,"column":114},"isBackwards":false},"options":{"guessTabSize":true,"useWrapMode":false,"wrapToView":true},"firstLineState":{"row":29,"state":"start","mode":"ace/mode/python"}},"timestamp":1525373716401,"hash":"48e680409c2d1011a2138455e4aea61c3983c478"}
2,223
2,223
0.584345
299
2,223
4.344482
0.264214
0.076982
0.169361
0.135489
0.401848
0.357198
0.251732
0.201694
0.149346
0
0
0.09385
0.012596
2,223
1
2,223
2,223
0.49795
0
0
0
0
0
0.521133
0.069694
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
1b3ff164ddf94b90262b8f454e8f638e7862a0e1
108
py
Python
xdl/readwrite/__init__.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
xdl/readwrite/__init__.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
xdl/readwrite/__init__.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
from .xml_interpreter import xdl_file_to_objs, xdl_str_to_objs from .xml_generator import xdl_to_xml_string
36
62
0.888889
20
108
4.25
0.55
0.164706
0
0
0
0
0
0
0
0
0
0
0.083333
108
2
63
54
0.858586
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1b618d3d01762e95a2e30c3b313f8b119a966342
31
py
Python
gbpwd/__init__.py
gabbarreiro/gbpwd
fd665b686b16634b8b7ee4154807d6c99766dcb2
[ "Unlicense" ]
null
null
null
gbpwd/__init__.py
gabbarreiro/gbpwd
fd665b686b16634b8b7ee4154807d6c99766dcb2
[ "Unlicense" ]
null
null
null
gbpwd/__init__.py
gabbarreiro/gbpwd
fd665b686b16634b8b7ee4154807d6c99766dcb2
[ "Unlicense" ]
null
null
null
from . import gui, cli, backend
31
31
0.741935
5
31
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.16129
31
1
31
31
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1b677ae8a4a6c996dabe727764bb2ce46a73c398
4,909
py
Python
epytope/Data/pssms/arb/mat/B_4402_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
7
2021-02-01T18:11:28.000Z
2022-01-31T19:14:07.000Z
epytope/Data/pssms/arb/mat/B_4402_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
22
2021-01-02T15:25:23.000Z
2022-03-14T11:32:53.000Z
epytope/Data/pssms/arb/mat/B_4402_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
4
2021-05-28T08:50:38.000Z
2022-03-14T11:45:32.000Z
B_4402_9 = {0: {'A': 0.4842846174144145, 'C': 0.2720992501980588, 'E': -0.08342504491391231, 'D': -0.09543323282273293, 'G': 0.18375325044686736, 'F': -0.08844664426324639, 'I': -0.20812846536246637, 'H': -0.1468939879802831, 'K': -0.05340766812883206, 'M': 0.1598501142914916, 'L': -0.055010318607910266, 'N': 0.23673818955924814, 'Q': -0.017614354484241902, 'P': -0.3227987272349655, 'S': 0.2315373289700428, 'R': -0.13383528517139714, 'T': -0.11804867629341341, 'W': -0.049017912528623996, 'V': -0.21520755585643433, 'Y': -0.16699984605952573}, 1: {'A': -0.12965248642829624, 'C': -0.3306293520836488, 'E': 1.0546870008753544, 'D': -0.06449459832033556, 'G': -0.23949051559862333, 'F': -0.2205662553788724, 'I': -0.26296424070454255, 'H': -0.24157525963961501, 'K': -0.3313083767865946, 'M': -0.26595303983908736, 'L': -0.311372282583031, 'N': -0.2290492159983688, 'Q': -0.2617121061813624, 'P': -0.4311685362179704, 'S': -0.2570952979620052, 'R': -0.27732322590133496, 'T': -0.27487423701175984, 'W': -0.2663059165581086, 'V': -0.32512521546804846, 'Y': -0.2802424517222993}, 2: {'A': -0.0027232079563290173, 'C': -0.27084205698129593, 'E': -0.15326499785201622, 'D': -0.24167490732866834, 'G': -0.15324877338254295, 'F': 0.06424805445449384, 'I': 0.11079670832989433, 'H': 0.16666578860164752, 'K': -0.1750974673936292, 'M': 0.3692448094105471, 'L': 0.17568993034370678, 'N': 0.6621284513541712, 'Q': -0.051290514295904394, 'P': -0.32607219897902867, 'S': 0.01613521734260929, 'R': -0.2736272971048076, 'T': -0.011089317879133124, 'W': 0.403656723953435, 'V': 0.014189735776562388, 'Y': -0.13168525687405325}, 3: {'A': 0.10995982974262752, 'C': 0.05697200940430457, 'E': -0.1325869644148637, 'D': 0.13136914599382318, 'G': -0.13890313266847854, 'F': -0.03977585092388164, 'I': -0.10255573568721739, 'H': -0.16802169764091945, 'K': -0.057590001164994256, 'M': -0.08076095547626007, 'L': 0.36792897924946255, 'N': -0.0704169164535172, 'Q': 0.1449932940904619, 'P': -0.16148903525606612, 'S': 0.28174568511644915, 'R': -0.1819295693911345, 'T': -0.10761834002839064, 'W': -0.07193137462845159, 'V': -0.02602482411219901, 'Y': -0.09411000391987058}, 4: {'A': 0.002873450164262267, 'C': 0.06768275394625548, 'E': -0.17870852292210576, 'D': 0.04613685043019943, 'G': -0.0988488175809965, 'F': 0.014811049261912852, 'I': 0.029185742963142407, 'H': -0.13900852766203317, 'K': -0.16656208469464762, 'M': 0.07512092492883754, 'L': 0.16785027397304408, 'N': -0.18148992790246793, 'Q': -0.19668484536702727, 'P': 0.09379148353315613, 'S': 0.2081742208156662, 'R': -0.054333220916925856, 'T': 0.032132142969496916, 'W': 0.3217415770077642, 'V': -0.08134890336156052, 'Y': 0.012760141135328931}, 5: {'A': -0.014834405502947085, 'C': 0.22212363181435088, 'E': -0.2197456399142261, 'D': 0.04769373029180163, 'G': -0.01204394468040241, 'F': -0.13562201618192074, 'I': -0.06579065278932836, 'H': -0.12166928439839272, 'K': -0.22185611097021232, 'M': -0.09718464450848935, 'L': -0.06509304962742617, 'N': -0.08189153919637364, 'Q': 0.26571202050830206, 'P': -0.015213492461841347, 'S': 0.12309338043809788, 'R': -0.18258477553428015, 'T': 0.12229132423973592, 'W': -0.12651251466229999, 'V': 0.32950689698483626, 'Y': 0.15489909363270365}, 6: {'A': -0.13066816932378442, 'C': 0.20344831569851596, 'E': 0.0023755961005181513, 'D': -0.21193457733976642, 'G': -0.14899636933382862, 'F': 0.03991412261706262, 'I': -0.0676350508834541, 'H': -0.06576966694716162, 'K': -0.05415821003715374, 'M': -0.32529448943969125, 'L': 0.0854473170470656, 'N': -0.1360426056296426, 'Q': 0.03685285053387427, 'P': 0.05715704985495387, 'S': 0.06357577549630439, 'R': 0.015897302183094056, 'T': 0.26956391245572553, 'W': 0.04356668239043273, 'V': -0.026154513589218338, 'Y': 0.38999077943842814}, 7: {'A': -0.028083316110542836, 'C': 0.23359154896781473, 'E': 0.07116888475654198, 'D': 0.0019402563606602424, 'G': -0.14053201035340734, 'F': 0.0024728548029388613, 'I': 0.047528748321470284, 'H': 0.21652936947332457, 'K': -0.07960556962735514, 'M': -0.0033278611670563897, 'L': 0.054797647922537614, 'N': -0.040252680045187145, 'Q': 0.029850008317504444, 'P': -0.17073155122336758, 'S': 0.1514136759196053, 'R': -0.1274228113812735, 'T': -0.13763618024774707, 'W': 0.2919480784044355, 'V': 0.05034444664604945, 'Y': -0.008048992000077537}, 8: {'A': 0.17501353855923396, 'C': -0.07956077675143067, 'E': -0.22959090006566063, 'D': -0.28002545580859156, 'G': 0.2691633833113548, 'F': 0.16902162042247487, 'I': 0.14468072900505835, 'H': -0.23013639611418452, 'K': -0.32412718664618784, 'M': -0.05410338786824387, 'L': -0.07119273597985337, 'N': -0.22959090006566063, 'Q': -0.22941018997599388, 'P': -0.2292294446140098, 'S': -0.28290699325776525, 'R': -0.2757368070665497, 'T': 0.17303610481194356, 'W': 0.34802199265626765, 'V': -0.14123726847741547, 'Y': 0.13856174467002058}, -1: {'slope': 0.08493262724541854, 'intercept': -0.34839112303778547}}
4,909
4,909
0.708902
559
4,909
6.221825
0.384615
0.005175
0
0
0
0
0
0
0
0
0
0.724085
0.07639
4,909
1
4,909
4,909
0.043008
0
0
0
0
0
0.039511
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1b914ebc6d4896db19e6e47bd93b28816f01da09
261
py
Python
passax/browser_version.py
Auax/passax
ee1b58608b3ea30970f285321d0c1821f0452c8b
[ "MIT" ]
1
2021-12-11T22:55:56.000Z
2021-12-11T22:55:56.000Z
passax/browser_version.py
Auax/passax
ee1b58608b3ea30970f285321d0c1821f0452c8b
[ "MIT" ]
null
null
null
passax/browser_version.py
Auax/passax
ee1b58608b3ea30970f285321d0c1821f0452c8b
[ "MIT" ]
null
null
null
class BrowserVersion: """ Simple global class Note: self.base_name is defined in the child classes """ def __str__(self) -> str: return self.base_name def __eq__(self, __o: object) -> bool: return self.base_name == __o
21.75
56
0.624521
34
261
4.352941
0.617647
0.162162
0.243243
0.243243
0
0
0
0
0
0
0
0
0.279693
261
11
57
23.727273
0.787234
0.275862
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.4
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
1b9300ccfa4ad4e18eac03c7082b9bee982d14b3
49
py
Python
mwoauth/defaults.py
minrk/python-mwoauth
24d0dbb094e144ec3ddeed8adc54011ae6582c6c
[ "MIT" ]
7
2015-10-18T14:18:03.000Z
2021-06-26T00:14:58.000Z
mwoauth/defaults.py
minrk/python-mwoauth
24d0dbb094e144ec3ddeed8adc54011ae6582c6c
[ "MIT" ]
23
2016-05-06T22:15:57.000Z
2021-10-17T19:38:54.000Z
mwoauth/defaults.py
minrk/python-mwoauth
24d0dbb094e144ec3ddeed8adc54011ae6582c6c
[ "MIT" ]
10
2016-05-06T23:45:12.000Z
2020-07-12T11:11:04.000Z
USER_AGENT = "python-mwoauth default user agent"
24.5
48
0.795918
7
49
5.428571
0.714286
0.473684
0
0
0
0
0
0
0
0
0
0
0.122449
49
1
49
49
0.883721
0
0
0
0
0
0.673469
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1ba38ae3aff65f070e40e1c46db4b38d5fbcec83
53
py
Python
speedometer/__init__.py
AlexandrGrents/determining-vehicle-speed
660ad250553e5cd0b9cfa886167b35bdbf034974
[ "MIT" ]
null
null
null
speedometer/__init__.py
AlexandrGrents/determining-vehicle-speed
660ad250553e5cd0b9cfa886167b35bdbf034974
[ "MIT" ]
1
2021-03-19T08:28:03.000Z
2021-07-07T06:55:41.000Z
speedometer/__init__.py
AlexandrGrents/determining-vehicle-speed
660ad250553e5cd0b9cfa886167b35bdbf034974
[ "MIT" ]
null
null
null
from .Speedometer import Speedometer, CoordConverter
53
53
0.867925
5
53
9.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.09434
53
1
53
53
0.958333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1ba7858b4cdecce2344720dc1d35a99f2a28acc9
126
py
Python
exercises/test_01_07.py
rongpenl/spacy-course
e1228321257f70de94ab98ca3f0fec7e95952a86
[ "MIT" ]
1
2019-07-08T17:32:42.000Z
2019-07-08T17:32:42.000Z
exercises/test_01_07.py
rongpenl/k16math-course
e1228321257f70de94ab98ca3f0fec7e95952a86
[ "MIT" ]
null
null
null
exercises/test_01_07.py
rongpenl/k16math-course
e1228321257f70de94ab98ca3f0fec7e95952a86
[ "MIT" ]
null
null
null
def test(): __msg__.good( "There is no test for this exercise, check the solutions for more explainations." )
25.2
89
0.65873
17
126
4.647059
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.261905
126
4
90
31.5
0.849462
0
0
0
0
0
0.626984
0
0
0
0
0
0
1
0.25
true
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
5
9413bed9498d1ad0240c812e3d1d7d9b16666e03
410
py
Python
unifier/apps/core/models/__init__.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
6
2021-03-25T14:55:36.000Z
2021-05-25T15:12:41.000Z
unifier/apps/core/models/__init__.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
6
2021-02-19T12:32:26.000Z
2021-03-25T16:54:40.000Z
unifier/apps/core/models/__init__.py
sosolidkk/manga-unifier
4cca148affbb197b9284d46ef04c66d42d96c03a
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from unifier.apps.core.models.base import StandardModelMixin from unifier.apps.core.models.chapter import MangaChapter, NovelChapter from unifier.apps.core.models.manga import Manga from unifier.apps.core.models.novel import Novel from unifier.apps.core.models.plataform import Platform from unifier.apps.core.models.user import Favorite User = get_user_model()
41
71
0.846341
61
410
5.622951
0.360656
0.19242
0.262391
0.332362
0.437318
0
0
0
0
0
0
0
0.080488
410
9
72
45.555556
0.909814
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.875
0
0.875
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
94576f39c0007ac12dc40377ccdffa9b5c70a853
54
py
Python
gpsexif/__init__.py
geoyee/EXIF-GPS-Writer
2b7a9330dc6e8a2264f60b43a36f31efb2588cee
[ "MIT" ]
3
2022-02-20T16:02:40.000Z
2022-03-31T16:02:43.000Z
gpsexif/__init__.py
geoyee/GPS-EXIF
2b7a9330dc6e8a2264f60b43a36f31efb2588cee
[ "MIT" ]
null
null
null
gpsexif/__init__.py
geoyee/GPS-EXIF
2b7a9330dc6e8a2264f60b43a36f31efb2588cee
[ "MIT" ]
null
null
null
from .reader import getGPS from .writer import setGPS
27
27
0.814815
8
54
5.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
2
28
27
0.956522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
946fe872a0c0c107deec0bbc0c9e7adf73c19f88
60
py
Python
obsidian_tools/__main__.py
fxjung/obsidian_tools
980ef0cabeb7645b56528cc7279e014417c59e76
[ "MIT" ]
null
null
null
obsidian_tools/__main__.py
fxjung/obsidian_tools
980ef0cabeb7645b56528cc7279e014417c59e76
[ "MIT" ]
2
2021-12-30T11:05:30.000Z
2022-03-23T22:42:07.000Z
obsidian_tools/__main__.py
fxjung/obsidian_tools
980ef0cabeb7645b56528cc7279e014417c59e76
[ "MIT" ]
null
null
null
import typer from obsidian_tools import cli typer.run(cli)
12
30
0.816667
10
60
4.8
0.7
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
4
31
15
0.923077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
84c121a8f5d955c34a05e20edbd4dc3699748a81
7,936
py
Python
tests/action/test_alter_document.py
Mohsen-Khodabakhshi/mongoengine-migrate
1a7a26a47a474f70743c04700ce2a42f1872f166
[ "Apache-2.0" ]
15
2020-08-05T22:25:54.000Z
2022-02-08T20:50:35.000Z
tests/action/test_alter_document.py
Mohsen-Khodabakhshi/mongoengine-migrate
1a7a26a47a474f70743c04700ce2a42f1872f166
[ "Apache-2.0" ]
36
2020-10-22T09:05:01.000Z
2022-02-21T14:50:17.000Z
tests/action/test_alter_document.py
Mohsen-Khodabakhshi/mongoengine-migrate
1a7a26a47a474f70743c04700ce2a42f1872f166
[ "Apache-2.0" ]
5
2020-10-23T04:06:32.000Z
2022-02-21T14:35:33.000Z
from copy import deepcopy import pytest from mongoengine_migrate.actions import AlterDocument from mongoengine_migrate.exceptions import SchemaError from mongoengine_migrate.graph import MigrationPolicy from mongoengine_migrate.schema import Schema class TestAlterDocument: def test_build_object__on_embdedded_document_type__should_return_none(self): left_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), '~EmbeddedDocument': Schema.Document({ 'field1': {'param': 'schemavalue'}, }, parameters={'collection': 'document', 'test_parameter': 'test_value'}) }) right_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), '~EmbeddedDocument': Schema.Document({ 'field1': {'param_new': 'schemavalue_new'}, }, parameters={'collection': 'document_new', 'test_parameter': 'test_value'}) }) res = AlterDocument.build_object('~EmbeddedDocument', left_schema, right_schema) assert res is None def test_build_object__if_document_in_schema_has_changed__should_return_object(self): left_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), 'Document2': Schema.Document({ 'field1': {'param': 'schemavalue'}, }, parameters={'collection': 'document', 'test_parameter': 'test_value'}) }) right_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), 'Document2': Schema.Document({ 'field1': {'param_new': 'schemavalue_new'}, }, parameters={'collection': 'document_new', 'test_parameter': 'test_value'}) }) res = AlterDocument.build_object('Document2', left_schema, right_schema) assert isinstance(res, AlterDocument) assert res.document_type == 'Document2' assert res.parameters == {'collection': 'document_new', 'test_parameter': 'test_value'} @pytest.mark.parametrize('document_type', ('Document2', 'Document3', 'Document_unknown')) def test_build_object__if_document_is_not_in_both_schemas__should_return_none( self, document_type ): left_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), 'Document2': Schema.Document({ 'field1': {'param': 'schemavalue'}, }, parameters={'collection': 'document', 'test_parameter': 'test_value'}) }) right_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), 'Document3': Schema.Document({ 'field1': {'param_new': 'schemavalue_new'}, }, parameters={'collection': 'document_new', 'test_parameter': 'test_value'}) }) res = AlterDocument.build_object(document_type, left_schema, right_schema) assert res is None def test_build_object__if_document_parameters_has_not_changed__should_return_none(self): left_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), 'Document2': Schema.Document({ 'field1': {'param': 'schemavalue'}, }, parameters={'collection': 'document', 'test_parameter': 'test_value'}) }) right_schema = Schema({ 'Document1': Schema.Document({ 'field1': {'param1': 'schemavalue1', 'param2': 'schemavalue2'}, }, parameters={'collection': 'document1'}), 'Document2': Schema.Document({ 'field1': {'param': 'schemavalue'}, }, parameters={'collection': 'document', 'test_parameter': 'test_value'}) }) res = AlterDocument.build_object('Document1', left_schema, right_schema) assert res is None def test_forward__on_new_collection_specified__should_rename_collection(self, load_fixture, test_db, dump_db): schema = load_fixture('schema1').get_schema() dump = dump_db() action = AlterDocument('Schema1Doc1', collection='new_name1') action.prepare(test_db, schema, MigrationPolicy.strict) expect = deepcopy(dump) expect['new_name1'] = expect.pop('schema1_doc1') action.run_forward() assert expect == dump_db() def test_forward__on_unexistance_collection_specified__should_do_nothing(self, load_fixture, test_db, dump_db): schema = load_fixture('schema1').get_schema() schema['Schema1Doc1'].parameters['collection'] = 'unknown_collection' dump = dump_db() action = AlterDocument('Schema1Doc1', collection='new_name1') action.prepare(test_db, schema, MigrationPolicy.strict) action.run_forward() assert dump == dump_db() def test_backward__on_new_collection_specified__should_rename_collection_back(self, load_fixture, test_db, dump_db): schema = load_fixture('schema1').get_schema() dump = dump_db() action = AlterDocument('Schema1Doc1', collection='new_name1') action.prepare(test_db, schema, MigrationPolicy.strict) action.run_forward() action.run_backward() assert dump == dump_db() def test_backward__on_unexistance_collection_specified__should_do_nothing(self, load_fixture, test_db, dump_db): schema = load_fixture('schema1').get_schema() test_db['schema1_doc1'].rename('unknown_collection') dump = dump_db() action = AlterDocument('Schema1Doc1', collection='new_name1') action.prepare(test_db, schema, MigrationPolicy.strict) action.run_backward() assert dump == dump_db() def test_prepare__if_such_document_is_not_in_schema__should_raise_error(self, load_fixture, test_db): schema = load_fixture('schema1').get_schema() del schema['Schema1Doc1'] action = AlterDocument('Schema1Doc1') with pytest.raises(SchemaError): action.prepare(test_db, schema, MigrationPolicy.strict)
44.836158
95
0.544733
643
7,936
6.390358
0.138414
0.087613
0.077878
0.048187
0.787053
0.775858
0.769044
0.727428
0.69798
0.680701
0
0.019683
0.3406
7,936
176
96
45.090909
0.765526
0
0
0.744681
0
0
0.196573
0
0
0
0
0
0.070922
1
0.06383
false
0
0.042553
0
0.113475
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ca07175b8d5f683d30ea2ad530077ffc50fa9649
1,118
py
Python
danceschool/financial/migrations/0013_auto_20181219_2044.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
32
2017-09-12T04:25:25.000Z
2022-03-21T10:48:07.000Z
danceschool/financial/migrations/0013_auto_20181219_2044.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
97
2017-09-01T02:43:08.000Z
2022-01-03T18:20:34.000Z
danceschool/financial/migrations/0013_auto_20181219_2044.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
19
2017-09-26T13:34:46.000Z
2022-03-21T10:48:10.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.15 on 2018-12-20 01:44 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('financial', '0012_auto_20181216_1615'), ] operations = [ migrations.RemoveField( model_name='expenseitem', name='payToLocation', ), migrations.RemoveField( model_name='expenseitem', name='payToName', ), migrations.RemoveField( model_name='expenseitem', name='payToUser', ), migrations.RemoveField( model_name='genericrepeatedexpense', name='payToLocation', ), migrations.RemoveField( model_name='genericrepeatedexpense', name='payToName', ), migrations.RemoveField( model_name='genericrepeatedexpense', name='payToUser', ), migrations.RemoveField( model_name='revenueitem', name='receivedFromName', ), ]
25.409091
49
0.563506
85
1,118
7.235294
0.482353
0.239024
0.295935
0.341463
0.642276
0.642276
0
0
0
0
0
0.045455
0.330948
1,118
43
50
26
0.776738
0.061717
0
0.722222
1
0
0.210325
0.085086
0
0
0
0
0
1
0
false
0
0.055556
0
0.138889
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
ca25786b493f50587a49df178990df71447c2ab2
79
py
Python
Les 6/6_5.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
Les 6/6_5.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
Les 6/6_5.py
tloader11/TICT-V1PROG-15
dac7e991dcb11a397082bdceaf60a07b9bbc1a4a
[ "Unlicense" ]
null
null
null
for x in range(1,11): for y in range(1,11): print(y,"x",x,"=",x*y)
19.75
30
0.481013
18
79
2.111111
0.444444
0.368421
0.421053
0.526316
0
0
0
0
0
0
0
0.103448
0.265823
79
3
31
26.333333
0.551724
0
0
0
0
0
0.025316
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
f3eba2e0168ead0f20074bcb794bb03cfa0eaaf6
197
py
Python
cryptoran/packages/signature/signature.py
orancanoren/Public-Key-Crypto
718273a7376ade4ce4a9188d20255bfb303aa8d6
[ "MIT" ]
8
2018-06-13T12:49:31.000Z
2021-12-03T16:29:58.000Z
cryptoran/packages/signature/signature.py
orancanoren/Public-Key-Crypto
718273a7376ade4ce4a9188d20255bfb303aa8d6
[ "MIT" ]
2
2018-06-13T15:42:48.000Z
2018-07-16T15:19:44.000Z
cryptoran/packages/signature/signature.py
orancanoren/Public-Key-Crypto
718273a7376ade4ce4a9188d20255bfb303aa8d6
[ "MIT" ]
1
2018-08-14T07:31:04.000Z
2018-08-14T07:31:04.000Z
from abc import ABC, abstractmethod class Signature(ABC): @abstractmethod def sign(self, messageString): pass @abstractmethod def verify(self, messageString): pass
19.7
36
0.675127
20
197
6.65
0.6
0.255639
0.315789
0
0
0
0
0
0
0
0
0
0.253807
197
10
37
19.7
0.904762
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.125
0
0.5
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
f3f48b41dda49738dc991e5940d31dd1533dd687
475
py
Python
library/source1/dmx/sfm/base_element.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
199
2019-04-02T02:30:58.000Z
2022-03-30T21:29:49.000Z
library/source1/dmx/sfm/base_element.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
113
2019-03-03T19:36:25.000Z
2022-03-31T19:44:05.000Z
library/source1/dmx/sfm/base_element.py
anderlli0053/SourceIO
3c0c4839939ce698439987ac52154f89ee2f5341
[ "MIT" ]
38
2019-05-15T16:49:30.000Z
2022-03-22T03:40:43.000Z
from ....utils.datamodel import Element class BaseElement: def __init__(self, element: Element): self._element = element @property def name(self): return self._element.name @property def id(self): return self._element.id @property def type(self): return self._element.type def __repr__(self): params = [f'{k}:"{v}"' for (k, v) in self._element.items()] return f'{self.type}({self.name})'
19.791667
67
0.6
59
475
4.610169
0.389831
0.242647
0.154412
0.231618
0
0
0
0
0
0
0
0
0.267368
475
23
68
20.652174
0.781609
0
0
0.1875
0
0
0.069474
0.050526
0
0
0
0
0
1
0.3125
false
0
0.0625
0.1875
0.6875
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
6d22167abb13b7e2444ada41cd0fa4b45262db7a
164
py
Python
StandaloneTools/GenerateSecretKey.py
HarlandWHansen/Food-Pantry-Inventory
21cf34fcc6bac36b5fd18a6090dcda3fa08ae261
[ "MIT" ]
22
2019-02-19T23:31:08.000Z
2022-01-18T11:35:45.000Z
StandaloneTools/GenerateSecretKey.py
HarlandWHansen/Food-Pantry-Inventory
21cf34fcc6bac36b5fd18a6090dcda3fa08ae261
[ "MIT" ]
149
2019-02-20T21:20:22.000Z
2022-03-11T23:49:08.000Z
StandaloneTools/GenerateSecretKey.py
HarlandWHansen/Food-Pantry-Inventory
21cf34fcc6bac36b5fd18a6090dcda3fa08ae261
[ "MIT" ]
28
2019-02-19T21:33:24.000Z
2021-05-28T22:44:39.000Z
""" GenerateSecretKey.py - program to generate a secret key. """ from secrets import token_urlsafe if __name__ == '__main__': print(token_urlsafe(50)) # EOF
14.909091
56
0.713415
21
164
5.095238
0.904762
0.224299
0
0
0
0
0
0
0
0
0
0.014706
0.170732
164
10
57
16.4
0.772059
0.371951
0
0
1
0
0.084211
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
6d5cc8870fd84614543a3f1c30e535e763553658
39
py
Python
setup/__init__.py
humantech/PyCAPTCHA
d0aa6802f24e49f743709fd1affcc94887782be9
[ "MIT" ]
9
2015-03-03T10:51:13.000Z
2020-03-10T16:35:37.000Z
setup/__init__.py
humantech/PyCAPTCHA
d0aa6802f24e49f743709fd1affcc94887782be9
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
setup/__init__.py
humantech/PyCAPTCHA
d0aa6802f24e49f743709fd1affcc94887782be9
[ "MIT" ]
4
2015-05-31T11:42:17.000Z
2018-10-06T15:02:39.000Z
# Extra modules for use with distutils
19.5
38
0.794872
6
39
5.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.179487
39
1
39
39
0.96875
0.923077
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
eda7ddf4140e0c376a760165cf4c3087595dbbc6
623
py
Python
erri/python/lesson_14/convertisseur_test.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
erri/python/lesson_14/convertisseur_test.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
16
2020-05-30T12:38:13.000Z
2022-02-19T09:23:31.000Z
erri/python/lesson_14/convertisseur_test.py
TGITS/programming-workouts
799e805ccf3fd0936ec8ac2417f7193b8e9bcb55
[ "MIT" ]
null
null
null
import convertisseur import pytest def test_celsius_vers_fahrenheit(): assert convertisseur.celsius_vers_fahrenheit(0) == 32 assert convertisseur.celsius_vers_fahrenheit(100) == 212 def test_fahrenheit_vers_celsius(): assert convertisseur.fahrenheit_vers_celsius(50) == 10 assert convertisseur.fahrenheit_vers_celsius(32) == 0 assert convertisseur.fahrenheit_vers_celsius(212) == 100 assert convertisseur.fahrenheit_vers_celsius(140) == 60 assert convertisseur.fahrenheit_vers_celsius(-40) == -40 assert pytest.approx( convertisseur.fahrenheit_vers_celsius(0), 0.001) == -17.778
34.611111
67
0.773676
75
623
6.133333
0.293333
0.28913
0.319565
0.443478
0.608696
0
0
0
0
0
0
0.07635
0.138042
623
17
68
36.647059
0.780261
0
0
0
0
0
0
0
0
0
0
0
0.615385
1
0.153846
true
0
0.153846
0
0.307692
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
0
0
0
0
0
5
edc190d4b974d923978c79efd3cd10032b5cb503
22
py
Python
tccli/services/live/v20180801/__init__.py
ivandksun/tencentcloud-cli-intl-en
41b84e339918961b8bc92f7498e56347d21e16d3
[ "Apache-2.0" ]
null
null
null
tccli/services/live/v20180801/__init__.py
ivandksun/tencentcloud-cli-intl-en
41b84e339918961b8bc92f7498e56347d21e16d3
[ "Apache-2.0" ]
1
2022-02-07T13:39:09.000Z
2022-02-07T13:39:09.000Z
tccli/services/live/v20180801/__init__.py
ivandksun/tencentcloud-cli-intl-en
41b84e339918961b8bc92f7498e56347d21e16d3
[ "Apache-2.0" ]
4
2020-07-20T01:51:58.000Z
2021-08-13T08:25:22.000Z
version = "2018-08-01"
22
22
0.681818
4
22
3.75
1
0
0
0
0
0
0
0
0
0
0
0.4
0.090909
22
1
22
22
0.35
0
0
0
0
0
0.434783
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
eddc28883e3358abfc5ec257306d4b79f41e8582
168
py
Python
pdf2speech/ocr.py
atharva-naik/pdf2speech
416bb8b0feff46d7b50816b1f4480d796e0c41ab
[ "MIT" ]
null
null
null
pdf2speech/ocr.py
atharva-naik/pdf2speech
416bb8b0feff46d7b50816b1f4480d796e0c41ab
[ "MIT" ]
null
null
null
pdf2speech/ocr.py
atharva-naik/pdf2speech
416bb8b0feff46d7b50816b1f4480d796e0c41ab
[ "MIT" ]
null
null
null
try: from PIL import Image except ImportError: import Image import pytesseract def image2text(image): return pytesseract.image_to_string(Image.open(image))
21
57
0.77381
22
168
5.818182
0.636364
0.171875
0
0
0
0
0
0
0
0
0
0.007092
0.160714
168
8
57
21
0.900709
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
5
edf20d3bcba671ce3d86d0b21465d2d340aed91f
61
py
Python
src/biblishelf_plugin_book/hook/__init__.py
x007007007/biblishelf
a79b105f6929ecc9df41b1e74a92713212cd06fa
[ "MIT" ]
null
null
null
src/biblishelf_plugin_book/hook/__init__.py
x007007007/biblishelf
a79b105f6929ecc9df41b1e74a92713212cd06fa
[ "MIT" ]
3
2018-01-28T15:17:55.000Z
2018-01-31T09:21:01.000Z
src/biblishelf_plugin_book/hook/__init__.py
x007007007/biblishelf
a79b105f6929ecc9df41b1e74a92713212cd06fa
[ "MIT" ]
1
2018-01-27T13:49:51.000Z
2018-01-27T13:49:51.000Z
from .pdf import PdfScanHooker from .chm import ChmScanHooker
30.5
30
0.852459
8
61
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.114754
61
2
31
30.5
0.962963
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b66b30c516ed623f54e35108af5a75298296cd69
55
py
Python
predicthq/__init__.py
predicthq/sdk-py
8b6272db3a3988aebff21f56c55ceed757fc557a
[ "MIT" ]
33
2016-02-23T04:04:48.000Z
2022-03-18T04:39:28.000Z
predicthq/__init__.py
predicthq/sdk-py
8b6272db3a3988aebff21f56c55ceed757fc557a
[ "MIT" ]
55
2016-03-22T05:11:28.000Z
2022-02-23T03:39:43.000Z
predicthq/__init__.py
predicthq/sdk-py
8b6272db3a3988aebff21f56c55ceed757fc557a
[ "MIT" ]
9
2019-07-12T09:51:32.000Z
2021-05-23T10:49:56.000Z
from .client import Client, __version__ assert Client
13.75
39
0.818182
7
55
5.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
3
40
18.333333
0.87234
0
0
0
0
0
0
0
0
0
0
0
0.5
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
0
0
0
5
b69c8fe22a9daf0cfce5a0e61b3de7c954345c3a
134
py
Python
registerapp/admin.py
RajapandiR/django-register
cf20829fe3515bdd3112a88a890d83d852f09bde
[ "MIT" ]
null
null
null
registerapp/admin.py
RajapandiR/django-register
cf20829fe3515bdd3112a88a890d83d852f09bde
[ "MIT" ]
6
2021-03-19T04:17:51.000Z
2021-09-22T19:07:17.000Z
registerapp/admin.py
RajapandiR/django-register
cf20829fe3515bdd3112a88a890d83d852f09bde
[ "MIT" ]
null
null
null
from django.contrib import admin from registerapp import models # Register your models here. admin.site.register(models.RegisterPage)
26.8
40
0.835821
18
134
6.222222
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.104478
134
5
40
26.8
0.933333
0.19403
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
b6aa081896bf90824da0e4ac39f7a9f757994693
148
py
Python
adet/modeling/DTInst/__init__.py
shuaiqi361/AdelaiDet
35d944033a8d2f7aa623ad607b57bd8a1fe88b43
[ "BSD-2-Clause" ]
null
null
null
adet/modeling/DTInst/__init__.py
shuaiqi361/AdelaiDet
35d944033a8d2f7aa623ad607b57bd8a1fe88b43
[ "BSD-2-Clause" ]
null
null
null
adet/modeling/DTInst/__init__.py
shuaiqi361/AdelaiDet
35d944033a8d2f7aa623ad607b57bd8a1fe88b43
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved from .DTInst import DTInst from .DTEncoding import DistanceTransformEncoding
37
70
0.817568
18
148
6.722222
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.128378
148
3
71
49.333333
0.937985
0.459459
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
fcdb57273464b233035f1b43e9c0e221a5cd47ba
168
py
Python
snakepack/transformers/__init__.py
jochenvdv/snakepack
f27c5953c5f058a82b8cce55b23cdf32cc1f6602
[ "MIT" ]
1
2022-01-27T07:15:27.000Z
2022-01-27T07:15:27.000Z
snakepack/transformers/__init__.py
jochenvdv/snakepack
f27c5953c5f058a82b8cce55b23cdf32cc1f6602
[ "MIT" ]
null
null
null
snakepack/transformers/__init__.py
jochenvdv/snakepack
f27c5953c5f058a82b8cce55b23cdf32cc1f6602
[ "MIT" ]
null
null
null
from snakepack.transformers._base import Transformer from snakepack.transformers.python import __all__ as _python_transformers __all__ = [ *_python_transformers ]
24
73
0.833333
18
168
7.055556
0.5
0.204724
0.393701
0
0
0
0
0
0
0
0
0
0.119048
168
7
74
24
0.858108
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
fcdc789ba8d6151513a2717209016bff3d8bb74f
43,686
py
Python
src/healthcareapis/azext_healthcareapis/generated/custom.py
Caoxuyang/azure-cli-extensions
d2011261f29033cb31a1064256727d87049ab423
[ "MIT" ]
null
null
null
src/healthcareapis/azext_healthcareapis/generated/custom.py
Caoxuyang/azure-cli-extensions
d2011261f29033cb31a1064256727d87049ab423
[ "MIT" ]
null
null
null
src/healthcareapis/azext_healthcareapis/generated/custom.py
Caoxuyang/azure-cli-extensions
d2011261f29033cb31a1064256727d87049ab423
[ "MIT" ]
1
2022-02-14T21:43:29.000Z
2022-02-14T21:43:29.000Z
# -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- # pylint: disable=too-many-lines # pylint: disable=unused-argument from azure.cli.core.util import sdk_no_wait from ..vendored_sdks.healthcareapis import models def healthcareapis_acr_list(client, resource_group_name, resource_name): return client.get(resource_group_name=resource_group_name, resource_name=resource_name).properties.acr_configuration def healthcareapis_acr_add(client, resource_group_name, resource_name, login_servers=None, no_wait=False): service_description = client.get(resource_group_name=resource_group_name, resource_name=resource_name) if not login_servers: return service_description new_login_servers = service_description.properties.acr_configuration.login_servers for login_server in login_servers.split(): if login_server not in new_login_servers: new_login_servers.append(login_server) return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, resource_name=resource_name, service_description=service_description) def healthcareapis_acr_remove(client, resource_group_name, resource_name, login_servers=None, no_wait=False): service_description = client.get(resource_group_name=resource_group_name, resource_name=resource_name) if not login_servers: return service_description new_login_servers = service_description.properties.acr_configuration.login_servers for login_server in login_servers.split(): if login_server in new_login_servers: new_login_servers.remove(login_server) return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, resource_name=resource_name, service_description=service_description) def healthcareapis_acr_reset(client, resource_group_name, resource_name, login_servers=None, no_wait=False): service_description = client.get(resource_group_name=resource_group_name, resource_name=resource_name) login_servers = login_servers.split() if login_servers else [] service_description.properties.acr_configuration.login_servers = login_servers return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, resource_name=resource_name, service_description=service_description) def healthcareapis_service_list(client, resource_group_name=None): if resource_group_name: return client.list_by_resource_group(resource_group_name=resource_group_name) return client.list() def healthcareapis_service_show(client, resource_group_name, resource_name): return client.get(resource_group_name=resource_group_name, resource_name=resource_name) def healthcareapis_service_create(client, resource_group_name, resource_name, kind, location, tags=None, etag=None, identity_type=None, access_policies=None, cosmos_db_configuration=None, authentication_configuration=None, cors_configuration=None, private_endpoint_connections=None, public_network_access=None, login_servers=None, oci_artifacts=None, export_configuration_storage_account_name=None, no_wait=False): service_description = {} service_description['kind'] = kind service_description['location'] = location if tags is not None: service_description['tags'] = tags if etag is not None: service_description['etag'] = etag service_description['identity'] = {} if identity_type is not None: service_description['identity']['type'] = identity_type if len(service_description['identity']) == 0: del service_description['identity'] service_description['properties'] = {} if access_policies is not None: service_description['properties']['access_policies'] = access_policies if cosmos_db_configuration is not None: service_description['properties']['cosmos_db_configuration'] = cosmos_db_configuration if authentication_configuration is not None: service_description['properties']['authentication_configuration'] = authentication_configuration if cors_configuration is not None: service_description['properties']['cors_configuration'] = cors_configuration if private_endpoint_connections is not None: service_description['properties']['private_endpoint_connections'] = private_endpoint_connections if public_network_access is not None: service_description['properties']['public_network_access'] = public_network_access service_description['properties']['acr_configuration'] = {} if login_servers is not None: service_description['properties']['acr_configuration']['login_servers'] = login_servers if oci_artifacts is not None: service_description['properties']['acr_configuration']['oci_artifacts'] = oci_artifacts if len(service_description['properties']['acr_configuration']) == 0: del service_description['properties']['acr_configuration'] service_description['properties']['export_configuration'] = {} if export_configuration_storage_account_name is not None: service_description['properties']['export_configuration']['storage_account_name'] = export_configuration_storage_account_name if len(service_description['properties']['export_configuration']) == 0: del service_description['properties']['export_configuration'] return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, resource_name=resource_name, service_description=service_description) def healthcareapis_service_update(client, resource_group_name, resource_name, tags=None, public_network_access=None, no_wait=False): service_patch_description = {} if tags is not None: service_patch_description['tags'] = tags if public_network_access is not None: service_patch_description['public_network_access'] = public_network_access return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, resource_name=resource_name, service_patch_description=service_patch_description) def healthcareapis_service_delete(client, resource_group_name, resource_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, resource_name=resource_name) def healthcareapis_operation_result_show(client, location_name, operation_result_id): return client.get(location_name=location_name, operation_result_id=operation_result_id) def healthcareapis_private_endpoint_connection_list(client, resource_group_name, resource_name): return client.list_by_service(resource_group_name=resource_group_name, resource_name=resource_name) def healthcareapis_private_endpoint_connection_show(client, resource_group_name, resource_name, private_endpoint_connection_name): return client.get(resource_group_name=resource_group_name, resource_name=resource_name, private_endpoint_connection_name=private_endpoint_connection_name) def healthcareapis_private_endpoint_connection_create(client, resource_group_name, resource_name, private_endpoint_connection_name, private_link_service_connection_state=None, private_link_service_connection_state_status=None, private_link_service_connection_state_description=None, private_link_service_connection_state_actions_required=None, no_wait=False): properties = {} if private_link_service_connection_state is not None: properties['private_link_service_connection_state'] = private_link_service_connection_state elif private_link_service_connection_state_status or \ private_link_service_connection_state_description or \ private_link_service_connection_state_actions_required: properties['private_link_service_connection_state'] = {} if private_link_service_connection_state_status: properties['private_link_service_connection_state']['status'] = private_link_service_connection_state_status if private_link_service_connection_state_description: properties['private_link_service_connection_state'][ 'description'] = private_link_service_connection_state_description if private_link_service_connection_state_actions_required: properties['private_link_service_connection_state'][ 'actions_required'] = private_link_service_connection_state_actions_required return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, resource_name=resource_name, private_endpoint_connection_name=private_endpoint_connection_name, properties=properties) def healthcareapis_private_endpoint_connection_update(client, resource_group_name, resource_name, private_endpoint_connection_name, private_link_service_connection_state=None, private_link_service_connection_state_status=None, private_link_service_connection_state_description=None, private_link_service_connection_state_actions_required=None, no_wait=False): properties = {} if private_link_service_connection_state is not None: properties['private_link_service_connection_state'] = private_link_service_connection_state elif private_link_service_connection_state_status or \ private_link_service_connection_state_description or \ private_link_service_connection_state_actions_required: properties['private_link_service_connection_state'] = {} if private_link_service_connection_state_status: properties['private_link_service_connection_state']['status'] = private_link_service_connection_state_status if private_link_service_connection_state_description: properties['private_link_service_connection_state'][ 'description'] = private_link_service_connection_state_description if private_link_service_connection_state_actions_required: properties['private_link_service_connection_state'][ 'actions_required'] = private_link_service_connection_state_actions_required return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, resource_name=resource_name, private_endpoint_connection_name=private_endpoint_connection_name, properties=properties) def healthcareapis_private_endpoint_connection_delete(client, resource_group_name, resource_name, private_endpoint_connection_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, resource_name=resource_name, private_endpoint_connection_name=private_endpoint_connection_name) def healthcareapis_private_link_resource_list(client, resource_group_name, resource_name): return client.list_by_service(resource_group_name=resource_group_name, resource_name=resource_name) def healthcareapis_private_link_resource_show(client, resource_group_name, resource_name, group_name): return client.get(resource_group_name=resource_group_name, resource_name=resource_name, group_name=group_name) def healthcareapis_workspace_list(client, resource_group_name=None): if resource_group_name: return client.list_by_resource_group(resource_group_name=resource_group_name) return client.list_by_subscription() def healthcareapis_workspace_show(client, resource_group_name, workspace_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_create(client, resource_group_name, workspace_name, tags=None, etag=None, location=None, public_network_access=None, no_wait=False): workspace = {} if tags is not None: workspace['tags'] = tags if etag is not None: workspace['etag'] = etag if location is not None: workspace['location'] = location workspace['properties'] = {} if public_network_access is not None: workspace['properties']['public_network_access'] = public_network_access if len(workspace['properties']) == 0: del workspace['properties'] return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, workspace_name=workspace_name, workspace=workspace) def healthcareapis_workspace_update(client, resource_group_name, workspace_name, tags=None, no_wait=False): workspace_patch_resource = {} if tags is not None: workspace_patch_resource['tags'] = tags return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, workspace_name=workspace_name, workspace_patch_resource=workspace_patch_resource) def healthcareapis_workspace_delete(client, resource_group_name, workspace_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_dicom_service_list(client, resource_group_name, workspace_name): return client.list_by_workspace(resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_dicom_service_show(client, resource_group_name, workspace_name, dicom_service_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name, dicom_service_name=dicom_service_name) def healthcareapis_workspace_dicom_service_create(client, resource_group_name, workspace_name, dicom_service_name, tags=None, etag=None, location=None, identity_type=None, user_assigned_identities=None, public_network_access=None, no_wait=False): dicomservice = {} if tags is not None: dicomservice['tags'] = tags if etag is not None: dicomservice['etag'] = etag if location is not None: dicomservice['location'] = location dicomservice['identity'] = {} if identity_type is not None: dicomservice['identity']['type'] = identity_type if user_assigned_identities is not None: dicomservice['identity']['user_assigned_identities'] = user_assigned_identities if len(dicomservice['identity']) == 0: del dicomservice['identity'] if public_network_access is not None: dicomservice['public_network_access'] = public_network_access return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, workspace_name=workspace_name, dicom_service_name=dicom_service_name, dicomservice=dicomservice) def healthcareapis_workspace_dicom_service_update(client, resource_group_name, dicom_service_name, workspace_name, tags=None, identity_type=None, user_assigned_identities=None, no_wait=False): dicomservice_patch_resource = {} if tags is not None: dicomservice_patch_resource['tags'] = tags dicomservice_patch_resource['identity'] = {} if identity_type is not None: dicomservice_patch_resource['identity']['type'] = identity_type if user_assigned_identities is not None: dicomservice_patch_resource['identity']['user_assigned_identities'] = user_assigned_identities if len(dicomservice_patch_resource['identity']) == 0: del dicomservice_patch_resource['identity'] return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, dicom_service_name=dicom_service_name, workspace_name=workspace_name, dicomservice_patch_resource=dicomservice_patch_resource) def healthcareapis_workspace_dicom_service_delete(client, resource_group_name, dicom_service_name, workspace_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, dicom_service_name=dicom_service_name, workspace_name=workspace_name) def healthcareapis_workspace_iot_connector_list(client, resource_group_name, workspace_name): return client.list_by_workspace(resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_iot_connector_show(client, resource_group_name, workspace_name, iot_connector_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name, iot_connector_name=iot_connector_name) def healthcareapis_workspace_iot_connector_create(client, resource_group_name, workspace_name, iot_connector_name, tags=None, etag=None, location=None, identity_type=None, user_assigned_identities=None, ingestion_endpoint_configuration=None, content=None, no_wait=False): iot_connector = {} if tags is not None: iot_connector['tags'] = tags if etag is not None: iot_connector['etag'] = etag if location is not None: iot_connector['location'] = location iot_connector['identity'] = {} if identity_type is not None: iot_connector['identity']['type'] = identity_type if user_assigned_identities is not None: iot_connector['identity']['user_assigned_identities'] = user_assigned_identities if len(iot_connector['identity']) == 0: del iot_connector['identity'] if ingestion_endpoint_configuration is not None: iot_connector['ingestion_endpoint_configuration'] = ingestion_endpoint_configuration iot_connector['device_mapping'] = {} if content is not None: iot_connector['device_mapping']['content'] = content if len(iot_connector['device_mapping']) == 0: del iot_connector['device_mapping'] return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, workspace_name=workspace_name, iot_connector_name=iot_connector_name, iot_connector=iot_connector) def healthcareapis_workspace_iot_connector_update(client, resource_group_name, iot_connector_name, workspace_name, tags=None, identity_type=None, user_assigned_identities=None, no_wait=False): iot_connector_patch_resource = {} if tags is not None: iot_connector_patch_resource['tags'] = tags iot_connector_patch_resource['identity'] = {} if identity_type is not None: iot_connector_patch_resource['identity']['type'] = identity_type if user_assigned_identities is not None: iot_connector_patch_resource['identity']['user_assigned_identities'] = user_assigned_identities if len(iot_connector_patch_resource['identity']) == 0: del iot_connector_patch_resource['identity'] return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, iot_connector_name=iot_connector_name, workspace_name=workspace_name, iot_connector_patch_resource=iot_connector_patch_resource) def healthcareapis_workspace_iot_connector_delete(client, resource_group_name, iot_connector_name, workspace_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, iot_connector_name=iot_connector_name, workspace_name=workspace_name) def healthcareapis_workspace_iot_connector_fhir_destination_list(client, resource_group_name, workspace_name, iot_connector_name): return client.list_by_iot_connector(resource_group_name=resource_group_name, workspace_name=workspace_name, iot_connector_name=iot_connector_name) def healthcareapis_workspace_iot_connector_fhir_destination_show(client, resource_group_name, workspace_name, iot_connector_name, fhir_destination_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name, iot_connector_name=iot_connector_name, fhir_destination_name=fhir_destination_name) def healthcareapis_workspace_iot_connector_fhir_destination_create(client, resource_group_name, workspace_name, iot_connector_name, fhir_destination_name, resource_identity_resolution_type, fhir_service_resource_id, etag=None, location=None, content=None, no_wait=False): iot_fhir_destination = {} if etag is not None: iot_fhir_destination['etag'] = etag if location is not None: iot_fhir_destination['location'] = location iot_fhir_destination['resource_identity_resolution_type'] = resource_identity_resolution_type iot_fhir_destination['fhir_service_resource_id'] = fhir_service_resource_id iot_fhir_destination['fhir_mapping'] = {} if content is not None: iot_fhir_destination['fhir_mapping']['content'] = content if len(iot_fhir_destination['fhir_mapping']) == 0: del iot_fhir_destination['fhir_mapping'] return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, workspace_name=workspace_name, iot_connector_name=iot_connector_name, fhir_destination_name=fhir_destination_name, iot_fhir_destination=iot_fhir_destination) def healthcareapis_workspace_iot_connector_fhir_destination_update(instance, resource_group_name, workspace_name, iot_connector_name, fhir_destination_name, resource_identity_resolution_type, fhir_service_resource_id, etag=None, location=None, content=None, no_wait=False): if etag is not None: instance.etag = etag if location is not None: instance.location = location instance.resource_identity_resolution_type = resource_identity_resolution_type instance.fhir_service_resource_id = fhir_service_resource_id if content is not None: instance.fhir_mapping.content = content return instance def healthcareapis_workspace_iot_connector_fhir_destination_delete(client, resource_group_name, workspace_name, iot_connector_name, fhir_destination_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, workspace_name=workspace_name, iot_connector_name=iot_connector_name, fhir_destination_name=fhir_destination_name) def healthcareapis_workspace_fhir_service_list(client, resource_group_name, workspace_name): return client.list_by_workspace(resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_fhir_service_show(client, resource_group_name, workspace_name, fhir_service_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name, fhir_service_name=fhir_service_name) def healthcareapis_workspace_fhir_service_create(client, resource_group_name, workspace_name, fhir_service_name, tags=None, etag=None, location=None, identity_type=None, user_assigned_identities=None, kind=None, access_policies=None, authentication_configuration=None, cors_configuration=None, public_network_access=None, default=None, resource_type_overrides=None, export_configuration_storage_account_name=None, login_servers=None, oci_artifacts=None, no_wait=False): fhirservice = {} if tags is not None: fhirservice['tags'] = tags if etag is not None: fhirservice['etag'] = etag if location is not None: fhirservice['location'] = location fhirservice['identity'] = {} if identity_type is not None: fhirservice['identity']['type'] = identity_type if user_assigned_identities is not None: fhirservice['identity']['user_assigned_identities'] = user_assigned_identities if len(fhirservice['identity']) == 0: del fhirservice['identity'] if kind is not None: fhirservice['kind'] = kind if access_policies is not None: fhirservice['access_policies'] = access_policies if authentication_configuration is not None: fhirservice['authentication_configuration'] = authentication_configuration if cors_configuration is not None: fhirservice['cors_configuration'] = cors_configuration if public_network_access is not None: fhirservice['public_network_access'] = public_network_access fhirservice['resource_version_policy_configuration'] = {} if default is not None: fhirservice['resource_version_policy_configuration']['default'] = default if resource_type_overrides is not None: fhirservice['resource_version_policy_configuration']['resource_type_overrides'] = resource_type_overrides if len(fhirservice['resource_version_policy_configuration']) == 0: del fhirservice['resource_version_policy_configuration'] fhirservice['export_configuration'] = {} if export_configuration_storage_account_name is not None: fhirservice['export_configuration']['storage_account_name'] = export_configuration_storage_account_name if len(fhirservice['export_configuration']) == 0: del fhirservice['export_configuration'] fhirservice['acr_configuration'] = {} if login_servers is not None: fhirservice['acr_configuration']['login_servers'] = login_servers if oci_artifacts is not None: fhirservice['acr_configuration']['oci_artifacts'] = oci_artifacts if len(fhirservice['acr_configuration']) == 0: del fhirservice['acr_configuration'] return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, workspace_name=workspace_name, fhir_service_name=fhir_service_name, fhirservice=fhirservice) def healthcareapis_workspace_fhir_service_update(client, resource_group_name, fhir_service_name, workspace_name, tags=None, identity_type=None, user_assigned_identities=None, no_wait=False): fhirservice_patch_resource = {} if tags is not None: fhirservice_patch_resource['tags'] = tags fhirservice_patch_resource['identity'] = {} if identity_type is not None: fhirservice_patch_resource['identity']['type'] = identity_type if user_assigned_identities is not None: fhirservice_patch_resource['identity']['user_assigned_identities'] = user_assigned_identities if len(fhirservice_patch_resource['identity']) == 0: del fhirservice_patch_resource['identity'] return sdk_no_wait(no_wait, client.begin_update, resource_group_name=resource_group_name, fhir_service_name=fhir_service_name, workspace_name=workspace_name, fhirservice_patch_resource=fhirservice_patch_resource) def healthcareapis_workspace_fhir_service_delete(client, resource_group_name, fhir_service_name, workspace_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, fhir_service_name=fhir_service_name, workspace_name=workspace_name) def healthcareapis_workspace_private_endpoint_connection_list(client, resource_group_name, workspace_name): return client.list_by_workspace(resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_private_endpoint_connection_show(client, resource_group_name, workspace_name, private_endpoint_connection_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name) def healthcareapis_workspace_private_endpoint_connection_create(client, resource_group_name, workspace_name, private_endpoint_connection_name, private_link_service_connection_state=None, no_wait=False): properties = {} if private_link_service_connection_state is not None: properties['private_link_service_connection_state'] = private_link_service_connection_state return sdk_no_wait(no_wait, client.begin_create_or_update, resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name, properties=properties) def healthcareapis_workspace_private_endpoint_connection_update(instance, resource_group_name, workspace_name, private_endpoint_connection_name, private_link_service_connection_state=None, no_wait=False): if private_link_service_connection_state is not None: instance.private_link_service_connection_state = private_link_service_connection_state return instance def healthcareapis_workspace_private_endpoint_connection_delete(client, resource_group_name, workspace_name, private_endpoint_connection_name, no_wait=False): return sdk_no_wait(no_wait, client.begin_delete, resource_group_name=resource_group_name, workspace_name=workspace_name, private_endpoint_connection_name=private_endpoint_connection_name) def healthcareapis_workspace_private_link_resource_list(client, resource_group_name, workspace_name): return client.list_by_workspace(resource_group_name=resource_group_name, workspace_name=workspace_name) def healthcareapis_workspace_private_link_resource_show(client, resource_group_name, workspace_name, group_name): return client.get(resource_group_name=resource_group_name, workspace_name=workspace_name, group_name=group_name)
52.131265
133
0.532642
3,620
43,686
5.956354
0.040608
0.06428
0.116687
0.095075
0.884705
0.820378
0.775995
0.706196
0.645163
0.61395
0
0.00059
0.418189
43,686
837
134
52.193548
0.84774
0.011491
0
0.693481
0
0
0.054642
0.024553
0
0
0
0
0
1
0.067961
false
0
0.002774
0.038835
0.144244
0
0
0
0
null
0
0
0
1
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
fcf4e4b01f06c4c2baf1e8dfbca4a61bd758d197
12
py
Python
3) adding codegen and personal editor/test.py
aditya9126/python-based-compiler-
33d301feef42e46f05709a687a48f22c6aab8e1c
[ "MIT" ]
null
null
null
3) adding codegen and personal editor/test.py
aditya9126/python-based-compiler-
33d301feef42e46f05709a687a48f22c6aab8e1c
[ "MIT" ]
null
null
null
3) adding codegen and personal editor/test.py
aditya9126/python-based-compiler-
33d301feef42e46f05709a687a48f22c6aab8e1c
[ "MIT" ]
null
null
null
print(4+4)
6
11
0.583333
3
12
2.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0.2
0.166667
12
1
12
12
0.5
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
1e37bc14e37401f866f037c7effe25cb686eb8c1
115
py
Python
regsim/__init__.py
GabrielNandi/Gabriel-Garcia-Nandi
22a9c36d3186739cae6a50f1cc4cb55fdb7f34ee
[ "Apache-2.0" ]
null
null
null
regsim/__init__.py
GabrielNandi/Gabriel-Garcia-Nandi
22a9c36d3186739cae6a50f1cc4cb55fdb7f34ee
[ "Apache-2.0" ]
null
null
null
regsim/__init__.py
GabrielNandi/Gabriel-Garcia-Nandi
22a9c36d3186739cae6a50f1cc4cb55fdb7f34ee
[ "Apache-2.0" ]
null
null
null
""" regsim - A python interface to the RegSim program, including data processing tools """ from .process import *
16.428571
50
0.73913
15
115
5.666667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.173913
115
6
51
19.166667
0.894737
0.713043
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1e3b241dbcf78c78ac9f421f699665620a238385
30
py
Python
pcdet/version.py
baraujo98/OpenPCDet
6e02c83753d1fd2c3edd59a96998119c2b78d78b
[ "Apache-2.0" ]
null
null
null
pcdet/version.py
baraujo98/OpenPCDet
6e02c83753d1fd2c3edd59a96998119c2b78d78b
[ "Apache-2.0" ]
null
null
null
pcdet/version.py
baraujo98/OpenPCDet
6e02c83753d1fd2c3edd59a96998119c2b78d78b
[ "Apache-2.0" ]
null
null
null
__version__ = "0.3.0+7a71d22"
15
29
0.7
5
30
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0.296296
0.1
30
1
30
30
0.333333
0
0
0
0
0
0.433333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
1e9904a225ba79245136bd412df5b012db8868b8
149
py
Python
myfunds/web/views/crypto_currenices/__init__.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
myfunds/web/views/crypto_currenices/__init__.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
myfunds/web/views/crypto_currenices/__init__.py
anzodev/myfunds
9f6cda99f443cec064d15d7ff7780f297cbdfe10
[ "MIT" ]
null
null
null
from flask import Flask from myfunds.web.views.crypto_currenices.views import bp def init_app(app: Flask) -> None: app.register_blueprint(bp)
18.625
56
0.771812
23
149
4.869565
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.14094
149
7
57
21.285714
0.875
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
0.75
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
5
1e9e4c271d847dbcc318cd339bf599578732d988
145
py
Python
clicktypes/__init__.py
python-modules/clicktypes
da6ea1fef0ded1ea84715ba594a169d2cb503b3d
[ "MIT" ]
null
null
null
clicktypes/__init__.py
python-modules/clicktypes
da6ea1fef0ded1ea84715ba594a169d2cb503b3d
[ "MIT" ]
null
null
null
clicktypes/__init__.py
python-modules/clicktypes
da6ea1fef0ded1ea84715ba594a169d2cb503b3d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Various validation types for the Click Python module """ # Import version info from .__version__ import __version__
18.125
52
0.717241
18
145
5.333333
0.833333
0.270833
0
0
0
0
0
0
0
0
0
0.008264
0.165517
145
8
53
18.125
0.785124
0.655172
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
1eb194798ba26abd1fcdba0943b4be29469dc43a
59
py
Python
files2md/config/__init__.py
KacperKotlewski/file_structure_to_markdown
aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7
[ "MIT" ]
1
2020-02-22T00:41:04.000Z
2020-02-22T00:41:04.000Z
files2md/config/__init__.py
KacperKotlewski/file_structure_to_markdown
aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7
[ "MIT" ]
null
null
null
files2md/config/__init__.py
KacperKotlewski/file_structure_to_markdown
aad0e1c80f88e0b3d079cf242d43fdc4b7a369f7
[ "MIT" ]
null
null
null
from .config import config from .isIgnored import isIgnored
29.5
32
0.847458
8
59
6.25
0.5
0
0
0
0
0
0
0
0
0
0
0
0.118644
59
2
32
29.5
0.961538
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
1ecc408934e48e32706fca723fd3911733911e3e
46
py
Python
modules/2.78/bpy/types/BlendDataMasks.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.78/bpy/types/BlendDataMasks.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.78/bpy/types/BlendDataMasks.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
def remove(mask, do_unlink=False): pass
9.2
34
0.673913
7
46
4.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.217391
46
4
35
11.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
1ed19820c3ac3ad3daf5208f65c999f3e4eb1096
175
py
Python
nnlib/train/hooks.py
huzecong/nnlib
fd68abc51028444ce7c789642e2a7b8ed1853255
[ "MIT" ]
1
2019-01-08T03:55:23.000Z
2019-01-08T03:55:23.000Z
nnlib/train/hooks.py
huzecong/nnlib
fd68abc51028444ce7c789642e2a7b8ed1853255
[ "MIT" ]
null
null
null
nnlib/train/hooks.py
huzecong/nnlib
fd68abc51028444ce7c789642e2a7b8ed1853255
[ "MIT" ]
null
null
null
from nnlib.torch import * from nnlib.train.trainer import Trainer __all__ = ['release_cuda_memory'] def release_cuda_memory(trainer: Trainer): torch.cuda.empty_cache()
19.444444
42
0.777143
24
175
5.291667
0.541667
0.141732
0.267717
0
0
0
0
0
0
0
0
0
0.125714
175
8
43
21.875
0.830065
0
0
0
0
0
0.108571
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.6
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
1edc87f9f06b9cd07b89fe31f5c4f7b039ab652a
207
py
Python
hello_world.py
steven-d-ha/intro-to-python
7f3d593509dddde1bdfc39a9976f53fccb9ef558
[ "MIT" ]
null
null
null
hello_world.py
steven-d-ha/intro-to-python
7f3d593509dddde1bdfc39a9976f53fccb9ef558
[ "MIT" ]
null
null
null
hello_world.py
steven-d-ha/intro-to-python
7f3d593509dddde1bdfc39a9976f53fccb9ef558
[ "MIT" ]
null
null
null
def hello_world(): """ This comment indicates this is the version of the first branch This is the second version! It is different. adding a new comment """ print("hello " + "world!")
29.571429
66
0.642512
29
207
4.551724
0.655172
0.151515
0.136364
0
0
0
0
0
0
0
0
0
0.2657
207
7
67
29.571429
0.868421
0.618357
0
0
0
0
0.214286
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
5
1ee5df13964d6f9271f0f6ce4b45197f9af538d5
333
py
Python
plotly2js/scripts.py
mbisahaTG/plotly2js
c52d1ec418e3fc67c11ca707e6c65e3c91b0f7cf
[ "MIT" ]
null
null
null
plotly2js/scripts.py
mbisahaTG/plotly2js
c52d1ec418e3fc67c11ca707e6c65e3c91b0f7cf
[ "MIT" ]
null
null
null
plotly2js/scripts.py
mbisahaTG/plotly2js
c52d1ec418e3fc67c11ca707e6c65e3c91b0f7cf
[ "MIT" ]
null
null
null
def js_with_image(plot_div_id): return f""" var jsNode = document.getElementById('{plot_div_id}'); var img = document.getElementById("{plot_div_id}").parentElement.getElementsByTagName('img')[0]; if(img && img.tagName == 'IMG') document.getElementById("{plot_div_id}").parentElement.removeChild(img); """
47.571429
112
0.690691
40
333
5.5
0.5
0.127273
0.163636
0.395455
0.568182
0.427273
0.427273
0
0
0
0
0.003497
0.141141
333
6
113
55.5
0.765734
0
0
0
0
0.166667
0.846847
0.597598
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
1
0
0
0
5
94a7315112ead2823f7f5aee41e83e61d8980b7b
32
py
Python
exercises/bob/bob.py
kishankj/python
82042de746128127502e109111e6c4e8ab002af6
[ "MIT" ]
1,177
2017-06-21T20:24:06.000Z
2022-03-29T02:30:55.000Z
exercises/bob/bob.py
kishankj/python
82042de746128127502e109111e6c4e8ab002af6
[ "MIT" ]
1,890
2017-06-18T20:06:10.000Z
2022-03-31T18:35:51.000Z
exercises/bob/bob.py
kishankj/python
82042de746128127502e109111e6c4e8ab002af6
[ "MIT" ]
1,095
2017-06-26T23:06:19.000Z
2022-03-29T03:25:38.000Z
def response(hey_bob): pass
10.666667
22
0.6875
5
32
4.2
1
0
0
0
0
0
0
0
0
0
0
0
0.21875
32
2
23
16
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
5
a208079a566b731a18bf4be1aea1911a05a03e32
82
py
Python
aif360/__init__.py
sumacm/fairattr
72b56d718a6fbe695093d24715c75b9b485ab6b8
[ "Apache-2.0" ]
982
2018-09-12T17:19:11.000Z
2020-07-13T21:26:24.000Z
aif360/__init__.py
sumacm/fairattr
72b56d718a6fbe695093d24715c75b9b485ab6b8
[ "Apache-2.0" ]
109
2018-09-12T20:39:43.000Z
2020-07-09T20:12:00.000Z
aif360/__init__.py
aridiosilva/AIF360
f4c53dd28df0cc6c414dcf91396549615cfadf20
[ "Apache-2.0" ]
335
2018-09-13T15:35:09.000Z
2020-07-06T10:56:12.000Z
try: from .version import version as __version__ except ImportError: pass
16.4
47
0.743902
10
82
5.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.219512
82
4
48
20.5
0.890625
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
5
bf552a2aa568e225e4eb09bdb66aec38cea48875
237
py
Python
utils/exceptions.py
fox2mike/FlightDeck
3a2fc78c13dd968041b349c4f9343e6c8b22dd25
[ "BSD-3-Clause" ]
1
2020-09-03T19:16:55.000Z
2020-09-03T19:16:55.000Z
utils/exceptions.py
fox2mike/FlightDeck
3a2fc78c13dd968041b349c4f9343e6c8b22dd25
[ "BSD-3-Clause" ]
null
null
null
utils/exceptions.py
fox2mike/FlightDeck
3a2fc78c13dd968041b349c4f9343e6c8b22dd25
[ "BSD-3-Clause" ]
null
null
null
class SimpleException(Exception): " Exception extended with a value " def __init__(self, value): self.value = value super(SimpleException, self).__init__() def __str__(self): return repr(self.value)
23.7
47
0.654008
26
237
5.5
0.538462
0.188811
0
0
0
0
0
0
0
0
0
0
0.248945
237
9
48
26.333333
0.803371
0.130802
0
0
0
0
0.139241
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
bf60f64d9e13470b21a6a38bcf20ef2e5d656e70
43
py
Python
exceptions/xsolla.py
TomTsong/xsolla
0ae4774df5b4461369bbdbb160345c9c5f8481f5
[ "MIT" ]
null
null
null
exceptions/xsolla.py
TomTsong/xsolla
0ae4774df5b4461369bbdbb160345c9c5f8481f5
[ "MIT" ]
null
null
null
exceptions/xsolla.py
TomTsong/xsolla
0ae4774df5b4461369bbdbb160345c9c5f8481f5
[ "MIT" ]
null
null
null
class XsollaException(Exception): pass
14.333333
33
0.767442
4
43
8.25
1
0
0
0
0
0
0
0
0
0
0
0
0.162791
43
2
34
21.5
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
5
bf6838b9bb46cecd8fe932856ee57397f026f8b3
56
py
Python
website/testhash.py
psorus/gradeopt
65b11fc3527904ec45b07ffa962fa4df63d2e41e
[ "MIT" ]
null
null
null
website/testhash.py
psorus/gradeopt
65b11fc3527904ec45b07ffa962fa4df63d2e41e
[ "MIT" ]
null
null
null
website/testhash.py
psorus/gradeopt
65b11fc3527904ec45b07ffa962fa4df63d2e41e
[ "MIT" ]
null
null
null
from betterhash import bhash as hash print(hash("1234"))
28
36
0.785714
9
56
4.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0.08
0.107143
56
2
37
28
0.8
0
0
0
0
0
0.070175
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
5
bf69dad523303df548142d3d20ce9cac4ce59751
831
py
Python
app/admin_api_1_0/errors.py
Muxi-Studio/ccnu-network-culture-festival
3ff62b2a3052d1c0fcbc62df53f8985ea8bfd9d3
[ "MIT" ]
null
null
null
app/admin_api_1_0/errors.py
Muxi-Studio/ccnu-network-culture-festival
3ff62b2a3052d1c0fcbc62df53f8985ea8bfd9d3
[ "MIT" ]
7
2020-03-24T16:05:11.000Z
2022-01-13T00:51:53.000Z
app/admin_api_1_0/errors.py
Muxi-Studio/ccnu-network-culture-festival
3ff62b2a3052d1c0fcbc62df53f8985ea8bfd9d3
[ "MIT" ]
null
null
null
# coding: utf-8 """ error.py ````````` : HTTP 错误处理 """ from flask import jsonify def not_found(message): response = jsonify({'error': 'not_found', 'message': message}) response.status_code = 404 return response def bad_request(message): response = jsonify({'error': 'bad_request', 'message': message}) response.status_code = 400 return response def unauthorized(message): response = jsonify({'error': 'unathorized', 'message': message}) response.status_code = 401 return response def forbidden(message): response = jsonify({'error': 'forbidden', 'message': message}) response.status_code = 403 return response def server_error(message): response = jsonify({'error': 'server_error', 'message': message}) response.status_code = 500 return response
20.268293
69
0.66426
92
831
5.880435
0.326087
0.277264
0.203327
0.249538
0.295749
0
0
0
0
0
0
0.023988
0.197353
831
40
70
20.775
0.787106
0.055355
0
0.238095
0
0
0.146597
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0
0.52381
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
5
bf96d2d973b6a6211b69472b3692fcee1168bec0
184,105
py
Python
venv/Lib/site-packages/apache_beam/portability/api/beam_fn_api_pb2.py
mf2199/beam_bigtable
54444e1109ad30017e7a849e88de266cc39571d6
[ "RSA-MD" ]
null
null
null
venv/Lib/site-packages/apache_beam/portability/api/beam_fn_api_pb2.py
mf2199/beam_bigtable
54444e1109ad30017e7a849e88de266cc39571d6
[ "RSA-MD" ]
null
null
null
venv/Lib/site-packages/apache_beam/portability/api/beam_fn_api_pb2.py
mf2199/beam_bigtable
54444e1109ad30017e7a849e88de266cc39571d6
[ "RSA-MD" ]
null
null
null
from __future__ import absolute_import # Generated by the protocol buffer compiler. DO NOT EDIT! # source: beam_fn_api.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from . import beam_runner_api_pb2 as beam__runner__api__pb2 from . import endpoints_pb2 as endpoints__pb2 from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='beam_fn_api.proto', package='org.apache.beam.model.fn_execution.v1', syntax='proto3', serialized_pb=_b('\n\x11\x62\x65\x61m_fn_api.proto\x12%org.apache.beam.model.fn_execution.v1\x1a\x15\x62\x65\x61m_runner_api.proto\x1a\x0f\x65ndpoints.proto\x1a google/protobuf/descriptor.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\x84\x01\n\x06Target\x12%\n\x1dprimitive_transform_reference\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x1a\x45\n\x04List\x12=\n\x06target\x18\x01 \x03(\x0b\x32-.org.apache.beam.model.fn_execution.v1.Target\"{\n\x0eRemoteGrpcPort\x12W\n\x16\x61pi_service_descriptor\x18\x01 \x01(\x0b\x32\x37.org.apache.beam.model.pipeline.v1.ApiServiceDescriptor\x12\x10\n\x08\x63oder_id\x18\x02 \x01(\t\"\x82\x04\n\x12InstructionRequest\x12\x16\n\x0einstruction_id\x18\x01 \x01(\t\x12K\n\x08register\x18\xe8\x07 \x01(\x0b\x32\x36.org.apache.beam.model.fn_execution.v1.RegisterRequestH\x00\x12V\n\x0eprocess_bundle\x18\xe9\x07 \x01(\x0b\x32;.org.apache.beam.model.fn_execution.v1.ProcessBundleRequestH\x00\x12g\n\x17process_bundle_progress\x18\xea\x07 \x01(\x0b\x32\x43.org.apache.beam.model.fn_execution.v1.ProcessBundleProgressRequestH\x00\x12\x61\n\x14process_bundle_split\x18\xeb\x07 \x01(\x0b\x32@.org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequestH\x00\x12X\n\x0f\x66inalize_bundle\x18\xec\x07 \x01(\x0b\x32<.org.apache.beam.model.fn_execution.v1.FinalizeBundleRequestH\x00\x42\t\n\x07request\"\x98\x04\n\x13InstructionResponse\x12\x16\n\x0einstruction_id\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12L\n\x08register\x18\xe8\x07 \x01(\x0b\x32\x37.org.apache.beam.model.fn_execution.v1.RegisterResponseH\x00\x12W\n\x0eprocess_bundle\x18\xe9\x07 \x01(\x0b\x32<.org.apache.beam.model.fn_execution.v1.ProcessBundleResponseH\x00\x12h\n\x17process_bundle_progress\x18\xea\x07 \x01(\x0b\x32\x44.org.apache.beam.model.fn_execution.v1.ProcessBundleProgressResponseH\x00\x12\x62\n\x14process_bundle_split\x18\xeb\x07 \x01(\x0b\x32\x41.org.apache.beam.model.fn_execution.v1.ProcessBundleSplitResponseH\x00\x12Y\n\x0f\x66inalize_bundle\x18\xec\x07 \x01(\x0b\x32=.org.apache.beam.model.fn_execution.v1.FinalizeBundleResponseH\x00\x42\n\n\x08response\"t\n\x0fRegisterRequest\x12\x61\n\x19process_bundle_descriptor\x18\x01 \x03(\x0b\x32>.org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor\"\x12\n\x10RegisterResponse\"\x82\t\n\x17ProcessBundleDescriptor\x12\n\n\x02id\x18\x01 \x01(\t\x12\x62\n\ntransforms\x18\x02 \x03(\x0b\x32N.org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.TransformsEntry\x12\x66\n\x0cpcollections\x18\x03 \x03(\x0b\x32P.org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.PcollectionsEntry\x12u\n\x14windowing_strategies\x18\x04 \x03(\x0b\x32W.org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.WindowingStrategiesEntry\x12Z\n\x06\x63oders\x18\x05 \x03(\x0b\x32J.org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.CodersEntry\x12\x66\n\x0c\x65nvironments\x18\x06 \x03(\x0b\x32P.org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.EnvironmentsEntry\x12]\n\x1cstate_api_service_descriptor\x18\x07 \x01(\x0b\x32\x37.org.apache.beam.model.pipeline.v1.ApiServiceDescriptor\x1a`\n\x0fTransformsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.org.apache.beam.model.pipeline.v1.PTransform:\x02\x38\x01\x1a\x63\n\x11PcollectionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..org.apache.beam.model.pipeline.v1.PCollection:\x02\x38\x01\x1ap\n\x18WindowingStrategiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x43\n\x05value\x18\x02 \x01(\x0b\x32\x34.org.apache.beam.model.pipeline.v1.WindowingStrategy:\x02\x38\x01\x1aW\n\x0b\x43odersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.org.apache.beam.model.pipeline.v1.Coder:\x02\x38\x01\x1a\x63\n\x11\x45nvironmentsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12=\n\x05value\x18\x02 \x01(\x0b\x32..org.apache.beam.model.pipeline.v1.Environment:\x02\x38\x01\"\xc8\x04\n\x11\x42undleApplication\x12\x15\n\rptransform_id\x18\x01 \x01(\t\x12\x10\n\x08input_id\x18\x02 \x01(\t\x12\x0f\n\x07\x65lement\x18\x03 \x01(\x0c\x12i\n\x11output_watermarks\x18\x04 \x03(\x0b\x32N.org.apache.beam.model.fn_execution.v1.BundleApplication.OutputWatermarksEntry\x12Q\n\x07\x62\x61\x63klog\x18\x05 \x01(\x0b\x32@.org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog\x12\x45\n\nis_bounded\x18\x06 \x01(\x0e\x32\x31.org.apache.beam.model.pipeline.v1.IsBounded.Enum\x12O\n\x10monitoring_infos\x18\x07 \x03(\x0b\x32\x35.org.apache.beam.model.fn_execution.v1.MonitoringInfo\x1aS\n\x15OutputWatermarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp:\x02\x38\x01\x1aN\n\x07\x42\x61\x63klog\x12\x11\n\tpartition\x18\x01 \x01(\x0c\x12\x10\n\x05\x62ytes\x18\xe8\x07 \x01(\x0cH\x00\x12\x15\n\nis_unknown\x18\xe9\x07 \x01(\x08H\x00\x42\x07\n\x05value\"\xa7\x01\n\x18\x44\x65layedBundleApplication\x12<\n\x18requested_execution_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12M\n\x0b\x61pplication\x18\x02 \x01(\x0b\x32\x38.org.apache.beam.model.fn_execution.v1.BundleApplication\"Y\n\x14ProcessBundleRequest\x12+\n#process_bundle_descriptor_reference\x18\x01 \x01(\t\x12\x14\n\x0c\x63\x61\x63he_tokens\x18\x02 \x03(\x0c\"\xa1\x02\n\x15ProcessBundleResponse\x12?\n\x07metrics\x18\x01 \x01(\x0b\x32..org.apache.beam.model.fn_execution.v1.Metrics\x12W\n\x0eresidual_roots\x18\x02 \x03(\x0b\x32?.org.apache.beam.model.fn_execution.v1.DelayedBundleApplication\x12O\n\x10monitoring_infos\x18\x03 \x03(\x0b\x32\x35.org.apache.beam.model.fn_execution.v1.MonitoringInfo\x12\x1d\n\x15requires_finalization\x18\x04 \x01(\x08\"=\n\x1cProcessBundleProgressRequest\x12\x1d\n\x15instruction_reference\x18\x01 \x01(\t\"\xee\x03\n\x0eMonitoringInfo\x12\x0b\n\x03urn\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\t\x12[\n\x15monitoring_table_data\x18\x03 \x01(\x0b\x32:.org.apache.beam.model.fn_execution.v1.MonitoringTableDataH\x00\x12?\n\x06metric\x18\x04 \x01(\x0b\x32-.org.apache.beam.model.fn_execution.v1.MetricH\x00\x12Q\n\x06labels\x18\x05 \x03(\x0b\x32\x41.org.apache.beam.model.fn_execution.v1.MonitoringInfo.LabelsEntry\x12-\n\ttimestamp\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"j\n\x14MonitoringInfoLabels\x12\r\n\tTRANSFORM\x10\x00\x12\x0f\n\x0bPCOLLECTION\x10\x01\x12\x16\n\x12WINDOWING_STRATEGY\x10\x02\x12\t\n\x05\x43ODER\x10\x03\x12\x0f\n\x0b\x45NVIRONMENT\x10\x04\x42\x06\n\x04\x64\x61ta\"\xde\x03\n\x12MonitoringInfoUrns\"\xc7\x03\n\x04\x45num\x12\x33\n\x17USER_COUNTER_URN_PREFIX\x10\x00\x1a\x16\xa2\xb4\xfa\xc2\x05\x10\x62\x65\x61m:metric:user\x12\x35\n\rELEMENT_COUNT\x10\x01\x1a\"\xa2\xb4\xfa\xc2\x05\x1c\x62\x65\x61m:metric:element_count:v1\x12T\n\x12START_BUNDLE_MSECS\x10\x02\x1a<\xa2\xb4\xfa\xc2\x05\x36\x62\x65\x61m:metric:pardo_execution_time:start_bundle_msecs:v1\x12X\n\x14PROCESS_BUNDLE_MSECS\x10\x03\x1a>\xa2\xb4\xfa\xc2\x05\x38\x62\x65\x61m:metric:pardo_execution_time:process_bundle_msecs:v1\x12V\n\x13\x46INISH_BUNDLE_MSECS\x10\x04\x1a=\xa2\xb4\xfa\xc2\x05\x37\x62\x65\x61m:metric:pardo_execution_time:finish_bundle_msecs:v1\x12K\n\x0bTOTAL_MSECS\x10\x05\x1a:\xa2\xb4\xfa\xc2\x05\x34\x62\x65\x61m:metric:ptransform_execution_time:total_msecs:v1\"\xd2\x01\n\x16MonitoringInfoTypeUrns\"\xb7\x01\n\x04\x45num\x12\x31\n\x0eSUM_INT64_TYPE\x10\x00\x1a\x1d\xa2\xb4\xfa\xc2\x05\x17\x62\x65\x61m:metrics:sum_int_64\x12\x43\n\x17\x44ISTRIBUTION_INT64_TYPE\x10\x01\x1a&\xa2\xb4\xfa\xc2\x05 beam:metrics:distribution_int_64\x12\x37\n\x11LATEST_INT64_TYPE\x10\x02\x1a \xa2\xb4\xfa\xc2\x05\x1a\x62\x65\x61m:metrics:latest_int_64\"\xfe\x01\n\x06Metric\x12J\n\x0c\x63ounter_data\x18\x01 \x01(\x0b\x32\x32.org.apache.beam.model.fn_execution.v1.CounterDataH\x00\x12T\n\x11\x64istribution_data\x18\x02 \x01(\x0b\x32\x37.org.apache.beam.model.fn_execution.v1.DistributionDataH\x00\x12J\n\x0c\x65xtrema_data\x18\x03 \x01(\x0b\x32\x32.org.apache.beam.model.fn_execution.v1.ExtremaDataH\x00\x42\x06\n\x04\x64\x61ta\"]\n\x0b\x43ounterData\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x42\x07\n\x05value\"\xc4\x01\n\x0b\x45xtremaData\x12Q\n\x10int_extrema_data\x18\x01 \x01(\x0b\x32\x35.org.apache.beam.model.fn_execution.v1.IntExtremaDataH\x00\x12W\n\x13\x64ouble_extrema_data\x18\x02 \x01(\x0b\x32\x38.org.apache.beam.model.fn_execution.v1.DoubleExtremaDataH\x00\x42\t\n\x07\x65xtrema\"$\n\x0eIntExtremaData\x12\x12\n\nint_values\x18\x01 \x03(\x03\"*\n\x11\x44oubleExtremaData\x12\x15\n\rdouble_values\x18\x02 \x03(\x01\"\xe2\x01\n\x10\x44istributionData\x12[\n\x15int_distribution_data\x18\x01 \x01(\x0b\x32:.org.apache.beam.model.fn_execution.v1.IntDistributionDataH\x00\x12\x61\n\x18\x64ouble_distribution_data\x18\x02 \x01(\x0b\x32=.org.apache.beam.model.fn_execution.v1.DoubleDistributionDataH\x00\x42\x0e\n\x0c\x64istribution\"K\n\x13IntDistributionData\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0b\n\x03sum\x18\x02 \x01(\x03\x12\x0b\n\x03min\x18\x03 \x01(\x03\x12\x0b\n\x03max\x18\x04 \x01(\x03\"N\n\x16\x44oubleDistributionData\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0b\n\x03sum\x18\x02 \x01(\x01\x12\x0b\n\x03min\x18\x03 \x01(\x01\x12\x0b\n\x03max\x18\x04 \x01(\x01\"\x95\x03\n\x13MonitoringTableData\x12\x14\n\x0c\x63olumn_names\x18\x01 \x03(\t\x12Z\n\x08row_data\x18\x02 \x03(\x0b\x32H.org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringRow\x1a\x98\x01\n\x15MonitoringColumnValue\x12\x15\n\x0bint64_value\x18\x01 \x01(\x03H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x12\x16\n\x0cstring_value\x18\x03 \x01(\tH\x00\x12/\n\ttimestamp\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x42\x07\n\x05value\x1aq\n\rMonitoringRow\x12`\n\x06values\x18\x01 \x03(\x0b\x32P.org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue\"\xa9\x10\n\x07Metrics\x12T\n\x0bptransforms\x18\x01 \x03(\x0b\x32?.org.apache.beam.model.fn_execution.v1.Metrics.PtransformsEntry\x1a\xfc\t\n\nPTransform\x12g\n\x12processed_elements\x18\x01 \x01(\x0b\x32K.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ProcessedElements\x12\x61\n\x0f\x61\x63tive_elements\x18\x02 \x01(\x0b\x32H.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements\x12]\n\nwatermarks\x18\x03 \x03(\x0b\x32I.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.WatermarksEntry\x12\x41\n\x04user\x18\x04 \x03(\x0b\x32\x33.org.apache.beam.model.fn_execution.v1.Metrics.User\x1a\x91\x03\n\x08Measured\x12x\n\x14input_element_counts\x18\x01 \x03(\x0b\x32Z.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.InputElementCountsEntry\x12z\n\x15output_element_counts\x18\x02 \x03(\x0b\x32[.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.OutputElementCountsEntry\x12\x18\n\x10total_time_spent\x18\x03 \x01(\x01\x1a\x39\n\x17InputElementCountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a:\n\x18OutputElementCountsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1ai\n\x11ProcessedElements\x12T\n\x08measured\x18\x01 \x01(\x0b\x32\x42.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured\x1a\xcd\x02\n\x0e\x41\x63tiveElements\x12T\n\x08measured\x18\x01 \x01(\x0b\x32\x42.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured\x12\x1a\n\x12\x66raction_remaining\x18\x02 \x01(\x01\x12\x88\x01\n\x19output_elements_remaining\x18\x03 \x03(\x0b\x32\x65.org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.OutputElementsRemainingEntry\x1a>\n\x1cOutputElementsRemainingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\x31\n\x0fWatermarksEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\x1a\xd9\x04\n\x04User\x12S\n\x0bmetric_name\x18\x01 \x01(\x0b\x32>.org.apache.beam.model.fn_execution.v1.Metrics.User.MetricName\x12X\n\x0c\x63ounter_data\x18\xe9\x07 \x01(\x0b\x32?.org.apache.beam.model.fn_execution.v1.Metrics.User.CounterDataH\x00\x12\x62\n\x11\x64istribution_data\x18\xea\x07 \x01(\x0b\x32\x44.org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionDataH\x00\x12T\n\ngauge_data\x18\xeb\x07 \x01(\x0b\x32=.org.apache.beam.model.fn_execution.v1.Metrics.User.GaugeDataH\x00\x1a-\n\nMetricName\x12\x11\n\tnamespace\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x1a\x1c\n\x0b\x43ounterData\x12\r\n\x05value\x18\x01 \x01(\x03\x1aH\n\x10\x44istributionData\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12\x0b\n\x03sum\x18\x02 \x01(\x03\x12\x0b\n\x03min\x18\x03 \x01(\x03\x12\x0b\n\x03max\x18\x04 \x01(\x03\x1aI\n\tGaugeData\x12\r\n\x05value\x18\x01 \x01(\x03\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\n\x04\x64\x61ta\x1am\n\x10PtransformsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12H\n\x05value\x18\x02 \x01(\x0b\x32\x39.org.apache.beam.model.fn_execution.v1.Metrics.PTransform:\x02\x38\x01\"\x82\x02\n\x1dProcessBundleProgressResponse\x12?\n\x07metrics\x18\x01 \x01(\x0b\x32..org.apache.beam.model.fn_execution.v1.Metrics\x12O\n\x10monitoring_infos\x18\x03 \x03(\x0b\x32\x35.org.apache.beam.model.fn_execution.v1.MonitoringInfo\x12O\n\rprimary_roots\x18\x04 \x03(\x0b\x32\x38.org.apache.beam.model.fn_execution.v1.BundleApplication\"\xe6\x01\n\x19ProcessBundleSplitRequest\x12\x1d\n\x15instruction_reference\x18\x01 \x01(\t\x12q\n\x11\x62\x61\x63klog_remaining\x18\x02 \x03(\x0b\x32V.org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.BacklogRemainingEntry\x1a\x37\n\x15\x42\x61\x63klogRemainingEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c:\x02\x38\x01\"\xc6\x01\n\x1aProcessBundleSplitResponse\x12O\n\rprimary_roots\x18\x01 \x03(\x0b\x32\x38.org.apache.beam.model.fn_execution.v1.BundleApplication\x12W\n\x0eresidual_roots\x18\x02 \x03(\x0b\x32?.org.apache.beam.model.fn_execution.v1.DelayedBundleApplication\"6\n\x15\x46inalizeBundleRequest\x12\x1d\n\x15instruction_reference\x18\x01 \x01(\t\"\x18\n\x16\x46inalizeBundleResponse\"\xc2\x01\n\x08\x45lements\x12\x42\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x34.org.apache.beam.model.fn_execution.v1.Elements.Data\x1ar\n\x04\x44\x61ta\x12\x1d\n\x15instruction_reference\x18\x01 \x01(\t\x12=\n\x06target\x18\x02 \x01(\x0b\x32-.org.apache.beam.model.fn_execution.v1.Target\x12\x0c\n\x04\x64\x61ta\x18\x03 \x01(\x0c\"\xea\x02\n\x0cStateRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1d\n\x15instruction_reference\x18\x02 \x01(\t\x12\x42\n\tstate_key\x18\x03 \x01(\x0b\x32/.org.apache.beam.model.fn_execution.v1.StateKey\x12\x46\n\x03get\x18\xe8\x07 \x01(\x0b\x32\x36.org.apache.beam.model.fn_execution.v1.StateGetRequestH\x00\x12L\n\x06\x61ppend\x18\xe9\x07 \x01(\x0b\x32\x39.org.apache.beam.model.fn_execution.v1.StateAppendRequestH\x00\x12J\n\x05\x63lear\x18\xea\x07 \x01(\x0b\x32\x38.org.apache.beam.model.fn_execution.v1.StateClearRequestH\x00\x42\t\n\x07request\"\xb0\x02\n\rStateResponse\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x12\x13\n\x0b\x63\x61\x63he_token\x18\x03 \x01(\x0c\x12G\n\x03get\x18\xe8\x07 \x01(\x0b\x32\x37.org.apache.beam.model.fn_execution.v1.StateGetResponseH\x00\x12M\n\x06\x61ppend\x18\xe9\x07 \x01(\x0b\x32:.org.apache.beam.model.fn_execution.v1.StateAppendResponseH\x00\x12K\n\x05\x63lear\x18\xea\x07 \x01(\x0b\x32\x39.org.apache.beam.model.fn_execution.v1.StateClearResponseH\x00\x42\n\n\x08response\"\xe8\x03\n\x08StateKey\x12H\n\x06runner\x18\x01 \x01(\x0b\x32\x36.org.apache.beam.model.fn_execution.v1.StateKey.RunnerH\x00\x12`\n\x13multimap_side_input\x18\x02 \x01(\x0b\x32\x41.org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInputH\x00\x12V\n\x0e\x62\x61g_user_state\x18\x03 \x01(\x0b\x32<.org.apache.beam.model.fn_execution.v1.StateKey.BagUserStateH\x00\x1a\x15\n\x06Runner\x12\x0b\n\x03key\x18\x01 \x01(\x0c\x1a^\n\x11MultimapSideInput\x12\x15\n\rptransform_id\x18\x01 \x01(\t\x12\x15\n\rside_input_id\x18\x02 \x01(\t\x12\x0e\n\x06window\x18\x03 \x01(\x0c\x12\x0b\n\x03key\x18\x04 \x01(\x0c\x1aY\n\x0c\x42\x61gUserState\x12\x15\n\rptransform_id\x18\x01 \x01(\t\x12\x15\n\ruser_state_id\x18\x02 \x01(\t\x12\x0e\n\x06window\x18\x03 \x01(\x0c\x12\x0b\n\x03key\x18\x04 \x01(\x0c\x42\x06\n\x04type\"-\n\x0fStateGetRequest\x12\x1a\n\x12\x63ontinuation_token\x18\x01 \x01(\x0c\"<\n\x10StateGetResponse\x12\x1a\n\x12\x63ontinuation_token\x18\x01 \x01(\x0c\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\"\n\x12StateAppendRequest\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"\x15\n\x13StateAppendResponse\"\x13\n\x11StateClearRequest\"\x14\n\x12StateClearResponse\"\xd8\x03\n\x08LogEntry\x12O\n\x08severity\x18\x01 \x01(\x0e\x32=.org.apache.beam.model.fn_execution.v1.LogEntry.Severity.Enum\x12-\n\ttimestamp\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\r\n\x05trace\x18\x04 \x01(\t\x12\x1d\n\x15instruction_reference\x18\x05 \x01(\t\x12%\n\x1dprimitive_transform_reference\x18\x06 \x01(\t\x12\x14\n\x0clog_location\x18\x07 \x01(\t\x12\x0e\n\x06thread\x18\x08 \x01(\t\x1aL\n\x04List\x12\x44\n\x0blog_entries\x18\x01 \x03(\x0b\x32/.org.apache.beam.model.fn_execution.v1.LogEntry\x1ar\n\x08Severity\"f\n\x04\x45num\x12\x0f\n\x0bUNSPECIFIED\x10\x00\x12\t\n\x05TRACE\x10\x01\x12\t\n\x05\x44\x45\x42UG\x10\x02\x12\x08\n\x04INFO\x10\x03\x12\n\n\x06NOTICE\x10\x04\x12\x08\n\x04WARN\x10\x05\x12\t\n\x05\x45RROR\x10\x06\x12\x0c\n\x08\x43RITICAL\x10\x07\"\x0c\n\nLogControl2\x98\x01\n\rBeamFnControl\x12\x86\x01\n\x07\x43ontrol\x12:.org.apache.beam.model.fn_execution.v1.InstructionResponse\x1a\x39.org.apache.beam.model.fn_execution.v1.InstructionRequest\"\x00(\x01\x30\x01\x32|\n\nBeamFnData\x12n\n\x04\x44\x61ta\x12/.org.apache.beam.model.fn_execution.v1.Elements\x1a/.org.apache.beam.model.fn_execution.v1.Elements\"\x00(\x01\x30\x01\x32\x87\x01\n\x0b\x42\x65\x61mFnState\x12x\n\x05State\x12\x33.org.apache.beam.model.fn_execution.v1.StateRequest\x1a\x34.org.apache.beam.model.fn_execution.v1.StateResponse\"\x00(\x01\x30\x01\x32\x89\x01\n\rBeamFnLogging\x12x\n\x07Logging\x12\x34.org.apache.beam.model.fn_execution.v1.LogEntry.List\x1a\x31.org.apache.beam.model.fn_execution.v1.LogControl\"\x00(\x01\x30\x01\x42\x41\n$org.apache.beam.model.fnexecution.v1B\tBeamFnApiZ\x0e\x66nexecution_v1b\x06proto3') , dependencies=[beam__runner__api__pb2.DESCRIPTOR,endpoints__pb2.DESCRIPTOR,google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_wrappers__pb2.DESCRIPTOR,]) _sym_db.RegisterFileDescriptor(DESCRIPTOR) _MONITORINGINFO_MONITORINGINFOLABELS = _descriptor.EnumDescriptor( name='MonitoringInfoLabels', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.MonitoringInfoLabels', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( name='TRANSFORM', index=0, number=0, options=None, type=None), _descriptor.EnumValueDescriptor( name='PCOLLECTION', index=1, number=1, options=None, type=None), _descriptor.EnumValueDescriptor( name='WINDOWING_STRATEGY', index=2, number=2, options=None, type=None), _descriptor.EnumValueDescriptor( name='CODER', index=3, number=3, options=None, type=None), _descriptor.EnumValueDescriptor( name='ENVIRONMENT', index=4, number=4, options=None, type=None), ], containing_type=None, options=None, serialized_start=4394, serialized_end=4500, ) _sym_db.RegisterEnumDescriptor(_MONITORINGINFO_MONITORINGINFOLABELS) _MONITORINGINFOURNS_ENUM = _descriptor.EnumDescriptor( name='Enum', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfoUrns.Enum', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( name='USER_COUNTER_URN_PREFIX', index=0, number=0, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\020beam:metric:user')), type=None), _descriptor.EnumValueDescriptor( name='ELEMENT_COUNT', index=1, number=1, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\034beam:metric:element_count:v1')), type=None), _descriptor.EnumValueDescriptor( name='START_BUNDLE_MSECS', index=2, number=2, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0056beam:metric:pardo_execution_time:start_bundle_msecs:v1')), type=None), _descriptor.EnumValueDescriptor( name='PROCESS_BUNDLE_MSECS', index=3, number=3, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0058beam:metric:pardo_execution_time:process_bundle_msecs:v1')), type=None), _descriptor.EnumValueDescriptor( name='FINISH_BUNDLE_MSECS', index=4, number=4, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0057beam:metric:pardo_execution_time:finish_bundle_msecs:v1')), type=None), _descriptor.EnumValueDescriptor( name='TOTAL_MSECS', index=5, number=5, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0054beam:metric:ptransform_execution_time:total_msecs:v1')), type=None), ], containing_type=None, options=None, serialized_start=4534, serialized_end=4989, ) _sym_db.RegisterEnumDescriptor(_MONITORINGINFOURNS_ENUM) _MONITORINGINFOTYPEURNS_ENUM = _descriptor.EnumDescriptor( name='Enum', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfoTypeUrns.Enum', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( name='SUM_INT64_TYPE', index=0, number=0, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\027beam:metrics:sum_int_64')), type=None), _descriptor.EnumValueDescriptor( name='DISTRIBUTION_INT64_TYPE', index=1, number=1, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005 beam:metrics:distribution_int_64')), type=None), _descriptor.EnumValueDescriptor( name='LATEST_INT64_TYPE', index=2, number=2, options=_descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\032beam:metrics:latest_int_64')), type=None), ], containing_type=None, options=None, serialized_start=5019, serialized_end=5202, ) _sym_db.RegisterEnumDescriptor(_MONITORINGINFOTYPEURNS_ENUM) _LOGENTRY_SEVERITY_ENUM = _descriptor.EnumDescriptor( name='Enum', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.Severity.Enum', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( name='UNSPECIFIED', index=0, number=0, options=None, type=None), _descriptor.EnumValueDescriptor( name='TRACE', index=1, number=1, options=None, type=None), _descriptor.EnumValueDescriptor( name='DEBUG', index=2, number=2, options=None, type=None), _descriptor.EnumValueDescriptor( name='INFO', index=3, number=3, options=None, type=None), _descriptor.EnumValueDescriptor( name='NOTICE', index=4, number=4, options=None, type=None), _descriptor.EnumValueDescriptor( name='WARN', index=5, number=5, options=None, type=None), _descriptor.EnumValueDescriptor( name='ERROR', index=6, number=6, options=None, type=None), _descriptor.EnumValueDescriptor( name='CRITICAL', index=7, number=7, options=None, type=None), ], containing_type=None, options=None, serialized_start=11442, serialized_end=11544, ) _sym_db.RegisterEnumDescriptor(_LOGENTRY_SEVERITY_ENUM) _TARGET_LIST = _descriptor.Descriptor( name='List', full_name='org.apache.beam.model.fn_execution.v1.Target.List', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='target', full_name='org.apache.beam.model.fn_execution.v1.Target.List.target', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=263, serialized_end=332, ) _TARGET = _descriptor.Descriptor( name='Target', full_name='org.apache.beam.model.fn_execution.v1.Target', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='primitive_transform_reference', full_name='org.apache.beam.model.fn_execution.v1.Target.primitive_transform_reference', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='name', full_name='org.apache.beam.model.fn_execution.v1.Target.name', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_TARGET_LIST, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=200, serialized_end=332, ) _REMOTEGRPCPORT = _descriptor.Descriptor( name='RemoteGrpcPort', full_name='org.apache.beam.model.fn_execution.v1.RemoteGrpcPort', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='api_service_descriptor', full_name='org.apache.beam.model.fn_execution.v1.RemoteGrpcPort.api_service_descriptor', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='coder_id', full_name='org.apache.beam.model.fn_execution.v1.RemoteGrpcPort.coder_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=334, serialized_end=457, ) _INSTRUCTIONREQUEST = _descriptor.Descriptor( name='InstructionRequest', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instruction_id', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.instruction_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='register', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.register', index=1, number=1000, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='process_bundle', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.process_bundle', index=2, number=1001, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='process_bundle_progress', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.process_bundle_progress', index=3, number=1002, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='process_bundle_split', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.process_bundle_split', index=4, number=1003, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='finalize_bundle', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.finalize_bundle', index=5, number=1004, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='request', full_name='org.apache.beam.model.fn_execution.v1.InstructionRequest.request', index=0, containing_type=None, fields=[]), ], serialized_start=460, serialized_end=974, ) _INSTRUCTIONRESPONSE = _descriptor.Descriptor( name='InstructionResponse', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instruction_id', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.instruction_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='error', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.error', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='register', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.register', index=2, number=1000, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='process_bundle', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.process_bundle', index=3, number=1001, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='process_bundle_progress', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.process_bundle_progress', index=4, number=1002, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='process_bundle_split', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.process_bundle_split', index=5, number=1003, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='finalize_bundle', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.finalize_bundle', index=6, number=1004, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='response', full_name='org.apache.beam.model.fn_execution.v1.InstructionResponse.response', index=0, containing_type=None, fields=[]), ], serialized_start=977, serialized_end=1513, ) _REGISTERREQUEST = _descriptor.Descriptor( name='RegisterRequest', full_name='org.apache.beam.model.fn_execution.v1.RegisterRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='process_bundle_descriptor', full_name='org.apache.beam.model.fn_execution.v1.RegisterRequest.process_bundle_descriptor', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1515, serialized_end=1631, ) _REGISTERRESPONSE = _descriptor.Descriptor( name='RegisterResponse', full_name='org.apache.beam.model.fn_execution.v1.RegisterResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1633, serialized_end=1651, ) _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY = _descriptor.Descriptor( name='TransformsEntry', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.TransformsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.TransformsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.TransformsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2307, serialized_end=2403, ) _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY = _descriptor.Descriptor( name='PcollectionsEntry', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.PcollectionsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.PcollectionsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.PcollectionsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2405, serialized_end=2504, ) _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY = _descriptor.Descriptor( name='WindowingStrategiesEntry', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.WindowingStrategiesEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.WindowingStrategiesEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.WindowingStrategiesEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2506, serialized_end=2618, ) _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY = _descriptor.Descriptor( name='CodersEntry', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.CodersEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.CodersEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.CodersEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2620, serialized_end=2707, ) _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY = _descriptor.Descriptor( name='EnvironmentsEntry', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.EnvironmentsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.EnvironmentsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.EnvironmentsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2709, serialized_end=2808, ) _PROCESSBUNDLEDESCRIPTOR = _descriptor.Descriptor( name='ProcessBundleDescriptor', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='transforms', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.transforms', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='pcollections', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.pcollections', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='windowing_strategies', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.windowing_strategies', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='coders', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.coders', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='environments', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.environments', index=5, number=6, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='state_api_service_descriptor', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.state_api_service_descriptor', index=6, number=7, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY, _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY, _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY, _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY, _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1654, serialized_end=2808, ) _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY = _descriptor.Descriptor( name='OutputWatermarksEntry', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.OutputWatermarksEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.OutputWatermarksEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.OutputWatermarksEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3232, serialized_end=3315, ) _BUNDLEAPPLICATION_BACKLOG = _descriptor.Descriptor( name='Backlog', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='partition', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog.partition', index=0, number=1, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='bytes', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog.bytes', index=1, number=1000, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='is_unknown', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog.is_unknown', index=2, number=1001, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog.value', index=0, containing_type=None, fields=[]), ], serialized_start=3317, serialized_end=3395, ) _BUNDLEAPPLICATION = _descriptor.Descriptor( name='BundleApplication', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='ptransform_id', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.ptransform_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='input_id', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.input_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='element', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.element', index=2, number=3, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='output_watermarks', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.output_watermarks', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='backlog', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.backlog', index=4, number=5, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='is_bounded', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.is_bounded', index=5, number=6, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='monitoring_infos', full_name='org.apache.beam.model.fn_execution.v1.BundleApplication.monitoring_infos', index=6, number=7, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY, _BUNDLEAPPLICATION_BACKLOG, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2811, serialized_end=3395, ) _DELAYEDBUNDLEAPPLICATION = _descriptor.Descriptor( name='DelayedBundleApplication', full_name='org.apache.beam.model.fn_execution.v1.DelayedBundleApplication', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='requested_execution_time', full_name='org.apache.beam.model.fn_execution.v1.DelayedBundleApplication.requested_execution_time', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='application', full_name='org.apache.beam.model.fn_execution.v1.DelayedBundleApplication.application', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3398, serialized_end=3565, ) _PROCESSBUNDLEREQUEST = _descriptor.Descriptor( name='ProcessBundleRequest', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='process_bundle_descriptor_reference', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleRequest.process_bundle_descriptor_reference', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='cache_tokens', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleRequest.cache_tokens', index=1, number=2, type=12, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3567, serialized_end=3656, ) _PROCESSBUNDLERESPONSE = _descriptor.Descriptor( name='ProcessBundleResponse', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='metrics', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleResponse.metrics', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='residual_roots', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleResponse.residual_roots', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='monitoring_infos', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleResponse.monitoring_infos', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='requires_finalization', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleResponse.requires_finalization', index=3, number=4, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3659, serialized_end=3948, ) _PROCESSBUNDLEPROGRESSREQUEST = _descriptor.Descriptor( name='ProcessBundleProgressRequest', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleProgressRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instruction_reference', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleProgressRequest.instruction_reference', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3950, serialized_end=4011, ) _MONITORINGINFO_LABELSENTRY = _descriptor.Descriptor( name='LabelsEntry', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.LabelsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.LabelsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.LabelsEntry.value', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4347, serialized_end=4392, ) _MONITORINGINFO = _descriptor.Descriptor( name='MonitoringInfo', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='urn', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.urn', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='type', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.type', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='monitoring_table_data', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.monitoring_table_data', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='metric', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.metric', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='labels', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.labels', index=4, number=5, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='timestamp', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.timestamp', index=5, number=6, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_MONITORINGINFO_LABELSENTRY, ], enum_types=[ _MONITORINGINFO_MONITORINGINFOLABELS, ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfo.data', index=0, containing_type=None, fields=[]), ], serialized_start=4014, serialized_end=4508, ) _MONITORINGINFOURNS = _descriptor.Descriptor( name='MonitoringInfoUrns', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfoUrns', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ _MONITORINGINFOURNS_ENUM, ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4511, serialized_end=4989, ) _MONITORINGINFOTYPEURNS = _descriptor.Descriptor( name='MonitoringInfoTypeUrns', full_name='org.apache.beam.model.fn_execution.v1.MonitoringInfoTypeUrns', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ _MONITORINGINFOTYPEURNS_ENUM, ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4992, serialized_end=5202, ) _METRIC = _descriptor.Descriptor( name='Metric', full_name='org.apache.beam.model.fn_execution.v1.Metric', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='counter_data', full_name='org.apache.beam.model.fn_execution.v1.Metric.counter_data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='distribution_data', full_name='org.apache.beam.model.fn_execution.v1.Metric.distribution_data', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='extrema_data', full_name='org.apache.beam.model.fn_execution.v1.Metric.extrema_data', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.Metric.data', index=0, containing_type=None, fields=[]), ], serialized_start=5205, serialized_end=5459, ) _COUNTERDATA = _descriptor.Descriptor( name='CounterData', full_name='org.apache.beam.model.fn_execution.v1.CounterData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='int64_value', full_name='org.apache.beam.model.fn_execution.v1.CounterData.int64_value', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='double_value', full_name='org.apache.beam.model.fn_execution.v1.CounterData.double_value', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='string_value', full_name='org.apache.beam.model.fn_execution.v1.CounterData.string_value', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.CounterData.value', index=0, containing_type=None, fields=[]), ], serialized_start=5461, serialized_end=5554, ) _EXTREMADATA = _descriptor.Descriptor( name='ExtremaData', full_name='org.apache.beam.model.fn_execution.v1.ExtremaData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='int_extrema_data', full_name='org.apache.beam.model.fn_execution.v1.ExtremaData.int_extrema_data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='double_extrema_data', full_name='org.apache.beam.model.fn_execution.v1.ExtremaData.double_extrema_data', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='extrema', full_name='org.apache.beam.model.fn_execution.v1.ExtremaData.extrema', index=0, containing_type=None, fields=[]), ], serialized_start=5557, serialized_end=5753, ) _INTEXTREMADATA = _descriptor.Descriptor( name='IntExtremaData', full_name='org.apache.beam.model.fn_execution.v1.IntExtremaData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='int_values', full_name='org.apache.beam.model.fn_execution.v1.IntExtremaData.int_values', index=0, number=1, type=3, cpp_type=2, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5755, serialized_end=5791, ) _DOUBLEEXTREMADATA = _descriptor.Descriptor( name='DoubleExtremaData', full_name='org.apache.beam.model.fn_execution.v1.DoubleExtremaData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='double_values', full_name='org.apache.beam.model.fn_execution.v1.DoubleExtremaData.double_values', index=0, number=2, type=1, cpp_type=5, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5793, serialized_end=5835, ) _DISTRIBUTIONDATA = _descriptor.Descriptor( name='DistributionData', full_name='org.apache.beam.model.fn_execution.v1.DistributionData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='int_distribution_data', full_name='org.apache.beam.model.fn_execution.v1.DistributionData.int_distribution_data', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='double_distribution_data', full_name='org.apache.beam.model.fn_execution.v1.DistributionData.double_distribution_data', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='distribution', full_name='org.apache.beam.model.fn_execution.v1.DistributionData.distribution', index=0, containing_type=None, fields=[]), ], serialized_start=5838, serialized_end=6064, ) _INTDISTRIBUTIONDATA = _descriptor.Descriptor( name='IntDistributionData', full_name='org.apache.beam.model.fn_execution.v1.IntDistributionData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='count', full_name='org.apache.beam.model.fn_execution.v1.IntDistributionData.count', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='sum', full_name='org.apache.beam.model.fn_execution.v1.IntDistributionData.sum', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='min', full_name='org.apache.beam.model.fn_execution.v1.IntDistributionData.min', index=2, number=3, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='max', full_name='org.apache.beam.model.fn_execution.v1.IntDistributionData.max', index=3, number=4, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6066, serialized_end=6141, ) _DOUBLEDISTRIBUTIONDATA = _descriptor.Descriptor( name='DoubleDistributionData', full_name='org.apache.beam.model.fn_execution.v1.DoubleDistributionData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='count', full_name='org.apache.beam.model.fn_execution.v1.DoubleDistributionData.count', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='sum', full_name='org.apache.beam.model.fn_execution.v1.DoubleDistributionData.sum', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='min', full_name='org.apache.beam.model.fn_execution.v1.DoubleDistributionData.min', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='max', full_name='org.apache.beam.model.fn_execution.v1.DoubleDistributionData.max', index=3, number=4, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6143, serialized_end=6221, ) _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE = _descriptor.Descriptor( name='MonitoringColumnValue', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='int64_value', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue.int64_value', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='double_value', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue.double_value', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='string_value', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue.string_value', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='timestamp', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue.timestamp', index=3, number=4, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue.value', index=0, containing_type=None, fields=[]), ], serialized_start=6362, serialized_end=6514, ) _MONITORINGTABLEDATA_MONITORINGROW = _descriptor.Descriptor( name='MonitoringRow', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringRow', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='values', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringRow.values', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6516, serialized_end=6629, ) _MONITORINGTABLEDATA = _descriptor.Descriptor( name='MonitoringTableData', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='column_names', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.column_names', index=0, number=1, type=9, cpp_type=9, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='row_data', full_name='org.apache.beam.model.fn_execution.v1.MonitoringTableData.row_data', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE, _MONITORINGTABLEDATA_MONITORINGROW, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6224, serialized_end=6629, ) _METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY = _descriptor.Descriptor( name='InputElementCountsEntry', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.InputElementCountsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.InputElementCountsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.InputElementCountsEntry.value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7395, serialized_end=7452, ) _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY = _descriptor.Descriptor( name='OutputElementCountsEntry', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.OutputElementCountsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.OutputElementCountsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.OutputElementCountsEntry.value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7454, serialized_end=7512, ) _METRICS_PTRANSFORM_MEASURED = _descriptor.Descriptor( name='Measured', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='input_element_counts', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.input_element_counts', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='output_element_counts', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.output_element_counts', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='total_time_spent', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.total_time_spent', index=2, number=3, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY, _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7111, serialized_end=7512, ) _METRICS_PTRANSFORM_PROCESSEDELEMENTS = _descriptor.Descriptor( name='ProcessedElements', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ProcessedElements', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='measured', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ProcessedElements.measured', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7514, serialized_end=7619, ) _METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY = _descriptor.Descriptor( name='OutputElementsRemainingEntry', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.OutputElementsRemainingEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.OutputElementsRemainingEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.OutputElementsRemainingEntry.value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7893, serialized_end=7955, ) _METRICS_PTRANSFORM_ACTIVEELEMENTS = _descriptor.Descriptor( name='ActiveElements', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='measured', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.measured', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='fraction_remaining', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.fraction_remaining', index=1, number=2, type=1, cpp_type=5, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='output_elements_remaining', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.output_elements_remaining', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7622, serialized_end=7955, ) _METRICS_PTRANSFORM_WATERMARKSENTRY = _descriptor.Descriptor( name='WatermarksEntry', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.WatermarksEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.WatermarksEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.WatermarksEntry.value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7957, serialized_end=8006, ) _METRICS_PTRANSFORM = _descriptor.Descriptor( name='PTransform', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='processed_elements', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.processed_elements', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='active_elements', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.active_elements', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='watermarks', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.watermarks', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='user', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PTransform.user', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_METRICS_PTRANSFORM_MEASURED, _METRICS_PTRANSFORM_PROCESSEDELEMENTS, _METRICS_PTRANSFORM_ACTIVEELEMENTS, _METRICS_PTRANSFORM_WATERMARKSENTRY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6730, serialized_end=8006, ) _METRICS_USER_METRICNAME = _descriptor.Descriptor( name='MetricName', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.MetricName', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='namespace', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.MetricName.namespace', index=0, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='name', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.MetricName.name', index=1, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8378, serialized_end=8423, ) _METRICS_USER_COUNTERDATA = _descriptor.Descriptor( name='CounterData', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.CounterData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.CounterData.value', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8425, serialized_end=8453, ) _METRICS_USER_DISTRIBUTIONDATA = _descriptor.Descriptor( name='DistributionData', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='count', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionData.count', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='sum', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionData.sum', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='min', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionData.min', index=2, number=3, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='max', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionData.max', index=3, number=4, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8455, serialized_end=8527, ) _METRICS_USER_GAUGEDATA = _descriptor.Descriptor( name='GaugeData', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.GaugeData', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.GaugeData.value', index=0, number=1, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='timestamp', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.GaugeData.timestamp', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8529, serialized_end=8602, ) _METRICS_USER = _descriptor.Descriptor( name='User', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='metric_name', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.metric_name', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='counter_data', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.counter_data', index=1, number=1001, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='distribution_data', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.distribution_data', index=2, number=1002, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='gauge_data', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.gauge_data', index=3, number=1003, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_METRICS_USER_METRICNAME, _METRICS_USER_COUNTERDATA, _METRICS_USER_DISTRIBUTIONDATA, _METRICS_USER_GAUGEDATA, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.Metrics.User.data', index=0, containing_type=None, fields=[]), ], serialized_start=8009, serialized_end=8610, ) _METRICS_PTRANSFORMSENTRY = _descriptor.Descriptor( name='PtransformsEntry', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PtransformsEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PtransformsEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.Metrics.PtransformsEntry.value', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8612, serialized_end=8721, ) _METRICS = _descriptor.Descriptor( name='Metrics', full_name='org.apache.beam.model.fn_execution.v1.Metrics', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='ptransforms', full_name='org.apache.beam.model.fn_execution.v1.Metrics.ptransforms', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_METRICS_PTRANSFORM, _METRICS_USER, _METRICS_PTRANSFORMSENTRY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6632, serialized_end=8721, ) _PROCESSBUNDLEPROGRESSRESPONSE = _descriptor.Descriptor( name='ProcessBundleProgressResponse', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleProgressResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='metrics', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleProgressResponse.metrics', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='monitoring_infos', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleProgressResponse.monitoring_infos', index=1, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='primary_roots', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleProgressResponse.primary_roots', index=2, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8724, serialized_end=8982, ) _PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY = _descriptor.Descriptor( name='BacklogRemainingEntry', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.BacklogRemainingEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.BacklogRemainingEntry.key', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.BacklogRemainingEntry.value', index=1, number=2, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9160, serialized_end=9215, ) _PROCESSBUNDLESPLITREQUEST = _descriptor.Descriptor( name='ProcessBundleSplitRequest', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instruction_reference', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.instruction_reference', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='backlog_remaining', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.backlog_remaining', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8985, serialized_end=9215, ) _PROCESSBUNDLESPLITRESPONSE = _descriptor.Descriptor( name='ProcessBundleSplitResponse', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='primary_roots', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitResponse.primary_roots', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='residual_roots', full_name='org.apache.beam.model.fn_execution.v1.ProcessBundleSplitResponse.residual_roots', index=1, number=2, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9218, serialized_end=9416, ) _FINALIZEBUNDLEREQUEST = _descriptor.Descriptor( name='FinalizeBundleRequest', full_name='org.apache.beam.model.fn_execution.v1.FinalizeBundleRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instruction_reference', full_name='org.apache.beam.model.fn_execution.v1.FinalizeBundleRequest.instruction_reference', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9418, serialized_end=9472, ) _FINALIZEBUNDLERESPONSE = _descriptor.Descriptor( name='FinalizeBundleResponse', full_name='org.apache.beam.model.fn_execution.v1.FinalizeBundleResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9474, serialized_end=9498, ) _ELEMENTS_DATA = _descriptor.Descriptor( name='Data', full_name='org.apache.beam.model.fn_execution.v1.Elements.Data', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='instruction_reference', full_name='org.apache.beam.model.fn_execution.v1.Elements.Data.instruction_reference', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='target', full_name='org.apache.beam.model.fn_execution.v1.Elements.Data.target', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.Elements.Data.data', index=2, number=3, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9581, serialized_end=9695, ) _ELEMENTS = _descriptor.Descriptor( name='Elements', full_name='org.apache.beam.model.fn_execution.v1.Elements', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.Elements.data', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_ELEMENTS_DATA, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9501, serialized_end=9695, ) _STATEREQUEST = _descriptor.Descriptor( name='StateRequest', full_name='org.apache.beam.model.fn_execution.v1.StateRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='instruction_reference', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.instruction_reference', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='state_key', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.state_key', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='get', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.get', index=3, number=1000, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='append', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.append', index=4, number=1001, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='clear', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.clear', index=5, number=1002, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='request', full_name='org.apache.beam.model.fn_execution.v1.StateRequest.request', index=0, containing_type=None, fields=[]), ], serialized_start=9698, serialized_end=10060, ) _STATERESPONSE = _descriptor.Descriptor( name='StateResponse', full_name='org.apache.beam.model.fn_execution.v1.StateResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='error', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.error', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='cache_token', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.cache_token', index=2, number=3, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='get', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.get', index=3, number=1000, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='append', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.append', index=4, number=1001, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='clear', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.clear', index=5, number=1002, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='response', full_name='org.apache.beam.model.fn_execution.v1.StateResponse.response', index=0, containing_type=None, fields=[]), ], serialized_start=10063, serialized_end=10367, ) _STATEKEY_RUNNER = _descriptor.Descriptor( name='Runner', full_name='org.apache.beam.model.fn_execution.v1.StateKey.Runner', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.StateKey.Runner.key', index=0, number=1, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10642, serialized_end=10663, ) _STATEKEY_MULTIMAPSIDEINPUT = _descriptor.Descriptor( name='MultimapSideInput', full_name='org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInput', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='ptransform_id', full_name='org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInput.ptransform_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='side_input_id', full_name='org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInput.side_input_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='window', full_name='org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInput.window', index=2, number=3, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInput.key', index=3, number=4, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10665, serialized_end=10759, ) _STATEKEY_BAGUSERSTATE = _descriptor.Descriptor( name='BagUserState', full_name='org.apache.beam.model.fn_execution.v1.StateKey.BagUserState', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='ptransform_id', full_name='org.apache.beam.model.fn_execution.v1.StateKey.BagUserState.ptransform_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='user_state_id', full_name='org.apache.beam.model.fn_execution.v1.StateKey.BagUserState.user_state_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='window', full_name='org.apache.beam.model.fn_execution.v1.StateKey.BagUserState.window', index=2, number=3, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='key', full_name='org.apache.beam.model.fn_execution.v1.StateKey.BagUserState.key', index=3, number=4, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10761, serialized_end=10850, ) _STATEKEY = _descriptor.Descriptor( name='StateKey', full_name='org.apache.beam.model.fn_execution.v1.StateKey', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='runner', full_name='org.apache.beam.model.fn_execution.v1.StateKey.runner', index=0, number=1, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='multimap_side_input', full_name='org.apache.beam.model.fn_execution.v1.StateKey.multimap_side_input', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='bag_user_state', full_name='org.apache.beam.model.fn_execution.v1.StateKey.bag_user_state', index=2, number=3, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_STATEKEY_RUNNER, _STATEKEY_MULTIMAPSIDEINPUT, _STATEKEY_BAGUSERSTATE, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='type', full_name='org.apache.beam.model.fn_execution.v1.StateKey.type', index=0, containing_type=None, fields=[]), ], serialized_start=10370, serialized_end=10858, ) _STATEGETREQUEST = _descriptor.Descriptor( name='StateGetRequest', full_name='org.apache.beam.model.fn_execution.v1.StateGetRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='continuation_token', full_name='org.apache.beam.model.fn_execution.v1.StateGetRequest.continuation_token', index=0, number=1, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10860, serialized_end=10905, ) _STATEGETRESPONSE = _descriptor.Descriptor( name='StateGetResponse', full_name='org.apache.beam.model.fn_execution.v1.StateGetResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='continuation_token', full_name='org.apache.beam.model.fn_execution.v1.StateGetResponse.continuation_token', index=0, number=1, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.StateGetResponse.data', index=1, number=2, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10907, serialized_end=10967, ) _STATEAPPENDREQUEST = _descriptor.Descriptor( name='StateAppendRequest', full_name='org.apache.beam.model.fn_execution.v1.StateAppendRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='data', full_name='org.apache.beam.model.fn_execution.v1.StateAppendRequest.data', index=0, number=1, type=12, cpp_type=9, label=1, has_default_value=False, default_value=_b(""), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10969, serialized_end=11003, ) _STATEAPPENDRESPONSE = _descriptor.Descriptor( name='StateAppendResponse', full_name='org.apache.beam.model.fn_execution.v1.StateAppendResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11005, serialized_end=11026, ) _STATECLEARREQUEST = _descriptor.Descriptor( name='StateClearRequest', full_name='org.apache.beam.model.fn_execution.v1.StateClearRequest', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11028, serialized_end=11047, ) _STATECLEARRESPONSE = _descriptor.Descriptor( name='StateClearResponse', full_name='org.apache.beam.model.fn_execution.v1.StateClearResponse', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11049, serialized_end=11069, ) _LOGENTRY_LIST = _descriptor.Descriptor( name='List', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.List', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='log_entries', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.List.log_entries', index=0, number=1, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11352, serialized_end=11428, ) _LOGENTRY_SEVERITY = _descriptor.Descriptor( name='Severity', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.Severity', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ _LOGENTRY_SEVERITY_ENUM, ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11430, serialized_end=11544, ) _LOGENTRY = _descriptor.Descriptor( name='LogEntry', full_name='org.apache.beam.model.fn_execution.v1.LogEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='severity', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.severity', index=0, number=1, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='timestamp', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.timestamp', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='message', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.message', index=2, number=3, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='trace', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.trace', index=3, number=4, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='instruction_reference', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.instruction_reference', index=4, number=5, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='primitive_transform_reference', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.primitive_transform_reference', index=5, number=6, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='log_location', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.log_location', index=6, number=7, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='thread', full_name='org.apache.beam.model.fn_execution.v1.LogEntry.thread', index=7, number=8, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[_LOGENTRY_LIST, _LOGENTRY_SEVERITY, ], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11072, serialized_end=11544, ) _LOGCONTROL = _descriptor.Descriptor( name='LogControl', full_name='org.apache.beam.model.fn_execution.v1.LogControl', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11546, serialized_end=11558, ) _TARGET_LIST.fields_by_name['target'].message_type = _TARGET _TARGET_LIST.containing_type = _TARGET _REMOTEGRPCPORT.fields_by_name['api_service_descriptor'].message_type = endpoints__pb2._APISERVICEDESCRIPTOR _INSTRUCTIONREQUEST.fields_by_name['register'].message_type = _REGISTERREQUEST _INSTRUCTIONREQUEST.fields_by_name['process_bundle'].message_type = _PROCESSBUNDLEREQUEST _INSTRUCTIONREQUEST.fields_by_name['process_bundle_progress'].message_type = _PROCESSBUNDLEPROGRESSREQUEST _INSTRUCTIONREQUEST.fields_by_name['process_bundle_split'].message_type = _PROCESSBUNDLESPLITREQUEST _INSTRUCTIONREQUEST.fields_by_name['finalize_bundle'].message_type = _FINALIZEBUNDLEREQUEST _INSTRUCTIONREQUEST.oneofs_by_name['request'].fields.append( _INSTRUCTIONREQUEST.fields_by_name['register']) _INSTRUCTIONREQUEST.fields_by_name['register'].containing_oneof = _INSTRUCTIONREQUEST.oneofs_by_name['request'] _INSTRUCTIONREQUEST.oneofs_by_name['request'].fields.append( _INSTRUCTIONREQUEST.fields_by_name['process_bundle']) _INSTRUCTIONREQUEST.fields_by_name['process_bundle'].containing_oneof = _INSTRUCTIONREQUEST.oneofs_by_name['request'] _INSTRUCTIONREQUEST.oneofs_by_name['request'].fields.append( _INSTRUCTIONREQUEST.fields_by_name['process_bundle_progress']) _INSTRUCTIONREQUEST.fields_by_name['process_bundle_progress'].containing_oneof = _INSTRUCTIONREQUEST.oneofs_by_name['request'] _INSTRUCTIONREQUEST.oneofs_by_name['request'].fields.append( _INSTRUCTIONREQUEST.fields_by_name['process_bundle_split']) _INSTRUCTIONREQUEST.fields_by_name['process_bundle_split'].containing_oneof = _INSTRUCTIONREQUEST.oneofs_by_name['request'] _INSTRUCTIONREQUEST.oneofs_by_name['request'].fields.append( _INSTRUCTIONREQUEST.fields_by_name['finalize_bundle']) _INSTRUCTIONREQUEST.fields_by_name['finalize_bundle'].containing_oneof = _INSTRUCTIONREQUEST.oneofs_by_name['request'] _INSTRUCTIONRESPONSE.fields_by_name['register'].message_type = _REGISTERRESPONSE _INSTRUCTIONRESPONSE.fields_by_name['process_bundle'].message_type = _PROCESSBUNDLERESPONSE _INSTRUCTIONRESPONSE.fields_by_name['process_bundle_progress'].message_type = _PROCESSBUNDLEPROGRESSRESPONSE _INSTRUCTIONRESPONSE.fields_by_name['process_bundle_split'].message_type = _PROCESSBUNDLESPLITRESPONSE _INSTRUCTIONRESPONSE.fields_by_name['finalize_bundle'].message_type = _FINALIZEBUNDLERESPONSE _INSTRUCTIONRESPONSE.oneofs_by_name['response'].fields.append( _INSTRUCTIONRESPONSE.fields_by_name['register']) _INSTRUCTIONRESPONSE.fields_by_name['register'].containing_oneof = _INSTRUCTIONRESPONSE.oneofs_by_name['response'] _INSTRUCTIONRESPONSE.oneofs_by_name['response'].fields.append( _INSTRUCTIONRESPONSE.fields_by_name['process_bundle']) _INSTRUCTIONRESPONSE.fields_by_name['process_bundle'].containing_oneof = _INSTRUCTIONRESPONSE.oneofs_by_name['response'] _INSTRUCTIONRESPONSE.oneofs_by_name['response'].fields.append( _INSTRUCTIONRESPONSE.fields_by_name['process_bundle_progress']) _INSTRUCTIONRESPONSE.fields_by_name['process_bundle_progress'].containing_oneof = _INSTRUCTIONRESPONSE.oneofs_by_name['response'] _INSTRUCTIONRESPONSE.oneofs_by_name['response'].fields.append( _INSTRUCTIONRESPONSE.fields_by_name['process_bundle_split']) _INSTRUCTIONRESPONSE.fields_by_name['process_bundle_split'].containing_oneof = _INSTRUCTIONRESPONSE.oneofs_by_name['response'] _INSTRUCTIONRESPONSE.oneofs_by_name['response'].fields.append( _INSTRUCTIONRESPONSE.fields_by_name['finalize_bundle']) _INSTRUCTIONRESPONSE.fields_by_name['finalize_bundle'].containing_oneof = _INSTRUCTIONRESPONSE.oneofs_by_name['response'] _REGISTERREQUEST.fields_by_name['process_bundle_descriptor'].message_type = _PROCESSBUNDLEDESCRIPTOR _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY.fields_by_name['value'].message_type = beam__runner__api__pb2._PTRANSFORM _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY.containing_type = _PROCESSBUNDLEDESCRIPTOR _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY.fields_by_name['value'].message_type = beam__runner__api__pb2._PCOLLECTION _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY.containing_type = _PROCESSBUNDLEDESCRIPTOR _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY.fields_by_name['value'].message_type = beam__runner__api__pb2._WINDOWINGSTRATEGY _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY.containing_type = _PROCESSBUNDLEDESCRIPTOR _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY.fields_by_name['value'].message_type = beam__runner__api__pb2._CODER _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY.containing_type = _PROCESSBUNDLEDESCRIPTOR _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY.fields_by_name['value'].message_type = beam__runner__api__pb2._ENVIRONMENT _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY.containing_type = _PROCESSBUNDLEDESCRIPTOR _PROCESSBUNDLEDESCRIPTOR.fields_by_name['transforms'].message_type = _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY _PROCESSBUNDLEDESCRIPTOR.fields_by_name['pcollections'].message_type = _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY _PROCESSBUNDLEDESCRIPTOR.fields_by_name['windowing_strategies'].message_type = _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY _PROCESSBUNDLEDESCRIPTOR.fields_by_name['coders'].message_type = _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY _PROCESSBUNDLEDESCRIPTOR.fields_by_name['environments'].message_type = _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY _PROCESSBUNDLEDESCRIPTOR.fields_by_name['state_api_service_descriptor'].message_type = endpoints__pb2._APISERVICEDESCRIPTOR _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY.fields_by_name['value'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY.containing_type = _BUNDLEAPPLICATION _BUNDLEAPPLICATION_BACKLOG.containing_type = _BUNDLEAPPLICATION _BUNDLEAPPLICATION_BACKLOG.oneofs_by_name['value'].fields.append( _BUNDLEAPPLICATION_BACKLOG.fields_by_name['bytes']) _BUNDLEAPPLICATION_BACKLOG.fields_by_name['bytes'].containing_oneof = _BUNDLEAPPLICATION_BACKLOG.oneofs_by_name['value'] _BUNDLEAPPLICATION_BACKLOG.oneofs_by_name['value'].fields.append( _BUNDLEAPPLICATION_BACKLOG.fields_by_name['is_unknown']) _BUNDLEAPPLICATION_BACKLOG.fields_by_name['is_unknown'].containing_oneof = _BUNDLEAPPLICATION_BACKLOG.oneofs_by_name['value'] _BUNDLEAPPLICATION.fields_by_name['output_watermarks'].message_type = _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY _BUNDLEAPPLICATION.fields_by_name['backlog'].message_type = _BUNDLEAPPLICATION_BACKLOG _BUNDLEAPPLICATION.fields_by_name['is_bounded'].enum_type = beam__runner__api__pb2._ISBOUNDED_ENUM _BUNDLEAPPLICATION.fields_by_name['monitoring_infos'].message_type = _MONITORINGINFO _DELAYEDBUNDLEAPPLICATION.fields_by_name['requested_execution_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _DELAYEDBUNDLEAPPLICATION.fields_by_name['application'].message_type = _BUNDLEAPPLICATION _PROCESSBUNDLERESPONSE.fields_by_name['metrics'].message_type = _METRICS _PROCESSBUNDLERESPONSE.fields_by_name['residual_roots'].message_type = _DELAYEDBUNDLEAPPLICATION _PROCESSBUNDLERESPONSE.fields_by_name['monitoring_infos'].message_type = _MONITORINGINFO _MONITORINGINFO_LABELSENTRY.containing_type = _MONITORINGINFO _MONITORINGINFO.fields_by_name['monitoring_table_data'].message_type = _MONITORINGTABLEDATA _MONITORINGINFO.fields_by_name['metric'].message_type = _METRIC _MONITORINGINFO.fields_by_name['labels'].message_type = _MONITORINGINFO_LABELSENTRY _MONITORINGINFO.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _MONITORINGINFO_MONITORINGINFOLABELS.containing_type = _MONITORINGINFO _MONITORINGINFO.oneofs_by_name['data'].fields.append( _MONITORINGINFO.fields_by_name['monitoring_table_data']) _MONITORINGINFO.fields_by_name['monitoring_table_data'].containing_oneof = _MONITORINGINFO.oneofs_by_name['data'] _MONITORINGINFO.oneofs_by_name['data'].fields.append( _MONITORINGINFO.fields_by_name['metric']) _MONITORINGINFO.fields_by_name['metric'].containing_oneof = _MONITORINGINFO.oneofs_by_name['data'] _MONITORINGINFOURNS_ENUM.containing_type = _MONITORINGINFOURNS _MONITORINGINFOTYPEURNS_ENUM.containing_type = _MONITORINGINFOTYPEURNS _METRIC.fields_by_name['counter_data'].message_type = _COUNTERDATA _METRIC.fields_by_name['distribution_data'].message_type = _DISTRIBUTIONDATA _METRIC.fields_by_name['extrema_data'].message_type = _EXTREMADATA _METRIC.oneofs_by_name['data'].fields.append( _METRIC.fields_by_name['counter_data']) _METRIC.fields_by_name['counter_data'].containing_oneof = _METRIC.oneofs_by_name['data'] _METRIC.oneofs_by_name['data'].fields.append( _METRIC.fields_by_name['distribution_data']) _METRIC.fields_by_name['distribution_data'].containing_oneof = _METRIC.oneofs_by_name['data'] _METRIC.oneofs_by_name['data'].fields.append( _METRIC.fields_by_name['extrema_data']) _METRIC.fields_by_name['extrema_data'].containing_oneof = _METRIC.oneofs_by_name['data'] _COUNTERDATA.oneofs_by_name['value'].fields.append( _COUNTERDATA.fields_by_name['int64_value']) _COUNTERDATA.fields_by_name['int64_value'].containing_oneof = _COUNTERDATA.oneofs_by_name['value'] _COUNTERDATA.oneofs_by_name['value'].fields.append( _COUNTERDATA.fields_by_name['double_value']) _COUNTERDATA.fields_by_name['double_value'].containing_oneof = _COUNTERDATA.oneofs_by_name['value'] _COUNTERDATA.oneofs_by_name['value'].fields.append( _COUNTERDATA.fields_by_name['string_value']) _COUNTERDATA.fields_by_name['string_value'].containing_oneof = _COUNTERDATA.oneofs_by_name['value'] _EXTREMADATA.fields_by_name['int_extrema_data'].message_type = _INTEXTREMADATA _EXTREMADATA.fields_by_name['double_extrema_data'].message_type = _DOUBLEEXTREMADATA _EXTREMADATA.oneofs_by_name['extrema'].fields.append( _EXTREMADATA.fields_by_name['int_extrema_data']) _EXTREMADATA.fields_by_name['int_extrema_data'].containing_oneof = _EXTREMADATA.oneofs_by_name['extrema'] _EXTREMADATA.oneofs_by_name['extrema'].fields.append( _EXTREMADATA.fields_by_name['double_extrema_data']) _EXTREMADATA.fields_by_name['double_extrema_data'].containing_oneof = _EXTREMADATA.oneofs_by_name['extrema'] _DISTRIBUTIONDATA.fields_by_name['int_distribution_data'].message_type = _INTDISTRIBUTIONDATA _DISTRIBUTIONDATA.fields_by_name['double_distribution_data'].message_type = _DOUBLEDISTRIBUTIONDATA _DISTRIBUTIONDATA.oneofs_by_name['distribution'].fields.append( _DISTRIBUTIONDATA.fields_by_name['int_distribution_data']) _DISTRIBUTIONDATA.fields_by_name['int_distribution_data'].containing_oneof = _DISTRIBUTIONDATA.oneofs_by_name['distribution'] _DISTRIBUTIONDATA.oneofs_by_name['distribution'].fields.append( _DISTRIBUTIONDATA.fields_by_name['double_distribution_data']) _DISTRIBUTIONDATA.fields_by_name['double_distribution_data'].containing_oneof = _DISTRIBUTIONDATA.oneofs_by_name['distribution'] _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.containing_type = _MONITORINGTABLEDATA _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'].fields.append( _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['int64_value']) _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['int64_value'].containing_oneof = _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'] _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'].fields.append( _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['double_value']) _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['double_value'].containing_oneof = _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'] _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'].fields.append( _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['string_value']) _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['string_value'].containing_oneof = _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'] _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'].fields.append( _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['timestamp']) _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.fields_by_name['timestamp'].containing_oneof = _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE.oneofs_by_name['value'] _MONITORINGTABLEDATA_MONITORINGROW.fields_by_name['values'].message_type = _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE _MONITORINGTABLEDATA_MONITORINGROW.containing_type = _MONITORINGTABLEDATA _MONITORINGTABLEDATA.fields_by_name['row_data'].message_type = _MONITORINGTABLEDATA_MONITORINGROW _METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY.containing_type = _METRICS_PTRANSFORM_MEASURED _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY.containing_type = _METRICS_PTRANSFORM_MEASURED _METRICS_PTRANSFORM_MEASURED.fields_by_name['input_element_counts'].message_type = _METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY _METRICS_PTRANSFORM_MEASURED.fields_by_name['output_element_counts'].message_type = _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY _METRICS_PTRANSFORM_MEASURED.containing_type = _METRICS_PTRANSFORM _METRICS_PTRANSFORM_PROCESSEDELEMENTS.fields_by_name['measured'].message_type = _METRICS_PTRANSFORM_MEASURED _METRICS_PTRANSFORM_PROCESSEDELEMENTS.containing_type = _METRICS_PTRANSFORM _METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY.containing_type = _METRICS_PTRANSFORM_ACTIVEELEMENTS _METRICS_PTRANSFORM_ACTIVEELEMENTS.fields_by_name['measured'].message_type = _METRICS_PTRANSFORM_MEASURED _METRICS_PTRANSFORM_ACTIVEELEMENTS.fields_by_name['output_elements_remaining'].message_type = _METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY _METRICS_PTRANSFORM_ACTIVEELEMENTS.containing_type = _METRICS_PTRANSFORM _METRICS_PTRANSFORM_WATERMARKSENTRY.containing_type = _METRICS_PTRANSFORM _METRICS_PTRANSFORM.fields_by_name['processed_elements'].message_type = _METRICS_PTRANSFORM_PROCESSEDELEMENTS _METRICS_PTRANSFORM.fields_by_name['active_elements'].message_type = _METRICS_PTRANSFORM_ACTIVEELEMENTS _METRICS_PTRANSFORM.fields_by_name['watermarks'].message_type = _METRICS_PTRANSFORM_WATERMARKSENTRY _METRICS_PTRANSFORM.fields_by_name['user'].message_type = _METRICS_USER _METRICS_PTRANSFORM.containing_type = _METRICS _METRICS_USER_METRICNAME.containing_type = _METRICS_USER _METRICS_USER_COUNTERDATA.containing_type = _METRICS_USER _METRICS_USER_DISTRIBUTIONDATA.containing_type = _METRICS_USER _METRICS_USER_GAUGEDATA.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _METRICS_USER_GAUGEDATA.containing_type = _METRICS_USER _METRICS_USER.fields_by_name['metric_name'].message_type = _METRICS_USER_METRICNAME _METRICS_USER.fields_by_name['counter_data'].message_type = _METRICS_USER_COUNTERDATA _METRICS_USER.fields_by_name['distribution_data'].message_type = _METRICS_USER_DISTRIBUTIONDATA _METRICS_USER.fields_by_name['gauge_data'].message_type = _METRICS_USER_GAUGEDATA _METRICS_USER.containing_type = _METRICS _METRICS_USER.oneofs_by_name['data'].fields.append( _METRICS_USER.fields_by_name['counter_data']) _METRICS_USER.fields_by_name['counter_data'].containing_oneof = _METRICS_USER.oneofs_by_name['data'] _METRICS_USER.oneofs_by_name['data'].fields.append( _METRICS_USER.fields_by_name['distribution_data']) _METRICS_USER.fields_by_name['distribution_data'].containing_oneof = _METRICS_USER.oneofs_by_name['data'] _METRICS_USER.oneofs_by_name['data'].fields.append( _METRICS_USER.fields_by_name['gauge_data']) _METRICS_USER.fields_by_name['gauge_data'].containing_oneof = _METRICS_USER.oneofs_by_name['data'] _METRICS_PTRANSFORMSENTRY.fields_by_name['value'].message_type = _METRICS_PTRANSFORM _METRICS_PTRANSFORMSENTRY.containing_type = _METRICS _METRICS.fields_by_name['ptransforms'].message_type = _METRICS_PTRANSFORMSENTRY _PROCESSBUNDLEPROGRESSRESPONSE.fields_by_name['metrics'].message_type = _METRICS _PROCESSBUNDLEPROGRESSRESPONSE.fields_by_name['monitoring_infos'].message_type = _MONITORINGINFO _PROCESSBUNDLEPROGRESSRESPONSE.fields_by_name['primary_roots'].message_type = _BUNDLEAPPLICATION _PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY.containing_type = _PROCESSBUNDLESPLITREQUEST _PROCESSBUNDLESPLITREQUEST.fields_by_name['backlog_remaining'].message_type = _PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY _PROCESSBUNDLESPLITRESPONSE.fields_by_name['primary_roots'].message_type = _BUNDLEAPPLICATION _PROCESSBUNDLESPLITRESPONSE.fields_by_name['residual_roots'].message_type = _DELAYEDBUNDLEAPPLICATION _ELEMENTS_DATA.fields_by_name['target'].message_type = _TARGET _ELEMENTS_DATA.containing_type = _ELEMENTS _ELEMENTS.fields_by_name['data'].message_type = _ELEMENTS_DATA _STATEREQUEST.fields_by_name['state_key'].message_type = _STATEKEY _STATEREQUEST.fields_by_name['get'].message_type = _STATEGETREQUEST _STATEREQUEST.fields_by_name['append'].message_type = _STATEAPPENDREQUEST _STATEREQUEST.fields_by_name['clear'].message_type = _STATECLEARREQUEST _STATEREQUEST.oneofs_by_name['request'].fields.append( _STATEREQUEST.fields_by_name['get']) _STATEREQUEST.fields_by_name['get'].containing_oneof = _STATEREQUEST.oneofs_by_name['request'] _STATEREQUEST.oneofs_by_name['request'].fields.append( _STATEREQUEST.fields_by_name['append']) _STATEREQUEST.fields_by_name['append'].containing_oneof = _STATEREQUEST.oneofs_by_name['request'] _STATEREQUEST.oneofs_by_name['request'].fields.append( _STATEREQUEST.fields_by_name['clear']) _STATEREQUEST.fields_by_name['clear'].containing_oneof = _STATEREQUEST.oneofs_by_name['request'] _STATERESPONSE.fields_by_name['get'].message_type = _STATEGETRESPONSE _STATERESPONSE.fields_by_name['append'].message_type = _STATEAPPENDRESPONSE _STATERESPONSE.fields_by_name['clear'].message_type = _STATECLEARRESPONSE _STATERESPONSE.oneofs_by_name['response'].fields.append( _STATERESPONSE.fields_by_name['get']) _STATERESPONSE.fields_by_name['get'].containing_oneof = _STATERESPONSE.oneofs_by_name['response'] _STATERESPONSE.oneofs_by_name['response'].fields.append( _STATERESPONSE.fields_by_name['append']) _STATERESPONSE.fields_by_name['append'].containing_oneof = _STATERESPONSE.oneofs_by_name['response'] _STATERESPONSE.oneofs_by_name['response'].fields.append( _STATERESPONSE.fields_by_name['clear']) _STATERESPONSE.fields_by_name['clear'].containing_oneof = _STATERESPONSE.oneofs_by_name['response'] _STATEKEY_RUNNER.containing_type = _STATEKEY _STATEKEY_MULTIMAPSIDEINPUT.containing_type = _STATEKEY _STATEKEY_BAGUSERSTATE.containing_type = _STATEKEY _STATEKEY.fields_by_name['runner'].message_type = _STATEKEY_RUNNER _STATEKEY.fields_by_name['multimap_side_input'].message_type = _STATEKEY_MULTIMAPSIDEINPUT _STATEKEY.fields_by_name['bag_user_state'].message_type = _STATEKEY_BAGUSERSTATE _STATEKEY.oneofs_by_name['type'].fields.append( _STATEKEY.fields_by_name['runner']) _STATEKEY.fields_by_name['runner'].containing_oneof = _STATEKEY.oneofs_by_name['type'] _STATEKEY.oneofs_by_name['type'].fields.append( _STATEKEY.fields_by_name['multimap_side_input']) _STATEKEY.fields_by_name['multimap_side_input'].containing_oneof = _STATEKEY.oneofs_by_name['type'] _STATEKEY.oneofs_by_name['type'].fields.append( _STATEKEY.fields_by_name['bag_user_state']) _STATEKEY.fields_by_name['bag_user_state'].containing_oneof = _STATEKEY.oneofs_by_name['type'] _LOGENTRY_LIST.fields_by_name['log_entries'].message_type = _LOGENTRY _LOGENTRY_LIST.containing_type = _LOGENTRY _LOGENTRY_SEVERITY.containing_type = _LOGENTRY _LOGENTRY_SEVERITY_ENUM.containing_type = _LOGENTRY_SEVERITY _LOGENTRY.fields_by_name['severity'].enum_type = _LOGENTRY_SEVERITY_ENUM _LOGENTRY.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP DESCRIPTOR.message_types_by_name['Target'] = _TARGET DESCRIPTOR.message_types_by_name['RemoteGrpcPort'] = _REMOTEGRPCPORT DESCRIPTOR.message_types_by_name['InstructionRequest'] = _INSTRUCTIONREQUEST DESCRIPTOR.message_types_by_name['InstructionResponse'] = _INSTRUCTIONRESPONSE DESCRIPTOR.message_types_by_name['RegisterRequest'] = _REGISTERREQUEST DESCRIPTOR.message_types_by_name['RegisterResponse'] = _REGISTERRESPONSE DESCRIPTOR.message_types_by_name['ProcessBundleDescriptor'] = _PROCESSBUNDLEDESCRIPTOR DESCRIPTOR.message_types_by_name['BundleApplication'] = _BUNDLEAPPLICATION DESCRIPTOR.message_types_by_name['DelayedBundleApplication'] = _DELAYEDBUNDLEAPPLICATION DESCRIPTOR.message_types_by_name['ProcessBundleRequest'] = _PROCESSBUNDLEREQUEST DESCRIPTOR.message_types_by_name['ProcessBundleResponse'] = _PROCESSBUNDLERESPONSE DESCRIPTOR.message_types_by_name['ProcessBundleProgressRequest'] = _PROCESSBUNDLEPROGRESSREQUEST DESCRIPTOR.message_types_by_name['MonitoringInfo'] = _MONITORINGINFO DESCRIPTOR.message_types_by_name['MonitoringInfoUrns'] = _MONITORINGINFOURNS DESCRIPTOR.message_types_by_name['MonitoringInfoTypeUrns'] = _MONITORINGINFOTYPEURNS DESCRIPTOR.message_types_by_name['Metric'] = _METRIC DESCRIPTOR.message_types_by_name['CounterData'] = _COUNTERDATA DESCRIPTOR.message_types_by_name['ExtremaData'] = _EXTREMADATA DESCRIPTOR.message_types_by_name['IntExtremaData'] = _INTEXTREMADATA DESCRIPTOR.message_types_by_name['DoubleExtremaData'] = _DOUBLEEXTREMADATA DESCRIPTOR.message_types_by_name['DistributionData'] = _DISTRIBUTIONDATA DESCRIPTOR.message_types_by_name['IntDistributionData'] = _INTDISTRIBUTIONDATA DESCRIPTOR.message_types_by_name['DoubleDistributionData'] = _DOUBLEDISTRIBUTIONDATA DESCRIPTOR.message_types_by_name['MonitoringTableData'] = _MONITORINGTABLEDATA DESCRIPTOR.message_types_by_name['Metrics'] = _METRICS DESCRIPTOR.message_types_by_name['ProcessBundleProgressResponse'] = _PROCESSBUNDLEPROGRESSRESPONSE DESCRIPTOR.message_types_by_name['ProcessBundleSplitRequest'] = _PROCESSBUNDLESPLITREQUEST DESCRIPTOR.message_types_by_name['ProcessBundleSplitResponse'] = _PROCESSBUNDLESPLITRESPONSE DESCRIPTOR.message_types_by_name['FinalizeBundleRequest'] = _FINALIZEBUNDLEREQUEST DESCRIPTOR.message_types_by_name['FinalizeBundleResponse'] = _FINALIZEBUNDLERESPONSE DESCRIPTOR.message_types_by_name['Elements'] = _ELEMENTS DESCRIPTOR.message_types_by_name['StateRequest'] = _STATEREQUEST DESCRIPTOR.message_types_by_name['StateResponse'] = _STATERESPONSE DESCRIPTOR.message_types_by_name['StateKey'] = _STATEKEY DESCRIPTOR.message_types_by_name['StateGetRequest'] = _STATEGETREQUEST DESCRIPTOR.message_types_by_name['StateGetResponse'] = _STATEGETRESPONSE DESCRIPTOR.message_types_by_name['StateAppendRequest'] = _STATEAPPENDREQUEST DESCRIPTOR.message_types_by_name['StateAppendResponse'] = _STATEAPPENDRESPONSE DESCRIPTOR.message_types_by_name['StateClearRequest'] = _STATECLEARREQUEST DESCRIPTOR.message_types_by_name['StateClearResponse'] = _STATECLEARRESPONSE DESCRIPTOR.message_types_by_name['LogEntry'] = _LOGENTRY DESCRIPTOR.message_types_by_name['LogControl'] = _LOGCONTROL Target = _reflection.GeneratedProtocolMessageType('Target', (_message.Message,), dict( List = _reflection.GeneratedProtocolMessageType('List', (_message.Message,), dict( DESCRIPTOR = _TARGET_LIST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Target.List) )) , DESCRIPTOR = _TARGET, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Target) )) _sym_db.RegisterMessage(Target) _sym_db.RegisterMessage(Target.List) RemoteGrpcPort = _reflection.GeneratedProtocolMessageType('RemoteGrpcPort', (_message.Message,), dict( DESCRIPTOR = _REMOTEGRPCPORT, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.RemoteGrpcPort) )) _sym_db.RegisterMessage(RemoteGrpcPort) InstructionRequest = _reflection.GeneratedProtocolMessageType('InstructionRequest', (_message.Message,), dict( DESCRIPTOR = _INSTRUCTIONREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.InstructionRequest) )) _sym_db.RegisterMessage(InstructionRequest) InstructionResponse = _reflection.GeneratedProtocolMessageType('InstructionResponse', (_message.Message,), dict( DESCRIPTOR = _INSTRUCTIONRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.InstructionResponse) )) _sym_db.RegisterMessage(InstructionResponse) RegisterRequest = _reflection.GeneratedProtocolMessageType('RegisterRequest', (_message.Message,), dict( DESCRIPTOR = _REGISTERREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.RegisterRequest) )) _sym_db.RegisterMessage(RegisterRequest) RegisterResponse = _reflection.GeneratedProtocolMessageType('RegisterResponse', (_message.Message,), dict( DESCRIPTOR = _REGISTERRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.RegisterResponse) )) _sym_db.RegisterMessage(RegisterResponse) ProcessBundleDescriptor = _reflection.GeneratedProtocolMessageType('ProcessBundleDescriptor', (_message.Message,), dict( TransformsEntry = _reflection.GeneratedProtocolMessageType('TransformsEntry', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.TransformsEntry) )) , PcollectionsEntry = _reflection.GeneratedProtocolMessageType('PcollectionsEntry', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.PcollectionsEntry) )) , WindowingStrategiesEntry = _reflection.GeneratedProtocolMessageType('WindowingStrategiesEntry', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.WindowingStrategiesEntry) )) , CodersEntry = _reflection.GeneratedProtocolMessageType('CodersEntry', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.CodersEntry) )) , EnvironmentsEntry = _reflection.GeneratedProtocolMessageType('EnvironmentsEntry', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor.EnvironmentsEntry) )) , DESCRIPTOR = _PROCESSBUNDLEDESCRIPTOR, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleDescriptor) )) _sym_db.RegisterMessage(ProcessBundleDescriptor) _sym_db.RegisterMessage(ProcessBundleDescriptor.TransformsEntry) _sym_db.RegisterMessage(ProcessBundleDescriptor.PcollectionsEntry) _sym_db.RegisterMessage(ProcessBundleDescriptor.WindowingStrategiesEntry) _sym_db.RegisterMessage(ProcessBundleDescriptor.CodersEntry) _sym_db.RegisterMessage(ProcessBundleDescriptor.EnvironmentsEntry) BundleApplication = _reflection.GeneratedProtocolMessageType('BundleApplication', (_message.Message,), dict( OutputWatermarksEntry = _reflection.GeneratedProtocolMessageType('OutputWatermarksEntry', (_message.Message,), dict( DESCRIPTOR = _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.BundleApplication.OutputWatermarksEntry) )) , Backlog = _reflection.GeneratedProtocolMessageType('Backlog', (_message.Message,), dict( DESCRIPTOR = _BUNDLEAPPLICATION_BACKLOG, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.BundleApplication.Backlog) )) , DESCRIPTOR = _BUNDLEAPPLICATION, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.BundleApplication) )) _sym_db.RegisterMessage(BundleApplication) _sym_db.RegisterMessage(BundleApplication.OutputWatermarksEntry) _sym_db.RegisterMessage(BundleApplication.Backlog) DelayedBundleApplication = _reflection.GeneratedProtocolMessageType('DelayedBundleApplication', (_message.Message,), dict( DESCRIPTOR = _DELAYEDBUNDLEAPPLICATION, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.DelayedBundleApplication) )) _sym_db.RegisterMessage(DelayedBundleApplication) ProcessBundleRequest = _reflection.GeneratedProtocolMessageType('ProcessBundleRequest', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleRequest) )) _sym_db.RegisterMessage(ProcessBundleRequest) ProcessBundleResponse = _reflection.GeneratedProtocolMessageType('ProcessBundleResponse', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLERESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleResponse) )) _sym_db.RegisterMessage(ProcessBundleResponse) ProcessBundleProgressRequest = _reflection.GeneratedProtocolMessageType('ProcessBundleProgressRequest', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEPROGRESSREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleProgressRequest) )) _sym_db.RegisterMessage(ProcessBundleProgressRequest) MonitoringInfo = _reflection.GeneratedProtocolMessageType('MonitoringInfo', (_message.Message,), dict( LabelsEntry = _reflection.GeneratedProtocolMessageType('LabelsEntry', (_message.Message,), dict( DESCRIPTOR = _MONITORINGINFO_LABELSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringInfo.LabelsEntry) )) , DESCRIPTOR = _MONITORINGINFO, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringInfo) )) _sym_db.RegisterMessage(MonitoringInfo) _sym_db.RegisterMessage(MonitoringInfo.LabelsEntry) MonitoringInfoUrns = _reflection.GeneratedProtocolMessageType('MonitoringInfoUrns', (_message.Message,), dict( DESCRIPTOR = _MONITORINGINFOURNS, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringInfoUrns) )) _sym_db.RegisterMessage(MonitoringInfoUrns) MonitoringInfoTypeUrns = _reflection.GeneratedProtocolMessageType('MonitoringInfoTypeUrns', (_message.Message,), dict( DESCRIPTOR = _MONITORINGINFOTYPEURNS, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringInfoTypeUrns) )) _sym_db.RegisterMessage(MonitoringInfoTypeUrns) Metric = _reflection.GeneratedProtocolMessageType('Metric', (_message.Message,), dict( DESCRIPTOR = _METRIC, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metric) )) _sym_db.RegisterMessage(Metric) CounterData = _reflection.GeneratedProtocolMessageType('CounterData', (_message.Message,), dict( DESCRIPTOR = _COUNTERDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.CounterData) )) _sym_db.RegisterMessage(CounterData) ExtremaData = _reflection.GeneratedProtocolMessageType('ExtremaData', (_message.Message,), dict( DESCRIPTOR = _EXTREMADATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ExtremaData) )) _sym_db.RegisterMessage(ExtremaData) IntExtremaData = _reflection.GeneratedProtocolMessageType('IntExtremaData', (_message.Message,), dict( DESCRIPTOR = _INTEXTREMADATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.IntExtremaData) )) _sym_db.RegisterMessage(IntExtremaData) DoubleExtremaData = _reflection.GeneratedProtocolMessageType('DoubleExtremaData', (_message.Message,), dict( DESCRIPTOR = _DOUBLEEXTREMADATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.DoubleExtremaData) )) _sym_db.RegisterMessage(DoubleExtremaData) DistributionData = _reflection.GeneratedProtocolMessageType('DistributionData', (_message.Message,), dict( DESCRIPTOR = _DISTRIBUTIONDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.DistributionData) )) _sym_db.RegisterMessage(DistributionData) IntDistributionData = _reflection.GeneratedProtocolMessageType('IntDistributionData', (_message.Message,), dict( DESCRIPTOR = _INTDISTRIBUTIONDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.IntDistributionData) )) _sym_db.RegisterMessage(IntDistributionData) DoubleDistributionData = _reflection.GeneratedProtocolMessageType('DoubleDistributionData', (_message.Message,), dict( DESCRIPTOR = _DOUBLEDISTRIBUTIONDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.DoubleDistributionData) )) _sym_db.RegisterMessage(DoubleDistributionData) MonitoringTableData = _reflection.GeneratedProtocolMessageType('MonitoringTableData', (_message.Message,), dict( MonitoringColumnValue = _reflection.GeneratedProtocolMessageType('MonitoringColumnValue', (_message.Message,), dict( DESCRIPTOR = _MONITORINGTABLEDATA_MONITORINGCOLUMNVALUE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringColumnValue) )) , MonitoringRow = _reflection.GeneratedProtocolMessageType('MonitoringRow', (_message.Message,), dict( DESCRIPTOR = _MONITORINGTABLEDATA_MONITORINGROW, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringTableData.MonitoringRow) )) , DESCRIPTOR = _MONITORINGTABLEDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.MonitoringTableData) )) _sym_db.RegisterMessage(MonitoringTableData) _sym_db.RegisterMessage(MonitoringTableData.MonitoringColumnValue) _sym_db.RegisterMessage(MonitoringTableData.MonitoringRow) Metrics = _reflection.GeneratedProtocolMessageType('Metrics', (_message.Message,), dict( PTransform = _reflection.GeneratedProtocolMessageType('PTransform', (_message.Message,), dict( Measured = _reflection.GeneratedProtocolMessageType('Measured', (_message.Message,), dict( InputElementCountsEntry = _reflection.GeneratedProtocolMessageType('InputElementCountsEntry', (_message.Message,), dict( DESCRIPTOR = _METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.InputElementCountsEntry) )) , OutputElementCountsEntry = _reflection.GeneratedProtocolMessageType('OutputElementCountsEntry', (_message.Message,), dict( DESCRIPTOR = _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured.OutputElementCountsEntry) )) , DESCRIPTOR = _METRICS_PTRANSFORM_MEASURED, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.Measured) )) , ProcessedElements = _reflection.GeneratedProtocolMessageType('ProcessedElements', (_message.Message,), dict( DESCRIPTOR = _METRICS_PTRANSFORM_PROCESSEDELEMENTS, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ProcessedElements) )) , ActiveElements = _reflection.GeneratedProtocolMessageType('ActiveElements', (_message.Message,), dict( OutputElementsRemainingEntry = _reflection.GeneratedProtocolMessageType('OutputElementsRemainingEntry', (_message.Message,), dict( DESCRIPTOR = _METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements.OutputElementsRemainingEntry) )) , DESCRIPTOR = _METRICS_PTRANSFORM_ACTIVEELEMENTS, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.ActiveElements) )) , WatermarksEntry = _reflection.GeneratedProtocolMessageType('WatermarksEntry', (_message.Message,), dict( DESCRIPTOR = _METRICS_PTRANSFORM_WATERMARKSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform.WatermarksEntry) )) , DESCRIPTOR = _METRICS_PTRANSFORM, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PTransform) )) , User = _reflection.GeneratedProtocolMessageType('User', (_message.Message,), dict( MetricName = _reflection.GeneratedProtocolMessageType('MetricName', (_message.Message,), dict( DESCRIPTOR = _METRICS_USER_METRICNAME, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.User.MetricName) )) , CounterData = _reflection.GeneratedProtocolMessageType('CounterData', (_message.Message,), dict( DESCRIPTOR = _METRICS_USER_COUNTERDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.User.CounterData) )) , DistributionData = _reflection.GeneratedProtocolMessageType('DistributionData', (_message.Message,), dict( DESCRIPTOR = _METRICS_USER_DISTRIBUTIONDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.User.DistributionData) )) , GaugeData = _reflection.GeneratedProtocolMessageType('GaugeData', (_message.Message,), dict( DESCRIPTOR = _METRICS_USER_GAUGEDATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.User.GaugeData) )) , DESCRIPTOR = _METRICS_USER, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.User) )) , PtransformsEntry = _reflection.GeneratedProtocolMessageType('PtransformsEntry', (_message.Message,), dict( DESCRIPTOR = _METRICS_PTRANSFORMSENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics.PtransformsEntry) )) , DESCRIPTOR = _METRICS, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Metrics) )) _sym_db.RegisterMessage(Metrics) _sym_db.RegisterMessage(Metrics.PTransform) _sym_db.RegisterMessage(Metrics.PTransform.Measured) _sym_db.RegisterMessage(Metrics.PTransform.Measured.InputElementCountsEntry) _sym_db.RegisterMessage(Metrics.PTransform.Measured.OutputElementCountsEntry) _sym_db.RegisterMessage(Metrics.PTransform.ProcessedElements) _sym_db.RegisterMessage(Metrics.PTransform.ActiveElements) _sym_db.RegisterMessage(Metrics.PTransform.ActiveElements.OutputElementsRemainingEntry) _sym_db.RegisterMessage(Metrics.PTransform.WatermarksEntry) _sym_db.RegisterMessage(Metrics.User) _sym_db.RegisterMessage(Metrics.User.MetricName) _sym_db.RegisterMessage(Metrics.User.CounterData) _sym_db.RegisterMessage(Metrics.User.DistributionData) _sym_db.RegisterMessage(Metrics.User.GaugeData) _sym_db.RegisterMessage(Metrics.PtransformsEntry) ProcessBundleProgressResponse = _reflection.GeneratedProtocolMessageType('ProcessBundleProgressResponse', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLEPROGRESSRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleProgressResponse) )) _sym_db.RegisterMessage(ProcessBundleProgressResponse) ProcessBundleSplitRequest = _reflection.GeneratedProtocolMessageType('ProcessBundleSplitRequest', (_message.Message,), dict( BacklogRemainingEntry = _reflection.GeneratedProtocolMessageType('BacklogRemainingEntry', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest.BacklogRemainingEntry) )) , DESCRIPTOR = _PROCESSBUNDLESPLITREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleSplitRequest) )) _sym_db.RegisterMessage(ProcessBundleSplitRequest) _sym_db.RegisterMessage(ProcessBundleSplitRequest.BacklogRemainingEntry) ProcessBundleSplitResponse = _reflection.GeneratedProtocolMessageType('ProcessBundleSplitResponse', (_message.Message,), dict( DESCRIPTOR = _PROCESSBUNDLESPLITRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.ProcessBundleSplitResponse) )) _sym_db.RegisterMessage(ProcessBundleSplitResponse) FinalizeBundleRequest = _reflection.GeneratedProtocolMessageType('FinalizeBundleRequest', (_message.Message,), dict( DESCRIPTOR = _FINALIZEBUNDLEREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.FinalizeBundleRequest) )) _sym_db.RegisterMessage(FinalizeBundleRequest) FinalizeBundleResponse = _reflection.GeneratedProtocolMessageType('FinalizeBundleResponse', (_message.Message,), dict( DESCRIPTOR = _FINALIZEBUNDLERESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.FinalizeBundleResponse) )) _sym_db.RegisterMessage(FinalizeBundleResponse) Elements = _reflection.GeneratedProtocolMessageType('Elements', (_message.Message,), dict( Data = _reflection.GeneratedProtocolMessageType('Data', (_message.Message,), dict( DESCRIPTOR = _ELEMENTS_DATA, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Elements.Data) )) , DESCRIPTOR = _ELEMENTS, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.Elements) )) _sym_db.RegisterMessage(Elements) _sym_db.RegisterMessage(Elements.Data) StateRequest = _reflection.GeneratedProtocolMessageType('StateRequest', (_message.Message,), dict( DESCRIPTOR = _STATEREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateRequest) )) _sym_db.RegisterMessage(StateRequest) StateResponse = _reflection.GeneratedProtocolMessageType('StateResponse', (_message.Message,), dict( DESCRIPTOR = _STATERESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateResponse) )) _sym_db.RegisterMessage(StateResponse) StateKey = _reflection.GeneratedProtocolMessageType('StateKey', (_message.Message,), dict( Runner = _reflection.GeneratedProtocolMessageType('Runner', (_message.Message,), dict( DESCRIPTOR = _STATEKEY_RUNNER, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateKey.Runner) )) , MultimapSideInput = _reflection.GeneratedProtocolMessageType('MultimapSideInput', (_message.Message,), dict( DESCRIPTOR = _STATEKEY_MULTIMAPSIDEINPUT, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateKey.MultimapSideInput) )) , BagUserState = _reflection.GeneratedProtocolMessageType('BagUserState', (_message.Message,), dict( DESCRIPTOR = _STATEKEY_BAGUSERSTATE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateKey.BagUserState) )) , DESCRIPTOR = _STATEKEY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateKey) )) _sym_db.RegisterMessage(StateKey) _sym_db.RegisterMessage(StateKey.Runner) _sym_db.RegisterMessage(StateKey.MultimapSideInput) _sym_db.RegisterMessage(StateKey.BagUserState) StateGetRequest = _reflection.GeneratedProtocolMessageType('StateGetRequest', (_message.Message,), dict( DESCRIPTOR = _STATEGETREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateGetRequest) )) _sym_db.RegisterMessage(StateGetRequest) StateGetResponse = _reflection.GeneratedProtocolMessageType('StateGetResponse', (_message.Message,), dict( DESCRIPTOR = _STATEGETRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateGetResponse) )) _sym_db.RegisterMessage(StateGetResponse) StateAppendRequest = _reflection.GeneratedProtocolMessageType('StateAppendRequest', (_message.Message,), dict( DESCRIPTOR = _STATEAPPENDREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateAppendRequest) )) _sym_db.RegisterMessage(StateAppendRequest) StateAppendResponse = _reflection.GeneratedProtocolMessageType('StateAppendResponse', (_message.Message,), dict( DESCRIPTOR = _STATEAPPENDRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateAppendResponse) )) _sym_db.RegisterMessage(StateAppendResponse) StateClearRequest = _reflection.GeneratedProtocolMessageType('StateClearRequest', (_message.Message,), dict( DESCRIPTOR = _STATECLEARREQUEST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateClearRequest) )) _sym_db.RegisterMessage(StateClearRequest) StateClearResponse = _reflection.GeneratedProtocolMessageType('StateClearResponse', (_message.Message,), dict( DESCRIPTOR = _STATECLEARRESPONSE, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.StateClearResponse) )) _sym_db.RegisterMessage(StateClearResponse) LogEntry = _reflection.GeneratedProtocolMessageType('LogEntry', (_message.Message,), dict( List = _reflection.GeneratedProtocolMessageType('List', (_message.Message,), dict( DESCRIPTOR = _LOGENTRY_LIST, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.LogEntry.List) )) , Severity = _reflection.GeneratedProtocolMessageType('Severity', (_message.Message,), dict( DESCRIPTOR = _LOGENTRY_SEVERITY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.LogEntry.Severity) )) , DESCRIPTOR = _LOGENTRY, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.LogEntry) )) _sym_db.RegisterMessage(LogEntry) _sym_db.RegisterMessage(LogEntry.List) _sym_db.RegisterMessage(LogEntry.Severity) LogControl = _reflection.GeneratedProtocolMessageType('LogControl', (_message.Message,), dict( DESCRIPTOR = _LOGCONTROL, __module__ = 'beam_fn_api_pb2' # @@protoc_insertion_point(class_scope:org.apache.beam.model.fn_execution.v1.LogControl) )) _sym_db.RegisterMessage(LogControl) DESCRIPTOR.has_options = True DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n$org.apache.beam.model.fnexecution.v1B\tBeamFnApiZ\016fnexecution_v1')) _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY.has_options = True _PROCESSBUNDLEDESCRIPTOR_TRANSFORMSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY.has_options = True _PROCESSBUNDLEDESCRIPTOR_PCOLLECTIONSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY.has_options = True _PROCESSBUNDLEDESCRIPTOR_WINDOWINGSTRATEGIESENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY.has_options = True _PROCESSBUNDLEDESCRIPTOR_CODERSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY.has_options = True _PROCESSBUNDLEDESCRIPTOR_ENVIRONMENTSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY.has_options = True _BUNDLEAPPLICATION_OUTPUTWATERMARKSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _MONITORINGINFO_LABELSENTRY.has_options = True _MONITORINGINFO_LABELSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _MONITORINGINFOURNS_ENUM.values_by_name["USER_COUNTER_URN_PREFIX"].has_options = True _MONITORINGINFOURNS_ENUM.values_by_name["USER_COUNTER_URN_PREFIX"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\020beam:metric:user')) _MONITORINGINFOURNS_ENUM.values_by_name["ELEMENT_COUNT"].has_options = True _MONITORINGINFOURNS_ENUM.values_by_name["ELEMENT_COUNT"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\034beam:metric:element_count:v1')) _MONITORINGINFOURNS_ENUM.values_by_name["START_BUNDLE_MSECS"].has_options = True _MONITORINGINFOURNS_ENUM.values_by_name["START_BUNDLE_MSECS"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0056beam:metric:pardo_execution_time:start_bundle_msecs:v1')) _MONITORINGINFOURNS_ENUM.values_by_name["PROCESS_BUNDLE_MSECS"].has_options = True _MONITORINGINFOURNS_ENUM.values_by_name["PROCESS_BUNDLE_MSECS"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0058beam:metric:pardo_execution_time:process_bundle_msecs:v1')) _MONITORINGINFOURNS_ENUM.values_by_name["FINISH_BUNDLE_MSECS"].has_options = True _MONITORINGINFOURNS_ENUM.values_by_name["FINISH_BUNDLE_MSECS"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0057beam:metric:pardo_execution_time:finish_bundle_msecs:v1')) _MONITORINGINFOURNS_ENUM.values_by_name["TOTAL_MSECS"].has_options = True _MONITORINGINFOURNS_ENUM.values_by_name["TOTAL_MSECS"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\0054beam:metric:ptransform_execution_time:total_msecs:v1')) _MONITORINGINFOTYPEURNS_ENUM.values_by_name["SUM_INT64_TYPE"].has_options = True _MONITORINGINFOTYPEURNS_ENUM.values_by_name["SUM_INT64_TYPE"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\027beam:metrics:sum_int_64')) _MONITORINGINFOTYPEURNS_ENUM.values_by_name["DISTRIBUTION_INT64_TYPE"].has_options = True _MONITORINGINFOTYPEURNS_ENUM.values_by_name["DISTRIBUTION_INT64_TYPE"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005 beam:metrics:distribution_int_64')) _MONITORINGINFOTYPEURNS_ENUM.values_by_name["LATEST_INT64_TYPE"].has_options = True _MONITORINGINFOTYPEURNS_ENUM.values_by_name["LATEST_INT64_TYPE"]._options = _descriptor._ParseOptions(descriptor_pb2.EnumValueOptions(), _b('\242\264\372\302\005\032beam:metrics:latest_int_64')) _METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY.has_options = True _METRICS_PTRANSFORM_MEASURED_INPUTELEMENTCOUNTSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY.has_options = True _METRICS_PTRANSFORM_MEASURED_OUTPUTELEMENTCOUNTSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY.has_options = True _METRICS_PTRANSFORM_ACTIVEELEMENTS_OUTPUTELEMENTSREMAININGENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _METRICS_PTRANSFORM_WATERMARKSENTRY.has_options = True _METRICS_PTRANSFORM_WATERMARKSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _METRICS_PTRANSFORMSENTRY.has_options = True _METRICS_PTRANSFORMSENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) _PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY.has_options = True _PROCESSBUNDLESPLITREQUEST_BACKLOGREMAININGENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')) # @@protoc_insertion_point(module_scope)
44.969468
18,349
0.769659
22,663
184,105
5.938225
0.036226
0.038461
0.041924
0.058048
0.773024
0.734823
0.713921
0.689972
0.661282
0.635654
0
0.039303
0.106124
184,105
4,093
18,350
44.980454
0.778467
0.040917
0
0.670866
1
0.001837
0.270617
0.225272
0
0
0
0
0
1
0
false
0
0.00315
0
0.00315
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
5
bfa624f4789179f43aa6762d4a7c28044f389746
712
py
Python
ta-sdk-sample/src/main/resources/middleware/templates/targetB/server_config.py
Abdelrahman-IK/transformation-advisor-sdk
90bd57aad3d7601f99d0574cfce6562cd084fa2e
[ "Apache-2.0" ]
10
2020-02-13T16:37:49.000Z
2020-12-03T04:57:22.000Z
ta-sdk-sample/src/main/resources/middleware/templates/targetB/server_config.py
Abdelrahman-IK/transformation-advisor-sdk
90bd57aad3d7601f99d0574cfce6562cd084fa2e
[ "Apache-2.0" ]
57
2020-02-13T22:01:59.000Z
2022-02-10T01:57:27.000Z
ta-sdk-sample/src/main/resources/middleware/templates/targetB/server_config.py
Abdelrahman-IK/transformation-advisor-sdk
90bd57aad3d7601f99d0574cfce6562cd084fa2e
[ "Apache-2.0" ]
5
2020-02-17T21:02:50.000Z
2021-12-21T01:04:34.000Z
# Generated by IBM TransformationAdvisor Cell=AdminConfig.getid('/Cell:' + AdminControl.getCell() + '/') Node=AdminConfig.getid('/Cell:' + AdminControl.getCell() + '/Node:' + AdminControl.getNode() + '/') Server=AdminConfig.getid('/Cell:' + AdminControl.getCell() + '/Node:' + AdminControl.getNode() + '/Server:server1') NodeName=AdminControl.getNode() print 'Starting Creating JVM Properties' print 'Starting Creating Authentication Alias' print 'Starting Creating Queues' print 'Starting Creating Topics' print 'Starting Creating Activation Specifications' print 'Starting Creating Connection Factories' print 'Starting Creating JDBC Providers' print 'Starting Creating Variables' AdminConfig.save()
28.48
115
0.764045
72
712
7.555556
0.430556
0.191176
0.308824
0.176471
0.329044
0.329044
0.25
0.25
0.25
0
0
0.001575
0.108146
712
24
116
29.666667
0.855118
0.053371
0
0
1
0
0.453869
0
0
0
0
0
0
0
null
null
0
0
null
null
0.615385
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
5
bfb97c5b8d41ccba205b200ce244114fbbdd4aec
94
py
Python
udapter/dataset_readers/__init__.py
ahmetustun/udapter
e3cfff870ab3c50bec38de756acce944bf4aaf80
[ "MIT" ]
20
2020-10-15T07:20:35.000Z
2022-01-23T12:47:05.000Z
udapter/dataset_readers/__init__.py
ahmetustun/udapter
e3cfff870ab3c50bec38de756acce944bf4aaf80
[ "MIT" ]
2
2021-01-18T12:59:14.000Z
2021-09-20T12:01:39.000Z
udapter/dataset_readers/__init__.py
ahmetustun/udapter
e3cfff870ab3c50bec38de756acce944bf4aaf80
[ "MIT" ]
2
2020-11-09T08:03:58.000Z
2022-02-23T11:37:08.000Z
from udapter.dataset_readers.universal_dependencies import UniversalDependenciesDatasetReader
47
93
0.93617
8
94
10.75
1
0
0
0
0
0
0
0
0
0
0
0
0.042553
94
1
94
94
0.955556
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
780c20d5b47b8ef650ea48f37a0e2b65682fcac9
199
py
Python
test_proj/__init__.py
elifesciences/python-project-poc
d11346df84bd497d4fbe57a376a75aa5740cb79c
[ "MIT" ]
null
null
null
test_proj/__init__.py
elifesciences/python-project-poc
d11346df84bd497d4fbe57a376a75aa5740cb79c
[ "MIT" ]
9
2019-01-18T09:52:14.000Z
2019-01-23T18:13:36.000Z
test_proj/__init__.py
libero/python-project-poc
d11346df84bd497d4fbe57a376a75aa5740cb79c
[ "MIT" ]
1
2019-01-22T15:32:56.000Z
2019-01-22T15:32:56.000Z
from flask import Flask from test_proj.example import get_example_blueprint def create_app() -> Flask: app = Flask(__name__) app.register_blueprint(get_example_blueprint()) return app
19.9
51
0.763819
27
199
5.222222
0.518519
0.141844
0.269504
0
0
0
0
0
0
0
0
0
0.165829
199
9
52
22.111111
0.849398
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
785f70eac905d7f6e3b03fac72b7b391a52f47bd
192
py
Python
pytest_gather_fixtures/__init__.py
bentheiii/pytest-gather-fixtures
76d74ef7119526d2f7e0111cd0cc80c6a59d0077
[ "MIT" ]
null
null
null
pytest_gather_fixtures/__init__.py
bentheiii/pytest-gather-fixtures
76d74ef7119526d2f7e0111cd0cc80c6a59d0077
[ "MIT" ]
null
null
null
pytest_gather_fixtures/__init__.py
bentheiii/pytest-gather-fixtures
76d74ef7119526d2f7e0111cd0cc80c6a59d0077
[ "MIT" ]
null
null
null
from pytest_gather_fixtures._version import __version__ from pytest_gather_fixtures.concurrent_fixture_group import ConcurrentFixtureGroup __all__ = ["ConcurrentFixtureGroup", '__version__']
38.4
82
0.880208
19
192
7.894737
0.578947
0.133333
0.213333
0.32
0
0
0
0
0
0
0
0
0.067708
192
4
83
48
0.837989
0
0
0
0
0
0.171875
0.114583
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
5
7885e752c0a6cd3f12fbd3ea205073b861bef4c7
32
py
Python
test-view.py
ayushmankumar7/Optical-Character-Recognition--OpenCV-tf.Keras
74d7985898f7b34e75d61466d15adb6fa78db5ae
[ "Unlicense" ]
null
null
null
test-view.py
ayushmankumar7/Optical-Character-Recognition--OpenCV-tf.Keras
74d7985898f7b34e75d61466d15adb6fa78db5ae
[ "Unlicense" ]
null
null
null
test-view.py
ayushmankumar7/Optical-Character-Recognition--OpenCV-tf.Keras
74d7985898f7b34e75d61466d15adb6fa78db5ae
[ "Unlicense" ]
null
null
null
import extract extract.show()
8
15
0.75
4
32
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.15625
32
4
16
8
0.888889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
78a52e810ab4e2f375d7360fe44baeeeb54803dd
294
py
Python
webapp/views.py
erischon/p8_eri_schon
b64de7acad28463a39b40ce9d537ceec4227202b
[ "MIT" ]
null
null
null
webapp/views.py
erischon/p8_eri_schon
b64de7acad28463a39b40ce9d537ceec4227202b
[ "MIT" ]
null
null
null
webapp/views.py
erischon/p8_eri_schon
b64de7acad28463a39b40ce9d537ceec4227202b
[ "MIT" ]
1
2021-04-27T04:07:03.000Z
2021-04-27T04:07:03.000Z
from django.shortcuts import render def home_page(request): return render(request, 'webapp/home.html') def mentions(request): return render(request, 'webapp/mentions.html') def error_404(request, exception): return render(request, 'webapp/404.html', {'exception': exception})
21
71
0.734694
37
294
5.783784
0.432432
0.168224
0.266355
0.350467
0.299065
0
0
0
0
0
0
0.023622
0.136054
294
13
72
22.615385
0.818898
0
0
0
0
0
0.204082
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0.428571
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
1531ccbe3a97cebcc1ddaf9065b120b66ffce359
79
py
Python
encoding/functions/__init__.py
youansheng/PyTorch-Encoding
dc501d28d478dbf668186f721c8600387c32859c
[ "MIT" ]
8
2020-05-14T05:28:04.000Z
2022-03-16T12:47:41.000Z
encoding/functions/__init__.py
youansheng/PyTorch-Encoding
dc501d28d478dbf668186f721c8600387c32859c
[ "MIT" ]
null
null
null
encoding/functions/__init__.py
youansheng/PyTorch-Encoding
dc501d28d478dbf668186f721c8600387c32859c
[ "MIT" ]
3
2019-07-30T21:44:51.000Z
2020-09-19T03:09:05.000Z
"""Encoding Autograd Fuctions""" from .encoding import * from .syncbn import *
19.75
32
0.734177
9
79
6.444444
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.139241
79
3
33
26.333333
0.852941
0.329114
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
15721567dd4d52eca4a9d32ae5eb6ee2adbf0101
337
py
Python
tests/__init__.py
westphahl/django-scheduler
ac52eb54145fbd1d585f6ba7e14beb45ac91e0ca
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
westphahl/django-scheduler
ac52eb54145fbd1d585f6ba7e14beb45ac91e0ca
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
westphahl/django-scheduler
ac52eb54145fbd1d585f6ba7e14beb45ac91e0ca
[ "BSD-3-Clause" ]
null
null
null
from .test_calendar import * from .test_event import * from .test_feed import * from .test_forms import * from .test_occurrence import * from .test_periods import * from .test_perms import * from .test_recurrent_event import * from .test_rule import * from .test_templatetags import * from .test_utils import * from .test_views import *
25.923077
35
0.78635
49
337
5.142857
0.306122
0.380952
0.611111
0.150794
0
0
0
0
0
0
0
0
0.142433
337
12
36
28.083333
0.871972
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
15a8f840fd01e3fedfc1bcf54a4a92121f044e79
165
py
Python
semi-supervised/inference/__init__.py
engdorm/semi-supervised-pytorch
b149e06aa413dd426886149930c8c265fd9cc746
[ "MIT" ]
700
2017-11-02T19:32:31.000Z
2022-03-03T05:04:57.000Z
semi-supervised/inference/__init__.py
engdorm/semi-supervised-pytorch
b149e06aa413dd426886149930c8c265fd9cc746
[ "MIT" ]
32
2017-11-13T06:13:01.000Z
2021-04-10T08:44:47.000Z
semi-supervised/inference/__init__.py
engdorm/semi-supervised-pytorch
b149e06aa413dd426886149930c8c265fd9cc746
[ "MIT" ]
127
2017-11-11T03:21:02.000Z
2022-03-03T23:44:53.000Z
from .distributions import log_standard_gaussian, log_gaussian, log_standard_categorical from .variational import SVI, DeterministicWarmup, ImportanceWeightedSampler
82.5
88
0.89697
17
165
8.411765
0.647059
0.153846
0
0
0
0
0
0
0
0
0
0
0.066667
165
2
89
82.5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
15ae624f375e0546c136aae3db5ba474f800aad5
1,850
py
Python
postreise/plot/tests/test_plot_bar_shortfall.py
Breakthrough-Energy/PostREISE
b82b45b1f2024e3bc91533bc8f88b8be97d92e30
[ "MIT" ]
1
2022-01-31T16:53:40.000Z
2022-01-31T16:53:40.000Z
postreise/plot/tests/test_plot_bar_shortfall.py
Breakthrough-Energy/PostREISE
b82b45b1f2024e3bc91533bc8f88b8be97d92e30
[ "MIT" ]
71
2021-01-22T20:09:47.000Z
2022-03-30T16:53:18.000Z
postreise/plot/tests/test_plot_bar_shortfall.py
Breakthrough-Energy/PostREISE
b82b45b1f2024e3bc91533bc8f88b8be97d92e30
[ "MIT" ]
7
2021-04-02T14:45:21.000Z
2022-01-17T22:23:38.000Z
import pandas as pd import pytest from postreise.plot.plot_bar_shortfall import plot_bar_shortfall def test_plot_bar_shortfall_throws_error_for_target_df_not_a_pandas_dataframe(): with pytest.raises(TypeError): plot_bar_shortfall( areas="all", scenario_ids=[823, 824], target_df="not a dataframe", ) def test_plot_bar_shortfall_throws_error_for_strategy_not_a_dictionary(): with pytest.raises(TypeError): plot_bar_shortfall( areas="all", scenario_ids=[823, 824], target_df=pd.DataFrame(), strategy="collaborative", ) def test_plot_bar_shortfall_throws_error_for_different_length_of_scenario_ids_and_scenario_names(): with pytest.raises(ValueError): plot_bar_shortfall( areas="all", scenario_ids=[823, 824], target_df=pd.DataFrame(), strategy={823: "collaborative"}, scenario_names=["USA 2016"], ) def test_plot_bar_shortfall_throws_error_for_baseline_scenario_not_a_string_or_integer(): with pytest.raises(TypeError): plot_bar_shortfall( areas="all", scenario_ids=[823, 824], target_df=pd.DataFrame(), strategy={823: "collaborative"}, scenario_names=["USA 2016", "USA 2020"], baseline_scenario=["1", "2", "3"], ) def test_plot_bar_shortfall_throws_error_for_baseline_scenario_name_not_a_string(): with pytest.raises(TypeError): plot_bar_shortfall( areas="all", scenario_ids=[823, 824], target_df=pd.DataFrame(), strategy={823: "collaborative"}, scenario_names=["USA 2016", "USA 2020"], baseline_scenario=823, baseline_scenario_name=888, )
30.833333
99
0.634595
212
1,850
5.103774
0.235849
0.077634
0.177449
0.064695
0.731978
0.731978
0.731978
0.731978
0.62939
0.62939
0
0.050185
0.267568
1,850
59
100
31.355932
0.748339
0
0
0.583333
0
0
0.067568
0
0
0
0
0
0
1
0.104167
true
0
0.0625
0
0.166667
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ec71c98d21acb67143345a3efe45b0317a64f23e
429
py
Python
sleekxmpp/plugins/xep_0131/__init__.py
elrond79/SleekXMPP
62ebbe2d7c37f55fa63cbe24b2a610c1e3eb7b9f
[ "BSD-3-Clause" ]
499
2015-01-04T21:45:16.000Z
2022-02-14T13:04:08.000Z
sleekxmpp/plugins/xep_0131/__init__.py
elrond79/SleekXMPP
62ebbe2d7c37f55fa63cbe24b2a610c1e3eb7b9f
[ "BSD-3-Clause" ]
159
2015-01-02T19:09:47.000Z
2020-02-12T08:29:54.000Z
sleekxmpp/plugins/xep_0131/__init__.py
elrond79/SleekXMPP
62ebbe2d7c37f55fa63cbe24b2a610c1e3eb7b9f
[ "BSD-3-Clause" ]
209
2015-01-07T16:23:16.000Z
2022-01-26T13:02:20.000Z
""" SleekXMPP: The Sleek XMPP Library Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout This file is part of SleekXMPP. See the file LICENSE for copying permission. """ from sleekxmpp.plugins.base import register_plugin from sleekxmpp.plugins.xep_0131 import stanza from sleekxmpp.plugins.xep_0131.stanza import Headers from sleekxmpp.plugins.xep_0131.headers import XEP_0131 register_plugin(XEP_0131)
25.235294
59
0.780886
63
429
5.206349
0.539683
0.106707
0.243902
0.210366
0.246951
0
0
0
0
0
0
0.066298
0.156177
429
16
60
26.8125
0.839779
0.389277
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
ec91109896111a63d3d6794f36cd83a6c63e5ebd
180
py
Python
appyter/helpers/__init__.py
MaayanLab/jupyter-template
dd05bfcb95c9eafb1a9df845b5d8fecae1d6b9d5
[ "Apache-2.0" ]
null
null
null
appyter/helpers/__init__.py
MaayanLab/jupyter-template
dd05bfcb95c9eafb1a9df845b5d8fecae1d6b9d5
[ "Apache-2.0" ]
24
2020-04-07T17:04:47.000Z
2020-05-27T00:51:25.000Z
appyter/helpers/__init__.py
MaayanLab/jupyter-template
dd05bfcb95c9eafb1a9df845b5d8fecae1d6b9d5
[ "Apache-2.0" ]
null
null
null
''' Miscellaneous helper utilities for appyter ''' import os from appyter.ext.importlib import importdir importdir(os.path.join(os.path.dirname(__file__)), __package__, globals())
30
74
0.788889
23
180
5.826087
0.73913
0.089552
0
0
0
0
0
0
0
0
0
0
0.088889
180
5
75
36
0.817073
0.233333
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5