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
3a5162a01badc4c0063959b778909917596acbda
107
py
Python
trtl/__init__.py
sohamb03/trtl-py
f9674a525fb4fe6c43674ec12c6fa9768b4df06f
[ "MIT" ]
1
2020-04-13T13:50:58.000Z
2020-04-13T13:50:58.000Z
trtl/__init__.py
sohamb03/trtl-py
f9674a525fb4fe6c43674ec12c6fa9768b4df06f
[ "MIT" ]
null
null
null
trtl/__init__.py
sohamb03/trtl-py
f9674a525fb4fe6c43674ec12c6fa9768b4df06f
[ "MIT" ]
null
null
null
from trtl.TurtleCoind import TurtleCoind from trtl.WalletAPI import WalletAPI from trtl.Utils import Utils
26.75
40
0.859813
15
107
6.133333
0.4
0.26087
0
0
0
0
0
0
0
0
0
0
0.11215
107
3
41
35.666667
0.968421
0
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
1
0
0
6
28bd889408609fd4a7fc3e66ee76cbc34fd1c47e
4,315
py
Python
phase1.py
EroSkulled/PHY224-324
060a020d75e938d240d926e05e41f8e5c4bf435a
[ "MIT" ]
null
null
null
phase1.py
EroSkulled/PHY224-324
060a020d75e938d240d926e05e41f8e5c4bf435a
[ "MIT" ]
null
null
null
phase1.py
EroSkulled/PHY224-324
060a020d75e938d240d926e05e41f8e5c4bf435a
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import pandas as pd from scipy.optimize import curve_fit def T(LD): return 2 * ((LD) ** 0.5) def radian(degree): return degree * np.pi / 180 def chi_square(ys, fs, sigma): chi_sqr = 0 for i in range(0, len(ys)): chi_sqr += ((ys[i] - fs[i]) / sigma[i]) ** 2 return chi_sqr def fit(t, tau): return rad[0] * np.exp(-t / tau) * np.cos(2 * np.pi * (t / period)) data = pd.read_csv(r"C:\Users\Walter\IdeaProjects\PHY224\pendulum\Data1.csv", delimiter=',', skiprows=0) t = data['t'] - data['t'].iloc[0] # set the beginning of timeline to 0 x = data['x'] y = data['y'] rad = data['rad'] err = radian(np.zeros(len(y)) + 0.5) period = T(0.35) Terr = T(0.36) - period print(Terr) print("Period from formula: " + str(period)) print("Period observed: " + str(19 / 24)) popt, pcov = curve_fit(fit, t, rad, 10, err, True) cov2 = np.diag(pcov) plt.errorbar(t, rad, yerr=err, xerr=0.1, label='Original data') plt.plot(t, fit(t, *popt), color='red', marker='|', label='fit: tau=%.3e +- ' % tuple(popt) + '%.3e' % tuple(np.sqrt(cov2))) plt.xlabel("Time (s)") plt.ylabel("Angle (rad)") plt.title('Figure.1 ') plt.legend(loc='best') plt.show() print(popt, ' +- ', np.sqrt(cov2)) ys = np.zeros(len(rad)) for i in range(0, len(rad)): ys[i] = fit(t[i], *popt) v = len(t) - len(popt) r2 = chi_square(ys, rad, err) print(r2 / v) data2 = pd.read_csv(r"C:\Users\Walter\IdeaProjects\PHY224\pendulum\Data2.csv", delimiter=',', skiprows=1) t = data2['t'] - data2['t'].iloc[0] # set the beginning of timeline to 0 x = data2['x'] y = data2['y'] rad = data2['rad'] err = radian(np.zeros(len(y)) + 0.5) period = T(0.35) Terr = T(0.36) - period print(Terr) print("Period from formula: " + str(period)) print("Period observed: " + str(28 / 35)) popt, pcov = curve_fit(fit, t, rad, 10, err, True) cov2 = np.diag(pcov) plt.errorbar(t, rad, yerr=err, xerr=0.1, label='Original data') plt.plot(t, fit(t, *popt), color='red', marker='|', label='fit: tau=%.3e +- ' % tuple(popt) + '%.3e' % tuple(np.sqrt(cov2))) plt.xlabel("Time (s)") plt.ylabel("Angle (rad)") plt.title('Figure.2 ') plt.legend(loc='best') plt.show() print(popt, ' +- ', np.sqrt(cov2)) ys = np.zeros(len(rad)) for i in range(0, len(rad)): ys[i] = fit(t[i], *popt) v = len(t) - len(popt) r2 = chi_square(ys, rad, err) print(r2 / v) data3 = pd.read_csv(r"C:\Users\Walter\IdeaProjects\PHY224\pendulum\Data3.csv", delimiter=',', skiprows=0) t = data3['t'] - data3['t'].iloc[0] # set the beginning of timeline to 0 x = data3['x'] y = data3['y'] rad = data3['rad'] err = radian(np.zeros(len(y)) + 0.5) period = T(0.35) Terr = T(0.36) - period print(Terr) print("Period from formula: " + str(period)) print("Period observed: " + str(30 / 37)) popt, pcov = curve_fit(fit, t, rad, 10, err, True) cov2 = np.diag(pcov) plt.errorbar(t, rad, yerr=err, xerr=0.1, label='Original data') plt.plot(t, fit(t, *popt), color='red', marker='|', label='fit: tau=%.3e +- ' % tuple(popt) + '%.3e' % tuple(np.sqrt(cov2))) plt.xlabel("Time (s)") plt.ylabel("Angle (rad)") plt.title('Figure.3 ') plt.legend(loc='best') plt.show() print(popt, ' +- ', np.sqrt(cov2)) ys = np.zeros(len(rad)) for i in range(0, len(rad)): ys[i] = fit(t[i], *popt) v = len(t) - len(popt) r2 = chi_square(ys, rad, err) print(r2 / v) data4 = pd.read_csv(r"C:\Users\Walter\IdeaProjects\PHY224\pendulum\Data4.csv", delimiter=',', skiprows=0) t = data4['t'] - data4['t'].iloc[0] # set the beginning of timeline to 0 x = data4['x'] y = data4['y'] rad = data4['rad'] err = radian(np.zeros(len(y)) + 0.5) period = T(0.35) Terr = T(0.36) - period print(Terr) print("Period from formula: " + str(period)) print("Period observed: " + str(31 / 40)) popt, pcov = curve_fit(fit, t, rad, 10, err, True) cov2 = np.diag(pcov) plt.errorbar(t, rad, yerr=err, xerr=0.1, label='Original data') plt.plot(t, fit(t, *popt), color='red', marker='|', label='fit: tau=%.3e +- ' % tuple(popt) + '%.3e' % tuple(np.sqrt(cov2))) plt.xlabel("Time (s)") plt.ylabel("Angle (rad)") plt.title('Figure.4 ') plt.legend(loc='best') plt.show() print(popt, ' +- ', np.sqrt(cov2)) ys = np.zeros(len(rad)) for i in range(0, len(rad)): ys[i] = fit(t[i], *popt) v = len(t) - len(popt) r2 = chi_square(ys, rad, err) print(r2 / v)
29.758621
105
0.613905
765
4,315
3.440523
0.151634
0.019757
0.030395
0.020897
0.828647
0.803571
0.797872
0.797872
0.797872
0.797872
0
0.043156
0.156895
4,315
144
106
29.965278
0.680319
0.032213
0
0.661417
0
0
0.166866
0.051786
0
0
0
0
0
1
0.031496
false
0
0.031496
0.023622
0.094488
0.15748
0
0
0
null
0
0
0
1
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
6
28d6ad77a3e2e37fac2a2d71ee54d03aa184f797
769
py
Python
octicons16px/shield_lock.py
andrewp-as-is/octicons16px.py
1272dc9f290619d83bd881e87dbd723b0c48844c
[ "Unlicense" ]
1
2021-01-28T06:47:39.000Z
2021-01-28T06:47:39.000Z
octicons16px/shield_lock.py
andrewp-as-is/octicons16px.py
1272dc9f290619d83bd881e87dbd723b0c48844c
[ "Unlicense" ]
null
null
null
octicons16px/shield_lock.py
andrewp-as-is/octicons16px.py
1272dc9f290619d83bd881e87dbd723b0c48844c
[ "Unlicense" ]
null
null
null
OCTICON_SHIELD_LOCK = """ <svg class="octicon octicon-shield-lock" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M8.533.133a1.75 1.75 0 00-1.066 0l-5.25 1.68A1.75 1.75 0 001 3.48V7c0 1.566.32 3.182 1.303 4.682.983 1.498 2.585 2.813 5.032 3.855a1.7 1.7 0 001.33 0c2.447-1.042 4.049-2.357 5.032-3.855C14.68 10.182 15 8.566 15 7V3.48a1.75 1.75 0 00-1.217-1.667L8.533.133zm-.61 1.429a.25.25 0 01.153 0l5.25 1.68a.25.25 0 01.174.238V7c0 1.358-.275 2.666-1.057 3.86-.784 1.194-2.121 2.34-4.366 3.297a.2.2 0 01-.154 0c-2.245-.956-3.582-2.104-4.366-3.298C2.775 9.666 2.5 8.36 2.5 7V3.48a.25.25 0 01.174-.237l5.25-1.68zM9.5 6.5a1.5 1.5 0 01-.75 1.3v2.45a.75.75 0 01-1.5 0V7.8A1.5 1.5 0 119.5 6.5z"></path></svg> """
153.8
737
0.669701
215
769
2.386047
0.488372
0.035088
0.02924
0.035088
0.074074
0.035088
0
0
0
0
0
0.535766
0.109233
769
4
738
192.25
0.213139
0
0
0
0
0.333333
0.96224
0.128906
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
0
1
1
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
28e6d01eb8755e153e4815f0dc1b118c154c9a0e
85
py
Python
latest/modules/plotting-14.py
willtryagain/sympy_doc
ec1b7285b5fc5b3ba2eafa32470066122ae84b52
[ "BSD-3-Clause" ]
20
2015-01-28T01:08:13.000Z
2021-12-19T04:03:28.000Z
latest/modules/plotting-14.py
willtryagain/sympy_doc
ec1b7285b5fc5b3ba2eafa32470066122ae84b52
[ "BSD-3-Clause" ]
31
2015-01-27T07:16:19.000Z
2021-11-15T10:58:15.000Z
latest/modules/plotting-14.py
willtryagain/sympy_doc
ec1b7285b5fc5b3ba2eafa32470066122ae84b52
[ "BSD-3-Clause" ]
38
2015-01-08T18:48:27.000Z
2021-12-02T13:19:43.000Z
from sympy import symbols from sympy.plotting import plot3d x, y = symbols('x y')
21.25
34
0.729412
14
85
4.428571
0.571429
0.290323
0
0
0
0
0
0
0
0
0
0.014493
0.188235
85
3
35
28.333333
0.884058
0
0
0
0
0
0.036585
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
1
0
0
6
3abb457ac6de2a735c2ef1826da5261a0f185b2b
132
py
Python
tests/test_config.py
agrazh/etl-rest-mservice
8e886b2e73dfc964d36446b2b18cc2d98311ca37
[ "CC0-1.0" ]
null
null
null
tests/test_config.py
agrazh/etl-rest-mservice
8e886b2e73dfc964d36446b2b18cc2d98311ca37
[ "CC0-1.0" ]
null
null
null
tests/test_config.py
agrazh/etl-rest-mservice
8e886b2e73dfc964d36446b2b18cc2d98311ca37
[ "CC0-1.0" ]
null
null
null
import pytest import os.path def test_config_exists(): assert os.path.isfile('./app/config.yaml') == True, "Config not found."
22
75
0.712121
20
132
4.6
0.75
0.130435
0
0
0
0
0
0
0
0
0
0
0.136364
132
5
76
26.4
0.807018
0
0
0
0
0
0.257576
0
0
0
0
0
0.25
1
0.25
true
0
0.5
0
0.75
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
1
0
1
0
1
0
0
6
3ae8c8359024449fef557f1ee38d16eea7ee9201
206
py
Python
MyLittleProgram/sys-argv_import.py
zymzs/PythonSpace
88027affb2fd8fae9b629d9c1310fd9b4789bfd0
[ "MIT" ]
null
null
null
MyLittleProgram/sys-argv_import.py
zymzs/PythonSpace
88027affb2fd8fae9b629d9c1310fd9b4789bfd0
[ "MIT" ]
null
null
null
MyLittleProgram/sys-argv_import.py
zymzs/PythonSpace
88027affb2fd8fae9b629d9c1310fd9b4789bfd0
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Filename: sys-argv_import.py import sys print("You can only use sys.argv after import the whole sys:") print(sys.argv[1:]) print("You can't use argv without sys. before from..import.")
29.428571
62
0.73301
37
206
4.054054
0.567568
0.14
0.146667
0
0
0
0
0
0
0
0
0.01105
0.121359
206
6
63
34.333333
0.81768
0.223301
0
0
0
0
0.664557
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0.75
0
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
0
1
0
1
0
1
1
0
6
aaf001a3c340930e4d322eacd45e10138e795107
4,061
py
Python
dgraph_scaler/stitcher.py
aratz-lasa/dgraph_scaler
359f10d58346b21b75ba5e6c01180419565c5b7c
[ "MIT" ]
1
2020-12-15T10:27:23.000Z
2020-12-15T10:27:23.000Z
dgraph_scaler/stitcher.py
aratz-lasa/dgraph_scaler
359f10d58346b21b75ba5e6c01180419565c5b7c
[ "MIT" ]
null
null
null
dgraph_scaler/stitcher.py
aratz-lasa/dgraph_scaler
359f10d58346b21b75ba5e6c01180419565c5b7c
[ "MIT" ]
null
null
null
import random from enum import Enum from typing import List import networkx as nx from dgraph_scaler import mpi from dgraph_scaler.util import choices class StitchType(Enum): ALL_TO_ALL = 0 RING = 1 @staticmethod def parse_type(raw_type: str): if raw_type == "all-to-all": return StitchType.ALL_TO_ALL elif raw_type == "ring": return StitchType.RING else: raise ValueError("Invalid sticthing type") def stitch_samples(samples: List[nx.MultiDiGraph], bridges_percent: float, stitch_type: StitchType): bridges_amount = int(samples[0].number_of_nodes() * bridges_percent) # bridges_amount = int(min(samples[0].number_of_nodes(), samples[-1].number_of_nodes())*bridges_percent) local_stitching(samples, bridges_amount, stitch_type) distributed_stitching(samples, bridges_amount, stitch_type) def local_stitching(samples: List[nx.MultiDiGraph], bridges_amount: int, stitch_type: StitchType): if stitch_type == StitchType.ALL_TO_ALL: all_to_all_local_stitching(samples, bridges_amount) elif stitch_type == StitchType.RING: ring_local_stitching(samples, bridges_amount) else: raise ValueError("Invalid Stitching type") def distributed_stitching(samples: List[nx.MultiDiGraph], bridges_amount: int, stitch_type: StitchType): if stitch_type == StitchType.ALL_TO_ALL: all_to_all_distributed_stitching(samples, bridges_amount) elif stitch_type == StitchType.RING: ring_distributed_stitching(samples, bridges_amount) else: raise ValueError("Invalid Stitching type") def all_to_all_local_stitching(samples: List[nx.MultiDiGraph], bridges_amount: int): samples_amount = len(samples) if samples_amount < 2: return tails = [[choices(list(sample.nodes), k=bridges_amount) for _ in range(len(samples))] for sample in samples] heads = [[choices(list(sample.nodes), k=bridges_amount) for _ in range(len(samples))] for sample in samples] for i, sample in enumerate(samples): for j in range(len(samples)): if i != j: sample.add_edges_from(zip(tails[i][j], heads[j][i])) def all_to_all_distributed_stitching(samples: List[nx.MultiDiGraph], bridges_amount: int): raw_samples = [] for sample in samples: raw_samples.extend(sample.nodes) random.shuffle(raw_samples) my_remote_heads = [choices(raw_samples, k=bridges_amount) for _ in range(mpi.size)] tails = [choices(raw_samples, k=bridges_amount) for _ in range(mpi.size)] remote_heads = mpi.comm.alltoall(my_remote_heads) for i in range(mpi.size): if i != mpi.rank: bridges_amount_i = min(len(remote_heads[i]), len(tails[i])) samples[0].add_edges_from(zip(remote_heads[i][:bridges_amount_i], tails[i][:bridges_amount_i])) def ring_local_stitching(samples: List[nx.MultiDiGraph], bridges_amount: int): samples_amount = len(samples) if samples_amount < 2: return tails = [[choices(list(sample.nodes), k=bridges_amount) for _ in range(2)] for sample in samples] heads = [[choices(list(sample.nodes), k=bridges_amount) for _ in range(2)] for sample in samples] for i, sample in enumerate(samples): j = 0 if i == len(samples) - 1 else i + 1 if i != j: sample.add_edges_from(zip(tails[i][0], heads[j][1])) def ring_distributed_stitching(samples: List[nx.MultiDiGraph], bridges_amount: int): raw_samples = [] for sample in samples: raw_samples.extend(sample.nodes) random.shuffle(raw_samples) my_remote_heads = [choices(raw_samples, k=bridges_amount) for _ in range(mpi.size)] tails = [choices(raw_samples, k=bridges_amount) for _ in range(mpi.size)] remote_heads = mpi.comm.alltoall(my_remote_heads) for i in range(mpi.size): if i != mpi.rank: bridges_amount_i = min(len(remote_heads[i]), len(tails[i])) samples[0].add_edges_from(zip(remote_heads[i][:bridges_amount_i], tails[i][:bridges_amount_i]))
39.813725
112
0.700813
570
4,061
4.749123
0.12807
0.134466
0.026598
0.05024
0.823421
0.769117
0.728482
0.728482
0.728482
0.722571
0
0.004862
0.189608
4,061
101
113
40.207921
0.817685
0.025117
0
0.518987
0
0
0.020217
0
0
0
0
0
0
1
0.101266
false
0
0.075949
0
0.265823
0
0
0
0
null
0
0
0
1
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
6
c90c24b4639e5448a92f3f53ecf07986f4c6b465
8,549
py
Python
example/test_owned_and_timelimited.py
cobraframework/pytest-cobra
ea6106269eb38e851bc2b05e34bd40133b66f97f
[ "MIT" ]
12
2018-09-24T18:15:56.000Z
2019-11-26T19:32:56.000Z
example/test_owned_and_timelimited.py
meherett/pytest-cobra
ea6106269eb38e851bc2b05e34bd40133b66f97f
[ "MIT" ]
1
2019-09-09T12:10:10.000Z
2019-09-09T12:10:10.000Z
example/test_owned_and_timelimited.py
cobraframework/pytest-cobra
ea6106269eb38e851bc2b05e34bd40133b66f97f
[ "MIT" ]
2
2018-09-12T17:31:27.000Z
2018-09-12T19:40:37.000Z
artifact_owned = { "abi": "[{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]", "bytecode": "6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550341561004f57600080fd5b6101ce8061005e6000396000f30060606040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680638da5cb5b14610051578063a6f9dae1146100a6575b600080fd5b341561005c57600080fd5b6100646100df565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34156100b157600080fd5b6100dd600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610104565b005b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561015f57600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505600a165627a7a72305820880a4056fab249ea33a384814995ed65839292e7edf737e2082462ab370b372a0029" } artifact_timelimited = { "abi": "[{\"constant\":true,\"inputs\":[],\"name\":\"duration\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"alive\",\"outputs\":[{\"name\":\"_stuff\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"setExpired\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"changeOwner\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"finished\",\"outputs\":[{\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"creationTime\",\"outputs\":[{\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"name\":\"_duration\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"}]", "bytecode": "6060604052336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555042600155341561005357600080fd5b604051602080610493833981016040528080519060200190919050508080600281905550505061040b806100886000396000f30060606040526004361061008e576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630fb5a6b414610093578063753899e9146100bc57806383197ef0146100e95780638da5cb5b146100fe578063a56fa76c14610153578063a6f9dae114610168578063bef4876b146101a1578063d8270dce146101ce575b600080fd5b341561009e57600080fd5b6100a66101f7565b6040518082815260200191505060405180910390f35b34156100c757600080fd5b6100cf6101fd565b604051808215151515815260200191505060405180910390f35b34156100f457600080fd5b6100fc610242565b005b341561010957600080fd5b610111610276565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b341561015e57600080fd5b61016661029b565b005b341561017357600080fd5b61019f600480803573ffffffffffffffffffffffffffffffffffffffff16906020019091905050610328565b005b34156101ac57600080fd5b6101b46103c6565b604051808215151515815260200191505060405180910390f35b34156101d957600080fd5b6101e16103d9565b6040518082815260200191505060405180910390f35b60025481565b6000600360009054906101000a900460ff1615151561021b57600080fd5b600254600154014210801561023d5750600360009054906101000a900460ff16155b905090565b600360009054906101000a900460ff16151561025d57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff16ff5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156102f657600080fd5b60025460015401421015151561030b57600080fd5b6001600360006101000a81548160ff021916908315150217905550565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561038357600080fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360009054906101000a900460ff1681565b600154815600a165627a7a72305820cfa24f8534068ff9caf1fc94dda21bbaf586fa7b501b0712c37a18549b783ff90029" } # Just use the 'cobra' fixture in your pytest_ethereum-enabled tests def test_owned_and_timelimited(cobra): # Get contracts via name from your assets file (e.g. 'contracts.json') # NOTE: When no contract from file is selected, # uses file basename e.g. 'path/to/Owned.sol:Owned' owned = cobra.new(artifact_owned) # Deploying Owned owned = owned.deploy() # You can specify a specific contract from the file timelimited_factory = cobra.new(artifact_timelimited) # You must specify the deployment args if they exist # NOTE: must be supplied in abi order timelimited = timelimited_factory.deploy(10) # arg1: 10 blocks # Use normal assert syntax for testing # pure/view/constant functions call by default assert owned.owner() == cobra.accounts[0] # Doesn't mine a block! # non-'constant' functions transact by default # NOTE: Transactions auto-mine (see eth-cobra) owned.changeOwner(cobra.accounts[1]) # Transaction auto-mined into block assert owned.owner() == cobra.accounts[1] # No transaction here # Use this for asserting when a failed transaction should occur starting_balance = cobra.accounts[0].balance with cobra.tx_fails: owned.changeOwner(cobra.accounts[0]) # account 0 is no longer the owner! # We can do multiple failures in here... with cobra.tx_fails: owned.changeOwner(cobra.accounts[2]) # account 2 isn't either # No transactions were committed for these failures assert starting_balance == cobra.accounts[0].balance # You can supply optional transaction params owned.changeOwner(cobra.accounts[0], transact={ 'from': cobra.accounts[1], # from a different sender # 'value': 100, # send 100 wei in this transaction # You can also do other things... see web3.py for more info! } ) assert owned.owner() == cobra.accounts[0] # account[0] is the owner again! # You can mine an empty block if you want while timelimited.alive(): # This makes a call, so no transaction occurs cobra.mine_blocks() # mines an empty block # You can check the current timestamp assert cobra.now() >= timelimited.creationTime() + timelimited.duration() timelimited.setExpired() # You can check to see if a contract still has code # NOTE: Implicitly calls address.codesize != 0 assert timelimited.hascode timelimited.destroy() # Calls self destruct opcode, removing code assert not timelimited.hascode # Get Ether balance of any address print("Account 0 has", cobra.accounts[0].balance, "Wei") print("Account 1 has", cobra.accounts[1].balance, "Wei") print("Contract 'timelimited' has", timelimited.balance, "Wei") # Send any address Ether print("Account 2 has", cobra.accounts[2].balance, "Wei") cobra.accounts[1].transfer(cobra.accounts[2], 100) # send 100 wei to address 2 print("Account 2 now has", cobra.accounts[2].balance, "Wei")
106.8625
2,358
0.776348
581
8,549
11.394148
0.314974
0.03142
0.044864
0.01994
0.196677
0.17568
0.144411
0.144411
0.124169
0.121752
0
0.280864
0.09042
8,549
79
2,359
108.21519
0.570473
0.167037
0
0.097561
0
0
0.575604
0.487646
0
1
0
0
0.170732
1
0.02439
false
0
0
0
0.02439
0.121951
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
0
0
0
0
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
c931f6f2d405559bb8c6b481dd3db2b976236120
11,852
py
Python
mmdet3d/apis/train.py
XYHC-MMDA/Multi-modal-Multi-task-DA
ed8297eb489d50c580795713cccb72bc958f406f
[ "Apache-2.0" ]
1
2020-11-05T19:51:23.000Z
2020-11-05T19:51:23.000Z
mmdet3d/apis/train.py
XYHC-MMDA/Multi-modal-Multi-task-DA
ed8297eb489d50c580795713cccb72bc958f406f
[ "Apache-2.0" ]
null
null
null
mmdet3d/apis/train.py
XYHC-MMDA/Multi-modal-Multi-task-DA
ed8297eb489d50c580795713cccb72bc958f406f
[ "Apache-2.0" ]
null
null
null
import random import numpy as np import torch from mmcv.parallel import MMDataParallel, MMDistributedDataParallel from mmcv.runner import (HOOKS, DistSamplerSeedHook, EpochBasedRunner, RUNNERS, Fp16OptimizerHook, OptimizerHook, build_optimizer) from mmcv.utils import build_from_cfg from mmdet.core import DistEvalHook, EvalHook from mmdet.datasets import build_dataloader, build_dataset from mmdet.utils import get_root_logger from mmdet3d.models import build_discriminator from mmdet3d.runners import RepRunner from mmdet3d.parallel import MyDataParallel, TCDataParallel def set_random_seed(seed, deterministic=False): random.seed(seed) np.random.seed(seed) torch.manual_seed(seed) torch.cuda.manual_seed_all(seed) if deterministic: torch.backends.cudnn.deterministic = True torch.backends.cudnn.benchmark = False def train_detector(model, dataset, cfg, distributed=False, timestamp=None, meta=None): logger = get_root_logger(cfg.log_level) # prepare data loaders # dataset: [src_dataset, tgt_dataset] data_loaders = [ build_dataloader( ds, cfg.data.samples_per_gpu, cfg.data.workers_per_gpu, # cfg.gpus will be ignored if distributed len(cfg.gpu_ids), dist=distributed, seed=cfg.seed) for ds in dataset ] # put model on gpus # model = MMDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) model = MyDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) # discriminators seg_disc, seg_opt = None, None if cfg.seg_discriminator is not None: seg_disc = build_discriminator(cfg.seg_discriminator).cuda() seg_opt = build_optimizer(seg_disc, cfg.seg_optimizer) det_disc, det_opt = None, None if cfg.det_discriminator is not None: det_disc = build_discriminator(cfg.det_discriminator).cuda() det_opt = build_optimizer(det_disc, cfg.det_optimizer) # build runner optimizer = build_optimizer(model, cfg.optimizer) PRunner = RUNNERS.get(cfg.runner) runner_kwargs = dict() for key in ['lambda_GANLoss', 'src_acc_threshold', 'tgt_acc_threshold']: if not hasattr(cfg, key): continue runner_kwargs[key] = getattr(cfg, key) runner = PRunner(model, seg_disc=seg_disc, seg_opt=seg_opt, det_disc=det_disc, det_opt=det_opt, **runner_kwargs, optimizer=optimizer, work_dir=cfg.work_dir, logger=logger, meta=meta) runner.timestamp = timestamp # register hooks; no opimizer_config & momentum_config runner.register_training_hooks(cfg.lr_config, checkpoint_config=cfg.checkpoint_config, log_config=cfg.log_config) # if distributed: # runner.register_hook(DistSamplerSeedHook()) if cfg.resume_from: runner.resume(cfg.resume_from) # elif cfg.load_from: # runner.load_checkpoint(cfg.load_from) runner.run(data_loaders, cfg.workflow, cfg.total_epochs) def train_single_seg_detector(model, dataset, cfg, distributed=False, timestamp=None, meta=None): # dataset: [src_dataset, tgt_dataset] logger = get_root_logger(cfg.log_level) data_loaders = [ build_dataloader( ds, cfg.data.samples_per_gpu, cfg.data.workers_per_gpu, # cfg.gpus will be ignored if distributed len(cfg.gpu_ids), dist=distributed, seed=cfg.seed) for ds in dataset ] # put model on gpus # model = MMDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) model = MyDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) # build runner runner_kwargs = dict() for disc_key, opt_key in [('seg_discriminator', 'seg_optimizer'), ('img_disc', 'img_opt'), ('lidar_disc', 'lidar_opt')]: if not hasattr(cfg, disc_key): continue disc = build_discriminator(getattr(cfg, disc_key)).cuda() opt = build_optimizer(disc, getattr(cfg, opt_key)) if disc_key == 'seg_discriminator': disc_key, opt_key = 'seg_disc', 'seg_opt' runner_kwargs[disc_key] = disc runner_kwargs[opt_key] = opt optimizer = build_optimizer(model, cfg.optimizer) PRunner = RUNNERS.get(cfg.runner) for key in ['lambda_GANLoss', 'src_acc_threshold', 'tgt_acc_threshold', 'return_fusion_feats', 'lambda_img', 'lambda_lidar']: if not hasattr(cfg, key): continue runner_kwargs[key] = getattr(cfg, key) runner = PRunner(model, **runner_kwargs, optimizer=optimizer, work_dir=cfg.work_dir, logger=logger, meta=meta) # runner = PRunner(model, seg_disc=seg_disc, seg_opt=seg_opt, lambda_GANLoss=cfg.lambda_GANLoss, # return_fusion_feats=cfg.return_fusion_feats, optimizer=optimizer, work_dir=cfg.work_dir, # logger=logger, meta=meta) runner.timestamp = timestamp # register hooks; no opimizer_config & momentum_config runner.register_training_hooks(cfg.lr_config, checkpoint_config=cfg.checkpoint_config, log_config=cfg.log_config) # if distributed: # runner.register_hook(DistSamplerSeedHook()) if cfg.resume_from: runner.resume(cfg.resume_from) # elif cfg.load_from: # runner.load_checkpoint(cfg.load_from) runner.run(data_loaders, cfg.workflow, cfg.total_epochs) def rep_train_detector(model, dataset, cfg, distributed=False, timestamp=None, meta=None): logger = get_root_logger(cfg.log_level) # prepare data loaders data_loaders = [ build_dataloader( ds, cfg.data.samples_per_gpu, cfg.data.workers_per_gpu, # cfg.gpus will be ignored if distributed len(cfg.gpu_ids), dist=distributed, seed=cfg.seed) for ds in dataset ] # put model on gpus if distributed: assert False find_unused_parameters = cfg.get('find_unused_parameters', False) # Sets the `find_unused_parameters` parameter in # torch.nn.parallel.DistributedDataParallel model = MMDistributedDataParallel( model.cuda(), device_ids=[torch.cuda.current_device()], broadcast_buffers=False, find_unused_parameters=find_unused_parameters) else: model = MMDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) # build runner optimizer = build_optimizer(model, cfg.optimizer) runner = RepRunner( model, optimizer=optimizer, work_dir=cfg.work_dir, logger=logger, meta=meta) # an ugly workaround to make .log and .log.json filenames the same runner.timestamp = timestamp # register hooks; no opimizer_config & momentum_config runner.register_training_hooks(cfg.lr_config, checkpoint_config=cfg.checkpoint_config, log_config=cfg.log_config) # if distributed: # runner.register_hook(DistSamplerSeedHook()) if cfg.resume_from: runner.resume(cfg.resume_from) # elif cfg.load_from: # runner.load_checkpoint(cfg.load_from) runner.run(data_loaders, cfg.workflow, cfg.total_epochs) def train_tc_detector(model, dataset, cfg, distributed=False, timestamp=None, meta=None): logger = get_root_logger(cfg.log_level) # prepare data loaders # dataset: [src_dataset, tgt_dataset] data_loaders = [ build_dataloader( ds, cfg.data.samples_per_gpu, cfg.data.workers_per_gpu, # cfg.gpus will be ignored if distributed len(cfg.gpu_ids), dist=distributed, seed=cfg.seed) for ds in dataset ] # put model on gpus if distributed: assert False find_unused_parameters = cfg.get('find_unused_parameters', False) # Sets the `find_unused_parameters` parameter in # torch.nn.parallel.DistributedDataParallel model = MMDistributedDataParallel( model.cuda(), device_ids=[torch.cuda.current_device()], broadcast_buffers=False, find_unused_parameters=find_unused_parameters) else: model = TCDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) # build runner optimizer = build_optimizer(model, cfg.optimizer) PRunner = RUNNERS.get(cfg.runner) runner = PRunner(model, cfg=cfg, optimizer=optimizer, work_dir=cfg.work_dir, logger=logger, meta=meta) # an ugly workaround to make .log and .log.json filenames the same runner.timestamp = timestamp # register hooks; no opimizer_config & momentum_config runner.register_training_hooks(cfg.lr_config, checkpoint_config=cfg.checkpoint_config, log_config=cfg.log_config) if distributed: runner.register_hook(DistSamplerSeedHook()) if cfg.resume_from: runner.resume(cfg.resume_from) # elif cfg.load_from: # runner.load_checkpoint(cfg.load_from) runner.run(data_loaders, cfg.workflow, cfg.total_epochs) def train_general_detector(model, dataset, cfg, distributed=False, timestamp=None, meta=None): # dataset: [src_dataset, tgt_dataset] logger = get_root_logger(cfg.log_level) data_loaders = [ build_dataloader( ds, cfg.data.samples_per_gpu, cfg.data.workers_per_gpu, # cfg.gpus will be ignored if distributed len(cfg.gpu_ids), dist=distributed, seed=cfg.seed) for ds in dataset ] # put model on gpus model = MMDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) # build model optimizer optimizer = build_optimizer(model, cfg.optimizer) # build runner PRunner = RUNNERS.get(cfg.runner) runner = PRunner(model, cfg, optimizer=optimizer, work_dir=cfg.work_dir, logger=logger, meta=meta) runner.timestamp = timestamp # register hooks; no opimizer_config & momentum_config runner.register_training_hooks(cfg.lr_config, checkpoint_config=cfg.checkpoint_config, log_config=cfg.log_config) # if distributed: # runner.register_hook(DistSamplerSeedHook()) # if cfg.resume_from: # runner.resume(cfg.resume_from) if cfg.load_from: runner.load_checkpoint(cfg.load_from) runner.run(data_loaders, cfg.workflow, cfg.total_epochs) def train_source_detector(model, dataset, cfg, distributed=False, timestamp=None, meta=None): # dataset: [src_dataset] logger = get_root_logger(cfg.log_level) data_loaders = [ build_dataloader( ds, cfg.data.samples_per_gpu, cfg.data.workers_per_gpu, # cfg.gpus will be ignored if distributed len(cfg.gpu_ids), dist=distributed, seed=cfg.seed) for ds in dataset ] # put model on gpus model = MMDataParallel(model.cuda(cfg.gpu_ids[0]), device_ids=cfg.gpu_ids) # build model optimizer optimizer = build_optimizer(model, cfg.optimizer) # build runner runner = EpochBasedRunner(model, optimizer=optimizer, work_dir=cfg.work_dir, logger=logger, meta=meta) runner.timestamp = timestamp # register hooks; no momentum_config; optimizer_config is required by EpochBasedRunner runner.register_training_hooks(cfg.lr_config, cfg.optimizer_config, checkpoint_config=cfg.checkpoint_config, log_config=cfg.log_config) # if distributed: # runner.register_hook(DistSamplerSeedHook()) # if cfg.resume_from: # runner.resume(cfg.resume_from) if cfg.load_from: runner.load_checkpoint(cfg.load_from) runner.run(data_loaders, cfg.workflow, cfg.total_epochs)
37.388013
139
0.679126
1,481
11,852
5.199865
0.103309
0.017141
0.025711
0.02649
0.804441
0.79652
0.79652
0.791586
0.791586
0.783924
0
0.001425
0.23051
11,852
316
140
37.506329
0.842982
0.20621
0
0.651515
0
0
0.029664
0.004712
0
0
0
0
0.010101
1
0.035354
false
0
0.060606
0
0.09596
0
0
0
0
null
0
0
0
1
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
6
c961ceefccd344a48e91dd88f7806d12bd5933ba
39,210
py
Python
tests/mc_simulator/test_stimulation.py
CuriBio/mantarray-desktop-app
e00ace0e8c04eca3ae79826c59a878b59e15f6ff
[ "MIT" ]
null
null
null
tests/mc_simulator/test_stimulation.py
CuriBio/mantarray-desktop-app
e00ace0e8c04eca3ae79826c59a878b59e15f6ff
[ "MIT" ]
253
2020-10-16T18:29:15.000Z
2022-03-31T21:27:56.000Z
tests/mc_simulator/test_stimulation.py
CuriBio/mantarray-desktop-app
e00ace0e8c04eca3ae79826c59a878b59e15f6ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from random import choice from random import randint from mantarray_desktop_app import convert_module_id_to_well_name from mantarray_desktop_app import convert_stim_dict_to_bytes from mantarray_desktop_app import convert_to_timestamp_bytes from mantarray_desktop_app import create_data_packet from mantarray_desktop_app import mc_simulator from mantarray_desktop_app import SERIAL_COMM_COMMAND_FAILURE_BYTE from mantarray_desktop_app import SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE from mantarray_desktop_app import SERIAL_COMM_COMMAND_SUCCESS_BYTE from mantarray_desktop_app import SERIAL_COMM_MAIN_MODULE_ID from mantarray_desktop_app import SERIAL_COMM_MAX_TIMESTAMP_VALUE from mantarray_desktop_app import SERIAL_COMM_SET_STIM_PROTOCOL_PACKET_TYPE from mantarray_desktop_app import SERIAL_COMM_START_STIM_PACKET_TYPE from mantarray_desktop_app import SERIAL_COMM_STIM_STATUS_PACKET_TYPE from mantarray_desktop_app import SERIAL_COMM_STOP_STIM_PACKET_TYPE from mantarray_desktop_app import SERIAL_COMM_TIMESTAMP_LENGTH_BYTES from mantarray_desktop_app import SERIAL_COMM_WELL_IDX_TO_MODULE_ID from mantarray_desktop_app import STIM_COMPLETE_SUBPROTOCOL_IDX from mantarray_desktop_app import STIM_MAX_NUM_SUBPROTOCOLS_PER_PROTOCOL from mantarray_desktop_app import StimStatuses from mantarray_desktop_app.constants import GENERIC_24_WELL_DEFINITION import pytest from stdlib_utils import invoke_process_run_and_check_errors from ..fixtures_mc_simulator import create_converted_stim_info from ..fixtures_mc_simulator import fixture_mantarray_mc_simulator from ..fixtures_mc_simulator import fixture_mantarray_mc_simulator_no_beacon from ..fixtures_mc_simulator import get_null_subprotocol from ..fixtures_mc_simulator import get_random_subprotocol from ..fixtures_mc_simulator import set_simulator_idle_ready from ..fixtures_mc_simulator import set_stim_info_and_start_stimulating from ..helpers import assert_serial_packet_is_expected from ..helpers import get_full_packet_size_from_packet_body_size from ..helpers import put_object_into_queue_and_raise_error_if_eventually_still_empty __fixtures__ = [ fixture_mantarray_mc_simulator, fixture_mantarray_mc_simulator_no_beacon, ] def test_MantarrayMcSimulator__processes_set_stimulation_protocol_command__when_stimulation_not_running_on_any_wells( mantarray_mc_simulator_no_beacon, ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) test_protocol_ids = ("A", "B", "E", None) stim_info_dict = { "protocols": [ { "protocol_id": protocol_id, "stimulation_type": choice(["C", "V"]), "run_until_stopped": choice([True, False]), "subprotocols": [ choice([get_random_subprotocol(), get_null_subprotocol(600)]) for _ in range(randint(1, 3)) ], } for protocol_id in test_protocol_ids[:-1] ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): choice(test_protocol_ids) for well_idx in range(24) }, } expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) set_protocols_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_SET_STIM_PROTOCOL_PACKET_TYPE, convert_stim_dict_to_bytes(stim_info_dict), ) simulator.write(set_protocols_command) invoke_process_run_and_check_errors(simulator) # assert that stim info was stored actual = simulator.get_stim_info() for protocol_idx in range(len(test_protocol_ids) - 1): del stim_info_dict["protocols"][protocol_idx][ "protocol_id" ] # the actual protocol ID letter is not included assert actual["protocols"][protocol_idx] == stim_info_dict["protocols"][protocol_idx], protocol_idx assert actual["protocol_assignments"] == { # indices of the protocol are used instead well_name: (None if protocol_id is None else test_protocol_ids.index(protocol_id)) for well_name, protocol_id in stim_info_dict["protocol_assignments"].items() } # assert command response is correct stim_command_response = simulator.read( size=get_full_packet_size_from_packet_body_size(SERIAL_COMM_TIMESTAMP_LENGTH_BYTES + 1) ) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([SERIAL_COMM_COMMAND_SUCCESS_BYTE]), ) def test_MantarrayMcSimulator__processes_set_stimulation_protocol_command__when_too_many_protocols_are_given( mantarray_mc_simulator_no_beacon, ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) test_protocol_ids = [chr(ord("A") + i) for i in range(25)] stim_info_dict = { "protocols": [ { "protocol_id": protocol_id, "stimulation_type": choice(["C", "V"]), "run_until_stopped": choice([True, False]), "subprotocols": [get_random_subprotocol()], } for protocol_id in test_protocol_ids ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): choice(test_protocol_ids) for well_idx in range(24) }, } expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) set_protocols_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_SET_STIM_PROTOCOL_PACKET_TYPE, convert_stim_dict_to_bytes(stim_info_dict), ) simulator.write(set_protocols_command) invoke_process_run_and_check_errors(simulator) # assert stim info was not updated assert simulator.get_stim_info() == {} # assert command response is correct stim_command_response = simulator.read( size=get_full_packet_size_from_packet_body_size(SERIAL_COMM_TIMESTAMP_LENGTH_BYTES + 1) ) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([SERIAL_COMM_COMMAND_FAILURE_BYTE]), ) @pytest.mark.parametrize( "test_num_module_assignments,test_description", [ (23, "returns command failure response when 23 module assignments given"), (25, "returns command failure response when 25 module assignments given"), ], ) def test_MantarrayMcSimulator__processes_set_stimulation_protocol_command__when_an_incorrect_amount_of_module_assignments_are_given( mantarray_mc_simulator_no_beacon, test_num_module_assignments, test_description ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) stim_info_dict = { "protocols": [ { "protocol_id": "V", "stimulation_type": choice(["C", "V"]), "run_until_stopped": choice([True, False]), "subprotocols": [get_random_subprotocol()], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "V" for well_idx in range(24) }, } stim_info_bytes = convert_stim_dict_to_bytes(stim_info_dict) # add or remove an assignment if test_num_module_assignments > 24: stim_info_bytes += bytes([0]) else: stim_info_bytes = stim_info_bytes[:-1] expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) set_protocols_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_SET_STIM_PROTOCOL_PACKET_TYPE, stim_info_bytes, ) simulator.write(set_protocols_command) invoke_process_run_and_check_errors(simulator) # assert stim info was not updated assert simulator.get_stim_info() == {} # assert command response is correct stim_command_response = simulator.read( size=get_full_packet_size_from_packet_body_size(SERIAL_COMM_TIMESTAMP_LENGTH_BYTES + 1) ) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([SERIAL_COMM_COMMAND_FAILURE_BYTE]), ) def test_MantarrayMcSimulator__processes_set_stimulation_protocol_command__when_too_many_subprotocols_given_in_a_single_protocol( mantarray_mc_simulator_no_beacon, ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) stim_info_dict = { "protocols": [ { "protocol_id": "O", "stimulation_type": choice(["C", "V"]), "run_until_stopped": choice([True, False]), "subprotocols": [ choice([get_random_subprotocol(), get_null_subprotocol(130)]) for _ in range(STIM_MAX_NUM_SUBPROTOCOLS_PER_PROTOCOL + 1) ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "O" for well_idx in range(24) }, } expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) set_protocols_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_SET_STIM_PROTOCOL_PACKET_TYPE, convert_stim_dict_to_bytes(stim_info_dict), ) simulator.write(set_protocols_command) invoke_process_run_and_check_errors(simulator) # assert stim info was not updated assert simulator.get_stim_info() == {} # assert command response is correct stim_command_response = simulator.read( size=get_full_packet_size_from_packet_body_size(SERIAL_COMM_TIMESTAMP_LENGTH_BYTES + 1) ) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([SERIAL_COMM_COMMAND_FAILURE_BYTE]), ) def test_MantarrayMcSimulator__processes_start_stimulation_command__before_protocols_have_been_set( mantarray_mc_simulator_no_beacon, ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) expected_stim_running_statuses = { convert_module_id_to_well_name(module_id): False for module_id in range(1, 25) } # send start stim command expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) start_stimulation_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_START_STIM_PACKET_TYPE, ) simulator.write(start_stimulation_command) invoke_process_run_and_check_errors(simulator) # assert that stimulation was not started on any wells assert simulator.get_stim_running_statuses() == expected_stim_running_statuses # assert command response is correct expected_size = get_full_packet_size_from_packet_body_size(SERIAL_COMM_TIMESTAMP_LENGTH_BYTES + 1) stim_command_response = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([SERIAL_COMM_COMMAND_FAILURE_BYTE]), ) # TODO Tanner (10/5/21): consider setting one protocol to run longer than all others and try sending this command when only that one is left running and assert that the stim statuses didn't change def test_MantarrayMcSimulator__processes_start_stimulation_command__after_protocols_have_been_set( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") # mock so no protocol status packets are sent mocker.patch.object(mc_simulator, "_get_us_since_subprotocol_start", autospec=True, return_value=0) # set single arbitrary protocol applied to wells randomly stim_info = simulator.get_stim_info() stim_info["protocols"] = [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [get_random_subprotocol()], } ] stim_info["protocol_assignments"] = { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): choice(["A", None]) if well_idx else "A" for well_idx in range(24) } expected_stim_running_statuses = { well_name: bool(protocol_id) for well_name, protocol_id in stim_info["protocol_assignments"].items() } for response_byte_value in ( SERIAL_COMM_COMMAND_SUCCESS_BYTE, SERIAL_COMM_COMMAND_FAILURE_BYTE, ): # send start stim command expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) start_stimulation_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_START_STIM_PACKET_TYPE, ) simulator.write(start_stimulation_command) invoke_process_run_and_check_errors(simulator) # assert that stimulation was started on wells that were assigned a protocol assert simulator.get_stim_running_statuses() == expected_stim_running_statuses # assert command response is correct additional_bytes = convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([response_byte_value]) if not response_byte_value: additional_bytes += spied_global_timer.spy_return.to_bytes(8, byteorder="little") expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_command_response = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__processes_stop_stimulation_command(mantarray_mc_simulator_no_beacon, mocker): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") # set single arbitrary protocol applied to wells randomly stim_info = simulator.get_stim_info() stim_info["protocols"] = [ { "protocol_id": "B", "stimulation_type": "V", "run_until_stopped": True, "subprotocols": [get_random_subprotocol()], } ] stim_info["protocol_assignments"] = { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): choice(["B", None]) if well_idx else "B" for well_idx in range(24) } initial_stim_running_statuses = { well_name: bool(protocol_id) for well_name, protocol_id in stim_info["protocol_assignments"].items() } simulator.get_stim_running_statuses().update(initial_stim_running_statuses) for response_byte_value in ( SERIAL_COMM_COMMAND_SUCCESS_BYTE, SERIAL_COMM_COMMAND_FAILURE_BYTE, ): # send start stim command expected_pc_timestamp = randint(0, SERIAL_COMM_MAX_TIMESTAMP_VALUE) stop_stimulation_command = create_data_packet( expected_pc_timestamp, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STOP_STIM_PACKET_TYPE, ) simulator.write(stop_stimulation_command) invoke_process_run_and_check_errors(simulator) # make sure finished status updates are sent if command succeeded if response_byte_value == SERIAL_COMM_COMMAND_SUCCESS_BYTE: status_update_bytes = bytes([sum(initial_stim_running_statuses.values())]) for well_name in simulator.get_stim_running_statuses().keys(): if not initial_stim_running_statuses[well_name]: continue well_idx = GENERIC_24_WELL_DEFINITION.get_well_index_from_well_name(well_name) status_update_bytes += ( bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[well_idx]]) + bytes([StimStatuses.FINISHED]) + (spied_global_timer.spy_return).to_bytes(8, byteorder="little") + bytes([STIM_COMPLETE_SUBPROTOCOL_IDX]) ) expected_size = get_full_packet_size_from_packet_body_size(len(status_update_bytes)) stim_command_response = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=status_update_bytes, ) # assert that stimulation was stopped on all wells assert simulator.get_stim_running_statuses() == { convert_module_id_to_well_name(module_id): False for module_id in range(1, 25) } # assert command response is correct additional_bytes = convert_to_timestamp_bytes(expected_pc_timestamp) + bytes([response_byte_value]) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_command_response = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_command_response, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_COMMAND_RESPONSE_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_protocol_status_packet_for_initial_subprotocol_on_each_well_when_stim_starts( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] testing_queue = mantarray_mc_simulator_no_beacon["testing_queue"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[0, 1, 0], ) test_well_idxs = (0, 5, 9) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [get_random_subprotocol(), get_random_subprotocol()], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): ( "A" if well_idx in test_well_idxs else None ) for well_idx in range(24) }, } ) put_object_into_queue_and_raise_error_if_eventually_still_empty( {"command": "set_stim_info", "stim_info": test_stim_info}, testing_queue ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 put_object_into_queue_and_raise_error_if_eventually_still_empty( {"command": "set_stim_status", "status": True}, testing_queue ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 num_status_updates = len(test_well_idxs) additional_bytes = bytes([num_status_updates]) for well_idx in test_well_idxs: additional_bytes += ( bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[well_idx]]) + bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return).to_bytes(8, byteorder="little") + bytes([0]) # subprotocol idx ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_protocol_status_packet_when_a_new_subprotocol_starts_on_a_single_well( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms = 50 test_well_idx = randint(0, 23) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms), get_random_subprotocol(), ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "A" if well_idx == test_well_idx else None for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[test_duration_ms * int(1e3) - 1, test_duration_ms * int(1e3), 0], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 additional_bytes = ( bytes([1]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + test_duration_ms * int(1e3)).to_bytes(8, byteorder="little") + bytes([1]) # subprotocol idx ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_protocol_status_packets_when_multiple_wells_running_the_same_protocol_reach_a_new_subprotocol( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms = 500 test_well_idxs = (0, 10) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms), get_random_subprotocol(), ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "A" if well_idx in test_well_idxs else None for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[test_duration_ms * int(1e3) - 1, test_duration_ms * int(1e3), 0], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 status_bytes = ( bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + test_duration_ms * int(1e3)).to_bytes(8, byteorder="little") + bytes([1]) # subprotocol idx ) additional_bytes = ( bytes([2]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idxs[0]]]) + status_bytes + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idxs[1]]]) + status_bytes ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_multiple_protocol_status_packets_if_multiple_subprotocol_updates_have_occured_on_a_single_well( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms_1 = 60 test_duration_ms_2 = 100 test_well_idx = randint(0, 23) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms_1), get_random_subprotocol(total_active_duration=test_duration_ms_2), get_random_subprotocol(), ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "A" if well_idx == test_well_idx else None for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[ test_duration_ms_1 * int(1e3) - 1, (test_duration_ms_1 + test_duration_ms_2) * int(1e3), 0, ], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 status_bytes_1 = ( bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + test_duration_ms_1 * int(1e3)).to_bytes(8, byteorder="little") + bytes([1]) # subprotocol idx ) status_bytes_2 = ( bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + (test_duration_ms_1 + test_duration_ms_2) * int(1e3)).to_bytes( 8, byteorder="little" ) + bytes([2]) # subprotocol idx ) additional_bytes = ( bytes([2]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + status_bytes_1 + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + status_bytes_2 ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_multiple_protocol_status_packets_if_subprotocol_updates_occur_for_two_wells_with_different_protocols( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms_1 = 650 test_duration_ms_2 = 670 test_well_idxs = (4, 8) protocol_id_iter = iter(["A", "B"]) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms_1), get_random_subprotocol(), ], }, { "protocol_id": "B", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms_2), get_random_subprotocol(), ], }, ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): ( next(protocol_id_iter) if well_idx in test_well_idxs else None ) for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[ test_duration_ms_1 * int(1e3) - 1, test_duration_ms_2 * int(1e3) - 1, test_duration_ms_1 * int(1e3), test_duration_ms_2 * int(1e3), 0, ], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 status_bytes_1 = ( bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + test_duration_ms_1 * int(1e3)).to_bytes(8, byteorder="little") + bytes([1]) # subprotocol idx ) status_bytes_2 = ( bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + test_duration_ms_2 * int(1e3)).to_bytes(8, byteorder="little") + bytes([1]) # subprotocol idx ) additional_bytes = ( bytes([2]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idxs[0]]]) + status_bytes_1 + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idxs[1]]]) + status_bytes_2 ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_protocol_status_with_null_status_correctly( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms = 75 test_well_idx = randint(0, 23) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms), get_null_subprotocol(10), ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "A" if well_idx == test_well_idx else None for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[test_duration_ms * int(1e3) - 1, test_duration_ms * int(1e3), 0], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 additional_bytes = ( bytes([1]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + bytes([StimStatuses.NULL]) + (spied_global_timer.spy_return + test_duration_ms * int(1e3)).to_bytes(8, byteorder="little") + bytes([1]) # subprotocol idx ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_protocol_status_with_restarting_status_correctly( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms = 59 test_well_idx = randint(0, 23) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": True, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms), ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "A" if well_idx == test_well_idx else None for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[test_duration_ms * int(1e3) - 1, test_duration_ms * int(1e3), 0], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 additional_bytes = ( bytes([2]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + bytes([StimStatuses.RESTARTING]) + (spied_global_timer.spy_return + test_duration_ms * int(1e3)).to_bytes(8, byteorder="little") + bytes([0]) # subprotocol idx + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + bytes([StimStatuses.ACTIVE]) + (spied_global_timer.spy_return + test_duration_ms * int(1e3)).to_bytes(8, byteorder="little") + bytes([0]) # subprotocol idx ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) def test_MantarrayMcSimulator__sends_protocol_status_with_finished_status_correctly__and_stops_stim_on_the_finished_well( mantarray_mc_simulator_no_beacon, mocker ): simulator = mantarray_mc_simulator_no_beacon["simulator"] set_simulator_idle_ready(mantarray_mc_simulator_no_beacon) spied_global_timer = mocker.spy(simulator, "_get_global_timer") test_duration_ms = 63 test_well_idx = randint(0, 23) test_stim_info = create_converted_stim_info( { "protocols": [ { "protocol_id": "A", "stimulation_type": "C", "run_until_stopped": False, "subprotocols": [ get_random_subprotocol(total_active_duration=test_duration_ms), ], } ], "protocol_assignments": { GENERIC_24_WELL_DEFINITION.get_well_name_from_well_index(well_idx): "A" if well_idx == test_well_idx else None for well_idx in range(24) }, } ) set_stim_info_and_start_stimulating(mantarray_mc_simulator_no_beacon, test_stim_info) mocker.patch.object( mc_simulator, "_get_us_since_subprotocol_start", autospec=True, side_effect=[ test_duration_ms * int(1e3) - 1, test_duration_ms * int(1e3), test_duration_ms * int(1e3), ], ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0 invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting > 0 additional_bytes = ( bytes([1]) # number of status updates in this packet + bytes([SERIAL_COMM_WELL_IDX_TO_MODULE_ID[test_well_idx]]) + bytes([StimStatuses.FINISHED]) + (spied_global_timer.spy_return + test_duration_ms * int(1e3)).to_bytes(8, byteorder="little") + bytes([STIM_COMPLETE_SUBPROTOCOL_IDX]) ) expected_size = get_full_packet_size_from_packet_body_size(len(additional_bytes)) stim_status_packet = simulator.read(size=expected_size) assert_serial_packet_is_expected( stim_status_packet, SERIAL_COMM_MAIN_MODULE_ID, SERIAL_COMM_STIM_STATUS_PACKET_TYPE, additional_bytes=additional_bytes, ) invoke_process_run_and_check_errors(simulator) assert simulator.in_waiting == 0
39.327984
196
0.688064
4,704
39,210
5.184736
0.056973
0.037722
0.046742
0.049613
0.907171
0.888064
0.854443
0.832711
0.823896
0.803641
0
0.010325
0.241673
39,210
996
197
39.36747
0.809915
0.041239
0
0.672434
0
0
0.061813
0.008602
0
0
0
0.001004
0.048443
1
0.017301
false
0
0.039216
0
0.056517
0
0
0
0
null
0
0
0
1
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
6
c9862b10163575a262eefd94b0859bb1f72b08d1
41
py
Python
src/vredditMerger/__init__.py
KGBTR/Reddit-Save-Bot
b5e1ef955a0bb51c6caa1499b269c61b48468ce7
[ "MIT" ]
1
2021-03-19T18:23:31.000Z
2021-03-19T18:23:31.000Z
src/vredditMerger/__init__.py
KGBTR/Reddit-Save-Bot
b5e1ef955a0bb51c6caa1499b269c61b48468ce7
[ "MIT" ]
null
null
null
src/vredditMerger/__init__.py
KGBTR/Reddit-Save-Bot
b5e1ef955a0bb51c6caa1499b269c61b48468ce7
[ "MIT" ]
null
null
null
from .vredditMerger import vredditMerger
20.5
40
0.878049
4
41
9
0.75
0
0
0
0
0
0
0
0
0
0
0
0.097561
41
1
41
41
0.972973
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
1
0
0
6
a36697cd28d589f8ee43484f39f074fa4f879de5
76
py
Python
elabjournal/elabjournal/Samples.py
matthijsbrouwer/elabjournal-python
4063b01993f0bf17ea2857009c1bedc5ace8b87b
[ "Apache-2.0" ]
2
2021-06-29T11:17:27.000Z
2022-01-11T18:41:49.000Z
elabjournal/elabjournal/Samples.py
matthijsbrouwer/elabjournal-python
4063b01993f0bf17ea2857009c1bedc5ace8b87b
[ "Apache-2.0" ]
null
null
null
elabjournal/elabjournal/Samples.py
matthijsbrouwer/elabjournal-python
4063b01993f0bf17ea2857009c1bedc5ace8b87b
[ "Apache-2.0" ]
1
2019-06-06T13:23:11.000Z
2019-06-06T13:23:11.000Z
from .eLABJournalPager import * class Samples(eLABJournalPager): pass
12.666667
32
0.763158
7
76
8.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.171053
76
6
33
12.666667
0.920635
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
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
1
1
0
1
0
0
6
a38c3d467854ee510d75f39d855670e0cfb5c3e5
26
py
Python
sample-a/app.py
kelsk/k8s-next-21
cdcf39f17ce962e834d8e741ca9b56719bb06080
[ "Apache-2.0" ]
1
2021-11-24T04:55:54.000Z
2021-11-24T04:55:54.000Z
sample-a/app.py
kelsk/k8s-next-21
cdcf39f17ce962e834d8e741ca9b56719bb06080
[ "Apache-2.0" ]
1
2021-10-12T00:26:56.000Z
2021-10-12T00:26:56.000Z
sample-a/app.py
kelsk/k8s-next-21
cdcf39f17ce962e834d8e741ca9b56719bb06080
[ "Apache-2.0" ]
null
null
null
print('Hello Kubernetes!')
26
26
0.769231
3
26
6.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.038462
26
1
26
26
0.8
0
0
0
0
0
0.62963
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
6
a393ea83ecb35d4157c9a26c84a8e15ee72761b9
337
py
Python
ever/core/device.py
Bobholamovic/ever
f38060674a40ed53072b9d9be99cc656a830398f
[ "Apache-2.0" ]
22
2021-08-21T00:13:18.000Z
2022-03-28T19:38:10.000Z
ever/core/device.py
Bobholamovic/ever
f38060674a40ed53072b9d9be99cc656a830398f
[ "Apache-2.0" ]
2
2021-09-01T06:28:38.000Z
2021-12-06T07:17:57.000Z
ever/core/device.py
Bobholamovic/ever
f38060674a40ed53072b9d9be99cc656a830398f
[ "Apache-2.0" ]
6
2021-08-21T06:32:47.000Z
2022-02-10T07:41:29.000Z
import torch __all__ = ['auto_device', ] def auto_device(): return torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu') def cpu_device(): return torch.device('cpu') def gpu_device(id=None): if id: return torch.device(f'cuda:{id}') else: return torch.device('cuda')
16.85
85
0.623145
46
337
4.369565
0.369565
0.273632
0.338308
0.228856
0
0
0
0
0
0
0
0
0.228487
337
19
86
17.736842
0.773077
0
0
0
0
0
0.10089
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.666667
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
1
1
0
0
6
6e5dfe69f71b4949185a8919d715a077732ef620
143
py
Python
src/dicomweb_client/error.py
codezizo/dicomweb-client
fc92899b008da7e4dfc092b50b645de55f0b6655
[ "MIT" ]
null
null
null
src/dicomweb_client/error.py
codezizo/dicomweb-client
fc92899b008da7e4dfc092b50b645de55f0b6655
[ "MIT" ]
null
null
null
src/dicomweb_client/error.py
codezizo/dicomweb-client
fc92899b008da7e4dfc092b50b645de55f0b6655
[ "MIT" ]
null
null
null
'''Custom error classes''' import requests class DICOMJSONError(ValueError): '''Exception class for malformatted DICOM JSON.''' pass
17.875
54
0.72028
15
143
6.866667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.167832
143
7
55
20.428571
0.865546
0.454545
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
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
1
1
0
1
0
0
6
6e64594107fbc51600a553c0d5d51125e93a1be4
125
py
Python
app/weixin/__init__.py
youqingkui/wx.youqingkui.me
e0d8f85431b7c4f935f5688374c24f5253299221
[ "MIT" ]
1
2016-05-13T08:43:34.000Z
2016-05-13T08:43:34.000Z
app/weixin/__init__.py
youqingkui/wx.youqingkui.me
e0d8f85431b7c4f935f5688374c24f5253299221
[ "MIT" ]
null
null
null
app/weixin/__init__.py
youqingkui/wx.youqingkui.me
e0d8f85431b7c4f935f5688374c24f5253299221
[ "MIT" ]
null
null
null
#!/usr/bin/env python #coding=utf-8 from flask import Blueprint weixin = Blueprint('weixin', __name__) from . import views
15.625
38
0.744
18
125
4.944444
0.777778
0.337079
0
0
0
0
0
0
0
0
0
0.009259
0.136
125
8
39
15.625
0.814815
0.256
0
0
0
0
0.065217
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
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
0
0
1
0
1
1
0
6
6ea4d87464401ad48be1046a8f674729d715600f
96
py
Python
venv/lib/python3.8/site-packages/clikit/handler/help/__init__.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/clikit/handler/help/__init__.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/clikit/handler/help/__init__.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/83/a7/6d/f06896d8dc3a4b6283a4607ce8be07f5f9ef99063885af48a610bd0095
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.4375
0
96
1
96
96
0.458333
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
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
6ec0040ac2403e5fe5643d71adc6fe5f3c21a490
65
py
Python
lab/db/__init__.py
ParanoiaSYT/Qulab-backup
09ec5457145b3789d4c1ac02c43dd3e6dfafc96f
[ "MIT" ]
null
null
null
lab/db/__init__.py
ParanoiaSYT/Qulab-backup
09ec5457145b3789d4c1ac02c43dd3e6dfafc96f
[ "MIT" ]
null
null
null
lab/db/__init__.py
ParanoiaSYT/Qulab-backup
09ec5457145b3789d4c1ac02c43dd3e6dfafc96f
[ "MIT" ]
null
null
null
from . import query from . import schema from . import update
16.25
21
0.723077
9
65
5.222222
0.555556
0.638298
0
0
0
0
0
0
0
0
0
0
0.230769
65
3
22
21.666667
0.94
0
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
1
0
0
6
6eeaf97cafffc7051162061057b196b13629a4ce
25
py
Python
binding/python/eigen_qld/__init__.py
gergondet/eigen-qld
47c09782fa15a6b43d8c4b1852c64d06dc517352
[ "BSD-2-Clause" ]
13
2017-09-15T09:02:01.000Z
2021-09-02T18:03:17.000Z
binding/python/eigen_qld/__init__.py
gergondet/eigen-qld
47c09782fa15a6b43d8c4b1852c64d06dc517352
[ "BSD-2-Clause" ]
9
2017-01-13T18:19:00.000Z
2020-06-24T04:10:19.000Z
binding/python/eigen_qld/__init__.py
gergondet/eigen-qld
47c09782fa15a6b43d8c4b1852c64d06dc517352
[ "BSD-2-Clause" ]
11
2016-10-26T17:28:42.000Z
2020-06-11T11:43:45.000Z
from .eigen_qld import *
12.5
24
0.76
4
25
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.857143
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
1
0
0
6
42d588283f78365acaf4c2f34797ab5d5e6f522e
147
py
Python
Curso de Cisco/Actividades/existen en una lista o no (uso de in y not in).py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/existen en una lista o no (uso de in y not in).py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
Curso de Cisco/Actividades/existen en una lista o no (uso de in y not in).py
tomasfriz/Curso-de-Cisco
a50ee5fa96bd86d468403e29ccdc3565a181af60
[ "MIT" ]
null
null
null
miLista = ["A", "B", 1, 2] print("A" in miLista) # salida: True print("C" not in miLista) # salida: True print(2 not in miLista) # salidas: False
24.5
40
0.639456
25
147
3.76
0.52
0.287234
0.319149
0.404255
0.510638
0
0
0
0
0
0
0.025
0.183673
147
5
41
29.4
0.758333
0.272109
0
0
0
0
0.038835
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
1
0
6
42e61ae6d9d25cc5943ade6fb802a129200bb979
21
py
Python
shared/__init__.py
asyre/bachelor_degree
274415a32dc642ecde53935d6b9c8bb23d21cf29
[ "MIT" ]
null
null
null
shared/__init__.py
asyre/bachelor_degree
274415a32dc642ecde53935d6b9c8bb23d21cf29
[ "MIT" ]
null
null
null
shared/__init__.py
asyre/bachelor_degree
274415a32dc642ecde53935d6b9c8bb23d21cf29
[ "MIT" ]
null
null
null
from .cisco import *
10.5
20
0.714286
3
21
5
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
0.882353
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
1
0
0
6
288526197b734129a50f5f6dba8ebab38215e908
1,237
py
Python
extensions/.stubs/clrclasses/Autodesk/AutoCAD/Internal/PreviousInput/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
1
2020-03-25T03:27:24.000Z
2020-03-25T03:27:24.000Z
extensions/.stubs/clrclasses/Autodesk/AutoCAD/Internal/PreviousInput/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
extensions/.stubs/clrclasses/Autodesk/AutoCAD/Internal/PreviousInput/__init__.py
vicwjb/Pycad
7391cd694b7a91ad9f9964ec95833c1081bc1f84
[ "MIT" ]
null
null
null
from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import AcPiMonitorReactorImpl from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import CommandLineMonitor from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import CommandLineMonitorServices from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import GetAngleEventHandler from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import GetDistanceEventHandler from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import GetInputEventArgs from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import GetInputEventHandler from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import InputControlFlags from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import InputModes from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import InputStringEventArgs from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import InputStringEventHandler from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import SelectEventHandler from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import SelectOperationEventArgs from __clrclasses__.Autodesk.AutoCAD.Internal.PreviousInput import SelectOperationEventHandler
82.466667
94
0.909458
112
1,237
9.544643
0.1875
0.183349
0.28812
0.379794
0.733396
0.733396
0.733396
0
0
0
0
0
0.045271
1,237
14
95
88.357143
0.905165
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
1
1
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
0
0
0
6
9599b14e85c81ace194095cc1e7f062661cf7418
135
py
Python
swerve/core/pyside.py
Swerved/Hulkster
a7b5fd9cefe17032d3a738247cb2633d3ecddb31
[ "blessing" ]
null
null
null
swerve/core/pyside.py
Swerved/Hulkster
a7b5fd9cefe17032d3a738247cb2633d3ecddb31
[ "blessing" ]
null
null
null
swerve/core/pyside.py
Swerved/Hulkster
a7b5fd9cefe17032d3a738247cb2633d3ecddb31
[ "blessing" ]
null
null
null
import os import PySide2 def pyside_path(): """ Return Path to Pyside Lib""" return print(os.path.dirname(PySide2.__file__))
16.875
51
0.703704
19
135
4.736842
0.631579
0
0
0
0
0
0
0
0
0
0
0.018018
0.177778
135
7
52
19.285714
0.792793
0.185185
0
0
0
0
0
0
0
0
0
0
0
1
0.25
true
0
0.5
0
1
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
1
0
1
0
1
0
0
6
95dc367457e2c634e77a3b8c6b0f139b6e81e1ab
123
py
Python
s3/__init__.py
AparnaKarve/aiops-data-collector
60bd681038e5941976904d0c2ee93cecb2f3975b
[ "Apache-2.0" ]
null
null
null
s3/__init__.py
AparnaKarve/aiops-data-collector
60bd681038e5941976904d0c2ee93cecb2f3975b
[ "Apache-2.0" ]
null
null
null
s3/__init__.py
AparnaKarve/aiops-data-collector
60bd681038e5941976904d0c2ee93cecb2f3975b
[ "Apache-2.0" ]
null
null
null
"""S3 Data storage interface.""" from .s3 import connect, fetch, list_files __all__ = ["connect", "fetch", "list_files"]
20.5
44
0.691057
16
123
4.9375
0.6875
0.303797
0.405063
0.531646
0
0
0
0
0
0
0
0.018868
0.138211
123
5
45
24.6
0.726415
0.211382
0
0
0
0
0.241758
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
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
1
0
0
0
0
6
2509f3895179aa4705be4fa76457d9cddb5965dd
42
py
Python
apps/shop/__init__.py
iZonex/VapeShop
7cc5081f6e9ca5171099ef7c134a5c76821cc302
[ "Apache-2.0" ]
null
null
null
apps/shop/__init__.py
iZonex/VapeShop
7cc5081f6e9ca5171099ef7c134a5c76821cc302
[ "Apache-2.0" ]
null
null
null
apps/shop/__init__.py
iZonex/VapeShop
7cc5081f6e9ca5171099ef7c134a5c76821cc302
[ "Apache-2.0" ]
null
null
null
from .routes import * from .view import *
14
21
0.714286
6
42
5
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.190476
42
2
22
21
0.882353
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
1
0
0
6
2521274c91f9c084c40a68edf784cf800c45edd7
691
py
Python
data/train/python/46afacc73e3133d2a09c751333595eacae4cb7c4controller_rpc_handler.py
harshp8l/deep-learning-lang-detection
2a54293181c1c2b1a2b840ddee4d4d80177efb33
[ "MIT" ]
84
2017-10-25T15:49:21.000Z
2021-11-28T21:25:54.000Z
data/train/python/46afacc73e3133d2a09c751333595eacae4cb7c4controller_rpc_handler.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
5
2018-03-29T11:50:46.000Z
2021-04-26T13:33:18.000Z
data/train/python/46afacc73e3133d2a09c751333595eacae4cb7c4controller_rpc_handler.py
vassalos/deep-learning-lang-detection
cbb00b3e81bed3a64553f9c6aa6138b2511e544e
[ "MIT" ]
24
2017-11-22T08:31:00.000Z
2022-03-27T01:22:31.000Z
class ControllerRPCHandler: def __init__(self, controllerInstance): self.controllerInstance = controllerInstance def prejoin(self, requester): return self.controllerInstance.prejoin(requester) def join(self, requester, nodes, distances, topic): return self.controllerInstance.join(requester, nodes, distances, topic) def leave(self, requester, topic): return self.controllerInstance.leave(requester, topic) def complain(self, requester, offender): return self.controllerInstance.complain(requester, offender) def root(self, topic): return self.controllerInstance.treeRoot(topic) def ping(self): return True
43.1875
79
0.723589
69
691
7.188406
0.289855
0.310484
0.282258
0.199597
0
0
0
0
0
0
0
0
0.18958
691
15
80
46.066667
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0.466667
false
0
0
0.4
0.933333
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
1
1
0
0
6
257192c744aaf2c8a35a2883559b3beaf893e1c6
335
py
Python
src/pytkdocs/parsers/docstrings/__init__.py
plannigan/pytkdocs
f2f58520d7cd2561f957e6da03c2acd776b39b59
[ "ISC" ]
null
null
null
src/pytkdocs/parsers/docstrings/__init__.py
plannigan/pytkdocs
f2f58520d7cd2561f957e6da03c2acd776b39b59
[ "ISC" ]
null
null
null
src/pytkdocs/parsers/docstrings/__init__.py
plannigan/pytkdocs
f2f58520d7cd2561f957e6da03c2acd776b39b59
[ "ISC" ]
null
null
null
"""The parsers' package.""" from typing import Dict, Type from pytkdocs.parsers.docstrings.base import Parser from pytkdocs.parsers.docstrings.google import Google from pytkdocs.parsers.docstrings.restructured_text import RestructuredText PARSERS: Dict[str, Type[Parser]] = {"google": Google, "restructured-text": RestructuredText}
33.5
92
0.802985
40
335
6.7
0.425
0.134328
0.212687
0.324627
0
0
0
0
0
0
0
0
0.092537
335
9
93
37.222222
0.881579
0.062687
0
0
0
0
0.074675
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
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
6
c271857c29b16a46721580bfd99b0e0f6861c023
89
py
Python
python/pathlib/origin/cwd_home.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/pathlib/origin/cwd_home.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
python/pathlib/origin/cwd_home.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
from pathlib import Path print(f'현재 디렉터리: {Path.cwd()}') print(f'홈 디렉터리: {Path.home()}')
22.25
31
0.662921
16
89
3.6875
0.6875
0.20339
0
0
0
0
0
0
0
0
0
0
0.11236
89
4
32
22.25
0.746835
0
0
0
0
0
0.466667
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.666667
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
1
0
6
c290352d0f7cb9b9ea236c6897811c16d43761ad
90
py
Python
my/vk/all.py
aluhrs13/HPI
e750666e30e8987f3a4c46755857dc85dd64446c
[ "MIT" ]
1,026
2020-03-16T16:53:29.000Z
2022-03-29T16:03:38.000Z
my/vk/all.py
aluhrs13/HPI
e750666e30e8987f3a4c46755857dc85dd64446c
[ "MIT" ]
102
2020-03-18T22:53:29.000Z
2022-03-22T00:34:46.000Z
my/vk/all.py
aluhrs13/HPI
e750666e30e8987f3a4c46755857dc85dd64446c
[ "MIT" ]
50
2020-03-17T21:00:34.000Z
2022-03-28T08:37:13.000Z
def messages(): from . import vk_messages_backup as VMB yield from VMB.messages()
22.5
43
0.711111
13
90
4.769231
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.211111
90
3
44
30
0.873239
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
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
1
1
0
1
0
1
0
0
6
c2910c1abf3e2ff38dd0a7033563313bc9f975a3
4,742
py
Python
script/debug ast/ast_Nesting.py
virtuNat/discord.ATH
fb6473708cc0c1db2d5d5ba48ea53c1d6a8b0bb9
[ "MIT" ]
2
2017-12-12T03:34:59.000Z
2017-12-17T22:33:37.000Z
script/debug ast/ast_Nesting.py
GiovanH/discord.-ATH
aa73ccd56736525a7f7018e4e11ab5b6ea706e88
[ "MIT" ]
null
null
null
script/debug ast/ast_Nesting.py
GiovanH/discord.-ATH
aa73ccd56736525a7f7018e4e11ab5b6ea706e88
[ "MIT" ]
2
2017-11-16T03:43:24.000Z
2017-11-30T06:07:37.000Z
#!/usr/bin/env python from athstmt import * from athinterpreter import TildeAthInterp stmts = AthStatementList([ TildeAthLoop(False, AthStatementList([ AthTokenStatement('input', [IdentifierToken('NUM'), LiteralToken('Enter a number: ', str)]), CondiJump([BnaryExpr(['<', IdentifierToken('NUM'), LiteralToken(8, int)]), 40]), AthTokenStatement('print', [LiteralToken('Your number is less than 8.\\n', str)]), CondiJump([BnaryExpr(['<', IdentifierToken('NUM'), LiteralToken(4, int)]), 19]), AthTokenStatement('print', [LiteralToken('Your number is less than 4.\\n', str)]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(3, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 3.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 46]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(2, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 2.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 42]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(1, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 1.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 38]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(0, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 0.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 34]), AthTokenStatement('print', [LiteralToken('Negative? How deplorable.\\n', str)]), CondiJump([None, 32]), CondiJump([BnaryExpr(['>', IdentifierToken('NUM'), LiteralToken(4, int)]), 15]), AthTokenStatement('print', [LiteralToken('Your number is more than 4.\\n', str)]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(5, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 5.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 26]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(6, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 6.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 22]), CondiJump([BnaryExpr(['==', IdentifierToken('NUM'), LiteralToken(7, int)]), 3]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 7.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 18]), AthTokenStatement('print', [LiteralToken('This should never fuckin print.\\n', str)]), CondiJump([None, 16]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 4.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 13]), CondiJump([BnaryExpr(['>', IdentifierToken('NUM'), LiteralToken(8, int)]), 10]), AthTokenStatement('print', [LiteralToken('Your number is more than 8.\\n', str)]), CondiJump([BnaryExpr(['<', IdentifierToken('NUM'), LiteralToken(12, int)]), 2]), AthTokenStatement('print', [LiteralToken('Your number is less than 12.\\n', str)]), CondiJump([None, 8]), CondiJump([BnaryExpr(['>', IdentifierToken('NUM'), LiteralToken(12, int)]), 2]), AthTokenStatement('print', [LiteralToken('Your number is more than 12.\\n', str)]), CondiJump([None, 5]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 12.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), CondiJump([None, 2]), AthTokenStatement('print', [LiteralToken('Congrats, your number is 8.\\n', str)]), AthTokenStatement('print', [LiteralToken('Look at how achieved you are.\\n', str)]), AthTokenStatement('print', [LiteralToken('Time to end the program, mate.\\n', str)]), AthTokenStatement('DIE', [IdentifierToken('THIS')]), ], pendant='THIS'), AthTokenStatement('EXECUTE', [IdentifierToken('NULL')])) ], pendant='THIS') if __name__ == '__main__': TildeAthInterp().exec_stmts('Nesting.~ATH', stmts)
67.742857
100
0.628427
494
4,742
6.01417
0.174089
0.214743
0.331875
0.157523
0.809828
0.717604
0.703803
0.595422
0.52272
0.32548
0
0.018921
0.175243
4,742
69
101
68.724638
0.740731
0.004218
0
0.151515
0
0
0.248252
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.030303
0.439394
0
0
0
null
1
1
0
1
1
1
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
0
0
1
0
6
c2a960a3883e81d437b175f7b57c1054ab34b579
151
py
Python
market/core/signals.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
market/core/signals.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
market/core/signals.py
katomaso/django-market
84c4fa10aefbd792a956cef3d727623ca78cb5fd
[ "MIT" ]
null
null
null
from django.dispatch import Signal vendor_open = Signal(providing_args=["instance", "created"]) vendor_closed = Signal(providing_args=["instance", ])
30.2
60
0.774834
18
151
6.277778
0.666667
0.265487
0.336283
0.477876
0
0
0
0
0
0
0
0
0.086093
151
4
61
37.75
0.818841
0
0
0
0
0
0.152318
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
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
1
0
0
0
0
6
c2e59c126dc3f41fa5637eb19aa2e5be9c6c6aa2
41
py
Python
backend/backend/settings/staging.py
shearichard/django-react-todo-demo
04b2222e24d02dbb37a063135311652f4ceb6710
[ "Apache-2.0" ]
null
null
null
backend/backend/settings/staging.py
shearichard/django-react-todo-demo
04b2222e24d02dbb37a063135311652f4ceb6710
[ "Apache-2.0" ]
null
null
null
backend/backend/settings/staging.py
shearichard/django-react-todo-demo
04b2222e24d02dbb37a063135311652f4ceb6710
[ "Apache-2.0" ]
null
null
null
#settings/staging.py from .base import *
13.666667
20
0.756098
6
41
5.166667
1
0
0
0
0
0
0
0
0
0
0
0
0.121951
41
2
21
20.5
0.861111
0.463415
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
1
0
0
6
c2f641ac54b6d8f6aff1bee23a8a326ee5b199cf
704
py
Python
examples/requests-ssl-verify-disabled.py
mikelolasagasti/bandit
3dca7820158ea04668878186a29d34e81bbd7fe3
[ "Apache-2.0" ]
4,016
2018-04-26T13:01:54.000Z
2022-03-31T15:57:41.000Z
examples/requests-ssl-verify-disabled.py
lweslen/bandit
2bd1ffaae1b83102af8587dcbeecd0b402dbec4e
[ "Apache-2.0" ]
570
2018-04-26T10:07:41.000Z
2022-03-29T18:55:09.000Z
examples/requests-ssl-verify-disabled.py
lweslen/bandit
2bd1ffaae1b83102af8587dcbeecd0b402dbec4e
[ "Apache-2.0" ]
484
2018-04-26T09:59:46.000Z
2022-03-31T18:00:50.000Z
import requests requests.get('https://gmail.com', verify=True) requests.get('https://gmail.com', verify=False) requests.post('https://gmail.com', verify=True) requests.post('https://gmail.com', verify=False) requests.put('https://gmail.com', verify=True) requests.put('https://gmail.com', verify=False) requests.delete('https://gmail.com', verify=True) requests.delete('https://gmail.com', verify=False) requests.patch('https://gmail.com', verify=True) requests.patch('https://gmail.com', verify=False) requests.options('https://gmail.com', verify=True) requests.options('https://gmail.com', verify=False) requests.head('https://gmail.com', verify=True) requests.head('https://gmail.com', verify=False)
41.411765
51
0.737216
100
704
5.19
0.15
0.26975
0.350674
0.512524
0.973025
0.963391
0
0
0
0
0
0
0.044034
704
16
52
44
0.771174
0
0
0
0
0
0.338068
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
1
1
1
1
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
0
1
0
0
0
0
0
0
6
6c2791c43e4c0fbf691201250dd3ea656337df83
40
py
Python
pngdata/__init__.py
kugo12/pngdata
5ed6f50a8ce4ba1098b0a8f095787b308805b22c
[ "MIT" ]
null
null
null
pngdata/__init__.py
kugo12/pngdata
5ed6f50a8ce4ba1098b0a8f095787b308805b22c
[ "MIT" ]
null
null
null
pngdata/__init__.py
kugo12/pngdata
5ed6f50a8ce4ba1098b0a8f095787b308805b22c
[ "MIT" ]
null
null
null
from pngdata.core import encode, decode
20
39
0.825
6
40
5.5
1
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
1
0
0
6
6675d9be8a3b44eb18394eeedf1989c4cfe64428
79
py
Python
GovernmentOpenDataCore_JE/je_taiwan_open_data_core/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GovernmentOpenDataCore_JE/je_taiwan_open_data_core/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
GovernmentOpenDataCore_JE/je_taiwan_open_data_core/__init__.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
from je_taiwan_open_data_core.gov_open_data_core import GovernmentOpenDataCore
39.5
78
0.936709
12
79
5.583333
0.75
0.238806
0.358209
0
0
0
0
0
0
0
0
0
0.050633
79
1
79
79
0.893333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
0
0
0
6
66dce650fdf02fea6bbc93b79f43d1dcb08f0817
117
py
Python
gumi/models/__init__.py
kumasento/gconv-prune
f81c417d3754102c902bd153809130e12607bd7d
[ "MIT" ]
8
2019-08-29T07:43:03.000Z
2021-03-03T14:25:09.000Z
gumi/models/__init__.py
kumasento/gconv-prune
f81c417d3754102c902bd153809130e12607bd7d
[ "MIT" ]
null
null
null
gumi/models/__init__.py
kumasento/gconv-prune
f81c417d3754102c902bd153809130e12607bd7d
[ "MIT" ]
2
2019-09-15T03:39:30.000Z
2020-04-30T07:06:46.000Z
from .resnet import * from .preresnet import * from .densenet import * from .vgg import * from .condensenet import *
19.5
26
0.74359
15
117
5.8
0.466667
0.45977
0
0
0
0
0
0
0
0
0
0
0.17094
117
5
27
23.4
0.896907
0
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
1
0
0
6
dd0c639f725e0689c7594bf4fd9037841d761b65
9,606
py
Python
itests/asgard/api/test_accounts.py
pabarros/asgard-api
3c10d5f99f584df5e8011558cf42e8b201d567e9
[ "MIT" ]
3
2020-01-10T02:16:09.000Z
2020-02-19T18:42:37.000Z
itests/asgard/api/test_accounts.py
pabarros/asgard-api
3c10d5f99f584df5e8011558cf42e8b201d567e9
[ "MIT" ]
13
2020-01-15T18:22:35.000Z
2021-03-31T19:21:54.000Z
itests/asgard/api/test_accounts.py
rockerbacon/asgard-api
1c1eb19225ace4bbecb06b65b1b9c4ab131eb24a
[ "MIT" ]
6
2020-03-07T09:49:19.000Z
2021-07-25T03:14:10.000Z
import jwt from asgard.api import accounts from asgard.api.resources.accounts import AccountResource from asgard.app import app from asgard.http.auth.jwt import jwt_encode from asgard.models.account import Account from asgard.models.user import User from hollowman.conf import SECRET_KEY from itests.util import ( BaseTestCase, USER_WITH_ONE_ACCOUNT_DICT, USER_WITH_MULTIPLE_ACCOUNTS_DICT, USER_WITH_MULTIPLE_ACCOUNTS_ID, ACCOUNT_DEV_DICT, ACCOUNT_INFRA_DICT, ACCOUNT_INFRA_ID, ACCOUNT_WITH_NO_USERS_DICT, ACCOUNT_WITH_NO_USERS_ID, USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY, USER_WITH_NO_ACCOUNTS_ID, ) class AccountsApiTest(BaseTestCase): async def setUp(self): await super(AccountsApiTest, self).setUp() self.client = await self.aiohttp_client(app) async def tearDown(self): await super(AccountsApiTest, self).tearDown() async def test_change_account_no_permission(self): jwt_token = jwt_encode( User(**USER_WITH_ONE_ACCOUNT_DICT), Account(**ACCOUNT_DEV_DICT) ) resp = await self.client.get( f"/accounts/{ACCOUNT_INFRA_ID}/auth", headers={"Authorization": f"JWT {jwt_token.decode('utf-8')}"}, ) self.assertEqual(403, resp.status) async def test_change_account_does_not_exist(self): jwt_token = jwt_encode( User(**USER_WITH_ONE_ACCOUNT_DICT), Account(**ACCOUNT_DEV_DICT) ) resp = await self.client.get( f"/accounts/8000/auth", headers={"Authorization": f"JWT {jwt_token.decode('utf-8')}"}, ) self.assertEqual(403, resp.status) async def test_account_permission_ok(self): jwt_token = jwt_encode( User(**USER_WITH_MULTIPLE_ACCOUNTS_DICT), Account(**ACCOUNT_DEV_DICT), ) resp = await self.client.get( f"/accounts/{ACCOUNT_INFRA_ID}/auth", headers={"Authorization": f"JWT {jwt_token.decode('utf-8')}"}, ) self.assertEqual(200, resp.status) data = await resp.json() returned_token = jwt.decode(data["jwt"], key=SECRET_KEY) self.assertDictEqual( User(**USER_WITH_MULTIPLE_ACCOUNTS_DICT).dict(), returned_token["user"], ) self.assertDictEqual( Account(**ACCOUNT_INFRA_DICT).dict(), returned_token["current_account"], ) async def test_accounts_list_all(self): resp = await self.client.get( f"/accounts", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual( { "accounts": [ Account(**ACCOUNT_DEV_DICT).dict(), Account(**ACCOUNT_INFRA_DICT).dict(), Account(**ACCOUNT_WITH_NO_USERS_DICT).dict(), ] }, data, ) async def test_accounts_get_by_id_account_exists(self): resp = await self.client.get( f"/accounts/{ACCOUNT_INFRA_ID}", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual( {"account": Account(**ACCOUNT_INFRA_DICT).dict()}, data ) async def test_accounts_get_by_id_account_not_found(self): resp = await self.client.get( f"/accounts/42", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(404, resp.status) data = await resp.json() self.assertEqual(AccountResource(), data) async def test_accounts_get_users_account_does_not_exist(self): resp = await self.client.get( f"/accounts/42/users", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(404, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) async def test_accounts_get_users_account_has_users(self): resp = await self.client.get( f"/accounts/{ACCOUNT_INFRA_ID}/users", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual( {"users": [User(**USER_WITH_MULTIPLE_ACCOUNTS_DICT)]}, data ) async def test_accounts_get_users_account_does_not_have_any_users(self): resp = await self.client.get( f"/accounts/{ACCOUNT_WITH_NO_USERS_ID}/users", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) async def test_accounts_add_users_to_account_input_OK(self): """ Quando o body do request é válido, vinculamos o novo user à conta """ resp = await self.client.post( f"/accounts/{ACCOUNT_WITH_NO_USERS_ID}/users/{USER_WITH_NO_ACCOUNTS_ID}", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) resp_check = await self.client.get( f"/accounts/{ACCOUNT_WITH_NO_USERS_ID}/users", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) resp_check_data = await resp_check.json() users_ids = [User(**u).id for u in resp_check_data["users"]] self.assertIn(USER_WITH_NO_ACCOUNTS_ID, users_ids) async def test_account_add_user_account_not_found(self): resp = await self.client.post( f"/accounts/99/users/{USER_WITH_NO_ACCOUNTS_ID}", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(404, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) async def test_account_add_user_user_not_found(self): resp = await self.client.post( f"/accounts/99/users/99", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(404, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) async def test_accounts_remove_user_user_in_account(self): """ Quando o body do request é válido, removemos o user da conta """ resp = await self.client.delete( f"/accounts/{ACCOUNT_INFRA_ID}/users/{USER_WITH_MULTIPLE_ACCOUNTS_ID}", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) resp_check = await self.client.get( f"/accounts/{ACCOUNT_INFRA_ID}/users", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) resp_check_data = await resp_check.json() users_ids = [User(**u).id for u in resp_check_data["users"]] self.assertNotIn(USER_WITH_NO_ACCOUNTS_ID, users_ids) async def test_account_remove_user_account_not_found(self): resp = await self.client.delete( f"/accounts/99/users/{USER_WITH_NO_ACCOUNTS_ID}", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) self.assertEqual(404, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) async def test_account_remove_user_user_not_found(self): resp = await self.client.delete( f"/accounts/99/users/99", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, json={}, ) self.assertEqual(404, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) async def test_account_remove_user_input_not_in_account(self): resp = await self.client.delete( f"/accounts/{ACCOUNT_WITH_NO_USERS_ID}/users/{USER_WITH_NO_ACCOUNTS_ID}", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, json={"id": USER_WITH_NO_ACCOUNTS_ID}, ) self.assertEqual(200, resp.status) data = await resp.json() self.assertEqual({"users": []}, data) resp_check = await self.client.get( f"/accounts/{ACCOUNT_WITH_NO_USERS_ID}/users", headers={ "Authorization": f"Token {USER_WITH_MULTIPLE_ACCOUNTS_AUTH_KEY}" }, ) resp_check_data = await resp_check.json() users_ids = [User(**u).id for u in resp_check_data["users"]] self.assertNotIn(USER_WITH_NO_ACCOUNTS_ID, users_ids)
35.977528
85
0.602644
1,104
9,606
4.921196
0.095109
0.051537
0.067734
0.101601
0.851831
0.778943
0.754832
0.749862
0.708816
0.683416
0
0.010391
0.288674
9,606
266
86
36.112782
0.784721
0
0
0.531646
0
0
0.194106
0.139298
0
0
0
0
0.14346
1
0
false
0
0.037975
0
0.042194
0
0
0
0
null
0
0
0
1
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
6
dd0e37df80b7a7a682313a35dbad67645663d83e
133
py
Python
SDD/utils/__init__.py
thomascong121/SocialDistance
c8e6302bc854fcaac0c8503f2b97632cdd948cc9
[ "MIT" ]
2
2021-04-12T14:16:33.000Z
2021-05-14T13:33:22.000Z
SDD/utils/__init__.py
thomascong121/SocialDistance
c8e6302bc854fcaac0c8503f2b97632cdd948cc9
[ "MIT" ]
1
2021-05-03T18:54:59.000Z
2021-11-24T01:23:48.000Z
SDD/utils/__init__.py
thomascong121/SocialDistance
c8e6302bc854fcaac0c8503f2b97632cdd948cc9
[ "MIT" ]
1
2021-04-09T09:10:08.000Z
2021-04-09T09:10:08.000Z
from __future__ import absolute_import from . import Detector from . import Models from . import View_Transformer from . import Run
19
38
0.81203
18
133
5.666667
0.5
0.392157
0
0
0
0
0
0
0
0
0
0
0.157895
133
6
39
22.166667
0.910714
0
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
1
0
0
6
dd5e99c2e846697c7380db97cc7780d3194dc4a5
45
py
Python
o3iss/__init__.py
ntapiam/o3iss
b0bfc8225ff9676cc710388ed90eecfaf8534fe9
[ "MIT" ]
null
null
null
o3iss/__init__.py
ntapiam/o3iss
b0bfc8225ff9676cc710388ed90eecfaf8534fe9
[ "MIT" ]
null
null
null
o3iss/__init__.py
ntapiam/o3iss
b0bfc8225ff9676cc710388ed90eecfaf8534fe9
[ "MIT" ]
null
null
null
from ._sklearn import * from .o3iss import *
15
23
0.733333
6
45
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0.027027
0.177778
45
2
24
22.5
0.837838
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
1
0
0
6
06b76507e57383038cf04d9c7541fed6eb9fd59a
1,520
py
Python
operations/employees/migrations/0007_auto_20180720_0946.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/employees/migrations/0007_auto_20180720_0946.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/employees/migrations/0007_auto_20180720_0946.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-07-20 07:46 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('employees', '0006_auto_20180206_1327'), ] operations = [ migrations.AlterField( model_name='drivinglicence', name='code', field=models.CharField(blank=True, choices=[('A', 'A-Motor Cycle'), ('A1', 'A1-Motor Cycle LTE 125cc'), ('AA', 'AA-International Driving Permit'), ('B', 'B-Light Motor Vehicle LTE 3500kg'), ('EB', 'EB-Articulated vehicles LTE 3500kg'), ('C1', 'C1-Minibuses, Buses and Goods vehicles LTE 16000kg'), ('C', 'C-Buses and goods vehicles GTE 16000kg'), ('EC1', 'EC1-Articulated vehicles LTE 16000kg'), ('EC', 'EC-Articulated vehicles GTE 18000kg')], default='B', max_length=120, null=True), ), migrations.AlterField( model_name='historicaldrivinglicence', name='code', field=models.CharField(blank=True, choices=[('A', 'A-Motor Cycle'), ('A1', 'A1-Motor Cycle LTE 125cc'), ('AA', 'AA-International Driving Permit'), ('B', 'B-Light Motor Vehicle LTE 3500kg'), ('EB', 'EB-Articulated vehicles LTE 3500kg'), ('C1', 'C1-Minibuses, Buses and Goods vehicles LTE 16000kg'), ('C', 'C-Buses and goods vehicles GTE 16000kg'), ('EC1', 'EC1-Articulated vehicles LTE 16000kg'), ('EC', 'EC-Articulated vehicles GTE 18000kg')], default='B', max_length=120, null=True), ), ]
58.461538
496
0.647368
191
1,520
5.089005
0.39267
0.117284
0.090535
0.08642
0.701646
0.701646
0.701646
0.701646
0.701646
0.701646
0
0.091056
0.183553
1,520
25
497
60.8
0.692184
0.044737
0
0.444444
1
0
0.481712
0.032436
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
06b89e6ba8fc9a8baa2fdb9f1b68d16731a060c8
121
py
Python
resources/__init__.py
eLvErDe/bosch-dome-rcpplus-ptz-api
472d4d12e0b7de7927843fbf6fffbe5aeaa7165f
[ "Unlicense" ]
2
2021-02-01T05:37:19.000Z
2021-12-14T16:09:12.000Z
resources/__init__.py
eLvErDe/bosch-dome-rcpplus-ptz-api
472d4d12e0b7de7927843fbf6fffbe5aeaa7165f
[ "Unlicense" ]
null
null
null
resources/__init__.py
eLvErDe/bosch-dome-rcpplus-ptz-api
472d4d12e0b7de7927843fbf6fffbe5aeaa7165f
[ "Unlicense" ]
null
null
null
""" Relative import of all resources """ from .ptz_move import PtzMove from .interface_ptz_move import InterfacePtzMove
17.285714
48
0.801653
16
121
5.875
0.6875
0.148936
0.276596
0
0
0
0
0
0
0
0
0
0.132231
121
6
49
20.166667
0.895238
0.264463
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
06b9308bbe7cbe9e9d956bdb5495675a925fac72
2,103
py
Python
make_instance.py
github-nakasho/fgo_amplify
28579e5bbcdd8f0ee44532811ea327fa91a13670
[ "MIT" ]
null
null
null
make_instance.py
github-nakasho/fgo_amplify
28579e5bbcdd8f0ee44532811ea327fa91a13670
[ "MIT" ]
null
null
null
make_instance.py
github-nakasho/fgo_amplify
28579e5bbcdd8f0ee44532811ea327fa91a13670
[ "MIT" ]
null
null
null
import numpy as np def make_instance(): # saber, archer, lancer, rider, caster, assassin, berserker, # ruler, avenger, moon cancer, alter ego, foreigner, shielder type_matrix = np.array([[1.0, 0.5, 2.0, 1.0, 1.0, 1.0, 2.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0], [2.0, 1.0, 0.5, 1.0, 1.0, 1.0, 2.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0], [0.5, 2.0, 1.0, 1.0, 1.0, 1.0, 2.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0, 2.0, 0.5, 2.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 0.5, 1.0, 2.0, 2.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 2.0, 0.5, 1.0, 2.0, 0.5, 1.0, 1.0, 1.0, 1.0, 1.0], [1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 0.5, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0, 0.5, 2.0, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 2.0, 1.0, 0.5, 1.0, 1.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 0.5, 2.0, 1.0, 1.0, 1.0, 1.0], [0.5, 0.5, 0.5, 1.5, 1.5, 1.5, 2.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 2.0, 1.0, 1.0, 1.0, 0.5, 2.0, 1.0], [1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0, 1.0]]) weak_matrix = np.where(type_matrix<2.0, 0.0, 1.0) resist_matrix = np.where(type_matrix<1.0, 1.0, 0.0) # type_matrix = type_matrix[0:13, 0:13] # set enemies # enemy1 enemy1 = [0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0] # enemy2 enemy2 = [0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0] # enemy3 enemy3 = [0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0] # combine enemy into one list enemies = np.array([enemy1, enemy2, enemy3]) # set the number of party members num_party = 6 # set feed_dict for hyperparameters feed_dict = {'h1': 10, 'h2': 10.0, 'h3': 10.0} return type_matrix, weak_matrix, resist_matrix, enemies, num_party, feed_dict
56.837838
95
0.415597
490
2,103
1.75102
0.120408
0.277389
0.370629
0.424242
0.502331
0.434732
0.434732
0.424242
0.423077
0.423077
0
0.303871
0.349025
2,103
37
96
56.837838
0.322863
0.135045
0
0
0
0
0.003319
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.125
0
0
0
1
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
6
66039577687c2fc2d9c4fa91f02e9c0b5c77a9bc
204
py
Python
src/gofra/core/__init__.py
GofraLang/core
397c02f48a1484713c663d2abbb582641e195078
[ "MIT" ]
5
2022-02-20T21:00:11.000Z
2022-02-23T11:01:31.000Z
src/gofra/core/__init__.py
GofraLang/core
397c02f48a1484713c663d2abbb582641e195078
[ "MIT" ]
4
2021-11-02T18:32:26.000Z
2021-12-01T19:36:27.000Z
src/gofra/core/__init__.py
gofra-lang/core
397c02f48a1484713c663d2abbb582641e195078
[ "MIT" ]
1
2022-02-23T12:41:31.000Z
2022-02-23T12:41:31.000Z
""" 'Gofra' core module. Contains all core system like classes/lexer/parser and other. """ from . import danger from . import errors from . import other from . import stack from . import lexer
15.692308
65
0.70098
28
204
5.107143
0.607143
0.34965
0.20979
0
0
0
0
0
0
0
0
0
0.215686
204
12
66
17
0.89375
0.401961
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
0
1
0
1
0
1
0
0
6
b00b61a066fd96f11342b67169057c63cfa2da58
52
py
Python
rhf/__init__.py
bzhang25/QM_2017_SSS_Team9_new-
13af70caeadd75fc539523d04c8b7e5fa68cdc2f
[ "BSD-3-Clause" ]
null
null
null
rhf/__init__.py
bzhang25/QM_2017_SSS_Team9_new-
13af70caeadd75fc539523d04c8b7e5fa68cdc2f
[ "BSD-3-Clause" ]
null
null
null
rhf/__init__.py
bzhang25/QM_2017_SSS_Team9_new-
13af70caeadd75fc539523d04c8b7e5fa68cdc2f
[ "BSD-3-Clause" ]
null
null
null
""" """ from .rhf import * from .rhf_mp2 import *
7.428571
22
0.576923
7
52
4.142857
0.571429
0.482759
0
0
0
0
0
0
0
0
0
0.025
0.230769
52
6
23
8.666667
0.7
0
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
1
0
0
6
b0160822bd62e77d76b38203096f5fc71e83b211
37
py
Python
spikeforest/spikesorters/tridesclous/__init__.py
mhhennig/spikeforest
5b4507ead724af3de0be5d48a3b23aaedb0be170
[ "Apache-2.0" ]
1
2021-09-23T01:07:19.000Z
2021-09-23T01:07:19.000Z
spikeforest/spikesorters/tridesclous/__init__.py
mhhennig/spikeforest
5b4507ead724af3de0be5d48a3b23aaedb0be170
[ "Apache-2.0" ]
null
null
null
spikeforest/spikesorters/tridesclous/__init__.py
mhhennig/spikeforest
5b4507ead724af3de0be5d48a3b23aaedb0be170
[ "Apache-2.0" ]
1
2021-09-23T01:07:21.000Z
2021-09-23T01:07:21.000Z
from .tridesclous import Tridesclous
18.5
36
0.864865
4
37
8
0.75
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.969697
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
1
0
0
6
c69eb4909840f4f45eca7adedc1105a06de3ffd4
70
py
Python
abitools/utils/__init__.py
GkAntonius/abitools
7f42500f5da259117db82b9ac74dbe43be00943e
[ "BSD-3-Clause-LBNL" ]
1
2017-02-12T19:32:29.000Z
2017-02-12T19:32:29.000Z
abitools/utils/__init__.py
GkAntonius/abitools
7f42500f5da259117db82b9ac74dbe43be00943e
[ "BSD-3-Clause-LBNL" ]
null
null
null
abitools/utils/__init__.py
GkAntonius/abitools
7f42500f5da259117db82b9ac74dbe43be00943e
[ "BSD-3-Clause-LBNL" ]
3
2017-04-12T17:44:55.000Z
2019-12-17T16:42:31.000Z
from .formatting import * from .units import * from .various import *
17.5
25
0.742857
9
70
5.777778
0.555556
0.384615
0
0
0
0
0
0
0
0
0
0
0.171429
70
3
26
23.333333
0.896552
0
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
1
0
0
6
05ad5b5cce919271a98300af56c3076c4d74da50
36
py
Python
randmac/__init__.py
joshschmelzle/randomizemac
f1e36500dea218a4eca22072d591f0a24d0bf945
[ "MIT" ]
5
2020-01-30T00:41:48.000Z
2021-06-08T09:38:02.000Z
randmac/__init__.py
joshschmelzle/randomizemac
f1e36500dea218a4eca22072d591f0a24d0bf945
[ "MIT" ]
1
2020-07-26T09:41:30.000Z
2020-10-03T12:44:23.000Z
randmac/__init__.py
joshschmelzle/randomizemac
f1e36500dea218a4eca22072d591f0a24d0bf945
[ "MIT" ]
2
2020-07-28T18:19:35.000Z
2020-10-21T05:57:46.000Z
from randmac.randmac import RandMac
18
35
0.861111
5
36
6.2
0.6
0
0
0
0
0
0
0
0
0
0
0
0.111111
36
1
36
36
0.96875
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
1
0
0
6
05ba37ff1f69a59f0720a465957facf6c02ee365
367
py
Python
tests/live/__init__.py
defgsus/elastipy
c1144ab39fa70571ba0e02ccf41d380a8a1bd730
[ "Apache-2.0" ]
1
2021-02-17T17:50:28.000Z
2021-02-17T17:50:28.000Z
tests/live/__init__.py
defgsus/elastipy
c1144ab39fa70571ba0e02ccf41d380a8a1bd730
[ "Apache-2.0" ]
2
2021-03-29T02:09:41.000Z
2022-03-01T20:09:48.000Z
tests/live/__init__.py
netzkolchose/elastipy
c1144ab39fa70571ba0e02ccf41d380a8a1bd730
[ "Apache-2.0" ]
null
null
null
from .test_dump import * from .test_exporter import * from .test_nested_orders_agg import * from .test_orders_agg import * from .test_orders_agg_auto import * from .test_orders_agg_matrix import * from .test_orders_agg_pandas import * from .test_orders_agg_table import * from .test_orders_query import * from .test_orders_query_all import * from .test_plot import *
30.583333
37
0.820163
58
367
4.758621
0.258621
0.318841
0.507246
0.507246
0.630435
0.199275
0.199275
0
0
0
0
0
0.119891
367
11
38
33.363636
0.854489
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
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
6
05ee4a54667eda3d5e2da85e9834b68a9b986108
11,679
py
Python
_unittests/ut_sphinxext/test_docassert.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
18
2015-11-10T08:09:23.000Z
2022-02-16T11:46:45.000Z
_unittests/ut_sphinxext/test_docassert.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
321
2015-06-14T21:34:28.000Z
2021-11-28T17:10:03.000Z
_unittests/ut_sphinxext/test_docassert.py
Pandinosaurus/pyquickhelper
326276f656cf88989e4d0fcd006ada0d3735bd9e
[ "MIT" ]
10
2015-06-20T01:35:00.000Z
2022-01-19T15:54:32.000Z
""" @brief test log(time=8s) @author Xavier Dupre """ import sys import os from io import StringIO import unittest import warnings import logging from sphinx.util.logging import getLogger from pyquickhelper.loghelper.flog import fLOG from pyquickhelper.sphinxext.import_object_helper import import_object from pyquickhelper.helpgen import rst2html from pyquickhelper.loghelper import sys_path_append class TestDocAssert(unittest.TestCase): def test_import_object(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("exdocassert.onefunction", "function") self.assertTrue(obj is not None) self.assertTrue(obj(4, 5), 9) def test_docassert_html(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") logger1 = getLogger("MockSphinxApp") logger2 = getLogger("docassert") log_capture_string = StringIO() ch = logging.StreamHandler(log_capture_string) ch.setLevel(logging.DEBUG) logger1.logger.addHandler(ch) logger2.logger.addHandler(ch) this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("exdocassert.onefunction", "function") docstring = obj.__doc__ with warnings.catch_warnings(record=True) as ws: html = rst2html(docstring) if "if a and b have different" not in html: raise Exception(html) newstring = ".. autofunction:: exdocassert.onefunction" with warnings.catch_warnings(record=True) as ws: html = rst2html(newstring) for i, w in enumerate(ws): fLOG(i, ":", w) if "if a and b have different" not in html: html = rst2html(newstring, fLOG=fLOG) fLOG("number of warnings", len(ws)) for i, w in enumerate(ws): fLOG(i, ":", str(w).replace("\\n", "\n")) raise Exception(html) from docutils.parsers.rst.directives import _directives self.assertTrue("autofunction" in _directives) lines = log_capture_string.getvalue().split("\n") if len(lines) > 0: for line in lines: if "'onefunction' has no parameter 'TypeError'" in line: raise Exception( "This warning should not happen.\n{0}".format("\n".join(lines))) self.assertTrue("<strong>a</strong>" in html) def test_docassert_html_bug(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") class MyStream: def __init__(self): self.rows = [] def write(self, text): fLOG( "[warning*] {0} - '{1}'".format(len(self), text.strip("\n\r "))) self.rows.append(text) def getvalue(self): return "\n".join(self.rows) def __len__(self): return len(self.rows) logger1 = getLogger("MockSphinxApp") logger2 = getLogger("docassert") log_capture_string = MyStream() # StringIO() ch = logging.StreamHandler(log_capture_string) ch.setLevel(logging.DEBUG) logger1.logger.addHandler(ch) logger2.logger.addHandler(ch) logger2.warning("try") this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("exdocassert2.onefunction", "function") newstring = ".. autofunction:: exdocassert2.onefunction" html = rst2html(newstring) self.assertTrue(html is not None) fLOG(len(log_capture_string)) lines = log_capture_string.getvalue().split("\n") if len(lines) == 0: raise Exception("no warning") nb = 0 for line in lines: if "'onefunction' has no parameter 'c'" in line: nb += 1 if nb == 0: raise Exception("not the right warning") def test_docassert_html_method(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") class MyStream: def __init__(self): self.rows = [] def write(self, text): fLOG( "[warning*] {0} - '{1}'".format(len(self), text.strip("\n\r "))) self.rows.append(text) def getvalue(self): return "\n".join(self.rows) def __len__(self): return len(self.rows) logger1 = getLogger("MockSphinxApp") logger2 = getLogger("docassert") log_capture_string = MyStream() # StringIO() ch = logging.StreamHandler(log_capture_string) ch.setLevel(logging.DEBUG) logger1.logger.addHandler(ch) logger2.logger.addHandler(ch) logger2.warning("try") this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("exsig.clex.onemethod", "method") newstring = ".. automethod:: exsig.clex.onemethod" html = rst2html(newstring) self.assertTrue(html is not None) fLOG(len(log_capture_string)) lines = log_capture_string.getvalue().split("\n") if len(lines) == 0: raise Exception("no warning") nb = 0 for line in lines: if "'onemethod' has no parameter 'c'" in line: nb += 1 if nb == 0: raise Exception("not the right warning") for line in lines: if "'onemethod' has undocumented parameters 'b, self'" in line: raise Exception(line) def test_docassert_html_init(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") class MyStream: def __init__(self): self.rows = [] def write(self, text): fLOG( "[warning-i] {0} - '{1}'".format(len(self), text.strip("\n\r "))) self.rows.append(text) def getvalue(self): return "\n".join(self.rows) def __len__(self): return len(self.rows) logger1 = getLogger("MockSphinxApp") logger2 = getLogger("docassert") log_capture_string = MyStream() # StringIO() ch = logging.StreamHandler(log_capture_string) ch.setLevel(logging.DEBUG) logger1.logger.addHandler(ch) logger2.logger.addHandler(ch) logger2.warning("try") this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("clsslk.Estimator", "class") newstring = ".. autoclass:: clsslk.Estimator" html = rst2html(newstring) self.assertTrue(html is not None) fLOG(len(log_capture_string)) lines = log_capture_string.getvalue().split("\n") if len(lines) == 0: raise Exception("no warning") nb = 0 for line in lines: if "'Estimator' has no parameter 'alph'" in line: nb += 1 if "'Estimator' has undocumented parameters" in line: nb += 1 if nb == 0: raise Exception("not the right warning") def test_docassert_html_init2(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") class MyStream: def __init__(self): self.rows = [] def write(self, text): fLOG( "[warning-i2] {0} - '{1}'".format(len(self), text.strip("\n\r "))) self.rows.append(text) def getvalue(self): return "\n".join(self.rows) def __len__(self): return len(self.rows) logger1 = getLogger("MockSphinxApp") logger2 = getLogger("docassert") log_capture_string = MyStream() # StringIO() ch = logging.StreamHandler(log_capture_string) ch.setLevel(logging.DEBUG) logger1.logger.addHandler(ch) logger2.logger.addHandler(ch) logger2.warning("try") this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("clsslk.Estimator2", "class") newstring = ".. autoclass:: clsslk.Estimator2" html = rst2html(newstring, autoclass_content='both') self.assertTrue(html is not None) fLOG(len(log_capture_string)) lines = log_capture_string.getvalue().split("\n") if len(lines) == 0: raise Exception("no warning") nb = 0 for line in lines: if "'Estimator2' has no parameter 'alp'" in line: nb += 1 if "'Estimator2' has undocumented parameters" in line: nb += 1 if nb == 0: raise Exception("not the right warning") def test_docassert_html_style(self): fLOG( __file__, self._testMethodName, OutputPrint=__name__ == "__main__") class MyStream: def __init__(self): self.rows = [] def write(self, text): fLOG( "[warning-i3] {0} - '{1}'".format(len(self), text.strip("\n\r "))) self.rows.append(text) def getvalue(self): return "\n".join(self.rows) def __len__(self): return len(self.rows) logger1 = getLogger("MockSphinxApp") logger2 = getLogger("docassert") log_capture_string = MyStream() # StringIO() ch = logging.StreamHandler(log_capture_string) ch.setLevel(logging.DEBUG) logger1.logger.addHandler(ch) logger2.logger.addHandler(ch) logger2.warning("try") this = os.path.abspath(os.path.dirname(__file__)) data = os.path.join(this, "datadoc") with sys_path_append(data): obj, name = import_object("clsslk.Estimator3", "class") newstring = ".. autoclass:: clsslk.Estimator3" html = rst2html(newstring, autoclass_content='both', new_extensions=['numpydoc']) self.assertTrue(html is not None) fLOG(len(log_capture_string)) lines = log_capture_string.getvalue().split("\n") if len(lines) == 0: raise Exception("no warning") nb = 0 for line in lines: if "'Estimator3' has no parameter 'fit_intercep'" in line: nb += 1 if "'Estimator3' has undocumented parameters 'fit" in line: nb += 1 if nb == 0: raise Exception("not the right warning") if __name__ == "__main__": unittest.main()
34.451327
88
0.552616
1,232
11,679
5.019481
0.128247
0.037193
0.059508
0.04447
0.771345
0.766009
0.752749
0.746766
0.72348
0.71216
0
0.011585
0.334789
11,679
338
89
34.553254
0.7844
0.009419
0
0.772242
0
0
0.132387
0.010124
0
0
0
0
0.096085
1
0.096085
false
0
0.071174
0.035587
0.224199
0
0
0
0
null
0
0
0
0
1
1
1
1
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
6
af3a05f47420e6b863de4f28e262faea63ca8c2a
112
py
Python
simcalib/__init__.py
wkiri/simcalib
5a39d3cf5b5f3c273029b5d17bded99d7790dc20
[ "Apache-2.0" ]
null
null
null
simcalib/__init__.py
wkiri/simcalib
5a39d3cf5b5f3c273029b5d17bded99d7790dc20
[ "Apache-2.0" ]
null
null
null
simcalib/__init__.py
wkiri/simcalib
5a39d3cf5b5f3c273029b5d17bded99d7790dc20
[ "Apache-2.0" ]
null
null
null
from .simcalib import calib_sim, hidden_hetero, calc_sim, \ platt_scaling, temp_scaling, temp_scaling_probs
37.333333
59
0.8125
16
112
5.25
0.75
0.261905
0.428571
0
0
0
0
0
0
0
0
0
0.125
112
2
60
56
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
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
1
0
1
0
0
0
0
6
af3c5ad69636e2f122a801e613988ea5436cb06f
21
py
Python
pybase16_builder/__init__.py
InspectorMustache/pybase16-builder
7b2775c7f440ee0812051b3111da7fc8f3268224
[ "MIT" ]
71
2017-10-06T21:40:53.000Z
2022-02-20T13:05:11.000Z
pybase16_builder/__init__.py
InspectorMustache/pybase16-builder
7b2775c7f440ee0812051b3111da7fc8f3268224
[ "MIT" ]
20
2017-10-06T21:41:55.000Z
2022-02-18T23:20:09.000Z
pybase16_builder/__init__.py
InspectorMustache/pybase16-builder
7b2775c7f440ee0812051b3111da7fc8f3268224
[ "MIT" ]
21
2018-05-08T07:00:10.000Z
2021-05-09T02:05:31.000Z
from .cli import run
10.5
20
0.761905
4
21
4
1
0
0
0
0
0
0
0
0
0
0
0
0.190476
21
1
21
21
0.941176
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
1
0
0
6
af44098b915e3866501c806b14824f3399419e71
150
py
Python
tests/conftest.py
brisvag/mdocfile
abab15dac94460de7c62d339d7a2d497bbb722fd
[ "BSD-3-Clause" ]
1
2022-02-23T02:42:35.000Z
2022-02-23T02:42:35.000Z
tests/conftest.py
brisvag/mdocfile
abab15dac94460de7c62d339d7a2d497bbb722fd
[ "BSD-3-Clause" ]
1
2022-03-28T13:11:37.000Z
2022-03-30T14:19:31.000Z
tests/conftest.py
brisvag/mdocfile
abab15dac94460de7c62d339d7a2d497bbb722fd
[ "BSD-3-Clause" ]
1
2022-03-18T13:23:08.000Z
2022-03-18T13:23:08.000Z
import pytest from pathlib import Path @pytest.fixture def tilt_series_mdoc_file(): return Path(__file__).parent / 'test_data' / 'TS_01.mrc.mdoc'
25
65
0.766667
23
150
4.608696
0.782609
0
0
0
0
0
0
0
0
0
0
0.015267
0.126667
150
6
65
25
0.793893
0
0
0
0
0
0.152318
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
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
1
1
0
0
6
af53812b595442c2e4f6fc8fd852c83b5c386fda
43
py
Python
project/settings/dev/__init__.py
Couapy/Django-Snippets
513e02c86e2e8383770d703cef6be707e52faa9c
[ "MIT" ]
null
null
null
project/settings/dev/__init__.py
Couapy/Django-Snippets
513e02c86e2e8383770d703cef6be707e52faa9c
[ "MIT" ]
6
2021-03-16T10:13:22.000Z
2022-03-12T00:41:04.000Z
project/settings/dev/__init__.py
Couapy/Django-Snippets
513e02c86e2e8383770d703cef6be707e52faa9c
[ "MIT" ]
null
null
null
from .database import * from .mail import *
21.5
23
0.744186
6
43
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.162791
43
2
24
21.5
0.888889
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
1
0
0
6
af62c5d9fd2f1bec8bfc3d5fd6785204d8388faf
2,818
py
Python
tests/unit/destination/conftest.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
69
2016-06-29T16:13:55.000Z
2022-03-21T06:38:37.000Z
tests/unit/destination/conftest.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
237
2016-09-28T02:12:34.000Z
2022-03-25T13:32:23.000Z
tests/unit/destination/conftest.py
denssk/backup
292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e
[ "Apache-2.0" ]
45
2017-01-04T21:20:27.000Z
2021-12-29T10:42:22.000Z
import pytest from twindb_backup import setup_logging, LOG setup_logging(LOG, debug=True) @pytest.fixture def status_raw_content(): """ Return raw content of status Status is: { "hourly": { "master1/hourly/mysql/mysql-2018-03-28_04_11_16.xbstream.gz": { "backup_finished": 1522210295, "binlog": "mysql-bin.000001", "parent": "master1/daily/mysql/mysql-2018-03-28_04_09_53.xbstream.gz", "lsn": 19903207, "galera": false, "config": [ { "/etc/my.cnf": "W215c3FsZF0KZGF0YWRpcj0vdmFyL2xpYi9teXNxbApzb2NrZXQ9L3Zhci9saWIvbXlzcWwvbXlzcWwuc29jawp1c2VyPW15c3FsCiMgRGlzYWJsaW5nIHN5bWJvbGljLWxpbmtzIGlzIHJlY29tbWVuZGVkIHRvIHByZXZlbnQgYXNzb3J0ZWQgc2VjdXJpdHkgcmlza3MKc3ltYm9saWMtbGlua3M9MAoKc2VydmVyX2lkPTEwMApndGlkX21vZGU9T04KbG9nLWJpbj1teXNxbC1iaW4KbG9nLXNsYXZlLXVwZGF0ZXMKZW5mb3JjZS1ndGlkLWNvbnNpc3RlbmN5CgpbbXlzcWxkX3NhZmVdCmxvZy1lcnJvcj0vdmFyL2xvZy9teXNxbGQubG9nCnBpZC1maWxlPS92YXIvcnVuL215c3FsZC9teXNxbGQucGlkCg==" } ], "backup_started": 1522210276, "position": 46855, "type": "incremental", "wsrep_provider_version": null } }, "daily": {}, "weekly": {}, "monthly": {}, "yearly": {} } :return: """ return """ { "status": "ew0KICAgICJob3VybHkiOiB7DQogICAgICAibWFzdGVyMS9ob3VybHkvbXlzcWwvbXlzcWwtMjAxOC0wMy0yOF8wNF8xMV8xNi54YnN0cmVhbS5neiI6IHsNCiAgICAgICAgImJhY2t1cF9maW5pc2hlZCI6IDE1MjIyMTAyOTUsDQogICAgICAgICJiaW5sb2ciOiAibXlzcWwtYmluLjAwMDAwMSIsDQogICAgICAgICJwYXJlbnQiOiAibWFzdGVyMS9kYWlseS9teXNxbC9teXNxbC0yMDE4LTAzLTI4XzA0XzA5XzUzLnhic3RyZWFtLmd6IiwNCiAgICAgICAgImxzbiI6IDE5OTAzMjA3LA0KICAgICAgICAiZ2FsZXJhIjogZmFsc2UsDQogICAgICAgICJjb25maWciOiBbDQogICAgICAgICAgew0KICAgICAgICAgICAgIi9ldGMvbXkuY25mIjogIlcyMTVjM0ZzWkYwS1pHRjBZV1JwY2owdmRtRnlMMnhwWWk5dGVYTnhiQXB6YjJOclpYUTlMM1poY2k5c2FXSXZiWGx6Y1d3dmJYbHpjV3d1YzI5amF3cDFjMlZ5UFcxNWMzRnNDaU1nUkdsellXSnNhVzVuSUhONWJXSnZiR2xqTFd4cGJtdHpJR2x6SUhKbFkyOXRiV1Z1WkdWa0lIUnZJSEJ5WlhabGJuUWdZWE56YjNKMFpXUWdjMlZqZFhKcGRIa2djbWx6YTNNS2MzbHRZbTlzYVdNdGJHbHVhM005TUFvS2MyVnlkbVZ5WDJsa1BURXdNQXBuZEdsa1gyMXZaR1U5VDA0S2JHOW5MV0pwYmoxdGVYTnhiQzFpYVc0S2JHOW5MWE5zWVhabExYVndaR0YwWlhNS1pXNW1iM0pqWlMxbmRHbGtMV052Ym5OcGMzUmxibU41Q2dwYmJYbHpjV3hrWDNOaFptVmRDbXh2WnkxbGNuSnZjajB2ZG1GeUwyeHZaeTl0ZVhOeGJHUXViRzluQ25CcFpDMW1hV3hsUFM5MllYSXZjblZ1TDIxNWMzRnNaQzl0ZVhOeGJHUXVjR2xrQ2c9PSINCiAgICAgICAgICB9DQogICAgICAgIF0sDQogICAgICAgICJiYWNrdXBfc3RhcnRlZCI6IDE1MjIyMTAyNzYsDQogICAgICAgICJwb3NpdGlvbiI6IDQ2ODU1LA0KICAgICAgICAidHlwZSI6ICJpbmNyZW1lbnRhbCIsDQogICAgICAgICJ3c3JlcF9wcm92aWRlcl92ZXJzaW9uIjogbnVsbA0KICAgICAgfQ0KICAgIH0sDQogICAgImRhaWx5Ijoge30sDQogICAgIndlZWtseSI6IHt9LA0KICAgICJtb250aGx5Ijoge30sDQogICAgInllYXJseSI6IHt9DQp9", "version": 1, "md5": "28a0da468054f5caa83a90fb3cac2eda" } """
61.26087
1,455
0.848474
92
2,818
25.826087
0.695652
0.010101
0.012626
0.013468
0.016835
0.016835
0
0
0
0
0
0.12176
0.096522
2,818
45
1,456
62.622222
0.811469
0.395316
0
0
0
0
0.905806
0.875
0
1
0
0
0
1
0.083333
true
0
0.166667
0
0.333333
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
1
0
0
0
0
0
0
6
af8050cd9234dc5f656291d0ecf24609905cdbe9
30
py
Python
apps/entity/__init__.py
dy1zan/softwarecapstone
c121a2b2d43b72aac19b75c31519711c0ace9c02
[ "MIT" ]
null
null
null
apps/entity/__init__.py
dy1zan/softwarecapstone
c121a2b2d43b72aac19b75c31519711c0ace9c02
[ "MIT" ]
16
2018-11-10T21:46:40.000Z
2018-11-11T15:08:36.000Z
apps/entity/__init__.py
dy1zan/softwarecapstone
c121a2b2d43b72aac19b75c31519711c0ace9c02
[ "MIT" ]
null
null
null
from .apps import EntityConfig
30
30
0.866667
4
30
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.1
30
1
30
30
0.962963
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
1
0
0
6
bb96d89a4ad050e281758de36eab1b8396b7ab06
300,523
py
Python
python/bragi/csgo_pb2.py
oddin-gg/bragischema
10b1cd6bf8c4cf23c0541fa87cb9cff1a5302727
[ "BSD-3-Clause" ]
null
null
null
python/bragi/csgo_pb2.py
oddin-gg/bragischema
10b1cd6bf8c4cf23c0541fa87cb9cff1a5302727
[ "BSD-3-Clause" ]
null
null
null
python/bragi/csgo_pb2.py
oddin-gg/bragischema
10b1cd6bf8c4cf23c0541fa87cb9cff1a5302727
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: bragi/csgo.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper 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 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from bragi_schema.bragi import common_pb2 as bragi_dot_common__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='bragi/csgo.proto', package='bragi', syntax='proto3', serialized_options=b'\n\017com.oddin.bragiZ\016oddin.gg/bragi', create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x10\x62ragi/csgo.proto\x12\x05\x62ragi\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x12\x62ragi/common.proto\"\x86\x02\n\x10\x43sgoMatchMessage\x12\x11\n\tmatch_urn\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x07payload\x18\x04 \x01(\x0b\x32\x1f.bragi.CsgoMatchMessage.Payload\x1al\n\x07Payload\x12,\n\x08snapshot\x18\x01 \x01(\x0b\x32\x18.bragi.CsgoMatchSnapshotH\x00\x12(\n\x06update\x18\x02 \x01(\x0b\x32\x16.bragi.CsgoMatchUpdateH\x00\x42\t\n\x07payload\"\xbf\x01\n\x11\x43sgoMatchSnapshot\x12\x11\n\tmatch_urn\x18\x01 \x01(\t\x12\x10\n\x08sequence\x18\x02 \x01(\x04\x12-\n\ttimestamp\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12*\n\rannouncements\x18\x04 \x03(\x0b\x32\x13.bragi.Announcement\x12*\n\x0bmatch_state\x18\x05 \x01(\x0b\x32\x15.bragi.CsgoMatchState\"\xe9\x01\n\x0f\x43sgoMatchUpdate\x12/\n\x07payload\x18\x01 \x01(\x0b\x32\x1e.bragi.CsgoMatchUpdate.Payload\x12 \n\x06\x65vents\x18\x02 \x03(\x0b\x32\x10.bragi.CsgoEvent\x1a\x82\x01\n\x07Payload\x12,\n\x0bmatch_state\x18\x01 \x01(\x0b\x32\x15.bragi.CsgoMatchStateH\x00\x12>\n\x0fpartial_updates\x18\x02 \x01(\x0b\x32#.bragi.CsgoMatchStatePartialUpdatesH\x00\x42\t\n\x07payload\"S\n\x1c\x43sgoMatchStatePartialUpdates\x12\x33\n\x07updates\x18\x01 \x03(\x0b\x32\".bragi.CsgoMatchStatePartialUpdate\"\xe2\x01\n\x1b\x43sgoMatchStatePartialUpdate\x12+\n\x05score\x18\x01 \x01(\x0b\x32\x1a.bragi.CsgoMatchScoreStateH\x00\x12\x37\n\x11\x63urrent_map_state\x18\x02 \x01(\x0b\x32\x1a.bragi.CsgoCurrentMapStateH\x00\x12S\n current_map_state_partial_update\x18\x03 \x01(\x0b\x32\'.bragi.CsgoCurrentMapStatePartialUpdateH\x00\x42\x08\n\x06update\"\xdc\x02\n\x0e\x43sgoMatchState\x12\x11\n\tmatch_urn\x18\x01 \x01(\t\x12%\n\nmatch_type\x18\x02 \x01(\x0e\x32\x11.bragi.BestOfType\x12\"\n\thome_team\x18\x03 \x01(\x0b\x32\x0f.bragi.CsgoTeam\x12\"\n\taway_team\x18\x04 \x01(\x0b\x32\x0f.bragi.CsgoTeam\x12)\n\x05score\x18\x05 \x01(\x0b\x32\x1a.bragi.CsgoMatchScoreState\x12,\n\x0cmatch_status\x18\x06 \x01(\x0e\x32\x16.bragi.MatchStatusType\x12\x35\n\x11\x63urrent_map_state\x18\x07 \x01(\x0b\x32\x1a.bragi.CsgoCurrentMapState\x12\x38\n\x13previous_map_states\x18\x08 \x03(\x0b\x32\x1b.bragi.CsgoPreviousMapState\"=\n\x13\x43sgoMatchScoreState\x12\x12\n\nhome_score\x18\x01 \x01(\r\x12\x12\n\naway_score\x18\x02 \x01(\r\"/\n\x08\x43sgoTeam\x12\x10\n\x08team_urn\x18\x01 \x01(\t\x12\x11\n\tteam_name\x18\x02 \x01(\t\"\xe6\x02\n CsgoCurrentMapStatePartialUpdate\x12\'\n\x04info\x18\x01 \x01(\x0b\x32\x17.bragi.CsgoMapInfoStateH\x00\x12)\n\x05score\x18\x02 \x01(\x0b\x32\x18.bragi.CsgoMapScoreStateH\x00\x12;\n\x13\x63urrent_round_state\x18\x03 \x01(\x0b\x32\x1c.bragi.CsgoCurrentRoundStateH\x00\x12W\n\"current_round_state_partial_update\x18\x04 \x01(\x0b\x32).bragi.CsgoCurrentRoundStatePartialUpdateH\x00\x12N\n\x1eteam_map_states_partial_update\x18\x05 \x01(\x0b\x32$.bragi.CsgoTeamMapStatePartialUpdateH\x00\x42\x08\n\x06update\"\x88\x03\n\x13\x43sgoCurrentMapState\x12\x11\n\tmap_order\x18\x01 \x01(\r\x12%\n\x04info\x18\x02 \x01(\x0b\x32\x17.bragi.CsgoMapInfoState\x12\'\n\x05score\x18\x03 \x01(\x0b\x32\x18.bragi.CsgoMapScoreState\x12\x39\n\x13\x63urrent_round_state\x18\x04 \x01(\x0b\x32\x1c.bragi.CsgoCurrentRoundState\x12<\n\x15previous_round_states\x18\x05 \x03(\x0b\x32\x1d.bragi.CsgoPreviousRoundState\x12\x46\n\x0fteam_map_states\x18\x06 \x03(\x0b\x32-.bragi.CsgoCurrentMapState.TeamMapStatesEntry\x1aM\n\x12TeamMapStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.bragi.CsgoTeamMapState:\x02\x38\x01\"\xc6\x02\n\x14\x43sgoPreviousMapState\x12\x11\n\tmap_order\x18\x01 \x01(\r\x12%\n\x04info\x18\x02 \x01(\x0b\x32\x17.bragi.CsgoMapInfoState\x12\'\n\x05score\x18\x03 \x01(\x0b\x32\x18.bragi.CsgoMapScoreState\x12\x33\n\x0cround_states\x18\x04 \x03(\x0b\x32\x1d.bragi.CsgoPreviousRoundState\x12G\n\x0fteam_map_states\x18\x05 \x03(\x0b\x32..bragi.CsgoPreviousMapState.TeamMapStatesEntry\x1aM\n\x12TeamMapStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12&\n\x05value\x18\x02 \x01(\x0b\x32\x17.bragi.CsgoTeamMapState:\x02\x38\x01\"\xf8\x03\n\x10\x43sgoMapInfoState\x12\x15\n\rcsgo_map_name\x18\x01 \x01(\t\x12\x1a\n\x12max_rounds_default\x18\x02 \x01(\r\x12\x1b\n\x13max_rounds_overtime\x18\x03 \x01(\r\x12<\n\x14\x66reeze_time_duration\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationH\x00\x88\x01\x01\x12;\n\x13round_time_duration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationH\x01\x88\x01\x01\x12:\n\x12\x62omb_time_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationH\x02\x88\x01\x01\x12\x33\n\nstart_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x03\x88\x01\x01\x12\x31\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x04\x88\x01\x01\x12\x11\n\tmap_ended\x18\t \x01(\x08\x42\x17\n\x15_freeze_time_durationB\x16\n\x14_round_time_durationB\x15\n\x13_bomb_time_durationB\r\n\x0b_start_timeB\x0b\n\t_end_time\";\n\x11\x43sgoMapScoreState\x12\x12\n\nhome_score\x18\x01 \x01(\r\x12\x12\n\naway_score\x18\x02 \x01(\r\"\x85\x02\n\"CsgoCurrentRoundStatePartialUpdate\x12)\n\x04info\x18\x01 \x01(\x0b\x32\x19.bragi.CsgoRoundInfoStateH\x00\x12)\n\x04time\x18\x02 \x01(\x0b\x32\x19.bragi.CsgoRoundTimeStateH\x00\x12*\n\nbomb_state\x18\x03 \x01(\x0b\x32\x14.bragi.CsgoBombStateH\x00\x12S\n\x1ateam_states_partial_update\x18\x04 \x01(\x0b\x32-.bragi.CsgoTeamCurrentRoundStatePartialUpdateH\x00\x42\x08\n\x06update\"\xc1\x02\n\x15\x43sgoCurrentRoundState\x12\x14\n\x0cround_number\x18\x01 \x01(\r\x12\'\n\x04info\x18\x02 \x01(\x0b\x32\x19.bragi.CsgoRoundInfoState\x12\'\n\x04time\x18\x03 \x01(\x0b\x32\x19.bragi.CsgoRoundTimeState\x12(\n\nbomb_state\x18\x04 \x01(\x0b\x32\x14.bragi.CsgoBombState\x12\x41\n\x0bteam_states\x18\x05 \x03(\x0b\x32,.bragi.CsgoCurrentRoundState.TeamStatesEntry\x1aS\n\x0fTeamStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12/\n\x05value\x18\x02 \x01(\x0b\x32 .bragi.CsgoTeamCurrentRoundState:\x02\x38\x01\"\xf1\x01\n\x16\x43sgoPreviousRoundState\x12\x14\n\x0cround_number\x18\x01 \x01(\r\x12\'\n\x04info\x18\x02 \x01(\x0b\x32\x19.bragi.CsgoRoundInfoState\x12\x42\n\x0bteam_states\x18\x04 \x03(\x0b\x32-.bragi.CsgoPreviousRoundState.TeamStatesEntry\x1aT\n\x0fTeamStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x30\n\x05value\x18\x02 \x01(\x0b\x32!.bragi.CsgoPreviousTeamRoundState:\x02\x38\x01\"\xa5\x02\n\x12\x43sgoRoundInfoState\x12-\n\nround_type\x18\x01 \x01(\x0e\x32\x19.bragi.CsgoRoundStateType\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x1d\n\x10winning_team_urn\x18\x04 \x01(\tH\x01\x88\x01\x01\x12-\n\nwin_reason\x18\x05 \x01(\x0e\x32\x14.bragi.CsgoWinReasonH\x02\x88\x01\x01\x42\x0b\n\t_end_timeB\x13\n\x11_winning_team_urnB\r\n\x0b_win_reason\"G\n\x12\x43sgoRoundTimeState\x12\x31\n\x0etime_remaining\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xf0\x02\n\rCsgoBombState\x12.\n\x07\x63\x61rried\x18\x01 \x01(\x0b\x32\x1b.bragi.CsgoBombCarriedStateH\x00\x12.\n\x07\x64ropped\x18\x02 \x01(\x0b\x32\x1b.bragi.CsgoBombDroppedStateH\x00\x12\x30\n\x08planting\x18\x03 \x01(\x0b\x32\x1c.bragi.CsgoBombPlantingStateH\x00\x12.\n\x07planted\x18\x04 \x01(\x0b\x32\x1b.bragi.CsgoBombPlantedStateH\x00\x12\x30\n\x08\x64\x65\x66using\x18\x05 \x01(\x0b\x32\x1c.bragi.CsgoBombDefusingStateH\x00\x12.\n\x07\x64\x65\x66used\x18\x06 \x01(\x0b\x32\x1b.bragi.CsgoBombDefusedStateH\x00\x12\x30\n\x08\x65xploded\x18\x07 \x01(\x0b\x32\x1c.bragi.CsgoBombExplodedStateH\x00\x42\t\n\x07payload\"Q\n\x14\x43sgoBombCarriedState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\"\\\n\x14\x43sgoBombDroppedState\x12\x1d\n\x15\x64ropped_by_player_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\"\x80\x01\n\x15\x43sgoBombPlantingState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12,\n\tcountdown\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xba\x01\n\x14\x43sgoBombPlantedState\x12\x1d\n\x15planted_by_player_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12.\n\nplanted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\tcountdown\x18\x04 \x01(\x0b\x32\x19.google.protobuf.Duration\"\xb7\x01\n\x15\x43sgoBombDefusingState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12,\n\tcountdown\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x35\n\x11\x64\x65\x66use_started_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8c\x01\n\x14\x43sgoBombDefusedState\x12\x1d\n\x15\x64\x65\x66used_by_player_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12.\n\ndefused_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"o\n\x15\x43sgoBombExplodedState\x12%\n\x08position\x18\x01 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12/\n\x0b\x65xploded_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x8e\x02\n\x1d\x43sgoTeamMapStatePartialUpdate\x12\x10\n\x08team_urn\x18\x01 \x01(\t\x12=\n\x07payload\x18\x02 \x01(\x0b\x32,.bragi.CsgoTeamMapStatePartialUpdate.Payload\x1a\x9b\x01\n\x07Payload\x12\x31\n\x0cplayer_state\x18\x02 \x01(\x0b\x32\x19.bragi.CsgoPlayerMapStateH\x00\x12R\n player_map_states_partial_update\x18\x01 \x01(\x0b\x32&.bragi.CsgoPlayerMapStatePartialUpdateH\x00\x42\t\n\x07payload\"\xdf\x01\n\x10\x43sgoTeamMapState\x12\x10\n\x08team_urn\x18\x01 \x01(\t\x12\x1d\n\x04side\x18\x02 \x01(\x0e\x32\x0f.bragi.CsgoSide\x12G\n\x11player_map_states\x18\x03 \x03(\x0b\x32,.bragi.CsgoTeamMapState.PlayerMapStatesEntry\x1aQ\n\x14PlayerMapStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12(\n\x05value\x18\x02 \x01(\x0b\x32\x19.bragi.CsgoPlayerMapState:\x02\x38\x01\"\xb4\x02\n&CsgoTeamCurrentRoundStatePartialUpdate\x12\x10\n\x08team_urn\x18\x01 \x01(\t\x12\x46\n\x07payload\x18\x02 \x01(\x0b\x32\x35.bragi.CsgoTeamCurrentRoundStatePartialUpdate.Payload\x1a\xaf\x01\n\x07Payload\x12:\n\x0cplayer_state\x18\x02 \x01(\x0b\x32\".bragi.CsgoPlayerCurrentRoundStateH\x00\x12]\n\"player_round_states_partial_update\x18\x01 \x01(\x0b\x32/.bragi.CsgoPlayerCurrentRoundStatePartialUpdateH\x00\x42\t\n\x07payload\"\xe1\x01\n\x19\x43sgoTeamCurrentRoundState\x12\x10\n\x08team_urn\x18\x01 \x01(\t\x12T\n\x13player_round_states\x18\x02 \x03(\x0b\x32\x37.bragi.CsgoTeamCurrentRoundState.PlayerRoundStatesEntry\x1a\\\n\x16PlayerRoundStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x31\n\x05value\x18\x02 \x01(\x0b\x32\".bragi.CsgoPlayerCurrentRoundState:\x02\x38\x01\"\xc4\x01\n\x1a\x43sgoPreviousTeamRoundState\x12\x10\n\x08team_urn\x18\x01 \x01(\t\x12?\n\x07players\x18\x02 \x03(\x0b\x32..bragi.CsgoPreviousTeamRoundState.PlayersEntry\x1aS\n\x0cPlayersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x32\n\x05value\x18\x02 \x01(\x0b\x32#.bragi.CsgoPlayerPreviousRoundState:\x02\x38\x01\"\xc7\x01\n\x1f\x43sgoPlayerMapStatePartialUpdate\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12?\n\x07payload\x18\x02 \x01(\x0b\x32..bragi.CsgoPlayerMapStatePartialUpdate.Payload\x1aO\n\x07Payload\x12\x39\n\nstatistics\x18\x01 \x01(\x0b\x32#.bragi.CsgoPlayerMapStatisticsStateH\x00\x42\t\n\x07payload\"v\n\x12\x43sgoPlayerMapState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x13\n\x0bplayer_name\x18\x02 \x01(\t\x12\x37\n\nstatistics\x18\x03 \x01(\x0b\x32#.bragi.CsgoPlayerMapStatisticsState\"\x92\x01\n\x1c\x43sgoPlayerMapStatisticsState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x15\n\ropening_kills\x18\x04 \x01(\r\x12\x16\n\x0eopening_deaths\x18\x05 \x01(\r\x12/\n\nstatistics\x18\x02 \x01(\x0b\x32\x1b.bragi.CsgoPlayerStatistics\"\xc5\x02\n(CsgoPlayerCurrentRoundStatePartialUpdate\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12H\n\x07payload\x18\x02 \x01(\x0b\x32\x37.bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload\x1a\xba\x01\n\x07Payload\x12\x42\n\nstatistics\x18\x01 \x01(\x0b\x32,.bragi.CsgoPlayerCurrentRoundStatisticsStateH\x00\x12,\n\x05items\x18\x02 \x01(\x0b\x32\x1b.bragi.CsgoPlayerItemsStateH\x00\x12\x32\n\x08position\x18\x03 \x01(\x0b\x32\x1e.bragi.CsgoPlayerPositionStateH\x00\x42\t\n\x07payload\"\xe6\x01\n\x1b\x43sgoPlayerCurrentRoundState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x13\n\x0bplayer_name\x18\x02 \x01(\t\x12@\n\nstatistics\x18\x03 \x01(\x0b\x32,.bragi.CsgoPlayerCurrentRoundStatisticsState\x12*\n\x05items\x18\x04 \x01(\x0b\x32\x1b.bragi.CsgoPlayerItemsState\x12\x30\n\x08position\x18\x05 \x01(\x0b\x32\x1e.bragi.CsgoPlayerPositionState\"\xab\x01\n%CsgoPlayerCurrentRoundStatisticsState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\r\n\x05\x61live\x18\x02 \x01(\x08\x12\x0e\n\x06health\x18\x03 \x01(\r\x12\r\n\x05\x61rmor\x18\x04 \x01(\r\x12\x0f\n\x07\x62\x61lance\x18\x05 \x01(\r\x12/\n\nstatistics\x18\x06 \x01(\x0b\x32\x1b.bragi.CsgoPlayerStatistics\"c\n\x14\x43sgoPlayerItemsState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x17\n\x0f\x65quipment_value\x18\x02 \x01(\r\x12\x1e\n\x05items\x18\x03 \x03(\x0b\x32\x0f.bragi.CsgoItem\"x\n\x1c\x43sgoPlayerPreviousRoundState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x13\n\x0bplayer_name\x18\x02 \x01(\t\x12/\n\nstatistics\x18\x03 \x01(\x0b\x32\x1b.bragi.CsgoPlayerStatistics\"T\n\x17\x43sgoPlayerPositionState\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12%\n\x08position\x18\x02 \x01(\x0b\x32\x13.bragi.CsgoPosition\"\xe8\x04\n\x14\x43sgoPlayerStatistics\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\r\n\x05kills\x18\x02 \x01(\r\x12\x16\n\x0e\x66riendly_kills\x18\x03 \x01(\r\x12\x13\n\x0b\x65nemy_kills\x18\x04 \x01(\r\x12\x12\n\nself_kills\x18\x05 \x01(\r\x12\x0e\n\x06\x64\x65\x61ths\x18\x06 \x01(\r\x12\x0f\n\x07\x61ssists\x18\x07 \x01(\r\x12\x11\n\theadshots\x18\x08 \x01(\r\x12(\n\x1b\x66riendly_damage_dealt_armor\x18\t \x01(\rH\x00\x88\x01\x01\x12)\n\x1c\x66riendly_damage_dealt_health\x18\n \x01(\rH\x01\x88\x01\x01\x12%\n\x18\x65nemy_damage_dealt_armor\x18\x0b \x01(\rH\x02\x88\x01\x01\x12&\n\x19\x65nemy_damage_dealt_health\x18\x0c \x01(\rH\x03\x88\x01\x01\x12)\n\x1c\x65nemy_damage_dealt_armor_raw\x18\r \x01(\rH\x04\x88\x01\x01\x12*\n\x1d\x65nemy_damage_dealt_health_raw\x18\x0e \x01(\rH\x05\x88\x01\x01\x42\x1e\n\x1c_friendly_damage_dealt_armorB\x1f\n\x1d_friendly_damage_dealt_healthB\x1b\n\x19_enemy_damage_dealt_armorB\x1c\n\x1a_enemy_damage_dealt_healthB\x1f\n\x1d_enemy_damage_dealt_armor_rawB \n\x1e_enemy_damage_dealt_health_raw\"^\n\x08\x43sgoItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12#\n\x04type\x18\x02 \x01(\x0e\x32\x15.bragi.CsgoWeaponType\x12\r\n\x05\x63ount\x18\x03 \x01(\r\x12\x10\n\x08isActive\x18\x04 \x01(\x08\">\n\x0c\x43sgoPosition\x12\t\n\x01x\x18\x01 \x01(\x02\x12\t\n\x01y\x18\x02 \x01(\x02\x12\t\n\x01z\x18\x04 \x01(\x02\x12\r\n\x05\x61ngle\x18\x03 \x01(\x02\"\xf9\x07\n\tCsgoEvent\x12;\n\x13\x62omb_defuse_started\x18\x01 \x01(\x0b\x32\x1c.bragi.CsgoBombDefuseStartedH\x00\x12.\n\x0c\x62omb_defused\x18\x02 \x01(\x0b\x32\x16.bragi.CsgoBombDefusedH\x00\x12\x30\n\rbomb_exploded\x18\x03 \x01(\x0b\x32\x17.bragi.CsgoBombExplodedH\x00\x12\x39\n\x12\x62omb_plant_started\x18\x15 \x01(\x0b\x32\x1b.bragi.CsgoBombPlantStartedH\x00\x12.\n\x0c\x62omb_planted\x18\x04 \x01(\x0b\x32\x16.bragi.CsgoBombPlantedH\x00\x12.\n\x0c\x64\x61mage_dealt\x18\x05 \x01(\x0b\x32\x16.bragi.CsgoDamageDealtH\x00\x12\x37\n\x11\x66reeze_time_ended\x18\x06 \x01(\x0b\x32\x1a.bragi.CsgoFreezeTimeEndedH\x00\x12;\n\x13\x66reeze_time_started\x18\x07 \x01(\x0b\x32\x1c.bragi.CsgoFreezeTimeStartedH\x00\x12(\n\titem_drop\x18\x08 \x01(\x0b\x32\x13.bragi.CsgoItemDropH\x00\x12-\n\x0citem_pick_up\x18\t \x01(\x0b\x32\x15.bragi.CsgoItemPickUpH\x00\x12\x30\n\ritem_purchase\x18\n \x01(\x0b\x32\x17.bragi.CsgoItemPurchaseH\x00\x12*\n\nitem_throw\x18\x0b \x01(\x0b\x32\x14.bragi.CsgoItemThrowH\x00\x12\x1f\n\x04kill\x18\x0c \x01(\x0b\x32\x0f.bragi.CsgoKillH\x00\x12!\n\x05\x64\x65\x61th\x18\r \x01(\x0b\x32\x10.bragi.CsgoDeathH\x00\x12$\n\x07map_end\x18\x0e \x01(\x0b\x32\x11.bragi.CsgoMapEndH\x00\x12(\n\tmap_start\x18\x0f \x01(\x0b\x32\x13.bragi.CsgoMapStartH\x00\x12(\n\tround_end\x18\x10 \x01(\x0b\x32\x13.bragi.CsgoRoundEndH\x00\x12,\n\x0bround_pause\x18\x11 \x01(\x0b\x32\x15.bragi.CsgoRoundPauseH\x00\x12.\n\x0cround_resume\x18\x12 \x01(\x0b\x32\x16.bragi.CsgoRoundResumeH\x00\x12\x32\n\x0eround_rollback\x18\x13 \x01(\x0b\x32\x18.bragi.CsgoRoundRollbackH\x00\x12,\n\x0bround_start\x18\x14 \x01(\x0b\x32\x15.bragi.CsgoRoundStartH\x00\x42\x07\n\x05\x65vent\"J\n\x11\x43sgoPlayerBalance\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x10\n\x08team_urn\x18\x02 \x01(\t\x12\x0f\n\x07\x62\x61lance\x18\x03 \x01(\r\"p\n\x0f\x43sgoPlayerItems\x12\x12\n\nplayer_urn\x18\x01 \x01(\t\x12\x10\n\x08team_urn\x18\x02 \x01(\t\x12\x17\n\x0f\x65quipment_value\x18\x03 \x01(\r\x12\x1e\n\x05items\x18\x04 \x03(\x0b\x32\x0f.bragi.CsgoItem\"\xbb\x01\n\x15\x43sgoBombDefuseStarted\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x12\n\nplayer_urn\x18\x04 \x01(\t\x12\x10\n\x08team_urn\x18\x05 \x01(\t\"\xb5\x01\n\x0f\x43sgoBombDefused\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x12\n\nplayer_urn\x18\x04 \x01(\t\x12\x10\n\x08team_urn\x18\x05 \x01(\t\"\x90\x01\n\x10\x43sgoBombExploded\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\"\xba\x01\n\x14\x43sgoBombPlantStarted\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x12\n\nplayer_urn\x18\x04 \x01(\t\x12\x10\n\x08team_urn\x18\x05 \x01(\t\"\xb5\x01\n\x0f\x43sgoBombPlanted\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x12\n\nplayer_urn\x18\x04 \x01(\t\x12\x10\n\x08team_urn\x18\x05 \x01(\t\"\xcb\x03\n\x0f\x43sgoDamageDealt\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12,\n\x0fkiller_position\x18\x04 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12\x12\n\nkiller_urn\x18\x05 \x01(\t\x12\x17\n\x0fkiller_team_urn\x18\x06 \x01(\t\x12\x12\n\nvictim_urn\x18\x07 \x01(\t\x12\x17\n\x0fvictim_team_urn\x18\x08 \x01(\t\x12\x0e\n\x06weapon\x18\t \x01(\t\x12\x10\n\x08hitgroup\x18\n \x01(\t\x12\x17\n\x0fhealth_deducted\x18\x0b \x01(\r\x12\x18\n\x10health_remaining\x18\x0c \x01(\r\x12\x16\n\x0e\x61rmor_deducted\x18\r \x01(\r\x12\x17\n\x0f\x61rmor_remaining\x18\x0e \x01(\r\x12,\n\x0fvictim_position\x18\x0f \x01(\x0b\x32\x13.bragi.CsgoPosition\"\xce\x03\n\x13\x43sgoFreezeTimeEnded\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12G\n\x0fplayer_balances\x18\x04 \x03(\x0b\x32..bragi.CsgoFreezeTimeEnded.PlayerBalancesEntry\x12M\n\x12player_inventories\x18\x05 \x03(\x0b\x32\x31.bragi.CsgoFreezeTimeEnded.PlayerInventoriesEntry\x1aO\n\x13PlayerBalancesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.bragi.CsgoPlayerBalance:\x02\x38\x01\x1aP\n\x16PlayerInventoriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.bragi.CsgoPlayerItems:\x02\x38\x01\"\xc5\x03\n\x15\x43sgoFreezeTimeStarted\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12I\n\x0fplayer_balances\x18\x04 \x03(\x0b\x32\x30.bragi.CsgoFreezeTimeStarted.PlayerBalancesEntry\x12J\n\x10teams_round_info\x18\x05 \x03(\x0b\x32\x30.bragi.CsgoFreezeTimeStarted.TeamsRoundInfoEntry\x1aO\n\x13PlayerBalancesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.bragi.CsgoPlayerBalance:\x02\x38\x01\x1a\x46\n\x13TeamsRoundInfoEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0e\x32\x0f.bragi.CsgoSide:\x02\x38\x01\"\xe7\x01\n\x0c\x43sgoItemDrop\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12%\n\x08position\x18\x04 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12\x12\n\nplayer_urn\x18\x05 \x01(\t\x12\x10\n\x08team_urn\x18\x06 \x01(\t\x12\x0c\n\x04item\x18\x07 \x01(\t\"\xc2\x01\n\x0e\x43sgoItemPickUp\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x12\n\nplayer_urn\x18\x04 \x01(\t\x12\x10\n\x08team_urn\x18\x05 \x01(\t\x12\x0c\n\x04item\x18\x06 \x01(\t\"\xf5\x01\n\x10\x43sgoItemPurchase\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x12\n\nplayer_urn\x18\x04 \x01(\t\x12\x10\n\x08team_urn\x18\x05 \x01(\t\x12\x0c\n\x04item\x18\x06 \x01(\t\x12\x16\n\x0eplayer_balance\x18\x07 \x01(\r\x12\x17\n\x0f\x65quipment_value\x18\x08 \x01(\r\"\xe8\x01\n\rCsgoItemThrow\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12%\n\x08position\x18\x04 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12\x12\n\nplayer_urn\x18\x05 \x01(\t\x12\x10\n\x08team_urn\x18\x06 \x01(\t\x12\x0c\n\x04item\x18\x07 \x01(\t\"\xda\x02\n\x08\x43sgoKill\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12,\n\x0fkiller_position\x18\x04 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12\x12\n\nkiller_urn\x18\x05 \x01(\t\x12\x17\n\x0fkiller_team_urn\x18\x06 \x01(\t\x12\x12\n\nvictim_urn\x18\x07 \x01(\t\x12\x17\n\x0fvictim_team_urn\x18\x08 \x01(\t\x12\x0e\n\x06weapon\x18\t \x01(\t\x12\x10\n\x08headshot\x18\n \x01(\x08\x12\x12\n\npenetrated\x18\x0b \x01(\x08\x12\x12\n\nassistants\x18\x0c \x03(\t\"\x94\x02\n\tCsgoDeath\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12%\n\x08position\x18\x04 \x01(\x0b\x32\x13.bragi.CsgoPosition\x12\x12\n\nplayer_urn\x18\x05 \x01(\t\x12\x10\n\x08team_urn\x18\x06 \x01(\t\x12\x14\n\x0ctotal_deaths\x18\x07 \x01(\r\x12\x0f\n\x07suicide\x18\t \x01(\x08\x12\x15\n\rdeath_by_bomb\x18\n \x01(\x08\"\x88\x01\n\nCsgoMapEnd\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x15\n\rcsgo_map_name\x18\x04 \x01(\t\x12\x18\n\x10winning_team_urn\x18\x05 \x01(\t\"R\n\x0c\x43sgoMapStart\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x15\n\rcsgo_map_name\x18\x02 \x01(\t\"\xfd\x03\n\x0c\x43sgoRoundEnd\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\x12\x18\n\x10winning_team_urn\x18\x04 \x01(\t\x12(\n\nwin_reason\x18\x05 \x01(\x0e\x32\x14.bragi.CsgoWinReason\x12@\n\x0fplayer_balances\x18\x06 \x03(\x0b\x32\'.bragi.CsgoRoundEnd.PlayerBalancesEntry\x12\x46\n\x12player_inventories\x18\x07 \x03(\x0b\x32*.bragi.CsgoRoundEnd.PlayerInventoriesEntry\x1aO\n\x13PlayerBalancesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.bragi.CsgoPlayerBalance:\x02\x38\x01\x1aP\n\x16PlayerInventoriesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.bragi.CsgoPlayerItems:\x02\x38\x01\"\x8e\x01\n\x0e\x43sgoRoundPause\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\"\x8f\x01\n\x0f\x43sgoRoundResume\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r\".\n\x11\x43sgoRoundRollback\x12\x19\n\x11next_round_number\x18\x01 \x01(\r\"\x8e\x01\n\x0e\x43sgoRoundStart\x12+\n\x08map_time\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x31\n\x0etime_remaining\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x1c\n\x14\x63urrent_round_number\x18\x03 \x01(\r*a\n\x08\x43sgoSide\x12\x19\n\x15\x43SGO_SIDE_UNSPECIFIED\x10\x00\x12 \n\x1c\x43SGO_SIDE_COUNTER_TERRORISTS\x10\x01\x12\x18\n\x14\x43SGO_SIDE_TERRORISTS\x10\x02*\x88\x02\n\rCsgoWinReason\x12\x1f\n\x1b\x43SGO_WIN_REASON_UNSPECIFIED\x10\x00\x12\x31\n-CSGO_WIN_REASON_COUNTER_TERRORISTS_ELIMINATED\x10\x01\x12)\n%CSGO_WIN_REASON_TERRORISTS_ELIMINATED\x10\x02\x12\x1d\n\x19\x43SGO_WIN_REASON_EXPLOSION\x10\x03\x12\x1a\n\x16\x43SGO_WIN_REASON_DEFUSE\x10\x04\x12\x1b\n\x17\x43SGO_WIN_REASON_TIMEOUT\x10\x05\x12 \n\x1c\x43SGO_WIN_REASON_TARGET_SAVED\x10\x06*\xcc\x01\n\x12\x43sgoRoundStateType\x12%\n!CSGO_ROUND_STATE_TYPE_UNSPECIFIED\x10\x00\x12\"\n\x1e\x43SGO_ROUND_STATE_TYPE_BUY_TIME\x10\x01\x12%\n!CSGO_ROUND_STATE_TYPE_IN_PROGRESS\x10\x02\x12 \n\x1c\x43SGO_ROUND_STATE_TYPE_PAUSED\x10\x03\x12\"\n\x1e\x43SGO_ROUND_STATE_TYPE_FINISHED\x10\x04*\xe9\x02\n\x0e\x43sgoWeaponType\x12 \n\x1c\x43SGO_WEAPON_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x43SGO_WEAPON_TYPE_PISTOL\x10\x01\x12\x19\n\x15\x43SGO_WEAPON_TYPE_BOMB\x10\x02\x12\x1c\n\x18\x43SGO_WEAPON_TYPE_GRENADE\x10\x03\x12 \n\x1c\x43SGO_WEAPON_TYPE_MACHINE_GUN\x10\x04\x12\x1a\n\x16\x43SGO_WEAPON_TYPE_RIFLE\x10\x05\x12\x1c\n\x18\x43SGO_WEAPON_TYPE_SHOTGUN\x10\x06\x12!\n\x1d\x43SGO_WEAPON_TYPE_SNIPER_RIFLE\x10\x07\x12#\n\x1f\x43SGO_WEAPON_TYPE_SUBMACHINE_GUN\x10\x08\x12\x1a\n\x16\x43SGO_WEAPON_TYPE_KNIFE\x10\t\x12\x1f\n\x1b\x43SGO_WEAPON_TYPE_DEFUSE_KIT\x10\nB!\n\x0f\x63om.oddin.bragiZ\x0eoddin.gg/bragib\x06proto3' , dependencies=[google_dot_protobuf_dot_timestamp__pb2.DESCRIPTOR,google_dot_protobuf_dot_duration__pb2.DESCRIPTOR,bragi_dot_common__pb2.DESCRIPTOR,]) _CSGOSIDE = _descriptor.EnumDescriptor( name='CsgoSide', full_name='bragi.CsgoSide', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='CSGO_SIDE_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_SIDE_COUNTER_TERRORISTS', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_SIDE_TERRORISTS', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=15527, serialized_end=15624, ) _sym_db.RegisterEnumDescriptor(_CSGOSIDE) CsgoSide = enum_type_wrapper.EnumTypeWrapper(_CSGOSIDE) _CSGOWINREASON = _descriptor.EnumDescriptor( name='CsgoWinReason', full_name='bragi.CsgoWinReason', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_COUNTER_TERRORISTS_ELIMINATED', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_TERRORISTS_ELIMINATED', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_EXPLOSION', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_DEFUSE', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_TIMEOUT', index=5, number=5, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WIN_REASON_TARGET_SAVED', index=6, number=6, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=15627, serialized_end=15891, ) _sym_db.RegisterEnumDescriptor(_CSGOWINREASON) CsgoWinReason = enum_type_wrapper.EnumTypeWrapper(_CSGOWINREASON) _CSGOROUNDSTATETYPE = _descriptor.EnumDescriptor( name='CsgoRoundStateType', full_name='bragi.CsgoRoundStateType', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='CSGO_ROUND_STATE_TYPE_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_ROUND_STATE_TYPE_BUY_TIME', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_ROUND_STATE_TYPE_IN_PROGRESS', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_ROUND_STATE_TYPE_PAUSED', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_ROUND_STATE_TYPE_FINISHED', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=15894, serialized_end=16098, ) _sym_db.RegisterEnumDescriptor(_CSGOROUNDSTATETYPE) CsgoRoundStateType = enum_type_wrapper.EnumTypeWrapper(_CSGOROUNDSTATETYPE) _CSGOWEAPONTYPE = _descriptor.EnumDescriptor( name='CsgoWeaponType', full_name='bragi.CsgoWeaponType', filename=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key, values=[ _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_UNSPECIFIED', index=0, number=0, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_PISTOL', index=1, number=1, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_BOMB', index=2, number=2, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_GRENADE', index=3, number=3, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_MACHINE_GUN', index=4, number=4, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_RIFLE', index=5, number=5, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_SHOTGUN', index=6, number=6, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_SNIPER_RIFLE', index=7, number=7, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_SUBMACHINE_GUN', index=8, number=8, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_KNIFE', index=9, number=9, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), _descriptor.EnumValueDescriptor( name='CSGO_WEAPON_TYPE_DEFUSE_KIT', index=10, number=10, serialized_options=None, type=None, create_key=_descriptor._internal_create_key), ], containing_type=None, serialized_options=None, serialized_start=16101, serialized_end=16462, ) _sym_db.RegisterEnumDescriptor(_CSGOWEAPONTYPE) CsgoWeaponType = enum_type_wrapper.EnumTypeWrapper(_CSGOWEAPONTYPE) CSGO_SIDE_UNSPECIFIED = 0 CSGO_SIDE_COUNTER_TERRORISTS = 1 CSGO_SIDE_TERRORISTS = 2 CSGO_WIN_REASON_UNSPECIFIED = 0 CSGO_WIN_REASON_COUNTER_TERRORISTS_ELIMINATED = 1 CSGO_WIN_REASON_TERRORISTS_ELIMINATED = 2 CSGO_WIN_REASON_EXPLOSION = 3 CSGO_WIN_REASON_DEFUSE = 4 CSGO_WIN_REASON_TIMEOUT = 5 CSGO_WIN_REASON_TARGET_SAVED = 6 CSGO_ROUND_STATE_TYPE_UNSPECIFIED = 0 CSGO_ROUND_STATE_TYPE_BUY_TIME = 1 CSGO_ROUND_STATE_TYPE_IN_PROGRESS = 2 CSGO_ROUND_STATE_TYPE_PAUSED = 3 CSGO_ROUND_STATE_TYPE_FINISHED = 4 CSGO_WEAPON_TYPE_UNSPECIFIED = 0 CSGO_WEAPON_TYPE_PISTOL = 1 CSGO_WEAPON_TYPE_BOMB = 2 CSGO_WEAPON_TYPE_GRENADE = 3 CSGO_WEAPON_TYPE_MACHINE_GUN = 4 CSGO_WEAPON_TYPE_RIFLE = 5 CSGO_WEAPON_TYPE_SHOTGUN = 6 CSGO_WEAPON_TYPE_SNIPER_RIFLE = 7 CSGO_WEAPON_TYPE_SUBMACHINE_GUN = 8 CSGO_WEAPON_TYPE_KNIFE = 9 CSGO_WEAPON_TYPE_DEFUSE_KIT = 10 _CSGOMATCHMESSAGE_PAYLOAD = _descriptor.Descriptor( name='Payload', full_name='bragi.CsgoMatchMessage.Payload', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='snapshot', full_name='bragi.CsgoMatchMessage.Payload.snapshot', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='update', full_name='bragi.CsgoMatchMessage.Payload.update', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoMatchMessage.Payload.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=267, serialized_end=375, ) _CSGOMATCHMESSAGE = _descriptor.Descriptor( name='CsgoMatchMessage', full_name='bragi.CsgoMatchMessage', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='match_urn', full_name='bragi.CsgoMatchMessage.match_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sequence', full_name='bragi.CsgoMatchMessage.sequence', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='timestamp', full_name='bragi.CsgoMatchMessage.timestamp', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='payload', full_name='bragi.CsgoMatchMessage.payload', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOMATCHMESSAGE_PAYLOAD, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=113, serialized_end=375, ) _CSGOMATCHSNAPSHOT = _descriptor.Descriptor( name='CsgoMatchSnapshot', full_name='bragi.CsgoMatchSnapshot', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='match_urn', full_name='bragi.CsgoMatchSnapshot.match_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='sequence', full_name='bragi.CsgoMatchSnapshot.sequence', index=1, number=2, type=4, cpp_type=4, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='timestamp', full_name='bragi.CsgoMatchSnapshot.timestamp', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='announcements', full_name='bragi.CsgoMatchSnapshot.announcements', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='match_state', full_name='bragi.CsgoMatchSnapshot.match_state', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=378, serialized_end=569, ) _CSGOMATCHUPDATE_PAYLOAD = _descriptor.Descriptor( name='Payload', full_name='bragi.CsgoMatchUpdate.Payload', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='match_state', full_name='bragi.CsgoMatchUpdate.Payload.match_state', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='partial_updates', full_name='bragi.CsgoMatchUpdate.Payload.partial_updates', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoMatchUpdate.Payload.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=675, serialized_end=805, ) _CSGOMATCHUPDATE = _descriptor.Descriptor( name='CsgoMatchUpdate', full_name='bragi.CsgoMatchUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='payload', full_name='bragi.CsgoMatchUpdate.payload', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='events', full_name='bragi.CsgoMatchUpdate.events', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOMATCHUPDATE_PAYLOAD, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=572, serialized_end=805, ) _CSGOMATCHSTATEPARTIALUPDATES = _descriptor.Descriptor( name='CsgoMatchStatePartialUpdates', full_name='bragi.CsgoMatchStatePartialUpdates', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='updates', full_name='bragi.CsgoMatchStatePartialUpdates.updates', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=807, serialized_end=890, ) _CSGOMATCHSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoMatchStatePartialUpdate', full_name='bragi.CsgoMatchStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='score', full_name='bragi.CsgoMatchStatePartialUpdate.score', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_map_state', full_name='bragi.CsgoMatchStatePartialUpdate.current_map_state', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_map_state_partial_update', full_name='bragi.CsgoMatchStatePartialUpdate.current_map_state_partial_update', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='update', full_name='bragi.CsgoMatchStatePartialUpdate.update', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=893, serialized_end=1119, ) _CSGOMATCHSTATE = _descriptor.Descriptor( name='CsgoMatchState', full_name='bragi.CsgoMatchState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='match_urn', full_name='bragi.CsgoMatchState.match_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='match_type', full_name='bragi.CsgoMatchState.match_type', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='home_team', full_name='bragi.CsgoMatchState.home_team', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='away_team', full_name='bragi.CsgoMatchState.away_team', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='score', full_name='bragi.CsgoMatchState.score', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='match_status', full_name='bragi.CsgoMatchState.match_status', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_map_state', full_name='bragi.CsgoMatchState.current_map_state', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='previous_map_states', full_name='bragi.CsgoMatchState.previous_map_states', index=7, number=8, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1122, serialized_end=1470, ) _CSGOMATCHSCORESTATE = _descriptor.Descriptor( name='CsgoMatchScoreState', full_name='bragi.CsgoMatchScoreState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='home_score', full_name='bragi.CsgoMatchScoreState.home_score', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='away_score', full_name='bragi.CsgoMatchScoreState.away_score', index=1, number=2, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1472, serialized_end=1533, ) _CSGOTEAM = _descriptor.Descriptor( name='CsgoTeam', full_name='bragi.CsgoTeam', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoTeam.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_name', full_name='bragi.CsgoTeam.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1535, serialized_end=1582, ) _CSGOCURRENTMAPSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoCurrentMapStatePartialUpdate', full_name='bragi.CsgoCurrentMapStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='info', full_name='bragi.CsgoCurrentMapStatePartialUpdate.info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='score', full_name='bragi.CsgoCurrentMapStatePartialUpdate.score', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_state', full_name='bragi.CsgoCurrentMapStatePartialUpdate.current_round_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_state_partial_update', full_name='bragi.CsgoCurrentMapStatePartialUpdate.current_round_state_partial_update', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_map_states_partial_update', full_name='bragi.CsgoCurrentMapStatePartialUpdate.team_map_states_partial_update', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='update', full_name='bragi.CsgoCurrentMapStatePartialUpdate.update', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=1585, serialized_end=1943, ) _CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY = _descriptor.Descriptor( name='TeamMapStatesEntry', full_name='bragi.CsgoCurrentMapState.TeamMapStatesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoCurrentMapState.TeamMapStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoCurrentMapState.TeamMapStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2261, serialized_end=2338, ) _CSGOCURRENTMAPSTATE = _descriptor.Descriptor( name='CsgoCurrentMapState', full_name='bragi.CsgoCurrentMapState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_order', full_name='bragi.CsgoCurrentMapState.map_order', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='info', full_name='bragi.CsgoCurrentMapState.info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='score', full_name='bragi.CsgoCurrentMapState.score', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_state', full_name='bragi.CsgoCurrentMapState.current_round_state', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='previous_round_states', full_name='bragi.CsgoCurrentMapState.previous_round_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_map_states', full_name='bragi.CsgoCurrentMapState.team_map_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1946, serialized_end=2338, ) _CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY = _descriptor.Descriptor( name='TeamMapStatesEntry', full_name='bragi.CsgoPreviousMapState.TeamMapStatesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoPreviousMapState.TeamMapStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoPreviousMapState.TeamMapStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2261, serialized_end=2338, ) _CSGOPREVIOUSMAPSTATE = _descriptor.Descriptor( name='CsgoPreviousMapState', full_name='bragi.CsgoPreviousMapState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_order', full_name='bragi.CsgoPreviousMapState.map_order', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='info', full_name='bragi.CsgoPreviousMapState.info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='score', full_name='bragi.CsgoPreviousMapState.score', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_states', full_name='bragi.CsgoPreviousMapState.round_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_map_states', full_name='bragi.CsgoPreviousMapState.team_map_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=2341, serialized_end=2667, ) _CSGOMAPINFOSTATE = _descriptor.Descriptor( name='CsgoMapInfoState', full_name='bragi.CsgoMapInfoState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='csgo_map_name', full_name='bragi.CsgoMapInfoState.csgo_map_name', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_rounds_default', full_name='bragi.CsgoMapInfoState.max_rounds_default', index=1, number=2, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='max_rounds_overtime', full_name='bragi.CsgoMapInfoState.max_rounds_overtime', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='freeze_time_duration', full_name='bragi.CsgoMapInfoState.freeze_time_duration', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_time_duration', full_name='bragi.CsgoMapInfoState.round_time_duration', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_time_duration', full_name='bragi.CsgoMapInfoState.bomb_time_duration', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start_time', full_name='bragi.CsgoMapInfoState.start_time', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end_time', full_name='bragi.CsgoMapInfoState.end_time', index=7, number=8, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='map_ended', full_name='bragi.CsgoMapInfoState.map_ended', index=8, number=9, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='_freeze_time_duration', full_name='bragi.CsgoMapInfoState._freeze_time_duration', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_round_time_duration', full_name='bragi.CsgoMapInfoState._round_time_duration', index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_bomb_time_duration', full_name='bragi.CsgoMapInfoState._bomb_time_duration', index=2, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_start_time', full_name='bragi.CsgoMapInfoState._start_time', index=3, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_end_time', full_name='bragi.CsgoMapInfoState._end_time', index=4, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=2670, serialized_end=3174, ) _CSGOMAPSCORESTATE = _descriptor.Descriptor( name='CsgoMapScoreState', full_name='bragi.CsgoMapScoreState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='home_score', full_name='bragi.CsgoMapScoreState.home_score', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='away_score', full_name='bragi.CsgoMapScoreState.away_score', index=1, number=2, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3176, serialized_end=3235, ) _CSGOCURRENTROUNDSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoCurrentRoundStatePartialUpdate', full_name='bragi.CsgoCurrentRoundStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='info', full_name='bragi.CsgoCurrentRoundStatePartialUpdate.info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time', full_name='bragi.CsgoCurrentRoundStatePartialUpdate.time', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_state', full_name='bragi.CsgoCurrentRoundStatePartialUpdate.bomb_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_states_partial_update', full_name='bragi.CsgoCurrentRoundStatePartialUpdate.team_states_partial_update', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='update', full_name='bragi.CsgoCurrentRoundStatePartialUpdate.update', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=3238, serialized_end=3499, ) _CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY = _descriptor.Descriptor( name='TeamStatesEntry', full_name='bragi.CsgoCurrentRoundState.TeamStatesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoCurrentRoundState.TeamStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoCurrentRoundState.TeamStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3740, serialized_end=3823, ) _CSGOCURRENTROUNDSTATE = _descriptor.Descriptor( name='CsgoCurrentRoundState', full_name='bragi.CsgoCurrentRoundState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='round_number', full_name='bragi.CsgoCurrentRoundState.round_number', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='info', full_name='bragi.CsgoCurrentRoundState.info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time', full_name='bragi.CsgoCurrentRoundState.time', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_state', full_name='bragi.CsgoCurrentRoundState.bomb_state', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_states', full_name='bragi.CsgoCurrentRoundState.team_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3502, serialized_end=3823, ) _CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY = _descriptor.Descriptor( name='TeamStatesEntry', full_name='bragi.CsgoPreviousRoundState.TeamStatesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoPreviousRoundState.TeamStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoPreviousRoundState.TeamStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3983, serialized_end=4067, ) _CSGOPREVIOUSROUNDSTATE = _descriptor.Descriptor( name='CsgoPreviousRoundState', full_name='bragi.CsgoPreviousRoundState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='round_number', full_name='bragi.CsgoPreviousRoundState.round_number', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='info', full_name='bragi.CsgoPreviousRoundState.info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_states', full_name='bragi.CsgoPreviousRoundState.team_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=3826, serialized_end=4067, ) _CSGOROUNDINFOSTATE = _descriptor.Descriptor( name='CsgoRoundInfoState', full_name='bragi.CsgoRoundInfoState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='round_type', full_name='bragi.CsgoRoundInfoState.round_type', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='start_time', full_name='bragi.CsgoRoundInfoState.start_time', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='end_time', full_name='bragi.CsgoRoundInfoState.end_time', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='winning_team_urn', full_name='bragi.CsgoRoundInfoState.winning_team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='win_reason', full_name='bragi.CsgoRoundInfoState.win_reason', index=4, number=5, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='_end_time', full_name='bragi.CsgoRoundInfoState._end_time', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_winning_team_urn', full_name='bragi.CsgoRoundInfoState._winning_team_urn', index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_win_reason', full_name='bragi.CsgoRoundInfoState._win_reason', index=2, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=4070, serialized_end=4363, ) _CSGOROUNDTIMESTATE = _descriptor.Descriptor( name='CsgoRoundTimeState', full_name='bragi.CsgoRoundTimeState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoRoundTimeState.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4365, serialized_end=4436, ) _CSGOBOMBSTATE = _descriptor.Descriptor( name='CsgoBombState', full_name='bragi.CsgoBombState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='carried', full_name='bragi.CsgoBombState.carried', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='dropped', full_name='bragi.CsgoBombState.dropped', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='planting', full_name='bragi.CsgoBombState.planting', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='planted', full_name='bragi.CsgoBombState.planted', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='defusing', full_name='bragi.CsgoBombState.defusing', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='defused', full_name='bragi.CsgoBombState.defused', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='exploded', full_name='bragi.CsgoBombState.exploded', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoBombState.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=4439, serialized_end=4807, ) _CSGOBOMBCARRIEDSTATE = _descriptor.Descriptor( name='CsgoBombCarriedState', full_name='bragi.CsgoBombCarriedState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombCarriedState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombCarriedState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4809, serialized_end=4890, ) _CSGOBOMBDROPPEDSTATE = _descriptor.Descriptor( name='CsgoBombDroppedState', full_name='bragi.CsgoBombDroppedState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='dropped_by_player_urn', full_name='bragi.CsgoBombDroppedState.dropped_by_player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombDroppedState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4892, serialized_end=4984, ) _CSGOBOMBPLANTINGSTATE = _descriptor.Descriptor( name='CsgoBombPlantingState', full_name='bragi.CsgoBombPlantingState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombPlantingState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombPlantingState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='countdown', full_name='bragi.CsgoBombPlantingState.countdown', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=4987, serialized_end=5115, ) _CSGOBOMBPLANTEDSTATE = _descriptor.Descriptor( name='CsgoBombPlantedState', full_name='bragi.CsgoBombPlantedState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='planted_by_player_urn', full_name='bragi.CsgoBombPlantedState.planted_by_player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombPlantedState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='planted_at', full_name='bragi.CsgoBombPlantedState.planted_at', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='countdown', full_name='bragi.CsgoBombPlantedState.countdown', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5118, serialized_end=5304, ) _CSGOBOMBDEFUSINGSTATE = _descriptor.Descriptor( name='CsgoBombDefusingState', full_name='bragi.CsgoBombDefusingState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombDefusingState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombDefusingState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='countdown', full_name='bragi.CsgoBombDefusingState.countdown', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='defuse_started_at', full_name='bragi.CsgoBombDefusingState.defuse_started_at', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5307, serialized_end=5490, ) _CSGOBOMBDEFUSEDSTATE = _descriptor.Descriptor( name='CsgoBombDefusedState', full_name='bragi.CsgoBombDefusedState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='defused_by_player_urn', full_name='bragi.CsgoBombDefusedState.defused_by_player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombDefusedState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='defused_at', full_name='bragi.CsgoBombDefusedState.defused_at', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5493, serialized_end=5633, ) _CSGOBOMBEXPLODEDSTATE = _descriptor.Descriptor( name='CsgoBombExplodedState', full_name='bragi.CsgoBombExplodedState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoBombExplodedState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='exploded_at', full_name='bragi.CsgoBombExplodedState.exploded_at', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5635, serialized_end=5746, ) _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD = _descriptor.Descriptor( name='Payload', full_name='bragi.CsgoTeamMapStatePartialUpdate.Payload', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_state', full_name='bragi.CsgoTeamMapStatePartialUpdate.Payload.player_state', index=0, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_map_states_partial_update', full_name='bragi.CsgoTeamMapStatePartialUpdate.Payload.player_map_states_partial_update', index=1, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoTeamMapStatePartialUpdate.Payload.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=5864, serialized_end=6019, ) _CSGOTEAMMAPSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoTeamMapStatePartialUpdate', full_name='bragi.CsgoTeamMapStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoTeamMapStatePartialUpdate.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='payload', full_name='bragi.CsgoTeamMapStatePartialUpdate.payload', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=5749, serialized_end=6019, ) _CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY = _descriptor.Descriptor( name='PlayerMapStatesEntry', full_name='bragi.CsgoTeamMapState.PlayerMapStatesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoTeamMapState.PlayerMapStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoTeamMapState.PlayerMapStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6164, serialized_end=6245, ) _CSGOTEAMMAPSTATE = _descriptor.Descriptor( name='CsgoTeamMapState', full_name='bragi.CsgoTeamMapState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoTeamMapState.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='side', full_name='bragi.CsgoTeamMapState.side', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_map_states', full_name='bragi.CsgoTeamMapState.player_map_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6022, serialized_end=6245, ) _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD = _descriptor.Descriptor( name='Payload', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate.Payload', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_state', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate.Payload.player_state', index=0, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_round_states_partial_update', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate.Payload.player_round_states_partial_update', index=1, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate.Payload.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=6381, serialized_end=6556, ) _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoTeamCurrentRoundStatePartialUpdate', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='payload', full_name='bragi.CsgoTeamCurrentRoundStatePartialUpdate.payload', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6248, serialized_end=6556, ) _CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY = _descriptor.Descriptor( name='PlayerRoundStatesEntry', full_name='bragi.CsgoTeamCurrentRoundState.PlayerRoundStatesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoTeamCurrentRoundState.PlayerRoundStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoTeamCurrentRoundState.PlayerRoundStatesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6692, serialized_end=6784, ) _CSGOTEAMCURRENTROUNDSTATE = _descriptor.Descriptor( name='CsgoTeamCurrentRoundState', full_name='bragi.CsgoTeamCurrentRoundState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoTeamCurrentRoundState.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_round_states', full_name='bragi.CsgoTeamCurrentRoundState.player_round_states', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6559, serialized_end=6784, ) _CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY = _descriptor.Descriptor( name='PlayersEntry', full_name='bragi.CsgoPreviousTeamRoundState.PlayersEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoPreviousTeamRoundState.PlayersEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoPreviousTeamRoundState.PlayersEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6900, serialized_end=6983, ) _CSGOPREVIOUSTEAMROUNDSTATE = _descriptor.Descriptor( name='CsgoPreviousTeamRoundState', full_name='bragi.CsgoPreviousTeamRoundState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoPreviousTeamRoundState.team_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='players', full_name='bragi.CsgoPreviousTeamRoundState.players', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6787, serialized_end=6983, ) _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD = _descriptor.Descriptor( name='Payload', full_name='bragi.CsgoPlayerMapStatePartialUpdate.Payload', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerMapStatePartialUpdate.Payload.statistics', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoPlayerMapStatePartialUpdate.Payload.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=7106, serialized_end=7185, ) _CSGOPLAYERMAPSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoPlayerMapStatePartialUpdate', full_name='bragi.CsgoPlayerMapStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerMapStatePartialUpdate.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='payload', full_name='bragi.CsgoPlayerMapStatePartialUpdate.payload', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=6986, serialized_end=7185, ) _CSGOPLAYERMAPSTATE = _descriptor.Descriptor( name='CsgoPlayerMapState', full_name='bragi.CsgoPlayerMapState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerMapState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_name', full_name='bragi.CsgoPlayerMapState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerMapState.statistics', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7187, serialized_end=7305, ) _CSGOPLAYERMAPSTATISTICSSTATE = _descriptor.Descriptor( name='CsgoPlayerMapStatisticsState', full_name='bragi.CsgoPlayerMapStatisticsState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerMapStatisticsState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='opening_kills', full_name='bragi.CsgoPlayerMapStatisticsState.opening_kills', index=1, number=4, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='opening_deaths', full_name='bragi.CsgoPlayerMapStatisticsState.opening_deaths', index=2, number=5, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerMapStatisticsState.statistics', index=3, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7308, serialized_end=7454, ) _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD = _descriptor.Descriptor( name='Payload', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload.statistics', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='items', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload.items', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='payload', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload.payload', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=7596, serialized_end=7782, ) _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE = _descriptor.Descriptor( name='CsgoPlayerCurrentRoundStatePartialUpdate', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='payload', full_name='bragi.CsgoPlayerCurrentRoundStatePartialUpdate.payload', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7457, serialized_end=7782, ) _CSGOPLAYERCURRENTROUNDSTATE = _descriptor.Descriptor( name='CsgoPlayerCurrentRoundState', full_name='bragi.CsgoPlayerCurrentRoundState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerCurrentRoundState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_name', full_name='bragi.CsgoPlayerCurrentRoundState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerCurrentRoundState.statistics', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='items', full_name='bragi.CsgoPlayerCurrentRoundState.items', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoPlayerCurrentRoundState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=7785, serialized_end=8015, ) _CSGOPLAYERCURRENTROUNDSTATISTICSSTATE = _descriptor.Descriptor( name='CsgoPlayerCurrentRoundStatisticsState', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='alive', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState.alive', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='health', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState.health', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='armor', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState.armor', index=3, number=4, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='balance', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState.balance', index=4, number=5, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerCurrentRoundStatisticsState.statistics', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8018, serialized_end=8189, ) _CSGOPLAYERITEMSSTATE = _descriptor.Descriptor( name='CsgoPlayerItemsState', full_name='bragi.CsgoPlayerItemsState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerItemsState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='equipment_value', full_name='bragi.CsgoPlayerItemsState.equipment_value', index=1, number=2, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='items', full_name='bragi.CsgoPlayerItemsState.items', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8191, serialized_end=8290, ) _CSGOPLAYERPREVIOUSROUNDSTATE = _descriptor.Descriptor( name='CsgoPlayerPreviousRoundState', full_name='bragi.CsgoPlayerPreviousRoundState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerPreviousRoundState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_name', full_name='bragi.CsgoPlayerPreviousRoundState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='statistics', full_name='bragi.CsgoPlayerPreviousRoundState.statistics', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8292, serialized_end=8412, ) _CSGOPLAYERPOSITIONSTATE = _descriptor.Descriptor( name='CsgoPlayerPositionState', full_name='bragi.CsgoPlayerPositionState', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerPositionState.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoPlayerPositionState.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=8414, serialized_end=8498, ) _CSGOPLAYERSTATISTICS = _descriptor.Descriptor( name='CsgoPlayerStatistics', full_name='bragi.CsgoPlayerStatistics', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerStatistics.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='kills', full_name='bragi.CsgoPlayerStatistics.kills', index=1, number=2, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='friendly_kills', full_name='bragi.CsgoPlayerStatistics.friendly_kills', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='enemy_kills', full_name='bragi.CsgoPlayerStatistics.enemy_kills', index=3, number=4, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='self_kills', full_name='bragi.CsgoPlayerStatistics.self_kills', index=4, number=5, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='deaths', full_name='bragi.CsgoPlayerStatistics.deaths', index=5, number=6, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='assists', full_name='bragi.CsgoPlayerStatistics.assists', index=6, number=7, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='headshots', full_name='bragi.CsgoPlayerStatistics.headshots', index=7, number=8, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='friendly_damage_dealt_armor', full_name='bragi.CsgoPlayerStatistics.friendly_damage_dealt_armor', index=8, number=9, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='friendly_damage_dealt_health', full_name='bragi.CsgoPlayerStatistics.friendly_damage_dealt_health', index=9, number=10, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='enemy_damage_dealt_armor', full_name='bragi.CsgoPlayerStatistics.enemy_damage_dealt_armor', index=10, number=11, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='enemy_damage_dealt_health', full_name='bragi.CsgoPlayerStatistics.enemy_damage_dealt_health', index=11, number=12, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='enemy_damage_dealt_armor_raw', full_name='bragi.CsgoPlayerStatistics.enemy_damage_dealt_armor_raw', index=12, number=13, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='enemy_damage_dealt_health_raw', full_name='bragi.CsgoPlayerStatistics.enemy_damage_dealt_health_raw', index=13, number=14, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='_friendly_damage_dealt_armor', full_name='bragi.CsgoPlayerStatistics._friendly_damage_dealt_armor', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_friendly_damage_dealt_health', full_name='bragi.CsgoPlayerStatistics._friendly_damage_dealt_health', index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_enemy_damage_dealt_armor', full_name='bragi.CsgoPlayerStatistics._enemy_damage_dealt_armor', index=2, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_enemy_damage_dealt_health', full_name='bragi.CsgoPlayerStatistics._enemy_damage_dealt_health', index=3, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_enemy_damage_dealt_armor_raw', full_name='bragi.CsgoPlayerStatistics._enemy_damage_dealt_armor_raw', index=4, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_enemy_damage_dealt_health_raw', full_name='bragi.CsgoPlayerStatistics._enemy_damage_dealt_health_raw', index=5, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=8501, serialized_end=9117, ) _CSGOITEM = _descriptor.Descriptor( name='CsgoItem', full_name='bragi.CsgoItem', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='name', full_name='bragi.CsgoItem.name', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='type', full_name='bragi.CsgoItem.type', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='count', full_name='bragi.CsgoItem.count', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='isActive', full_name='bragi.CsgoItem.isActive', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9119, serialized_end=9213, ) _CSGOPOSITION = _descriptor.Descriptor( name='CsgoPosition', full_name='bragi.CsgoPosition', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='x', full_name='bragi.CsgoPosition.x', index=0, number=1, type=2, cpp_type=6, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='y', full_name='bragi.CsgoPosition.y', index=1, number=2, type=2, cpp_type=6, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='z', full_name='bragi.CsgoPosition.z', index=2, number=4, type=2, cpp_type=6, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='angle', full_name='bragi.CsgoPosition.angle', index=3, number=3, type=2, cpp_type=6, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=9215, serialized_end=9277, ) _CSGOEVENT = _descriptor.Descriptor( name='CsgoEvent', full_name='bragi.CsgoEvent', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='bomb_defuse_started', full_name='bragi.CsgoEvent.bomb_defuse_started', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_defused', full_name='bragi.CsgoEvent.bomb_defused', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_exploded', full_name='bragi.CsgoEvent.bomb_exploded', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_plant_started', full_name='bragi.CsgoEvent.bomb_plant_started', index=3, number=21, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='bomb_planted', full_name='bragi.CsgoEvent.bomb_planted', index=4, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='damage_dealt', full_name='bragi.CsgoEvent.damage_dealt', index=5, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='freeze_time_ended', full_name='bragi.CsgoEvent.freeze_time_ended', index=6, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='freeze_time_started', full_name='bragi.CsgoEvent.freeze_time_started', index=7, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item_drop', full_name='bragi.CsgoEvent.item_drop', index=8, number=8, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item_pick_up', full_name='bragi.CsgoEvent.item_pick_up', index=9, number=9, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item_purchase', full_name='bragi.CsgoEvent.item_purchase', index=10, number=10, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item_throw', full_name='bragi.CsgoEvent.item_throw', index=11, number=11, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='kill', full_name='bragi.CsgoEvent.kill', index=12, number=12, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='death', full_name='bragi.CsgoEvent.death', index=13, number=13, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='map_end', full_name='bragi.CsgoEvent.map_end', index=14, number=14, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='map_start', full_name='bragi.CsgoEvent.map_start', index=15, number=15, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_end', full_name='bragi.CsgoEvent.round_end', index=16, number=16, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_pause', full_name='bragi.CsgoEvent.round_pause', index=17, number=17, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_resume', full_name='bragi.CsgoEvent.round_resume', index=18, number=18, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_rollback', full_name='bragi.CsgoEvent.round_rollback', index=19, number=19, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='round_start', full_name='bragi.CsgoEvent.round_start', index=20, number=20, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='event', full_name='bragi.CsgoEvent.event', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=9280, serialized_end=10297, ) _CSGOPLAYERBALANCE = _descriptor.Descriptor( name='CsgoPlayerBalance', full_name='bragi.CsgoPlayerBalance', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerBalance.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoPlayerBalance.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='balance', full_name='bragi.CsgoPlayerBalance.balance', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10299, serialized_end=10373, ) _CSGOPLAYERITEMS = _descriptor.Descriptor( name='CsgoPlayerItems', full_name='bragi.CsgoPlayerItems', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoPlayerItems.player_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoPlayerItems.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='equipment_value', full_name='bragi.CsgoPlayerItems.equipment_value', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='items', full_name='bragi.CsgoPlayerItems.items', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10375, serialized_end=10487, ) _CSGOBOMBDEFUSESTARTED = _descriptor.Descriptor( name='CsgoBombDefuseStarted', full_name='bragi.CsgoBombDefuseStarted', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoBombDefuseStarted.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoBombDefuseStarted.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoBombDefuseStarted.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombDefuseStarted.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoBombDefuseStarted.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10490, serialized_end=10677, ) _CSGOBOMBDEFUSED = _descriptor.Descriptor( name='CsgoBombDefused', full_name='bragi.CsgoBombDefused', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoBombDefused.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoBombDefused.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoBombDefused.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombDefused.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoBombDefused.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10680, serialized_end=10861, ) _CSGOBOMBEXPLODED = _descriptor.Descriptor( name='CsgoBombExploded', full_name='bragi.CsgoBombExploded', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoBombExploded.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoBombExploded.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoBombExploded.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=10864, serialized_end=11008, ) _CSGOBOMBPLANTSTARTED = _descriptor.Descriptor( name='CsgoBombPlantStarted', full_name='bragi.CsgoBombPlantStarted', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoBombPlantStarted.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoBombPlantStarted.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoBombPlantStarted.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombPlantStarted.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoBombPlantStarted.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11011, serialized_end=11197, ) _CSGOBOMBPLANTED = _descriptor.Descriptor( name='CsgoBombPlanted', full_name='bragi.CsgoBombPlanted', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoBombPlanted.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoBombPlanted.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoBombPlanted.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoBombPlanted.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoBombPlanted.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11200, serialized_end=11381, ) _CSGODAMAGEDEALT = _descriptor.Descriptor( name='CsgoDamageDealt', full_name='bragi.CsgoDamageDealt', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoDamageDealt.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoDamageDealt.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoDamageDealt.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='killer_position', full_name='bragi.CsgoDamageDealt.killer_position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='killer_urn', full_name='bragi.CsgoDamageDealt.killer_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='killer_team_urn', full_name='bragi.CsgoDamageDealt.killer_team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='victim_urn', full_name='bragi.CsgoDamageDealt.victim_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='victim_team_urn', full_name='bragi.CsgoDamageDealt.victim_team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='weapon', full_name='bragi.CsgoDamageDealt.weapon', index=8, number=9, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='hitgroup', full_name='bragi.CsgoDamageDealt.hitgroup', index=9, number=10, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='health_deducted', full_name='bragi.CsgoDamageDealt.health_deducted', index=10, number=11, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='health_remaining', full_name='bragi.CsgoDamageDealt.health_remaining', index=11, number=12, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='armor_deducted', full_name='bragi.CsgoDamageDealt.armor_deducted', index=12, number=13, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='armor_remaining', full_name='bragi.CsgoDamageDealt.armor_remaining', index=13, number=14, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='victim_position', full_name='bragi.CsgoDamageDealt.victim_position', index=14, number=15, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11384, serialized_end=11843, ) _CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY = _descriptor.Descriptor( name='PlayerBalancesEntry', full_name='bragi.CsgoFreezeTimeEnded.PlayerBalancesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoFreezeTimeEnded.PlayerBalancesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoFreezeTimeEnded.PlayerBalancesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12147, serialized_end=12226, ) _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY = _descriptor.Descriptor( name='PlayerInventoriesEntry', full_name='bragi.CsgoFreezeTimeEnded.PlayerInventoriesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoFreezeTimeEnded.PlayerInventoriesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoFreezeTimeEnded.PlayerInventoriesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12228, serialized_end=12308, ) _CSGOFREEZETIMEENDED = _descriptor.Descriptor( name='CsgoFreezeTimeEnded', full_name='bragi.CsgoFreezeTimeEnded', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoFreezeTimeEnded.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoFreezeTimeEnded.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoFreezeTimeEnded.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_balances', full_name='bragi.CsgoFreezeTimeEnded.player_balances', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_inventories', full_name='bragi.CsgoFreezeTimeEnded.player_inventories', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY, _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=11846, serialized_end=12308, ) _CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY = _descriptor.Descriptor( name='PlayerBalancesEntry', full_name='bragi.CsgoFreezeTimeStarted.PlayerBalancesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoFreezeTimeStarted.PlayerBalancesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoFreezeTimeStarted.PlayerBalancesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12147, serialized_end=12226, ) _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY = _descriptor.Descriptor( name='TeamsRoundInfoEntry', full_name='bragi.CsgoFreezeTimeStarted.TeamsRoundInfoEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoFreezeTimeStarted.TeamsRoundInfoEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoFreezeTimeStarted.TeamsRoundInfoEntry.value', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12694, serialized_end=12764, ) _CSGOFREEZETIMESTARTED = _descriptor.Descriptor( name='CsgoFreezeTimeStarted', full_name='bragi.CsgoFreezeTimeStarted', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoFreezeTimeStarted.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoFreezeTimeStarted.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoFreezeTimeStarted.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_balances', full_name='bragi.CsgoFreezeTimeStarted.player_balances', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='teams_round_info', full_name='bragi.CsgoFreezeTimeStarted.teams_round_info', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY, _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12311, serialized_end=12764, ) _CSGOITEMDROP = _descriptor.Descriptor( name='CsgoItemDrop', full_name='bragi.CsgoItemDrop', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoItemDrop.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoItemDrop.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoItemDrop.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoItemDrop.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoItemDrop.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoItemDrop.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item', full_name='bragi.CsgoItemDrop.item', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12767, serialized_end=12998, ) _CSGOITEMPICKUP = _descriptor.Descriptor( name='CsgoItemPickUp', full_name='bragi.CsgoItemPickUp', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoItemPickUp.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoItemPickUp.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoItemPickUp.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoItemPickUp.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoItemPickUp.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item', full_name='bragi.CsgoItemPickUp.item', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=13001, serialized_end=13195, ) _CSGOITEMPURCHASE = _descriptor.Descriptor( name='CsgoItemPurchase', full_name='bragi.CsgoItemPurchase', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoItemPurchase.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoItemPurchase.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoItemPurchase.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoItemPurchase.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoItemPurchase.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item', full_name='bragi.CsgoItemPurchase.item', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_balance', full_name='bragi.CsgoItemPurchase.player_balance', index=6, number=7, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='equipment_value', full_name='bragi.CsgoItemPurchase.equipment_value', index=7, number=8, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=13198, serialized_end=13443, ) _CSGOITEMTHROW = _descriptor.Descriptor( name='CsgoItemThrow', full_name='bragi.CsgoItemThrow', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoItemThrow.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoItemThrow.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoItemThrow.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoItemThrow.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoItemThrow.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoItemThrow.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='item', full_name='bragi.CsgoItemThrow.item', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=13446, serialized_end=13678, ) _CSGOKILL = _descriptor.Descriptor( name='CsgoKill', full_name='bragi.CsgoKill', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoKill.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoKill.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoKill.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='killer_position', full_name='bragi.CsgoKill.killer_position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='killer_urn', full_name='bragi.CsgoKill.killer_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='killer_team_urn', full_name='bragi.CsgoKill.killer_team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='victim_urn', full_name='bragi.CsgoKill.victim_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='victim_team_urn', full_name='bragi.CsgoKill.victim_team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='weapon', full_name='bragi.CsgoKill.weapon', index=8, number=9, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='headshot', full_name='bragi.CsgoKill.headshot', index=9, number=10, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='penetrated', full_name='bragi.CsgoKill.penetrated', index=10, number=11, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='assistants', full_name='bragi.CsgoKill.assistants', index=11, number=12, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=13681, serialized_end=14027, ) _CSGODEATH = _descriptor.Descriptor( name='CsgoDeath', full_name='bragi.CsgoDeath', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoDeath.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoDeath.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoDeath.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='position', full_name='bragi.CsgoDeath.position', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_urn', full_name='bragi.CsgoDeath.player_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='team_urn', full_name='bragi.CsgoDeath.team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='total_deaths', full_name='bragi.CsgoDeath.total_deaths', index=6, number=7, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='suicide', full_name='bragi.CsgoDeath.suicide', index=7, number=9, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='death_by_bomb', full_name='bragi.CsgoDeath.death_by_bomb', index=8, number=10, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=14030, serialized_end=14306, ) _CSGOMAPEND = _descriptor.Descriptor( name='CsgoMapEnd', full_name='bragi.CsgoMapEnd', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoMapEnd.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoMapEnd.current_round_number', index=1, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='csgo_map_name', full_name='bragi.CsgoMapEnd.csgo_map_name', index=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='winning_team_urn', full_name='bragi.CsgoMapEnd.winning_team_urn', index=3, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=14309, serialized_end=14445, ) _CSGOMAPSTART = _descriptor.Descriptor( name='CsgoMapStart', full_name='bragi.CsgoMapStart', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoMapStart.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='csgo_map_name', full_name='bragi.CsgoMapStart.csgo_map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=14447, serialized_end=14529, ) _CSGOROUNDEND_PLAYERBALANCESENTRY = _descriptor.Descriptor( name='PlayerBalancesEntry', full_name='bragi.CsgoRoundEnd.PlayerBalancesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoRoundEnd.PlayerBalancesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoRoundEnd.PlayerBalancesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12147, serialized_end=12226, ) _CSGOROUNDEND_PLAYERINVENTORIESENTRY = _descriptor.Descriptor( name='PlayerInventoriesEntry', full_name='bragi.CsgoRoundEnd.PlayerInventoriesEntry', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='key', full_name='bragi.CsgoRoundEnd.PlayerInventoriesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='value', full_name='bragi.CsgoRoundEnd.PlayerInventoriesEntry.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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=b'8\001', is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=12228, serialized_end=12308, ) _CSGOROUNDEND = _descriptor.Descriptor( name='CsgoRoundEnd', full_name='bragi.CsgoRoundEnd', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoRoundEnd.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoRoundEnd.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoRoundEnd.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='winning_team_urn', full_name='bragi.CsgoRoundEnd.winning_team_urn', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='win_reason', full_name='bragi.CsgoRoundEnd.win_reason', index=4, number=5, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_balances', full_name='bragi.CsgoRoundEnd.player_balances', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='player_inventories', full_name='bragi.CsgoRoundEnd.player_inventories', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[_CSGOROUNDEND_PLAYERBALANCESENTRY, _CSGOROUNDEND_PLAYERINVENTORIESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=14532, serialized_end=15041, ) _CSGOROUNDPAUSE = _descriptor.Descriptor( name='CsgoRoundPause', full_name='bragi.CsgoRoundPause', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoRoundPause.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoRoundPause.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoRoundPause.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=15044, serialized_end=15186, ) _CSGOROUNDRESUME = _descriptor.Descriptor( name='CsgoRoundResume', full_name='bragi.CsgoRoundResume', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoRoundResume.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoRoundResume.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoRoundResume.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=15189, serialized_end=15332, ) _CSGOROUNDROLLBACK = _descriptor.Descriptor( name='CsgoRoundRollback', full_name='bragi.CsgoRoundRollback', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='next_round_number', full_name='bragi.CsgoRoundRollback.next_round_number', index=0, number=1, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=15334, serialized_end=15380, ) _CSGOROUNDSTART = _descriptor.Descriptor( name='CsgoRoundStart', full_name='bragi.CsgoRoundStart', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='map_time', full_name='bragi.CsgoRoundStart.map_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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time_remaining', full_name='bragi.CsgoRoundStart.time_remaining', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='current_round_number', full_name='bragi.CsgoRoundStart.current_round_number', index=2, number=3, type=13, cpp_type=3, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=15383, serialized_end=15525, ) _CSGOMATCHMESSAGE_PAYLOAD.fields_by_name['snapshot'].message_type = _CSGOMATCHSNAPSHOT _CSGOMATCHMESSAGE_PAYLOAD.fields_by_name['update'].message_type = _CSGOMATCHUPDATE _CSGOMATCHMESSAGE_PAYLOAD.containing_type = _CSGOMATCHMESSAGE _CSGOMATCHMESSAGE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOMATCHMESSAGE_PAYLOAD.fields_by_name['snapshot']) _CSGOMATCHMESSAGE_PAYLOAD.fields_by_name['snapshot'].containing_oneof = _CSGOMATCHMESSAGE_PAYLOAD.oneofs_by_name['payload'] _CSGOMATCHMESSAGE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOMATCHMESSAGE_PAYLOAD.fields_by_name['update']) _CSGOMATCHMESSAGE_PAYLOAD.fields_by_name['update'].containing_oneof = _CSGOMATCHMESSAGE_PAYLOAD.oneofs_by_name['payload'] _CSGOMATCHMESSAGE.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOMATCHMESSAGE.fields_by_name['payload'].message_type = _CSGOMATCHMESSAGE_PAYLOAD _CSGOMATCHSNAPSHOT.fields_by_name['timestamp'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOMATCHSNAPSHOT.fields_by_name['announcements'].message_type = bragi_dot_common__pb2._ANNOUNCEMENT _CSGOMATCHSNAPSHOT.fields_by_name['match_state'].message_type = _CSGOMATCHSTATE _CSGOMATCHUPDATE_PAYLOAD.fields_by_name['match_state'].message_type = _CSGOMATCHSTATE _CSGOMATCHUPDATE_PAYLOAD.fields_by_name['partial_updates'].message_type = _CSGOMATCHSTATEPARTIALUPDATES _CSGOMATCHUPDATE_PAYLOAD.containing_type = _CSGOMATCHUPDATE _CSGOMATCHUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOMATCHUPDATE_PAYLOAD.fields_by_name['match_state']) _CSGOMATCHUPDATE_PAYLOAD.fields_by_name['match_state'].containing_oneof = _CSGOMATCHUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOMATCHUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOMATCHUPDATE_PAYLOAD.fields_by_name['partial_updates']) _CSGOMATCHUPDATE_PAYLOAD.fields_by_name['partial_updates'].containing_oneof = _CSGOMATCHUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOMATCHUPDATE.fields_by_name['payload'].message_type = _CSGOMATCHUPDATE_PAYLOAD _CSGOMATCHUPDATE.fields_by_name['events'].message_type = _CSGOEVENT _CSGOMATCHSTATEPARTIALUPDATES.fields_by_name['updates'].message_type = _CSGOMATCHSTATEPARTIALUPDATE _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['score'].message_type = _CSGOMATCHSCORESTATE _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['current_map_state'].message_type = _CSGOCURRENTMAPSTATE _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['current_map_state_partial_update'].message_type = _CSGOCURRENTMAPSTATEPARTIALUPDATE _CSGOMATCHSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['score']) _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['score'].containing_oneof = _CSGOMATCHSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOMATCHSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['current_map_state']) _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['current_map_state'].containing_oneof = _CSGOMATCHSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOMATCHSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['current_map_state_partial_update']) _CSGOMATCHSTATEPARTIALUPDATE.fields_by_name['current_map_state_partial_update'].containing_oneof = _CSGOMATCHSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOMATCHSTATE.fields_by_name['match_type'].enum_type = bragi_dot_common__pb2._BESTOFTYPE _CSGOMATCHSTATE.fields_by_name['home_team'].message_type = _CSGOTEAM _CSGOMATCHSTATE.fields_by_name['away_team'].message_type = _CSGOTEAM _CSGOMATCHSTATE.fields_by_name['score'].message_type = _CSGOMATCHSCORESTATE _CSGOMATCHSTATE.fields_by_name['match_status'].enum_type = bragi_dot_common__pb2._MATCHSTATUSTYPE _CSGOMATCHSTATE.fields_by_name['current_map_state'].message_type = _CSGOCURRENTMAPSTATE _CSGOMATCHSTATE.fields_by_name['previous_map_states'].message_type = _CSGOPREVIOUSMAPSTATE _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['info'].message_type = _CSGOMAPINFOSTATE _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['score'].message_type = _CSGOMAPSCORESTATE _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['current_round_state'].message_type = _CSGOCURRENTROUNDSTATE _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['current_round_state_partial_update'].message_type = _CSGOCURRENTROUNDSTATEPARTIALUPDATE _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['team_map_states_partial_update'].message_type = _CSGOTEAMMAPSTATEPARTIALUPDATE _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['info']) _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['info'].containing_oneof = _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['score']) _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['score'].containing_oneof = _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['current_round_state']) _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['current_round_state'].containing_oneof = _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['current_round_state_partial_update']) _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['current_round_state_partial_update'].containing_oneof = _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['team_map_states_partial_update']) _CSGOCURRENTMAPSTATEPARTIALUPDATE.fields_by_name['team_map_states_partial_update'].containing_oneof = _CSGOCURRENTMAPSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY.fields_by_name['value'].message_type = _CSGOTEAMMAPSTATE _CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY.containing_type = _CSGOCURRENTMAPSTATE _CSGOCURRENTMAPSTATE.fields_by_name['info'].message_type = _CSGOMAPINFOSTATE _CSGOCURRENTMAPSTATE.fields_by_name['score'].message_type = _CSGOMAPSCORESTATE _CSGOCURRENTMAPSTATE.fields_by_name['current_round_state'].message_type = _CSGOCURRENTROUNDSTATE _CSGOCURRENTMAPSTATE.fields_by_name['previous_round_states'].message_type = _CSGOPREVIOUSROUNDSTATE _CSGOCURRENTMAPSTATE.fields_by_name['team_map_states'].message_type = _CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY _CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY.fields_by_name['value'].message_type = _CSGOTEAMMAPSTATE _CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY.containing_type = _CSGOPREVIOUSMAPSTATE _CSGOPREVIOUSMAPSTATE.fields_by_name['info'].message_type = _CSGOMAPINFOSTATE _CSGOPREVIOUSMAPSTATE.fields_by_name['score'].message_type = _CSGOMAPSCORESTATE _CSGOPREVIOUSMAPSTATE.fields_by_name['round_states'].message_type = _CSGOPREVIOUSROUNDSTATE _CSGOPREVIOUSMAPSTATE.fields_by_name['team_map_states'].message_type = _CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY _CSGOMAPINFOSTATE.fields_by_name['freeze_time_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOMAPINFOSTATE.fields_by_name['round_time_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOMAPINFOSTATE.fields_by_name['bomb_time_duration'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOMAPINFOSTATE.fields_by_name['start_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOMAPINFOSTATE.fields_by_name['end_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOMAPINFOSTATE.oneofs_by_name['_freeze_time_duration'].fields.append( _CSGOMAPINFOSTATE.fields_by_name['freeze_time_duration']) _CSGOMAPINFOSTATE.fields_by_name['freeze_time_duration'].containing_oneof = _CSGOMAPINFOSTATE.oneofs_by_name['_freeze_time_duration'] _CSGOMAPINFOSTATE.oneofs_by_name['_round_time_duration'].fields.append( _CSGOMAPINFOSTATE.fields_by_name['round_time_duration']) _CSGOMAPINFOSTATE.fields_by_name['round_time_duration'].containing_oneof = _CSGOMAPINFOSTATE.oneofs_by_name['_round_time_duration'] _CSGOMAPINFOSTATE.oneofs_by_name['_bomb_time_duration'].fields.append( _CSGOMAPINFOSTATE.fields_by_name['bomb_time_duration']) _CSGOMAPINFOSTATE.fields_by_name['bomb_time_duration'].containing_oneof = _CSGOMAPINFOSTATE.oneofs_by_name['_bomb_time_duration'] _CSGOMAPINFOSTATE.oneofs_by_name['_start_time'].fields.append( _CSGOMAPINFOSTATE.fields_by_name['start_time']) _CSGOMAPINFOSTATE.fields_by_name['start_time'].containing_oneof = _CSGOMAPINFOSTATE.oneofs_by_name['_start_time'] _CSGOMAPINFOSTATE.oneofs_by_name['_end_time'].fields.append( _CSGOMAPINFOSTATE.fields_by_name['end_time']) _CSGOMAPINFOSTATE.fields_by_name['end_time'].containing_oneof = _CSGOMAPINFOSTATE.oneofs_by_name['_end_time'] _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['info'].message_type = _CSGOROUNDINFOSTATE _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['time'].message_type = _CSGOROUNDTIMESTATE _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['bomb_state'].message_type = _CSGOBOMBSTATE _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['team_states_partial_update'].message_type = _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['info']) _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['info'].containing_oneof = _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['time']) _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['time'].containing_oneof = _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['bomb_state']) _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['bomb_state'].containing_oneof = _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'].fields.append( _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['team_states_partial_update']) _CSGOCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['team_states_partial_update'].containing_oneof = _CSGOCURRENTROUNDSTATEPARTIALUPDATE.oneofs_by_name['update'] _CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY.fields_by_name['value'].message_type = _CSGOTEAMCURRENTROUNDSTATE _CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY.containing_type = _CSGOCURRENTROUNDSTATE _CSGOCURRENTROUNDSTATE.fields_by_name['info'].message_type = _CSGOROUNDINFOSTATE _CSGOCURRENTROUNDSTATE.fields_by_name['time'].message_type = _CSGOROUNDTIMESTATE _CSGOCURRENTROUNDSTATE.fields_by_name['bomb_state'].message_type = _CSGOBOMBSTATE _CSGOCURRENTROUNDSTATE.fields_by_name['team_states'].message_type = _CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY _CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY.fields_by_name['value'].message_type = _CSGOPREVIOUSTEAMROUNDSTATE _CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY.containing_type = _CSGOPREVIOUSROUNDSTATE _CSGOPREVIOUSROUNDSTATE.fields_by_name['info'].message_type = _CSGOROUNDINFOSTATE _CSGOPREVIOUSROUNDSTATE.fields_by_name['team_states'].message_type = _CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY _CSGOROUNDINFOSTATE.fields_by_name['round_type'].enum_type = _CSGOROUNDSTATETYPE _CSGOROUNDINFOSTATE.fields_by_name['start_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOROUNDINFOSTATE.fields_by_name['end_time'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOROUNDINFOSTATE.fields_by_name['win_reason'].enum_type = _CSGOWINREASON _CSGOROUNDINFOSTATE.oneofs_by_name['_end_time'].fields.append( _CSGOROUNDINFOSTATE.fields_by_name['end_time']) _CSGOROUNDINFOSTATE.fields_by_name['end_time'].containing_oneof = _CSGOROUNDINFOSTATE.oneofs_by_name['_end_time'] _CSGOROUNDINFOSTATE.oneofs_by_name['_winning_team_urn'].fields.append( _CSGOROUNDINFOSTATE.fields_by_name['winning_team_urn']) _CSGOROUNDINFOSTATE.fields_by_name['winning_team_urn'].containing_oneof = _CSGOROUNDINFOSTATE.oneofs_by_name['_winning_team_urn'] _CSGOROUNDINFOSTATE.oneofs_by_name['_win_reason'].fields.append( _CSGOROUNDINFOSTATE.fields_by_name['win_reason']) _CSGOROUNDINFOSTATE.fields_by_name['win_reason'].containing_oneof = _CSGOROUNDINFOSTATE.oneofs_by_name['_win_reason'] _CSGOROUNDTIMESTATE.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBSTATE.fields_by_name['carried'].message_type = _CSGOBOMBCARRIEDSTATE _CSGOBOMBSTATE.fields_by_name['dropped'].message_type = _CSGOBOMBDROPPEDSTATE _CSGOBOMBSTATE.fields_by_name['planting'].message_type = _CSGOBOMBPLANTINGSTATE _CSGOBOMBSTATE.fields_by_name['planted'].message_type = _CSGOBOMBPLANTEDSTATE _CSGOBOMBSTATE.fields_by_name['defusing'].message_type = _CSGOBOMBDEFUSINGSTATE _CSGOBOMBSTATE.fields_by_name['defused'].message_type = _CSGOBOMBDEFUSEDSTATE _CSGOBOMBSTATE.fields_by_name['exploded'].message_type = _CSGOBOMBEXPLODEDSTATE _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['carried']) _CSGOBOMBSTATE.fields_by_name['carried'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['dropped']) _CSGOBOMBSTATE.fields_by_name['dropped'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['planting']) _CSGOBOMBSTATE.fields_by_name['planting'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['planted']) _CSGOBOMBSTATE.fields_by_name['planted'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['defusing']) _CSGOBOMBSTATE.fields_by_name['defusing'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['defused']) _CSGOBOMBSTATE.fields_by_name['defused'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBSTATE.oneofs_by_name['payload'].fields.append( _CSGOBOMBSTATE.fields_by_name['exploded']) _CSGOBOMBSTATE.fields_by_name['exploded'].containing_oneof = _CSGOBOMBSTATE.oneofs_by_name['payload'] _CSGOBOMBCARRIEDSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBDROPPEDSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBPLANTINGSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBPLANTINGSTATE.fields_by_name['countdown'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBPLANTEDSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBPLANTEDSTATE.fields_by_name['planted_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOBOMBPLANTEDSTATE.fields_by_name['countdown'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBDEFUSINGSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBDEFUSINGSTATE.fields_by_name['countdown'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBDEFUSINGSTATE.fields_by_name['defuse_started_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOBOMBDEFUSEDSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBDEFUSEDSTATE.fields_by_name['defused_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOBOMBEXPLODEDSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOBOMBEXPLODEDSTATE.fields_by_name['exploded_at'].message_type = google_dot_protobuf_dot_timestamp__pb2._TIMESTAMP _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_state'].message_type = _CSGOPLAYERMAPSTATE _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_map_states_partial_update'].message_type = _CSGOPLAYERMAPSTATEPARTIALUPDATE _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.containing_type = _CSGOTEAMMAPSTATEPARTIALUPDATE _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_state']) _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_state'].containing_oneof = _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_map_states_partial_update']) _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_map_states_partial_update'].containing_oneof = _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOTEAMMAPSTATEPARTIALUPDATE.fields_by_name['payload'].message_type = _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD _CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERMAPSTATE _CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY.containing_type = _CSGOTEAMMAPSTATE _CSGOTEAMMAPSTATE.fields_by_name['side'].enum_type = _CSGOSIDE _CSGOTEAMMAPSTATE.fields_by_name['player_map_states'].message_type = _CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_state'].message_type = _CSGOPLAYERCURRENTROUNDSTATE _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_round_states_partial_update'].message_type = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.containing_type = _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_state']) _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_state'].containing_oneof = _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_round_states_partial_update']) _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['player_round_states_partial_update'].containing_oneof = _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['payload'].message_type = _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD _CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERCURRENTROUNDSTATE _CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY.containing_type = _CSGOTEAMCURRENTROUNDSTATE _CSGOTEAMCURRENTROUNDSTATE.fields_by_name['player_round_states'].message_type = _CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY _CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY.fields_by_name['value'].message_type = _CSGOPLAYERPREVIOUSROUNDSTATE _CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY.containing_type = _CSGOPREVIOUSTEAMROUNDSTATE _CSGOPREVIOUSTEAMROUNDSTATE.fields_by_name['players'].message_type = _CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['statistics'].message_type = _CSGOPLAYERMAPSTATISTICSSTATE _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD.containing_type = _CSGOPLAYERMAPSTATEPARTIALUPDATE _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['statistics']) _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['statistics'].containing_oneof = _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOPLAYERMAPSTATEPARTIALUPDATE.fields_by_name['payload'].message_type = _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD _CSGOPLAYERMAPSTATE.fields_by_name['statistics'].message_type = _CSGOPLAYERMAPSTATISTICSSTATE _CSGOPLAYERMAPSTATISTICSSTATE.fields_by_name['statistics'].message_type = _CSGOPLAYERSTATISTICS _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['statistics'].message_type = _CSGOPLAYERCURRENTROUNDSTATISTICSSTATE _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['items'].message_type = _CSGOPLAYERITEMSSTATE _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['position'].message_type = _CSGOPLAYERPOSITIONSTATE _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.containing_type = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['statistics']) _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['statistics'].containing_oneof = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['items']) _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['items'].containing_oneof = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'].fields.append( _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['position']) _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.fields_by_name['position'].containing_oneof = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD.oneofs_by_name['payload'] _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE.fields_by_name['payload'].message_type = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD _CSGOPLAYERCURRENTROUNDSTATE.fields_by_name['statistics'].message_type = _CSGOPLAYERCURRENTROUNDSTATISTICSSTATE _CSGOPLAYERCURRENTROUNDSTATE.fields_by_name['items'].message_type = _CSGOPLAYERITEMSSTATE _CSGOPLAYERCURRENTROUNDSTATE.fields_by_name['position'].message_type = _CSGOPLAYERPOSITIONSTATE _CSGOPLAYERCURRENTROUNDSTATISTICSSTATE.fields_by_name['statistics'].message_type = _CSGOPLAYERSTATISTICS _CSGOPLAYERITEMSSTATE.fields_by_name['items'].message_type = _CSGOITEM _CSGOPLAYERPREVIOUSROUNDSTATE.fields_by_name['statistics'].message_type = _CSGOPLAYERSTATISTICS _CSGOPLAYERPOSITIONSTATE.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOPLAYERSTATISTICS.oneofs_by_name['_friendly_damage_dealt_armor'].fields.append( _CSGOPLAYERSTATISTICS.fields_by_name['friendly_damage_dealt_armor']) _CSGOPLAYERSTATISTICS.fields_by_name['friendly_damage_dealt_armor'].containing_oneof = _CSGOPLAYERSTATISTICS.oneofs_by_name['_friendly_damage_dealt_armor'] _CSGOPLAYERSTATISTICS.oneofs_by_name['_friendly_damage_dealt_health'].fields.append( _CSGOPLAYERSTATISTICS.fields_by_name['friendly_damage_dealt_health']) _CSGOPLAYERSTATISTICS.fields_by_name['friendly_damage_dealt_health'].containing_oneof = _CSGOPLAYERSTATISTICS.oneofs_by_name['_friendly_damage_dealt_health'] _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_armor'].fields.append( _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_armor']) _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_armor'].containing_oneof = _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_armor'] _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_health'].fields.append( _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_health']) _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_health'].containing_oneof = _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_health'] _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_armor_raw'].fields.append( _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_armor_raw']) _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_armor_raw'].containing_oneof = _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_armor_raw'] _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_health_raw'].fields.append( _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_health_raw']) _CSGOPLAYERSTATISTICS.fields_by_name['enemy_damage_dealt_health_raw'].containing_oneof = _CSGOPLAYERSTATISTICS.oneofs_by_name['_enemy_damage_dealt_health_raw'] _CSGOITEM.fields_by_name['type'].enum_type = _CSGOWEAPONTYPE _CSGOEVENT.fields_by_name['bomb_defuse_started'].message_type = _CSGOBOMBDEFUSESTARTED _CSGOEVENT.fields_by_name['bomb_defused'].message_type = _CSGOBOMBDEFUSED _CSGOEVENT.fields_by_name['bomb_exploded'].message_type = _CSGOBOMBEXPLODED _CSGOEVENT.fields_by_name['bomb_plant_started'].message_type = _CSGOBOMBPLANTSTARTED _CSGOEVENT.fields_by_name['bomb_planted'].message_type = _CSGOBOMBPLANTED _CSGOEVENT.fields_by_name['damage_dealt'].message_type = _CSGODAMAGEDEALT _CSGOEVENT.fields_by_name['freeze_time_ended'].message_type = _CSGOFREEZETIMEENDED _CSGOEVENT.fields_by_name['freeze_time_started'].message_type = _CSGOFREEZETIMESTARTED _CSGOEVENT.fields_by_name['item_drop'].message_type = _CSGOITEMDROP _CSGOEVENT.fields_by_name['item_pick_up'].message_type = _CSGOITEMPICKUP _CSGOEVENT.fields_by_name['item_purchase'].message_type = _CSGOITEMPURCHASE _CSGOEVENT.fields_by_name['item_throw'].message_type = _CSGOITEMTHROW _CSGOEVENT.fields_by_name['kill'].message_type = _CSGOKILL _CSGOEVENT.fields_by_name['death'].message_type = _CSGODEATH _CSGOEVENT.fields_by_name['map_end'].message_type = _CSGOMAPEND _CSGOEVENT.fields_by_name['map_start'].message_type = _CSGOMAPSTART _CSGOEVENT.fields_by_name['round_end'].message_type = _CSGOROUNDEND _CSGOEVENT.fields_by_name['round_pause'].message_type = _CSGOROUNDPAUSE _CSGOEVENT.fields_by_name['round_resume'].message_type = _CSGOROUNDRESUME _CSGOEVENT.fields_by_name['round_rollback'].message_type = _CSGOROUNDROLLBACK _CSGOEVENT.fields_by_name['round_start'].message_type = _CSGOROUNDSTART _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['bomb_defuse_started']) _CSGOEVENT.fields_by_name['bomb_defuse_started'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['bomb_defused']) _CSGOEVENT.fields_by_name['bomb_defused'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['bomb_exploded']) _CSGOEVENT.fields_by_name['bomb_exploded'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['bomb_plant_started']) _CSGOEVENT.fields_by_name['bomb_plant_started'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['bomb_planted']) _CSGOEVENT.fields_by_name['bomb_planted'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['damage_dealt']) _CSGOEVENT.fields_by_name['damage_dealt'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['freeze_time_ended']) _CSGOEVENT.fields_by_name['freeze_time_ended'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['freeze_time_started']) _CSGOEVENT.fields_by_name['freeze_time_started'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['item_drop']) _CSGOEVENT.fields_by_name['item_drop'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['item_pick_up']) _CSGOEVENT.fields_by_name['item_pick_up'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['item_purchase']) _CSGOEVENT.fields_by_name['item_purchase'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['item_throw']) _CSGOEVENT.fields_by_name['item_throw'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['kill']) _CSGOEVENT.fields_by_name['kill'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['death']) _CSGOEVENT.fields_by_name['death'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['map_end']) _CSGOEVENT.fields_by_name['map_end'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['map_start']) _CSGOEVENT.fields_by_name['map_start'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['round_end']) _CSGOEVENT.fields_by_name['round_end'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['round_pause']) _CSGOEVENT.fields_by_name['round_pause'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['round_resume']) _CSGOEVENT.fields_by_name['round_resume'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['round_rollback']) _CSGOEVENT.fields_by_name['round_rollback'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOEVENT.oneofs_by_name['event'].fields.append( _CSGOEVENT.fields_by_name['round_start']) _CSGOEVENT.fields_by_name['round_start'].containing_oneof = _CSGOEVENT.oneofs_by_name['event'] _CSGOPLAYERITEMS.fields_by_name['items'].message_type = _CSGOITEM _CSGOBOMBDEFUSESTARTED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBDEFUSESTARTED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBDEFUSED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBDEFUSED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBEXPLODED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBEXPLODED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBPLANTSTARTED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBPLANTSTARTED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBPLANTED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOBOMBPLANTED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGODAMAGEDEALT.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGODAMAGEDEALT.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGODAMAGEDEALT.fields_by_name['killer_position'].message_type = _CSGOPOSITION _CSGODAMAGEDEALT.fields_by_name['victim_position'].message_type = _CSGOPOSITION _CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERBALANCE _CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY.containing_type = _CSGOFREEZETIMEENDED _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERITEMS _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY.containing_type = _CSGOFREEZETIMEENDED _CSGOFREEZETIMEENDED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOFREEZETIMEENDED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOFREEZETIMEENDED.fields_by_name['player_balances'].message_type = _CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY _CSGOFREEZETIMEENDED.fields_by_name['player_inventories'].message_type = _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY _CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERBALANCE _CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY.containing_type = _CSGOFREEZETIMESTARTED _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY.fields_by_name['value'].enum_type = _CSGOSIDE _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY.containing_type = _CSGOFREEZETIMESTARTED _CSGOFREEZETIMESTARTED.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOFREEZETIMESTARTED.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOFREEZETIMESTARTED.fields_by_name['player_balances'].message_type = _CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY _CSGOFREEZETIMESTARTED.fields_by_name['teams_round_info'].message_type = _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY _CSGOITEMDROP.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMDROP.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMDROP.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOITEMPICKUP.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMPICKUP.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMPURCHASE.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMPURCHASE.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMTHROW.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMTHROW.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOITEMTHROW.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOKILL.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOKILL.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOKILL.fields_by_name['killer_position'].message_type = _CSGOPOSITION _CSGODEATH.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGODEATH.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGODEATH.fields_by_name['position'].message_type = _CSGOPOSITION _CSGOMAPEND.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOMAPSTART.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDEND_PLAYERBALANCESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERBALANCE _CSGOROUNDEND_PLAYERBALANCESENTRY.containing_type = _CSGOROUNDEND _CSGOROUNDEND_PLAYERINVENTORIESENTRY.fields_by_name['value'].message_type = _CSGOPLAYERITEMS _CSGOROUNDEND_PLAYERINVENTORIESENTRY.containing_type = _CSGOROUNDEND _CSGOROUNDEND.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDEND.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDEND.fields_by_name['win_reason'].enum_type = _CSGOWINREASON _CSGOROUNDEND.fields_by_name['player_balances'].message_type = _CSGOROUNDEND_PLAYERBALANCESENTRY _CSGOROUNDEND.fields_by_name['player_inventories'].message_type = _CSGOROUNDEND_PLAYERINVENTORIESENTRY _CSGOROUNDPAUSE.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDPAUSE.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDRESUME.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDRESUME.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDSTART.fields_by_name['map_time'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION _CSGOROUNDSTART.fields_by_name['time_remaining'].message_type = google_dot_protobuf_dot_duration__pb2._DURATION DESCRIPTOR.message_types_by_name['CsgoMatchMessage'] = _CSGOMATCHMESSAGE DESCRIPTOR.message_types_by_name['CsgoMatchSnapshot'] = _CSGOMATCHSNAPSHOT DESCRIPTOR.message_types_by_name['CsgoMatchUpdate'] = _CSGOMATCHUPDATE DESCRIPTOR.message_types_by_name['CsgoMatchStatePartialUpdates'] = _CSGOMATCHSTATEPARTIALUPDATES DESCRIPTOR.message_types_by_name['CsgoMatchStatePartialUpdate'] = _CSGOMATCHSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoMatchState'] = _CSGOMATCHSTATE DESCRIPTOR.message_types_by_name['CsgoMatchScoreState'] = _CSGOMATCHSCORESTATE DESCRIPTOR.message_types_by_name['CsgoTeam'] = _CSGOTEAM DESCRIPTOR.message_types_by_name['CsgoCurrentMapStatePartialUpdate'] = _CSGOCURRENTMAPSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoCurrentMapState'] = _CSGOCURRENTMAPSTATE DESCRIPTOR.message_types_by_name['CsgoPreviousMapState'] = _CSGOPREVIOUSMAPSTATE DESCRIPTOR.message_types_by_name['CsgoMapInfoState'] = _CSGOMAPINFOSTATE DESCRIPTOR.message_types_by_name['CsgoMapScoreState'] = _CSGOMAPSCORESTATE DESCRIPTOR.message_types_by_name['CsgoCurrentRoundStatePartialUpdate'] = _CSGOCURRENTROUNDSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoCurrentRoundState'] = _CSGOCURRENTROUNDSTATE DESCRIPTOR.message_types_by_name['CsgoPreviousRoundState'] = _CSGOPREVIOUSROUNDSTATE DESCRIPTOR.message_types_by_name['CsgoRoundInfoState'] = _CSGOROUNDINFOSTATE DESCRIPTOR.message_types_by_name['CsgoRoundTimeState'] = _CSGOROUNDTIMESTATE DESCRIPTOR.message_types_by_name['CsgoBombState'] = _CSGOBOMBSTATE DESCRIPTOR.message_types_by_name['CsgoBombCarriedState'] = _CSGOBOMBCARRIEDSTATE DESCRIPTOR.message_types_by_name['CsgoBombDroppedState'] = _CSGOBOMBDROPPEDSTATE DESCRIPTOR.message_types_by_name['CsgoBombPlantingState'] = _CSGOBOMBPLANTINGSTATE DESCRIPTOR.message_types_by_name['CsgoBombPlantedState'] = _CSGOBOMBPLANTEDSTATE DESCRIPTOR.message_types_by_name['CsgoBombDefusingState'] = _CSGOBOMBDEFUSINGSTATE DESCRIPTOR.message_types_by_name['CsgoBombDefusedState'] = _CSGOBOMBDEFUSEDSTATE DESCRIPTOR.message_types_by_name['CsgoBombExplodedState'] = _CSGOBOMBEXPLODEDSTATE DESCRIPTOR.message_types_by_name['CsgoTeamMapStatePartialUpdate'] = _CSGOTEAMMAPSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoTeamMapState'] = _CSGOTEAMMAPSTATE DESCRIPTOR.message_types_by_name['CsgoTeamCurrentRoundStatePartialUpdate'] = _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoTeamCurrentRoundState'] = _CSGOTEAMCURRENTROUNDSTATE DESCRIPTOR.message_types_by_name['CsgoPreviousTeamRoundState'] = _CSGOPREVIOUSTEAMROUNDSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerMapStatePartialUpdate'] = _CSGOPLAYERMAPSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoPlayerMapState'] = _CSGOPLAYERMAPSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerMapStatisticsState'] = _CSGOPLAYERMAPSTATISTICSSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerCurrentRoundStatePartialUpdate'] = _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE DESCRIPTOR.message_types_by_name['CsgoPlayerCurrentRoundState'] = _CSGOPLAYERCURRENTROUNDSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerCurrentRoundStatisticsState'] = _CSGOPLAYERCURRENTROUNDSTATISTICSSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerItemsState'] = _CSGOPLAYERITEMSSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerPreviousRoundState'] = _CSGOPLAYERPREVIOUSROUNDSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerPositionState'] = _CSGOPLAYERPOSITIONSTATE DESCRIPTOR.message_types_by_name['CsgoPlayerStatistics'] = _CSGOPLAYERSTATISTICS DESCRIPTOR.message_types_by_name['CsgoItem'] = _CSGOITEM DESCRIPTOR.message_types_by_name['CsgoPosition'] = _CSGOPOSITION DESCRIPTOR.message_types_by_name['CsgoEvent'] = _CSGOEVENT DESCRIPTOR.message_types_by_name['CsgoPlayerBalance'] = _CSGOPLAYERBALANCE DESCRIPTOR.message_types_by_name['CsgoPlayerItems'] = _CSGOPLAYERITEMS DESCRIPTOR.message_types_by_name['CsgoBombDefuseStarted'] = _CSGOBOMBDEFUSESTARTED DESCRIPTOR.message_types_by_name['CsgoBombDefused'] = _CSGOBOMBDEFUSED DESCRIPTOR.message_types_by_name['CsgoBombExploded'] = _CSGOBOMBEXPLODED DESCRIPTOR.message_types_by_name['CsgoBombPlantStarted'] = _CSGOBOMBPLANTSTARTED DESCRIPTOR.message_types_by_name['CsgoBombPlanted'] = _CSGOBOMBPLANTED DESCRIPTOR.message_types_by_name['CsgoDamageDealt'] = _CSGODAMAGEDEALT DESCRIPTOR.message_types_by_name['CsgoFreezeTimeEnded'] = _CSGOFREEZETIMEENDED DESCRIPTOR.message_types_by_name['CsgoFreezeTimeStarted'] = _CSGOFREEZETIMESTARTED DESCRIPTOR.message_types_by_name['CsgoItemDrop'] = _CSGOITEMDROP DESCRIPTOR.message_types_by_name['CsgoItemPickUp'] = _CSGOITEMPICKUP DESCRIPTOR.message_types_by_name['CsgoItemPurchase'] = _CSGOITEMPURCHASE DESCRIPTOR.message_types_by_name['CsgoItemThrow'] = _CSGOITEMTHROW DESCRIPTOR.message_types_by_name['CsgoKill'] = _CSGOKILL DESCRIPTOR.message_types_by_name['CsgoDeath'] = _CSGODEATH DESCRIPTOR.message_types_by_name['CsgoMapEnd'] = _CSGOMAPEND DESCRIPTOR.message_types_by_name['CsgoMapStart'] = _CSGOMAPSTART DESCRIPTOR.message_types_by_name['CsgoRoundEnd'] = _CSGOROUNDEND DESCRIPTOR.message_types_by_name['CsgoRoundPause'] = _CSGOROUNDPAUSE DESCRIPTOR.message_types_by_name['CsgoRoundResume'] = _CSGOROUNDRESUME DESCRIPTOR.message_types_by_name['CsgoRoundRollback'] = _CSGOROUNDROLLBACK DESCRIPTOR.message_types_by_name['CsgoRoundStart'] = _CSGOROUNDSTART DESCRIPTOR.enum_types_by_name['CsgoSide'] = _CSGOSIDE DESCRIPTOR.enum_types_by_name['CsgoWinReason'] = _CSGOWINREASON DESCRIPTOR.enum_types_by_name['CsgoRoundStateType'] = _CSGOROUNDSTATETYPE DESCRIPTOR.enum_types_by_name['CsgoWeaponType'] = _CSGOWEAPONTYPE _sym_db.RegisterFileDescriptor(DESCRIPTOR) CsgoMatchMessage = _reflection.GeneratedProtocolMessageType('CsgoMatchMessage', (_message.Message,), { 'Payload' : _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHMESSAGE_PAYLOAD, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchMessage.Payload) }) , 'DESCRIPTOR' : _CSGOMATCHMESSAGE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchMessage) }) _sym_db.RegisterMessage(CsgoMatchMessage) _sym_db.RegisterMessage(CsgoMatchMessage.Payload) CsgoMatchSnapshot = _reflection.GeneratedProtocolMessageType('CsgoMatchSnapshot', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHSNAPSHOT, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchSnapshot) }) _sym_db.RegisterMessage(CsgoMatchSnapshot) CsgoMatchUpdate = _reflection.GeneratedProtocolMessageType('CsgoMatchUpdate', (_message.Message,), { 'Payload' : _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHUPDATE_PAYLOAD, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchUpdate.Payload) }) , 'DESCRIPTOR' : _CSGOMATCHUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchUpdate) }) _sym_db.RegisterMessage(CsgoMatchUpdate) _sym_db.RegisterMessage(CsgoMatchUpdate.Payload) CsgoMatchStatePartialUpdates = _reflection.GeneratedProtocolMessageType('CsgoMatchStatePartialUpdates', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHSTATEPARTIALUPDATES, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchStatePartialUpdates) }) _sym_db.RegisterMessage(CsgoMatchStatePartialUpdates) CsgoMatchStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoMatchStatePartialUpdate', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoMatchStatePartialUpdate) CsgoMatchState = _reflection.GeneratedProtocolMessageType('CsgoMatchState', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchState) }) _sym_db.RegisterMessage(CsgoMatchState) CsgoMatchScoreState = _reflection.GeneratedProtocolMessageType('CsgoMatchScoreState', (_message.Message,), { 'DESCRIPTOR' : _CSGOMATCHSCORESTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMatchScoreState) }) _sym_db.RegisterMessage(CsgoMatchScoreState) CsgoTeam = _reflection.GeneratedProtocolMessageType('CsgoTeam', (_message.Message,), { 'DESCRIPTOR' : _CSGOTEAM, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeam) }) _sym_db.RegisterMessage(CsgoTeam) CsgoCurrentMapStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoCurrentMapStatePartialUpdate', (_message.Message,), { 'DESCRIPTOR' : _CSGOCURRENTMAPSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoCurrentMapStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoCurrentMapStatePartialUpdate) CsgoCurrentMapState = _reflection.GeneratedProtocolMessageType('CsgoCurrentMapState', (_message.Message,), { 'TeamMapStatesEntry' : _reflection.GeneratedProtocolMessageType('TeamMapStatesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoCurrentMapState.TeamMapStatesEntry) }) , 'DESCRIPTOR' : _CSGOCURRENTMAPSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoCurrentMapState) }) _sym_db.RegisterMessage(CsgoCurrentMapState) _sym_db.RegisterMessage(CsgoCurrentMapState.TeamMapStatesEntry) CsgoPreviousMapState = _reflection.GeneratedProtocolMessageType('CsgoPreviousMapState', (_message.Message,), { 'TeamMapStatesEntry' : _reflection.GeneratedProtocolMessageType('TeamMapStatesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPreviousMapState.TeamMapStatesEntry) }) , 'DESCRIPTOR' : _CSGOPREVIOUSMAPSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPreviousMapState) }) _sym_db.RegisterMessage(CsgoPreviousMapState) _sym_db.RegisterMessage(CsgoPreviousMapState.TeamMapStatesEntry) CsgoMapInfoState = _reflection.GeneratedProtocolMessageType('CsgoMapInfoState', (_message.Message,), { 'DESCRIPTOR' : _CSGOMAPINFOSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMapInfoState) }) _sym_db.RegisterMessage(CsgoMapInfoState) CsgoMapScoreState = _reflection.GeneratedProtocolMessageType('CsgoMapScoreState', (_message.Message,), { 'DESCRIPTOR' : _CSGOMAPSCORESTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMapScoreState) }) _sym_db.RegisterMessage(CsgoMapScoreState) CsgoCurrentRoundStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoCurrentRoundStatePartialUpdate', (_message.Message,), { 'DESCRIPTOR' : _CSGOCURRENTROUNDSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoCurrentRoundStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoCurrentRoundStatePartialUpdate) CsgoCurrentRoundState = _reflection.GeneratedProtocolMessageType('CsgoCurrentRoundState', (_message.Message,), { 'TeamStatesEntry' : _reflection.GeneratedProtocolMessageType('TeamStatesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoCurrentRoundState.TeamStatesEntry) }) , 'DESCRIPTOR' : _CSGOCURRENTROUNDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoCurrentRoundState) }) _sym_db.RegisterMessage(CsgoCurrentRoundState) _sym_db.RegisterMessage(CsgoCurrentRoundState.TeamStatesEntry) CsgoPreviousRoundState = _reflection.GeneratedProtocolMessageType('CsgoPreviousRoundState', (_message.Message,), { 'TeamStatesEntry' : _reflection.GeneratedProtocolMessageType('TeamStatesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPreviousRoundState.TeamStatesEntry) }) , 'DESCRIPTOR' : _CSGOPREVIOUSROUNDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPreviousRoundState) }) _sym_db.RegisterMessage(CsgoPreviousRoundState) _sym_db.RegisterMessage(CsgoPreviousRoundState.TeamStatesEntry) CsgoRoundInfoState = _reflection.GeneratedProtocolMessageType('CsgoRoundInfoState', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDINFOSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundInfoState) }) _sym_db.RegisterMessage(CsgoRoundInfoState) CsgoRoundTimeState = _reflection.GeneratedProtocolMessageType('CsgoRoundTimeState', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDTIMESTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundTimeState) }) _sym_db.RegisterMessage(CsgoRoundTimeState) CsgoBombState = _reflection.GeneratedProtocolMessageType('CsgoBombState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombState) }) _sym_db.RegisterMessage(CsgoBombState) CsgoBombCarriedState = _reflection.GeneratedProtocolMessageType('CsgoBombCarriedState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBCARRIEDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombCarriedState) }) _sym_db.RegisterMessage(CsgoBombCarriedState) CsgoBombDroppedState = _reflection.GeneratedProtocolMessageType('CsgoBombDroppedState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBDROPPEDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombDroppedState) }) _sym_db.RegisterMessage(CsgoBombDroppedState) CsgoBombPlantingState = _reflection.GeneratedProtocolMessageType('CsgoBombPlantingState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBPLANTINGSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombPlantingState) }) _sym_db.RegisterMessage(CsgoBombPlantingState) CsgoBombPlantedState = _reflection.GeneratedProtocolMessageType('CsgoBombPlantedState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBPLANTEDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombPlantedState) }) _sym_db.RegisterMessage(CsgoBombPlantedState) CsgoBombDefusingState = _reflection.GeneratedProtocolMessageType('CsgoBombDefusingState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBDEFUSINGSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombDefusingState) }) _sym_db.RegisterMessage(CsgoBombDefusingState) CsgoBombDefusedState = _reflection.GeneratedProtocolMessageType('CsgoBombDefusedState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBDEFUSEDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombDefusedState) }) _sym_db.RegisterMessage(CsgoBombDefusedState) CsgoBombExplodedState = _reflection.GeneratedProtocolMessageType('CsgoBombExplodedState', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBEXPLODEDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombExplodedState) }) _sym_db.RegisterMessage(CsgoBombExplodedState) CsgoTeamMapStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoTeamMapStatePartialUpdate', (_message.Message,), { 'Payload' : _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { 'DESCRIPTOR' : _CSGOTEAMMAPSTATEPARTIALUPDATE_PAYLOAD, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamMapStatePartialUpdate.Payload) }) , 'DESCRIPTOR' : _CSGOTEAMMAPSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamMapStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoTeamMapStatePartialUpdate) _sym_db.RegisterMessage(CsgoTeamMapStatePartialUpdate.Payload) CsgoTeamMapState = _reflection.GeneratedProtocolMessageType('CsgoTeamMapState', (_message.Message,), { 'PlayerMapStatesEntry' : _reflection.GeneratedProtocolMessageType('PlayerMapStatesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamMapState.PlayerMapStatesEntry) }) , 'DESCRIPTOR' : _CSGOTEAMMAPSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamMapState) }) _sym_db.RegisterMessage(CsgoTeamMapState) _sym_db.RegisterMessage(CsgoTeamMapState.PlayerMapStatesEntry) CsgoTeamCurrentRoundStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoTeamCurrentRoundStatePartialUpdate', (_message.Message,), { 'Payload' : _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { 'DESCRIPTOR' : _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamCurrentRoundStatePartialUpdate.Payload) }) , 'DESCRIPTOR' : _CSGOTEAMCURRENTROUNDSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamCurrentRoundStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoTeamCurrentRoundStatePartialUpdate) _sym_db.RegisterMessage(CsgoTeamCurrentRoundStatePartialUpdate.Payload) CsgoTeamCurrentRoundState = _reflection.GeneratedProtocolMessageType('CsgoTeamCurrentRoundState', (_message.Message,), { 'PlayerRoundStatesEntry' : _reflection.GeneratedProtocolMessageType('PlayerRoundStatesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamCurrentRoundState.PlayerRoundStatesEntry) }) , 'DESCRIPTOR' : _CSGOTEAMCURRENTROUNDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoTeamCurrentRoundState) }) _sym_db.RegisterMessage(CsgoTeamCurrentRoundState) _sym_db.RegisterMessage(CsgoTeamCurrentRoundState.PlayerRoundStatesEntry) CsgoPreviousTeamRoundState = _reflection.GeneratedProtocolMessageType('CsgoPreviousTeamRoundState', (_message.Message,), { 'PlayersEntry' : _reflection.GeneratedProtocolMessageType('PlayersEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPreviousTeamRoundState.PlayersEntry) }) , 'DESCRIPTOR' : _CSGOPREVIOUSTEAMROUNDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPreviousTeamRoundState) }) _sym_db.RegisterMessage(CsgoPreviousTeamRoundState) _sym_db.RegisterMessage(CsgoPreviousTeamRoundState.PlayersEntry) CsgoPlayerMapStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoPlayerMapStatePartialUpdate', (_message.Message,), { 'Payload' : _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERMAPSTATEPARTIALUPDATE_PAYLOAD, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerMapStatePartialUpdate.Payload) }) , 'DESCRIPTOR' : _CSGOPLAYERMAPSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerMapStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoPlayerMapStatePartialUpdate) _sym_db.RegisterMessage(CsgoPlayerMapStatePartialUpdate.Payload) CsgoPlayerMapState = _reflection.GeneratedProtocolMessageType('CsgoPlayerMapState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERMAPSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerMapState) }) _sym_db.RegisterMessage(CsgoPlayerMapState) CsgoPlayerMapStatisticsState = _reflection.GeneratedProtocolMessageType('CsgoPlayerMapStatisticsState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERMAPSTATISTICSSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerMapStatisticsState) }) _sym_db.RegisterMessage(CsgoPlayerMapStatisticsState) CsgoPlayerCurrentRoundStatePartialUpdate = _reflection.GeneratedProtocolMessageType('CsgoPlayerCurrentRoundStatePartialUpdate', (_message.Message,), { 'Payload' : _reflection.GeneratedProtocolMessageType('Payload', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE_PAYLOAD, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerCurrentRoundStatePartialUpdate.Payload) }) , 'DESCRIPTOR' : _CSGOPLAYERCURRENTROUNDSTATEPARTIALUPDATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerCurrentRoundStatePartialUpdate) }) _sym_db.RegisterMessage(CsgoPlayerCurrentRoundStatePartialUpdate) _sym_db.RegisterMessage(CsgoPlayerCurrentRoundStatePartialUpdate.Payload) CsgoPlayerCurrentRoundState = _reflection.GeneratedProtocolMessageType('CsgoPlayerCurrentRoundState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERCURRENTROUNDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerCurrentRoundState) }) _sym_db.RegisterMessage(CsgoPlayerCurrentRoundState) CsgoPlayerCurrentRoundStatisticsState = _reflection.GeneratedProtocolMessageType('CsgoPlayerCurrentRoundStatisticsState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERCURRENTROUNDSTATISTICSSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerCurrentRoundStatisticsState) }) _sym_db.RegisterMessage(CsgoPlayerCurrentRoundStatisticsState) CsgoPlayerItemsState = _reflection.GeneratedProtocolMessageType('CsgoPlayerItemsState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERITEMSSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerItemsState) }) _sym_db.RegisterMessage(CsgoPlayerItemsState) CsgoPlayerPreviousRoundState = _reflection.GeneratedProtocolMessageType('CsgoPlayerPreviousRoundState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERPREVIOUSROUNDSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerPreviousRoundState) }) _sym_db.RegisterMessage(CsgoPlayerPreviousRoundState) CsgoPlayerPositionState = _reflection.GeneratedProtocolMessageType('CsgoPlayerPositionState', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERPOSITIONSTATE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerPositionState) }) _sym_db.RegisterMessage(CsgoPlayerPositionState) CsgoPlayerStatistics = _reflection.GeneratedProtocolMessageType('CsgoPlayerStatistics', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERSTATISTICS, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerStatistics) }) _sym_db.RegisterMessage(CsgoPlayerStatistics) CsgoItem = _reflection.GeneratedProtocolMessageType('CsgoItem', (_message.Message,), { 'DESCRIPTOR' : _CSGOITEM, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoItem) }) _sym_db.RegisterMessage(CsgoItem) CsgoPosition = _reflection.GeneratedProtocolMessageType('CsgoPosition', (_message.Message,), { 'DESCRIPTOR' : _CSGOPOSITION, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPosition) }) _sym_db.RegisterMessage(CsgoPosition) CsgoEvent = _reflection.GeneratedProtocolMessageType('CsgoEvent', (_message.Message,), { 'DESCRIPTOR' : _CSGOEVENT, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoEvent) }) _sym_db.RegisterMessage(CsgoEvent) CsgoPlayerBalance = _reflection.GeneratedProtocolMessageType('CsgoPlayerBalance', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERBALANCE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerBalance) }) _sym_db.RegisterMessage(CsgoPlayerBalance) CsgoPlayerItems = _reflection.GeneratedProtocolMessageType('CsgoPlayerItems', (_message.Message,), { 'DESCRIPTOR' : _CSGOPLAYERITEMS, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoPlayerItems) }) _sym_db.RegisterMessage(CsgoPlayerItems) CsgoBombDefuseStarted = _reflection.GeneratedProtocolMessageType('CsgoBombDefuseStarted', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBDEFUSESTARTED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombDefuseStarted) }) _sym_db.RegisterMessage(CsgoBombDefuseStarted) CsgoBombDefused = _reflection.GeneratedProtocolMessageType('CsgoBombDefused', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBDEFUSED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombDefused) }) _sym_db.RegisterMessage(CsgoBombDefused) CsgoBombExploded = _reflection.GeneratedProtocolMessageType('CsgoBombExploded', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBEXPLODED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombExploded) }) _sym_db.RegisterMessage(CsgoBombExploded) CsgoBombPlantStarted = _reflection.GeneratedProtocolMessageType('CsgoBombPlantStarted', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBPLANTSTARTED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombPlantStarted) }) _sym_db.RegisterMessage(CsgoBombPlantStarted) CsgoBombPlanted = _reflection.GeneratedProtocolMessageType('CsgoBombPlanted', (_message.Message,), { 'DESCRIPTOR' : _CSGOBOMBPLANTED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoBombPlanted) }) _sym_db.RegisterMessage(CsgoBombPlanted) CsgoDamageDealt = _reflection.GeneratedProtocolMessageType('CsgoDamageDealt', (_message.Message,), { 'DESCRIPTOR' : _CSGODAMAGEDEALT, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoDamageDealt) }) _sym_db.RegisterMessage(CsgoDamageDealt) CsgoFreezeTimeEnded = _reflection.GeneratedProtocolMessageType('CsgoFreezeTimeEnded', (_message.Message,), { 'PlayerBalancesEntry' : _reflection.GeneratedProtocolMessageType('PlayerBalancesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoFreezeTimeEnded.PlayerBalancesEntry) }) , 'PlayerInventoriesEntry' : _reflection.GeneratedProtocolMessageType('PlayerInventoriesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoFreezeTimeEnded.PlayerInventoriesEntry) }) , 'DESCRIPTOR' : _CSGOFREEZETIMEENDED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoFreezeTimeEnded) }) _sym_db.RegisterMessage(CsgoFreezeTimeEnded) _sym_db.RegisterMessage(CsgoFreezeTimeEnded.PlayerBalancesEntry) _sym_db.RegisterMessage(CsgoFreezeTimeEnded.PlayerInventoriesEntry) CsgoFreezeTimeStarted = _reflection.GeneratedProtocolMessageType('CsgoFreezeTimeStarted', (_message.Message,), { 'PlayerBalancesEntry' : _reflection.GeneratedProtocolMessageType('PlayerBalancesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoFreezeTimeStarted.PlayerBalancesEntry) }) , 'TeamsRoundInfoEntry' : _reflection.GeneratedProtocolMessageType('TeamsRoundInfoEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoFreezeTimeStarted.TeamsRoundInfoEntry) }) , 'DESCRIPTOR' : _CSGOFREEZETIMESTARTED, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoFreezeTimeStarted) }) _sym_db.RegisterMessage(CsgoFreezeTimeStarted) _sym_db.RegisterMessage(CsgoFreezeTimeStarted.PlayerBalancesEntry) _sym_db.RegisterMessage(CsgoFreezeTimeStarted.TeamsRoundInfoEntry) CsgoItemDrop = _reflection.GeneratedProtocolMessageType('CsgoItemDrop', (_message.Message,), { 'DESCRIPTOR' : _CSGOITEMDROP, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoItemDrop) }) _sym_db.RegisterMessage(CsgoItemDrop) CsgoItemPickUp = _reflection.GeneratedProtocolMessageType('CsgoItemPickUp', (_message.Message,), { 'DESCRIPTOR' : _CSGOITEMPICKUP, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoItemPickUp) }) _sym_db.RegisterMessage(CsgoItemPickUp) CsgoItemPurchase = _reflection.GeneratedProtocolMessageType('CsgoItemPurchase', (_message.Message,), { 'DESCRIPTOR' : _CSGOITEMPURCHASE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoItemPurchase) }) _sym_db.RegisterMessage(CsgoItemPurchase) CsgoItemThrow = _reflection.GeneratedProtocolMessageType('CsgoItemThrow', (_message.Message,), { 'DESCRIPTOR' : _CSGOITEMTHROW, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoItemThrow) }) _sym_db.RegisterMessage(CsgoItemThrow) CsgoKill = _reflection.GeneratedProtocolMessageType('CsgoKill', (_message.Message,), { 'DESCRIPTOR' : _CSGOKILL, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoKill) }) _sym_db.RegisterMessage(CsgoKill) CsgoDeath = _reflection.GeneratedProtocolMessageType('CsgoDeath', (_message.Message,), { 'DESCRIPTOR' : _CSGODEATH, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoDeath) }) _sym_db.RegisterMessage(CsgoDeath) CsgoMapEnd = _reflection.GeneratedProtocolMessageType('CsgoMapEnd', (_message.Message,), { 'DESCRIPTOR' : _CSGOMAPEND, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMapEnd) }) _sym_db.RegisterMessage(CsgoMapEnd) CsgoMapStart = _reflection.GeneratedProtocolMessageType('CsgoMapStart', (_message.Message,), { 'DESCRIPTOR' : _CSGOMAPSTART, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoMapStart) }) _sym_db.RegisterMessage(CsgoMapStart) CsgoRoundEnd = _reflection.GeneratedProtocolMessageType('CsgoRoundEnd', (_message.Message,), { 'PlayerBalancesEntry' : _reflection.GeneratedProtocolMessageType('PlayerBalancesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDEND_PLAYERBALANCESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundEnd.PlayerBalancesEntry) }) , 'PlayerInventoriesEntry' : _reflection.GeneratedProtocolMessageType('PlayerInventoriesEntry', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDEND_PLAYERINVENTORIESENTRY, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundEnd.PlayerInventoriesEntry) }) , 'DESCRIPTOR' : _CSGOROUNDEND, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundEnd) }) _sym_db.RegisterMessage(CsgoRoundEnd) _sym_db.RegisterMessage(CsgoRoundEnd.PlayerBalancesEntry) _sym_db.RegisterMessage(CsgoRoundEnd.PlayerInventoriesEntry) CsgoRoundPause = _reflection.GeneratedProtocolMessageType('CsgoRoundPause', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDPAUSE, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundPause) }) _sym_db.RegisterMessage(CsgoRoundPause) CsgoRoundResume = _reflection.GeneratedProtocolMessageType('CsgoRoundResume', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDRESUME, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundResume) }) _sym_db.RegisterMessage(CsgoRoundResume) CsgoRoundRollback = _reflection.GeneratedProtocolMessageType('CsgoRoundRollback', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDROLLBACK, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundRollback) }) _sym_db.RegisterMessage(CsgoRoundRollback) CsgoRoundStart = _reflection.GeneratedProtocolMessageType('CsgoRoundStart', (_message.Message,), { 'DESCRIPTOR' : _CSGOROUNDSTART, '__module__' : 'bragi.csgo_pb2' # @@protoc_insertion_point(class_scope:bragi.CsgoRoundStart) }) _sym_db.RegisterMessage(CsgoRoundStart) DESCRIPTOR._options = None _CSGOCURRENTMAPSTATE_TEAMMAPSTATESENTRY._options = None _CSGOPREVIOUSMAPSTATE_TEAMMAPSTATESENTRY._options = None _CSGOCURRENTROUNDSTATE_TEAMSTATESENTRY._options = None _CSGOPREVIOUSROUNDSTATE_TEAMSTATESENTRY._options = None _CSGOTEAMMAPSTATE_PLAYERMAPSTATESENTRY._options = None _CSGOTEAMCURRENTROUNDSTATE_PLAYERROUNDSTATESENTRY._options = None _CSGOPREVIOUSTEAMROUNDSTATE_PLAYERSENTRY._options = None _CSGOFREEZETIMEENDED_PLAYERBALANCESENTRY._options = None _CSGOFREEZETIMEENDED_PLAYERINVENTORIESENTRY._options = None _CSGOFREEZETIMESTARTED_PLAYERBALANCESENTRY._options = None _CSGOFREEZETIMESTARTED_TEAMSROUNDINFOENTRY._options = None _CSGOROUNDEND_PLAYERBALANCESENTRY._options = None _CSGOROUNDEND_PLAYERINVENTORIESENTRY._options = None # @@protoc_insertion_point(module_scope)
49.591254
26,671
0.77803
36,388
300,523
6.056804
0.024019
0.043014
0.066726
0.060029
0.791207
0.743247
0.721976
0.695864
0.678055
0.660904
0
0.034465
0.108384
300,523
6,059
26,672
49.599439
0.788055
0.020278
0
0.70546
1
0.005425
0.177072
0.126133
0
0
0
0
0
1
0
false
0
0.0014
0
0.0014
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
bbca33e0b404b1cecd25dc7b7553ca4a055fd939
91
py
Python
src/layoutparser/io/__init__.py
frankiert/layout-parser
f89a18f3d0a51a07f9a70598d06ca586dc4dd1c3
[ "Apache-2.0" ]
2,931
2020-06-22T17:57:57.000Z
2022-03-31T05:16:10.000Z
src/layoutparser/io/__init__.py
frankiert/layout-parser
f89a18f3d0a51a07f9a70598d06ca586dc4dd1c3
[ "Apache-2.0" ]
93
2020-06-25T17:47:07.000Z
2022-03-26T11:43:33.000Z
src/layoutparser/io/__init__.py
frankiert/layout-parser
f89a18f3d0a51a07f9a70598d06ca586dc4dd1c3
[ "Apache-2.0" ]
283
2020-07-02T07:52:00.000Z
2022-03-24T05:06:57.000Z
from .basic import load_json, load_dict, load_csv, load_dataframe from .pdf import load_pdf
45.5
65
0.835165
16
91
4.4375
0.5625
0.28169
0
0
0
0
0
0
0
0
0
0
0.10989
91
2
66
45.5
0.876543
0
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
1
0
0
6
bbd500161e9d42ee96eb599a1ec7dc706de900a0
6,726
py
Python
gnuradio-3.7.13.4/gr-fec/python/fec/qa_fecapi_cc.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
1
2021-03-09T07:32:37.000Z
2021-03-09T07:32:37.000Z
gnuradio-3.7.13.4/gr-fec/python/fec/qa_fecapi_cc.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
gnuradio-3.7.13.4/gr-fec/python/fec/qa_fecapi_cc.py
v1259397/cosmic-gnuradio
64c149520ac6a7d44179c3f4a38f38add45dd5dc
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # Copyright 2014 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 3, or (at your option) # any later version. # # GNU Radio is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with GNU Radio; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 51 Franklin Street, # Boston, MA 02110-1301, USA. # from gnuradio import gr, gr_unittest import fec_swig as fec from _qa_helper import _qa_helper from extended_encoder import extended_encoder from extended_decoder import extended_decoder class test_fecapi_cc(gr_unittest.TestCase): def setUp(self): self.tb = gr.top_block() def tearDown(self): self.tb = None def test_parallelism0_00(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] enc = fec.cc_encoder_make(frame_size*8, k, rate, polys) dec = fec.cc_decoder.make(frame_size*8, k, rate, polys) threading = None self.test = _qa_helper(4*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism0_01(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] enc = fec.cc_encoder_make(frame_size*8, k, rate, polys) dec = fec.cc_decoder.make(frame_size*8, k, rate, polys) threading = 'ordinary' self.test = _qa_helper(5*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism0_02(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] enc = fec.cc_encoder_make(frame_size*8, k, rate, polys) dec = fec.cc_decoder.make(frame_size*8, k, rate, polys) threading = 'capillary' self.test = _qa_helper(5*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism1_00(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] enc = map((lambda a: fec.cc_encoder_make(frame_size*8, k, rate, polys)), range(0,1)) dec = map((lambda a: fec.cc_decoder.make(frame_size*8, k, rate, polys)), range(0,1)) threading = None self.test = _qa_helper(5*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism1_01(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] enc = map((lambda a: fec.cc_encoder_make(frame_size*8, k, rate, polys)), range(0,1)) dec = map((lambda a: fec.cc_decoder.make(frame_size*8, k, rate, polys)), range(0,1)) threading = 'ordinary' self.test = _qa_helper(5*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism1_02(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] enc = map((lambda a: fec.cc_encoder_make(frame_size*8, k, rate, polys)), range(0,1)) dec = map((lambda a: fec.cc_decoder.make(frame_size*8, k, rate, polys)), range(0,1)) threading = 'capillary' self.test = _qa_helper(5*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism1_03(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] mode = fec.CC_TERMINATED enc = map((lambda a: fec.cc_encoder_make(frame_size*8, k, rate, polys, mode=mode)), range(0,4)) dec = map((lambda a: fec.cc_decoder.make(frame_size*8, k, rate, polys, mode=mode)), range(0,4)) threading = 'capillary' self.test = _qa_helper(4*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism1_04(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] mode = fec.CC_TRUNCATED enc = map((lambda a: fec.cc_encoder_make(frame_size*8, k, rate, polys, mode=mode)), range(0,4)) dec = map((lambda a: fec.cc_decoder.make(frame_size*8, k, rate, polys, mode=mode)), range(0,4)) threading = 'capillary' self.test = _qa_helper(4*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) def test_parallelism1_05(self): frame_size = 30 k = 7 rate = 2 polys = [109,79] mode = fec.CC_TAILBITING enc = map((lambda a: fec.cc_encoder_make(frame_size*8, k, rate, polys, mode=mode)), range(0,4)) dec = map((lambda a: fec.cc_decoder.make(frame_size*8, k, rate, polys, mode=mode)), range(0,4)) threading = 'capillary' self.test = _qa_helper(4*frame_size, enc, dec, threading) self.tb.connect(self.test) self.tb.run() data_out = self.test.snk_output.data() data_in = self.test.snk_input.data()[0:len(data_out)] self.assertEqual(data_in, data_out) if __name__ == '__main__': gr_unittest.run(test_fecapi_cc, "test_fecapi_cc.xml")
34.316327
103
0.624888
1,019
6,726
3.936212
0.151129
0.080778
0.05834
0.062827
0.783096
0.776614
0.760658
0.760658
0.760658
0.760658
0
0.036683
0.254237
6,726
195
104
34.492308
0.762959
0.113292
0
0.829787
0
0
0.014639
0
0
0
0
0
0.06383
1
0.078014
false
0
0.035461
0
0.120567
0
0
0
0
null
0
0
0
0
1
1
1
1
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
6
bbd909082a8799c54540cbff9a5bcb2527918b4e
62
py
Python
app/repository/datacenters.py
maestro-server/data-app
cde6479cc84fe410220b34742772d5017571e3d3
[ "Apache-2.0" ]
null
null
null
app/repository/datacenters.py
maestro-server/data-app
cde6479cc84fe410220b34742772d5017571e3d3
[ "Apache-2.0" ]
1
2019-11-21T17:06:31.000Z
2019-11-21T17:06:31.000Z
app/repository/datacenters.py
maestro-server/data-app
cde6479cc84fe410220b34742772d5017571e3d3
[ "Apache-2.0" ]
null
null
null
from .model import Model class Datacenters(Model): pass
10.333333
25
0.725806
8
62
5.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.209677
62
5
26
12.4
0.918367
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.333333
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
1
1
0
1
0
0
6
a547126b275010c7b4953747623ea6657ccb1f1a
19
py
Python
model_zoo/vit/parallel_3d/__init__.py
DevinCheung/ColossalAI
632e622de818697f9949e35117c0432d88f62c87
[ "Apache-2.0" ]
1
2021-11-02T14:00:27.000Z
2021-11-02T14:00:27.000Z
model_zoo/vit/parallel_3d/__init__.py
DevinCheung/ColossalAI
632e622de818697f9949e35117c0432d88f62c87
[ "Apache-2.0" ]
null
null
null
model_zoo/vit/parallel_3d/__init__.py
DevinCheung/ColossalAI
632e622de818697f9949e35117c0432d88f62c87
[ "Apache-2.0" ]
1
2022-03-03T10:54:41.000Z
2022-03-03T10:54:41.000Z
from .vit import *
9.5
18
0.684211
3
19
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.210526
19
1
19
19
0.866667
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
1
0
0
6
a553d5b79373a5f1209a2d04ed2d3efe42e6e56f
5,520
py
Python
cl_inn/pos/tests/test_apis.py
Ibrahem3amer/pos_api
af758680c583b85f87ed2fba985b5d2955ebdb23
[ "MIT" ]
null
null
null
cl_inn/pos/tests/test_apis.py
Ibrahem3amer/pos_api
af758680c583b85f87ed2fba985b5d2955ebdb23
[ "MIT" ]
null
null
null
cl_inn/pos/tests/test_apis.py
Ibrahem3amer/pos_api
af758680c583b85f87ed2fba985b5d2955ebdb23
[ "MIT" ]
null
null
null
from django.urls import reverse from rest_framework import status from rest_framework.test import APITestCase, force_authenticate from django.contrib.auth import get_user_model from pos.models import * User = get_user_model() class ReceiptListAPITest(APITestCase): def setUp(self): self.user = User.objects.create_user(username = 'ibrahemmmmm', email = 'test_@test.com', password = '000000555555ddd5f5f') self.shop = Shop.objects.create(name='Big Shop') r = Receipt.objects.create( name='new receipt', shop=self.shop, user=self.user ) def test_get_all_receipts(self): """ Retrieve all 3 receipts created in db with self.user.""" # Setup test r2 = Receipt.objects.create( name='new receipt', shop=self.shop, user=self.user ) r3 = Receipt.objects.create( name='new receipt', shop=self.shop, user=self.user ) # Exercise test url = reverse('api_receipts_list') request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.get(url) # Assert test self.assertEqual(request.status_code, status.HTTP_200_OK) self.assertTrue(len(request.data) == 3) def test_get_no_receipts(self): """ Returns [] due to empty receipts.""" # Setup test Receipt.objects.all().delete() # Exercise test url = reverse('api_receipts_list') request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.get(url) # Assert test self.assertEqual(request.status_code, status.HTTP_200_OK) self.assertTrue(request.data == []) def test_post_new_receipts(self): """ increases number of receipts in db to 2.""" # Setup test data = { 'name': 'receipt', 'user': self.user.id, 'shop': self.shop.id } # Exercise test url = reverse('api_receipts_list') request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.post(url, data) # Assert test self.assertEqual(request.status_code, status.HTTP_201_CREATED) def test_post_new_receipts_with_incorrect_user_and_shop(self): """ increases number of receipts in db to 2.""" # Setup test data = { 'name': 'receipt', 'user': 999, 'shop': 999 } # Exercise test url = reverse('api_receipts_list') request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.post(url, data) # Assert test self.assertEqual(request.status_code, status.HTTP_400_BAD_REQUEST) class ReceiptInstanceAPITest(APITestCase): def setUp(self): self.user = User.objects.create_user(username = 'ibrahemmmmm', email = 'test_@test.com', password = '000000555555ddd5f5f') self.shop = Shop.objects.create(name='Big Shop') def test_get_non_existing_instance(self): """ Returns 404 not found.""" # Setup test # Exercise test url = reverse('api_receipts_instance', kwargs={'receipt_id': 999}) request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.get(url) # Assert test self.assertEqual(request.status_code, status.HTTP_404_NOT_FOUND) def test_get_instance(self): """ Retrieve receipt with id=1.""" # Setup test r2 = Receipt.objects.create( name='new receipt', shop=self.shop, user=self.user ) # Exercise test url = reverse('api_receipts_instance', kwargs={'receipt_id': r2.id}) request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.get(url, ) # Assert test self.assertEqual(request.status_code, status.HTTP_200_OK) self.assertEqual(r2.id, request.data['id']) def test_update_given_instance(self): """ Change name of instance from new receipt to updated receipt.""" # Setup test r2 = Receipt.objects.create( name='new receipt', shop=self.shop, user=self.user ) data = {'name': 'updated receipt'} # Exercise test url = reverse('api_receipts_instance', kwargs={'receipt_id': r2.id}) request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.put(url, data) # Assert test self.assertEqual(request.status_code, status.HTTP_200_OK) self.assertNotEqual(r2.name, request.data['name']) def test_delete_given_instance(self): """ Returns 402.""" # Setup test r2 = Receipt.objects.create( name='new receipt', shop=self.shop, user=self.user ) # Exercise test url = reverse('api_receipts_instance', kwargs={'receipt_id': r2.id}) request = self.client.login(username="ibrahemmmmm", password="000000555555ddd5f5f") request = self.client.delete(url) # Assert test self.assertEqual(request.status_code, status.HTTP_204_NO_CONTENT)
31.907514
131
0.6125
612
5,520
5.382353
0.163399
0.05343
0.082574
0.05343
0.745598
0.73224
0.73224
0.73224
0.73224
0.73224
0
0.048536
0.275906
5,520
173
132
31.907514
0.775582
0.107065
0
0.56
0
0
0.136888
0.017291
0
0
0
0
0.12
1
0.1
false
0.1
0.05
0
0.17
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
1
0
0
0
0
0
6
3c01abf518a6745a9097d2bf06517bb1005d5059
192
py
Python
models/__init__.py
deciphered-ai/gpu-performance-benchmarking
d6efc07c0a60ce64c2b1c05130a746f748db2a60
[ "MIT" ]
null
null
null
models/__init__.py
deciphered-ai/gpu-performance-benchmarking
d6efc07c0a60ce64c2b1c05130a746f748db2a60
[ "MIT" ]
null
null
null
models/__init__.py
deciphered-ai/gpu-performance-benchmarking
d6efc07c0a60ce64c2b1c05130a746f748db2a60
[ "MIT" ]
null
null
null
from .vgg import * from .senet import * from .densenet import * from .shufflenetv2 import * from .resnet import * from .resnext import * from .mobilenetv2 import * from .efficientnet import *
21.333333
27
0.75
24
192
6
0.416667
0.486111
0
0
0
0
0
0
0
0
0
0.0125
0.166667
192
8
28
24
0.8875
0
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
1
0
0
6
3c1330aec1c85886fdf1fc4a427a5600e2b83e19
3,639
py
Python
sintel/resources/computing/utils/layout.py
signals-dev/sintel
e1b296d356854323d4582c074fa90c25adfd6573
[ "MIT" ]
2
2020-11-13T05:52:56.000Z
2021-05-04T07:29:43.000Z
sintel/resources/computing/utils/layout.py
signals-dev/sintel
e1b296d356854323d4582c074fa90c25adfd6573
[ "MIT" ]
2
2022-03-09T06:07:56.000Z
2022-03-25T19:47:01.000Z
sintel/resources/computing/utils/layout.py
signals-dev/sintel
e1b296d356854323d4582c074fa90c25adfd6573
[ "MIT" ]
null
null
null
import numpy as np from mongoengine import connect from sklearn.manifold import TSNE from sintel.db import schema from sintel.resources.computing.utils.signal_distance import event_overlap_distance def tsne(signalruns): event_list = list() count = 0 for signalrun in signalruns: signalrun_doc = schema.Signalrun.find_one(signalrun=signalrun['id']) event_docs = schema.Event.find(signalrun=signalrun_doc) events = [(doc.start_time, doc.stop_time) for doc in event_docs] event_list.append({ 'eid': count, 'events': events, 'start': signalrun_doc.signal.start_time, 'end': signalrun_doc.signal.stop_time, 'signalrun_id': str(signalrun_doc.id) }) count += 1 dist_matrix = np.empty((count, count)) for i in range(count): for j in range(i + 1): if i == j: dist_matrix[i, j] = 0 else: dist_matrix[i, j] = event_overlap_distance( event_list[i]['events'], event_list[j]['events'], min(event_list[i]['start'], event_list[j]['start']), max(event_list[i]['end'], event_list[j]['end']) ) dist_matrix[j, i] = dist_matrix[i, j] def func_dist(a, b): return dist_matrix[int(a[0]), int(b[0])] X = np.arange(count) X = X.reshape(-1, 1).astype(int) X_embedded = TSNE(n_components=1, metric=func_dist).fit_transform(X) X_embedded = X_embedded.flatten() X_sorted = [{'i': i, 'v': v} for i, v in enumerate(X_embedded)] X_sorted = sorted(X_sorted, key=lambda x: x['v']) for i, d in enumerate(X_sorted): event_list[d['i']]['order'] = i signalruns_ordered = [None] * len(event_list) for i in range(len(event_list)): signalruns_ordered[event_list[i]['order']] = signalruns[i] return signalruns_ordered def umap(): pass if __name__ == '__main__': db = connect('sintel', host='localhost', port=27017) signalrun_docs = schema.Signalrun.find() event_list = list() count = 0 for signalrun_doc in signalrun_docs: event_docs = schema.Event.find(signalrun=signalrun_doc) events = [(doc.start_time, doc.stop_time) for doc in event_docs] event_list.append({ 'eid': count, 'events': events, 'start': signalrun_doc.signal.start_time, 'end': signalrun_doc.signal.stop_time, 'signalrun_id': str(signalrun_doc.id) }) count += 1 dist_matrix = np.empty((count, count)) for i in range(count): for j in range(i + 1): if i == j: dist_matrix[i, j] = 0 else: dist_matrix[i, j] = event_overlap_distance( event_list[i]['events'], event_list[j]['events'], min(event_list[i]['start'], event_list[j]['start']), max(event_list[i]['end'], event_list[j]['end']) ) dist_matrix[j, i] = dist_matrix[i, j] def func_dist(a, b): return dist_matrix[int(a[0]), int(b[0])] X = np.arange(count) X = X.reshape(-1, 1).astype(int) X_embedded = TSNE(n_components=1, metric=func_dist).fit_transform(X) X_embedded = X_embedded.flatten() X_sorted = [{'i': i, 'v': v} for i, v in enumerate(X_embedded)] X_sorted = sorted(X_sorted, key=lambda x: x['v']) for i, d in enumerate(X_sorted): event_list[d['i']]['order'] = i for d in event_list: print(d)
31.102564
83
0.571586
494
3,639
4.002024
0.176113
0.100152
0.035407
0.036419
0.745574
0.745574
0.745574
0.714213
0.714213
0.714213
0
0.008936
0.292663
3,639
116
84
31.37069
0.75913
0
0
0.755556
0
0
0.044518
0
0
0
0
0
0
1
0.044444
false
0.011111
0.055556
0.022222
0.133333
0.011111
0
0
0
null
0
0
0
0
1
1
1
1
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
6
3c133331452c5a05b150bd25836e0d3bcaacdc37
41
py
Python
exonetapi/auth/__init__.py
exonet/exonet-api-python
4b6785d47d4d4aad3ea1220b5d58bd2334f48d6d
[ "MIT" ]
null
null
null
exonetapi/auth/__init__.py
exonet/exonet-api-python
4b6785d47d4d4aad3ea1220b5d58bd2334f48d6d
[ "MIT" ]
4
2020-05-05T12:20:26.000Z
2022-03-16T08:56:38.000Z
exonetapi/auth/__init__.py
exonet/exonet-api-python
4b6785d47d4d4aad3ea1220b5d58bd2334f48d6d
[ "MIT" ]
1
2018-06-14T09:43:53.000Z
2018-06-14T09:43:53.000Z
from .Authenticator import Authenticator
20.5
40
0.878049
4
41
9
0.75
0
0
0
0
0
0
0
0
0
0
0
0.097561
41
1
41
41
0.972973
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
1
0
0
6
3c713cf1ab0f07da802678f77c1ebc886a245e51
29
py
Python
libsaas/services/spotify/__init__.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
155
2015-01-27T15:17:59.000Z
2022-02-20T00:14:08.000Z
libsaas/services/spotify/__init__.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
14
2015-01-12T08:22:37.000Z
2021-06-16T19:49:31.000Z
libsaas/services/spotify/__init__.py
MidtownFellowship/libsaas
541bb731b996b08ede1d91a235cb82895765c38a
[ "MIT" ]
43
2015-01-28T22:41:45.000Z
2021-09-21T04:44:26.000Z
from .service import Spotify
14.5
28
0.827586
4
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.96
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
1
0
0
6
3c7373f2d0092236d817070de0a9e69f3d92dba4
95,083
py
Python
pyboto3/efs.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
91
2016-12-31T11:38:37.000Z
2021-09-16T19:33:23.000Z
pyboto3/efs.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
7
2017-01-02T18:54:23.000Z
2020-08-11T13:54:02.000Z
pyboto3/efs.py
gehad-shaat/pyboto3
4a0c2851a8bc04fb1c71c36086f7bb257e48181d
[ "MIT" ]
26
2016-12-31T13:11:00.000Z
2022-03-03T21:01:12.000Z
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud 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. ''' def can_paginate(operation_name=None): """ Check if an operation can be paginated. :type operation_name: string :param operation_name: The operation name. This is the same name\nas the method name on the client. For example, if the\nmethod name is create_foo, and you\'d normally invoke the\noperation as client.create_foo(**kwargs), if the\ncreate_foo operation can be paginated, you can use the\ncall client.get_paginator('create_foo'). """ pass def create_access_point(ClientToken=None, Tags=None, FileSystemId=None, PosixUser=None, RootDirectory=None): """ Creates an EFS access point. An access point is an application-specific view into an EFS file system that applies an operating system user and group, and a file system path, to any file system request made through the access point. The operating system user and group override any identity information provided by the NFS client. The file system path is exposed as the access point\'s root directory. Applications using the access point can only access data in its own directory and below. To learn more, see Mounting a File System Using EFS Access Points . This operation requires permissions for the elasticfilesystem:CreateAccessPoint action. See also: AWS API Documentation Exceptions :example: response = client.create_access_point( ClientToken='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ], FileSystemId='string', PosixUser={ 'Uid': 123, 'Gid': 123, 'SecondaryGids': [ 123, ] }, RootDirectory={ 'Path': 'string', 'CreationInfo': { 'OwnerUid': 123, 'OwnerGid': 123, 'Permissions': 'string' } } ) :type ClientToken: string :param ClientToken: [REQUIRED]\nA string of up to 64 ASCII characters that Amazon EFS uses to ensure idempotent creation.\nThis field is autopopulated if not provided.\n :type Tags: list :param Tags: Creates tags associated with the access point. Each tag is a key-value pair.\n\n(dict) --A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : /\n\nKey (string) -- [REQUIRED]The tag key (String). The key can\'t start with aws: .\n\nValue (string) -- [REQUIRED]The value of the tag key.\n\n\n\n\n :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the EFS file system that the access point provides access to.\n :type PosixUser: dict :param PosixUser: The operating system user and group applied to all file system requests made using the access point.\n\nUid (integer) -- [REQUIRED]The POSIX user ID used for all file system operations using this access point.\n\nGid (integer) -- [REQUIRED]The POSIX group ID used for all file system operations using this access point.\n\nSecondaryGids (list) --Secondary POSIX group IDs used for all file system operations using this access point.\n\n(integer) --\n\n\n\n :type RootDirectory: dict :param RootDirectory: Specifies the directory on the Amazon EFS file system that the access point exposes as the root directory of your file system to NFS clients using the access point. The clients using the access point can only access the root directory and below. If the RootDirectory > Path specified does not exist, EFS creates it and applies the CreationInfo settings when a client connects to an access point. When specifying a RootDirectory , you need to provide the Path , and the CreationInfo is optional.\n\nPath (string) --Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo .\n\nCreationInfo (dict) --(Optional) Specifies the POSIX IDs and permissions to apply to the access point\'s RootDirectory . If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo , you must provide values for all properties.\n\nWarning\nIf you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail.\n\n\nOwnerUid (integer) -- [REQUIRED]Specifies the POSIX user ID to apply to the RootDirectory . Accepts values from 0 to 2^32 (4294967295).\n\nOwnerGid (integer) -- [REQUIRED]Specifies the POSIX group ID to apply to the RootDirectory . Accepts values from 0 to 2^32 (4294967295).\n\nPermissions (string) -- [REQUIRED]Specifies the POSIX permissions to apply to the RootDirectory , in the format of an octal number representing the file\'s mode bits.\n\n\n\n\n :rtype: dict ReturnsResponse Syntax { 'ClientToken': 'string', 'Name': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'AccessPointId': 'string', 'AccessPointArn': 'string', 'FileSystemId': 'string', 'PosixUser': { 'Uid': 123, 'Gid': 123, 'SecondaryGids': [ 123, ] }, 'RootDirectory': { 'Path': 'string', 'CreationInfo': { 'OwnerUid': 123, 'OwnerGid': 123, 'Permissions': 'string' } }, 'OwnerId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted' } Response Structure (dict) -- Provides a description of an EFS file system access point. ClientToken (string) -- The opaque string specified in the request to ensure idempotent creation. Name (string) -- The name of the access point. This is the value of the Name tag. Tags (list) -- The tags associated with the access point, presented as an array of Tag objects. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. AccessPointId (string) -- The ID of the access point, assigned by Amazon EFS. AccessPointArn (string) -- The unique Amazon Resource Name (ARN) associated with the access point. FileSystemId (string) -- The ID of the EFS file system that the access point applies to. PosixUser (dict) -- The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point. Uid (integer) -- The POSIX user ID used for all file system operations using this access point. Gid (integer) -- The POSIX group ID used for all file system operations using this access point. SecondaryGids (list) -- Secondary POSIX group IDs used for all file system operations using this access point. (integer) -- RootDirectory (dict) -- The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point. Path (string) -- Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo . CreationInfo (dict) -- (Optional) Specifies the POSIX IDs and permissions to apply to the access point\'s RootDirectory . If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo , you must provide values for all properties. Warning If you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail. OwnerUid (integer) -- Specifies the POSIX user ID to apply to the RootDirectory . Accepts values from 0 to 2^32 (4294967295). OwnerGid (integer) -- Specifies the POSIX group ID to apply to the RootDirectory . Accepts values from 0 to 2^32 (4294967295). Permissions (string) -- Specifies the POSIX permissions to apply to the RootDirectory , in the format of an octal number representing the file\'s mode bits. OwnerId (string) -- Identified the AWS account that owns the access point resource. LifeCycleState (string) -- Identifies the lifecycle phase of the access point. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.AccessPointAlreadyExists EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.AccessPointLimitExceeded :return: { 'ClientToken': 'string', 'Name': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'AccessPointId': 'string', 'AccessPointArn': 'string', 'FileSystemId': 'string', 'PosixUser': { 'Uid': 123, 'Gid': 123, 'SecondaryGids': [ 123, ] }, 'RootDirectory': { 'Path': 'string', 'CreationInfo': { 'OwnerUid': 123, 'OwnerGid': 123, 'Permissions': 'string' } }, 'OwnerId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted' } :returns: (integer) -- """ pass def create_file_system(CreationToken=None, PerformanceMode=None, Encrypted=None, KmsKeyId=None, ThroughputMode=None, ProvisionedThroughputInMibps=None, Tags=None): """ Creates a new, empty file system. The operation requires a creation token in the request that Amazon EFS uses to ensure idempotent creation (calling the operation with same creation token has no effect). If a file system does not currently exist that is owned by the caller\'s AWS account with the specified creation token, this operation does the following: Otherwise, this operation returns a FileSystemAlreadyExists error with the ID of the existing file system. The idempotent operation allows you to retry a CreateFileSystem call without risk of creating an extra file system. This can happen when an initial call fails in a way that leaves it uncertain whether or not a file system was actually created. An example might be that a transport level timeout occurred or your connection was reset. As long as you use the same creation token, if the initial call had succeeded in creating a file system, the client can learn of its existence from the FileSystemAlreadyExists error. This operation also takes an optional PerformanceMode parameter that you choose for your file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can\'t be changed after the file system has been created. For more information, see Amazon EFS: Performance Modes . After the file system is fully created, Amazon EFS sets its lifecycle state to available , at which point you can create one or more mount targets for the file system in your VPC. For more information, see CreateMountTarget . You mount your Amazon EFS file system on an EC2 instances in your VPC by using the mount target. For more information, see Amazon EFS: How it Works . This operation requires permissions for the elasticfilesystem:CreateFileSystem action. See also: AWS API Documentation Exceptions Examples This operation creates a new file system with the default generalpurpose performance mode. Expected Output: :example: response = client.create_file_system( CreationToken='string', PerformanceMode='generalPurpose'|'maxIO', Encrypted=True|False, KmsKeyId='string', ThroughputMode='bursting'|'provisioned', ProvisionedThroughputInMibps=123.0, Tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) :type CreationToken: string :param CreationToken: [REQUIRED]\nA string of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation.\nThis field is autopopulated if not provided.\n :type PerformanceMode: string :param PerformanceMode: The performance mode of the file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can\'t be changed after the file system has been created. :type Encrypted: boolean :param Encrypted: A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying CreateFileSystemRequest$KmsKeyId for an existing AWS Key Management Service (AWS KMS) customer master key (CMK). If you don\'t specify a CMK, then the default CMK for Amazon EFS, /aws/elasticfilesystem , is used to protect the encrypted file system. :type KmsKeyId: string :param KmsKeyId: The ID of the AWS KMS CMK to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault CMK. If this parameter is not specified, the default CMK for Amazon EFS is used. This ID can be in one of the following formats:\n\nKey ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab .\nARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab .\nKey alias - A previously created display name for a key, for example alias/projectKey1 .\nKey alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1 .\n\nIf KmsKeyId is specified, the CreateFileSystemRequest$Encrypted parameter must be set to true.\n\nWarning\nEFS accepts only symmetric CMKs. You cannot use asymmetric CMKs with EFS file systems.\n\n :type ThroughputMode: string :param ThroughputMode: The throughput mode for the file system to be created. There are two throughput modes to choose from for your file system: bursting and provisioned . If you set ThroughputMode to provisioned , you must also set a value for ProvisionedThroughPutInMibps . You can decrease your file system\'s throughput in Provisioned Throughput mode or change between the throughput modes as long as it\xe2\x80\x99s been more than 24 hours since the last decrease or throughput mode change. For more, see Specifying Throughput with Provisioned Mode in the Amazon EFS User Guide. :type ProvisionedThroughputInMibps: float :param ProvisionedThroughputInMibps: The throughput, measured in MiB/s, that you want to provision for a file system that you\'re creating. Valid values are 1-1024. Required if ThroughputMode is set to provisioned . The upper limit for throughput is 1024 MiB/s. You can get this limit increased by contacting AWS Support. For more information, see Amazon EFS Limits That You Can Increase in the Amazon EFS User Guide. :type Tags: list :param Tags: A value that specifies to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a 'Key':'Name','Value':'{value}' key-value pair.\n\n(dict) --A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : /\n\nKey (string) -- [REQUIRED]The tag key (String). The key can\'t start with aws: .\n\nValue (string) -- [REQUIRED]The value of the tag key.\n\n\n\n\n :rtype: dict ReturnsResponse Syntax { 'OwnerId': 'string', 'CreationToken': 'string', 'FileSystemId': 'string', 'CreationTime': datetime(2015, 1, 1), 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'Name': 'string', 'NumberOfMountTargets': 123, 'SizeInBytes': { 'Value': 123, 'Timestamp': datetime(2015, 1, 1), 'ValueInIA': 123, 'ValueInStandard': 123 }, 'PerformanceMode': 'generalPurpose'|'maxIO', 'Encrypted': True|False, 'KmsKeyId': 'string', 'ThroughputMode': 'bursting'|'provisioned', 'ProvisionedThroughputInMibps': 123.0, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] } Response Structure (dict) -- A description of the file system. OwnerId (string) -- The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. CreationToken (string) -- The opaque string specified in the request. FileSystemId (string) -- The ID of the file system, assigned by Amazon EFS. CreationTime (datetime) -- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). LifeCycleState (string) -- The lifecycle phase of the file system. Name (string) -- You can add tags to a file system, including a Name tag. For more information, see CreateFileSystem . If the file system has a Name tag, Amazon EFS returns the value in this field. NumberOfMountTargets (integer) -- The current number of mount targets that the file system has. For more information, see CreateMountTarget . SizeInBytes (dict) -- The latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes value doesn\'t represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, SizeInBytes represents actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size that the file system was at any point in time. Value (integer) -- The latest known metered size (in bytes) of data stored in the file system. Timestamp (datetime) -- The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. ValueInIA (integer) -- The latest known metered size (in bytes) of data stored in the Infrequent Access storage class. ValueInStandard (integer) -- The latest known metered size (in bytes) of data stored in the Standard storage class. PerformanceMode (string) -- The performance mode of the file system. Encrypted (boolean) -- A Boolean value that, if true, indicates that the file system is encrypted. KmsKeyId (string) -- The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system. ThroughputMode (string) -- The throughput mode for a file system. There are two throughput modes to choose from for your file system: bursting and provisioned . If you set ThroughputMode to provisioned , you must also set a value for ProvisionedThroughPutInMibps . You can decrease your file system\'s throughput in Provisioned Throughput mode or change between the throughput modes as long as it\xe2\x80\x99s been more than 24 hours since the last decrease or throughput mode change. ProvisionedThroughputInMibps (float) -- The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. Required if ThroughputMode is set to provisioned . The limit on throughput is 1024 MiB/s. You can get these limits increased by contacting AWS Support. For more information, see Amazon EFS Limits That You Can Increase in the Amazon EFS User Guide. Tags (list) -- The tags associated with the file system, presented as an array of Tag objects. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemAlreadyExists EFS.Client.exceptions.FileSystemLimitExceeded EFS.Client.exceptions.InsufficientThroughputCapacity EFS.Client.exceptions.ThroughputLimitExceeded Examples This operation creates a new file system with the default generalpurpose performance mode. response = client.create_file_system( CreationToken='tokenstring', PerformanceMode='generalPurpose', ) print(response) Expected Output: { 'CreationTime': datetime(2016, 12, 15, 22, 38, 44, 3, 350, 0), 'CreationToken': 'tokenstring', 'FileSystemId': 'fs-01234567', 'LifeCycleState': 'creating', 'NumberOfMountTargets': 0, 'OwnerId': '012345678912', 'PerformanceMode': 'generalPurpose', 'SizeInBytes': { 'Value': 0, }, 'ResponseMetadata': { '...': '...', }, } :return: { 'OwnerId': 'string', 'CreationToken': 'string', 'FileSystemId': 'string', 'CreationTime': datetime(2015, 1, 1), 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'Name': 'string', 'NumberOfMountTargets': 123, 'SizeInBytes': { 'Value': 123, 'Timestamp': datetime(2015, 1, 1), 'ValueInIA': 123, 'ValueInStandard': 123 }, 'PerformanceMode': 'generalPurpose'|'maxIO', 'Encrypted': True|False, 'KmsKeyId': 'string', 'ThroughputMode': 'bursting'|'provisioned', 'ProvisionedThroughputInMibps': 123.0, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] } :returns: CreationToken (string) -- [REQUIRED] A string of up to 64 ASCII characters. Amazon EFS uses this to ensure idempotent creation. This field is autopopulated if not provided. PerformanceMode (string) -- The performance mode of the file system. We recommend generalPurpose performance mode for most file systems. File systems using the maxIO performance mode can scale to higher levels of aggregate throughput and operations per second with a tradeoff of slightly higher latencies for most file operations. The performance mode can\'t be changed after the file system has been created. Encrypted (boolean) -- A Boolean value that, if true, creates an encrypted file system. When creating an encrypted file system, you have the option of specifying CreateFileSystemRequest$KmsKeyId for an existing AWS Key Management Service (AWS KMS) customer master key (CMK). If you don\'t specify a CMK, then the default CMK for Amazon EFS, /aws/elasticfilesystem , is used to protect the encrypted file system. KmsKeyId (string) -- The ID of the AWS KMS CMK to be used to protect the encrypted file system. This parameter is only required if you want to use a nondefault CMK. If this parameter is not specified, the default CMK for Amazon EFS is used. This ID can be in one of the following formats: Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab . ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab . Key alias - A previously created display name for a key, for example alias/projectKey1 . Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1 . If KmsKeyId is specified, the CreateFileSystemRequest$Encrypted parameter must be set to true. Warning EFS accepts only symmetric CMKs. You cannot use asymmetric CMKs with EFS file systems. ThroughputMode (string) -- The throughput mode for the file system to be created. There are two throughput modes to choose from for your file system: bursting and provisioned . If you set ThroughputMode to provisioned , you must also set a value for ProvisionedThroughPutInMibps . You can decrease your file system\'s throughput in Provisioned Throughput mode or change between the throughput modes as long as it\xe2\x80\x99s been more than 24 hours since the last decrease or throughput mode change. For more, see Specifying Throughput with Provisioned Mode in the Amazon EFS User Guide. ProvisionedThroughputInMibps (float) -- The throughput, measured in MiB/s, that you want to provision for a file system that you\'re creating. Valid values are 1-1024. Required if ThroughputMode is set to provisioned . The upper limit for throughput is 1024 MiB/s. You can get this limit increased by contacting AWS Support. For more information, see Amazon EFS Limits That You Can Increase in the Amazon EFS User Guide. Tags (list) -- A value that specifies to create one or more tags associated with the file system. Each tag is a user-defined key-value pair. Name your file system on creation by including a "Key":"Name","Value":"{value}" key-value pair. (dict) --A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- [REQUIRED]The tag key (String). The key can\'t start with aws: . Value (string) -- [REQUIRED]The value of the tag key. """ pass def create_mount_target(FileSystemId=None, SubnetId=None, IpAddress=None, SecurityGroups=None): """ Creates a mount target for a file system. You can then mount the file system on EC2 instances by using the mount target. You can create one mount target in each Availability Zone in your VPC. All EC2 instances in a VPC within a given Availability Zone share a single mount target for a given file system. If you have multiple subnets in an Availability Zone, you create a mount target in one of the subnets. EC2 instances do not need to be in the same subnet as the mount target in order to access their file system. For more information, see Amazon EFS: How it Works . In the request, you also specify a file system ID for which you are creating the mount target and the file system\'s lifecycle state must be available . For more information, see DescribeFileSystems . In the request, you also provide a subnet ID, which determines the following: After creating the mount target, Amazon EFS returns a response that includes, a MountTargetId and an IpAddress . You use this IP address when mounting the file system in an EC2 instance. You can also use the mount target\'s DNS name when mounting the file system. The EC2 instance on which you mount the file system by using the mount target can resolve the mount target\'s DNS name to its IP address. For more information, see How it Works: Implementation Overview . Note that you can create mount targets for a file system in only one VPC, and there can be only one mount target per Availability Zone. That is, if the file system already has one or more mount targets created for it, the subnet specified in the request to add another mount target must meet the following requirements: If the request satisfies the requirements, Amazon EFS does the following: Each Amazon EFS mount target has one corresponding requester-managed EC2 network interface. After the network interface is created, Amazon EFS sets the NetworkInterfaceId field in the mount target\'s description to the network interface ID, and the IpAddress field to its address. If network interface creation fails, the entire CreateMountTarget operation fails. We recommend that you create a mount target in each of the Availability Zones. There are cost considerations for using a file system in an Availability Zone through a mount target created in another Availability Zone. For more information, see Amazon EFS . In addition, by always using a mount target local to the instance\'s Availability Zone, you eliminate a partial failure scenario. If the Availability Zone in which your mount target is created goes down, then you can\'t access your file system through that mount target. This operation requires permissions for the following action on the file system: This operation also requires permissions for the following Amazon EC2 actions: See also: AWS API Documentation Exceptions Examples This operation creates a new mount target for an EFS file system. Expected Output: :example: response = client.create_mount_target( FileSystemId='string', SubnetId='string', IpAddress='string', SecurityGroups=[ 'string', ] ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system for which to create the mount target.\n :type SubnetId: string :param SubnetId: [REQUIRED]\nThe ID of the subnet to add the mount target in.\n :type IpAddress: string :param IpAddress: Valid IPv4 address within the address range of the specified subnet. :type SecurityGroups: list :param SecurityGroups: Up to five VPC security group IDs, of the form sg-xxxxxxxx . These must be for the same VPC as subnet specified.\n\n(string) --\n\n :rtype: dict ReturnsResponse Syntax { 'OwnerId': 'string', 'MountTargetId': 'string', 'FileSystemId': 'string', 'SubnetId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'IpAddress': 'string', 'NetworkInterfaceId': 'string', 'AvailabilityZoneId': 'string', 'AvailabilityZoneName': 'string' } Response Structure (dict) -- Provides a description of a mount target. OwnerId (string) -- AWS account ID that owns the resource. MountTargetId (string) -- System-assigned mount target ID. FileSystemId (string) -- The ID of the file system for which the mount target is intended. SubnetId (string) -- The ID of the mount target\'s subnet. LifeCycleState (string) -- Lifecycle state of the mount target. IpAddress (string) -- Address at which the file system can be mounted by using the mount target. NetworkInterfaceId (string) -- The ID of the network interface that Amazon EFS created when it created the mount target. AvailabilityZoneId (string) -- The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in. For example, use1-az1 is an AZ ID for the us-east-1 Region and it has the same location in every AWS account. AvailabilityZoneName (string) -- The name of the Availability Zone (AZ) that the mount target resides in. AZs are independently mapped to names for each AWS account. For example, the Availability Zone us-east-1a for your AWS account might not be the same location as us-east-1a for another AWS account. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.IncorrectFileSystemLifeCycleState EFS.Client.exceptions.MountTargetConflict EFS.Client.exceptions.SubnetNotFound EFS.Client.exceptions.NoFreeAddressesInSubnet EFS.Client.exceptions.IpAddressInUse EFS.Client.exceptions.NetworkInterfaceLimitExceeded EFS.Client.exceptions.SecurityGroupLimitExceeded EFS.Client.exceptions.SecurityGroupNotFound EFS.Client.exceptions.UnsupportedAvailabilityZone Examples This operation creates a new mount target for an EFS file system. response = client.create_mount_target( FileSystemId='fs-01234567', SubnetId='subnet-1234abcd', ) print(response) Expected Output: { 'FileSystemId': 'fs-01234567', 'IpAddress': '192.0.0.2', 'LifeCycleState': 'creating', 'MountTargetId': 'fsmt-12340abc', 'NetworkInterfaceId': 'eni-cedf6789', 'OwnerId': '012345678912', 'SubnetId': 'subnet-1234abcd', 'ResponseMetadata': { '...': '...', }, } :return: { 'OwnerId': 'string', 'MountTargetId': 'string', 'FileSystemId': 'string', 'SubnetId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'IpAddress': 'string', 'NetworkInterfaceId': 'string', 'AvailabilityZoneId': 'string', 'AvailabilityZoneName': 'string' } :returns: Must belong to the same VPC as the subnets of the existing mount targets Must not be in the same Availability Zone as any of the subnets of the existing mount targets """ pass def create_tags(FileSystemId=None, Tags=None): """ Creates or overwrites tags associated with a file system. Each tag is a key-value pair. If a tag key specified in the request already exists on the file system, this operation overwrites its value with the value provided in the request. If you add the Name tag to your file system, Amazon EFS returns it in the response to the DescribeFileSystems operation. This operation requires permission for the elasticfilesystem:CreateTags action. See also: AWS API Documentation Exceptions Examples This operation creates a new tag for an EFS file system. Expected Output: :example: response = client.create_tags( FileSystemId='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system whose tags you want to modify (String). This operation modifies the tags only, not the file system.\n :type Tags: list :param Tags: [REQUIRED]\nAn array of Tag objects to add. Each Tag object is a key-value pair.\n\n(dict) --A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : /\n\nKey (string) -- [REQUIRED]The tag key (String). The key can\'t start with aws: .\n\nValue (string) -- [REQUIRED]The value of the tag key.\n\n\n\n\n :return: response = client.create_tags( FileSystemId='fs-01234567', Tags=[ { 'Key': 'Name', 'Value': 'MyFileSystem', }, ], ) print(response) :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound """ pass def delete_access_point(AccessPointId=None): """ Deletes the specified access point. After deletion is complete, new clients can no longer connect to the access points. Clients connected to the access point at the time of deletion will continue to function until they terminate their connection. This operation requires permissions for the elasticfilesystem:DeleteAccessPoint action. See also: AWS API Documentation Exceptions :example: response = client.delete_access_point( AccessPointId='string' ) :type AccessPointId: string :param AccessPointId: [REQUIRED]\nThe ID of the access point that you want to delete.\n """ pass def delete_file_system(FileSystemId=None): """ Deletes a file system, permanently severing access to its contents. Upon return, the file system no longer exists and you can\'t access any contents of the deleted file system. You can\'t delete a file system that is in use. That is, if the file system has any mount targets, you must first delete them. For more information, see DescribeMountTargets and DeleteMountTarget . This operation requires permissions for the elasticfilesystem:DeleteFileSystem action. See also: AWS API Documentation Exceptions Examples This operation deletes an EFS file system. Expected Output: :example: response = client.delete_file_system( FileSystemId='string' ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system you want to delete.\n :return: response = client.delete_file_system( FileSystemId='fs-01234567', ) print(response) """ pass def delete_file_system_policy(FileSystemId=None): """ Deletes the FileSystemPolicy for the specified file system. The default FileSystemPolicy goes into effect once the existing policy is deleted. For more information about the default file system policy, see Using Resource-based Policies with EFS . This operation requires permissions for the elasticfilesystem:DeleteFileSystemPolicy action. See also: AWS API Documentation Exceptions :example: response = client.delete_file_system_policy( FileSystemId='string' ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nSpecifies the EFS file system for which to delete the FileSystemPolicy .\n """ pass def delete_mount_target(MountTargetId=None): """ Deletes the specified mount target. This operation forcibly breaks any mounts of the file system by using the mount target that is being deleted, which might disrupt instances or applications using those mounts. To avoid applications getting cut off abruptly, you might consider unmounting any mounts of the mount target, if feasible. The operation also deletes the associated network interface. Uncommitted writes might be lost, but breaking a mount target using this operation does not corrupt the file system itself. The file system you created remains. You can mount an EC2 instance in your VPC by using another mount target. This operation requires permissions for the following action on the file system: The operation also requires permissions for the following Amazon EC2 action on the mount target\'s network interface: See also: AWS API Documentation Exceptions Examples This operation deletes a mount target. Expected Output: :example: response = client.delete_mount_target( MountTargetId='string' ) :type MountTargetId: string :param MountTargetId: [REQUIRED]\nThe ID of the mount target to delete (String).\n :return: response = client.delete_mount_target( MountTargetId='fsmt-12340abc', ) print(response) :returns: ec2:DeleteNetworkInterface """ pass def delete_tags(FileSystemId=None, TagKeys=None): """ Deletes the specified tags from a file system. If the DeleteTags request includes a tag key that doesn\'t exist, Amazon EFS ignores it and doesn\'t cause an error. For more information about tags and related restrictions, see Tag Restrictions in the AWS Billing and Cost Management User Guide . This operation requires permissions for the elasticfilesystem:DeleteTags action. See also: AWS API Documentation Exceptions Examples This operation deletes tags for an EFS file system. Expected Output: :example: response = client.delete_tags( FileSystemId='string', TagKeys=[ 'string', ] ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system whose tags you want to delete (String).\n :type TagKeys: list :param TagKeys: [REQUIRED]\nA list of tag keys to delete.\n\n(string) --\n\n :return: response = client.delete_tags( FileSystemId='fs-01234567', TagKeys=[ 'Name', ], ) print(response) :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound """ pass def describe_access_points(MaxResults=None, NextToken=None, AccessPointId=None, FileSystemId=None): """ Returns the description of a specific Amazon EFS access point if the AccessPointId is provided. If you provide an EFS FileSystemId , it returns descriptions of all access points for that file system. You can provide either an AccessPointId or a FileSystemId in the request, but not both. This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action. See also: AWS API Documentation Exceptions :example: response = client.describe_access_points( MaxResults=123, NextToken='string', AccessPointId='string', FileSystemId='string' ) :type MaxResults: integer :param MaxResults: (Optional) When retrieving all access points for a file system, you can optionally specify the MaxItems parameter to limit the number of objects returned in a response. The default value is 100. :type NextToken: string :param NextToken: NextToken is present if the response is paginated. You can use NextMarker in the subsequent request to fetch the next page of access point descriptions. :type AccessPointId: string :param AccessPointId: (Optional) Specifies an EFS access point to describe in the response; mutually exclusive with FileSystemId . :type FileSystemId: string :param FileSystemId: (Optional) If you provide a FileSystemId , EFS returns all access points for that file system; mutually exclusive with AccessPointId . :rtype: dict ReturnsResponse Syntax { 'AccessPoints': [ { 'ClientToken': 'string', 'Name': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'AccessPointId': 'string', 'AccessPointArn': 'string', 'FileSystemId': 'string', 'PosixUser': { 'Uid': 123, 'Gid': 123, 'SecondaryGids': [ 123, ] }, 'RootDirectory': { 'Path': 'string', 'CreationInfo': { 'OwnerUid': 123, 'OwnerGid': 123, 'Permissions': 'string' } }, 'OwnerId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted' }, ], 'NextToken': 'string' } Response Structure (dict) -- AccessPoints (list) -- An array of access point descriptions. (dict) -- Provides a description of an EFS file system access point. ClientToken (string) -- The opaque string specified in the request to ensure idempotent creation. Name (string) -- The name of the access point. This is the value of the Name tag. Tags (list) -- The tags associated with the access point, presented as an array of Tag objects. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. AccessPointId (string) -- The ID of the access point, assigned by Amazon EFS. AccessPointArn (string) -- The unique Amazon Resource Name (ARN) associated with the access point. FileSystemId (string) -- The ID of the EFS file system that the access point applies to. PosixUser (dict) -- The full POSIX identity, including the user ID, group ID, and secondary group IDs on the access point that is used for all file operations by NFS clients using the access point. Uid (integer) -- The POSIX user ID used for all file system operations using this access point. Gid (integer) -- The POSIX group ID used for all file system operations using this access point. SecondaryGids (list) -- Secondary POSIX group IDs used for all file system operations using this access point. (integer) -- RootDirectory (dict) -- The directory on the Amazon EFS file system that the access point exposes as the root directory to NFS clients using the access point. Path (string) -- Specifies the path on the EFS file system to expose as the root directory to NFS clients using the access point to access the EFS file system. A path can have up to four subdirectories. If the specified path does not exist, you are required to provide the CreationInfo . CreationInfo (dict) -- (Optional) Specifies the POSIX IDs and permissions to apply to the access point\'s RootDirectory . If the RootDirectory > Path specified does not exist, EFS creates the root directory using the CreationInfo settings when a client connects to an access point. When specifying the CreationInfo , you must provide values for all properties. Warning If you do not provide CreationInfo and the specified RootDirectory > Path does not exist, attempts to mount the file system using the access point will fail. OwnerUid (integer) -- Specifies the POSIX user ID to apply to the RootDirectory . Accepts values from 0 to 2^32 (4294967295). OwnerGid (integer) -- Specifies the POSIX group ID to apply to the RootDirectory . Accepts values from 0 to 2^32 (4294967295). Permissions (string) -- Specifies the POSIX permissions to apply to the RootDirectory , in the format of an octal number representing the file\'s mode bits. OwnerId (string) -- Identified the AWS account that owns the access point resource. LifeCycleState (string) -- Identifies the lifecycle phase of the access point. NextToken (string) -- Present if there are more access points than returned in the response. You can use the NextMarker in the subsequent request to fetch the additional descriptions. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.AccessPointNotFound :return: { 'AccessPoints': [ { 'ClientToken': 'string', 'Name': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'AccessPointId': 'string', 'AccessPointArn': 'string', 'FileSystemId': 'string', 'PosixUser': { 'Uid': 123, 'Gid': 123, 'SecondaryGids': [ 123, ] }, 'RootDirectory': { 'Path': 'string', 'CreationInfo': { 'OwnerUid': 123, 'OwnerGid': 123, 'Permissions': 'string' } }, 'OwnerId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted' }, ], 'NextToken': 'string' } :returns: (integer) -- """ pass def describe_file_system_policy(FileSystemId=None): """ Returns the FileSystemPolicy for the specified EFS file system. This operation requires permissions for the elasticfilesystem:DescribeFileSystemPolicy action. See also: AWS API Documentation Exceptions :example: response = client.describe_file_system_policy( FileSystemId='string' ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nSpecifies which EFS file system to retrieve the FileSystemPolicy for.\n :rtype: dict ReturnsResponse Syntax{ 'FileSystemId': 'string', 'Policy': 'string' } Response Structure (dict) -- FileSystemId (string) --Specifies the EFS file system to which the FileSystemPolicy applies. Policy (string) --The JSON formatted FileSystemPolicy for the EFS file system. Exceptions EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.PolicyNotFound :return: { 'FileSystemId': 'string', 'Policy': 'string' } """ pass def describe_file_systems(MaxItems=None, Marker=None, CreationToken=None, FileSystemId=None): """ Returns the description of a specific Amazon EFS file system if either the file system CreationToken or the FileSystemId is provided. Otherwise, it returns descriptions of all file systems owned by the caller\'s AWS account in the AWS Region of the endpoint that you\'re calling. When retrieving all file system descriptions, you can optionally specify the MaxItems parameter to limit the number of descriptions in a response. Currently, this number is automatically set to 10. If more file system descriptions remain, Amazon EFS returns a NextMarker , an opaque token, in the response. In this case, you should send a subsequent request with the Marker request parameter set to the value of NextMarker . To retrieve a list of your file system descriptions, this operation is used in an iterative process, where DescribeFileSystems is called first without the Marker and then the operation continues to call it with the Marker parameter set to the value of the NextMarker from the previous response until the response has no NextMarker . The order of file systems returned in the response of one DescribeFileSystems call and the order of file systems returned across the responses of a multi-call iteration is unspecified. This operation requires permissions for the elasticfilesystem:DescribeFileSystems action. See also: AWS API Documentation Exceptions Examples This operation describes all of the EFS file systems in an account. Expected Output: :example: response = client.describe_file_systems( MaxItems=123, Marker='string', CreationToken='string', FileSystemId='string' ) :type MaxItems: integer :param MaxItems: (Optional) Specifies the maximum number of file systems to return in the response (integer). This number is automatically set to 100. The response is paginated at 100 per page if you have more than 100 file systems. :type Marker: string :param Marker: (Optional) Opaque pagination token returned from a previous DescribeFileSystems operation (String). If present, specifies to continue the list from where the returning call had left off. :type CreationToken: string :param CreationToken: (Optional) Restricts the list to the file system with this creation token (String). You specify a creation token when you create an Amazon EFS file system. :type FileSystemId: string :param FileSystemId: (Optional) ID of the file system whose description you want to retrieve (String). :rtype: dict ReturnsResponse Syntax { 'Marker': 'string', 'FileSystems': [ { 'OwnerId': 'string', 'CreationToken': 'string', 'FileSystemId': 'string', 'CreationTime': datetime(2015, 1, 1), 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'Name': 'string', 'NumberOfMountTargets': 123, 'SizeInBytes': { 'Value': 123, 'Timestamp': datetime(2015, 1, 1), 'ValueInIA': 123, 'ValueInStandard': 123 }, 'PerformanceMode': 'generalPurpose'|'maxIO', 'Encrypted': True|False, 'KmsKeyId': 'string', 'ThroughputMode': 'bursting'|'provisioned', 'ProvisionedThroughputInMibps': 123.0, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }, ], 'NextMarker': 'string' } Response Structure (dict) -- Marker (string) -- Present if provided by caller in the request (String). FileSystems (list) -- An array of file system descriptions. (dict) -- A description of the file system. OwnerId (string) -- The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. CreationToken (string) -- The opaque string specified in the request. FileSystemId (string) -- The ID of the file system, assigned by Amazon EFS. CreationTime (datetime) -- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). LifeCycleState (string) -- The lifecycle phase of the file system. Name (string) -- You can add tags to a file system, including a Name tag. For more information, see CreateFileSystem . If the file system has a Name tag, Amazon EFS returns the value in this field. NumberOfMountTargets (integer) -- The current number of mount targets that the file system has. For more information, see CreateMountTarget . SizeInBytes (dict) -- The latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes value doesn\'t represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, SizeInBytes represents actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size that the file system was at any point in time. Value (integer) -- The latest known metered size (in bytes) of data stored in the file system. Timestamp (datetime) -- The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. ValueInIA (integer) -- The latest known metered size (in bytes) of data stored in the Infrequent Access storage class. ValueInStandard (integer) -- The latest known metered size (in bytes) of data stored in the Standard storage class. PerformanceMode (string) -- The performance mode of the file system. Encrypted (boolean) -- A Boolean value that, if true, indicates that the file system is encrypted. KmsKeyId (string) -- The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system. ThroughputMode (string) -- The throughput mode for a file system. There are two throughput modes to choose from for your file system: bursting and provisioned . If you set ThroughputMode to provisioned , you must also set a value for ProvisionedThroughPutInMibps . You can decrease your file system\'s throughput in Provisioned Throughput mode or change between the throughput modes as long as it\xe2\x80\x99s been more than 24 hours since the last decrease or throughput mode change. ProvisionedThroughputInMibps (float) -- The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. Required if ThroughputMode is set to provisioned . The limit on throughput is 1024 MiB/s. You can get these limits increased by contacting AWS Support. For more information, see Amazon EFS Limits That You Can Increase in the Amazon EFS User Guide. Tags (list) -- The tags associated with the file system, presented as an array of Tag objects. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. NextMarker (string) -- Present if there are more file systems than returned in the response (String). You can use the NextMarker in the subsequent request to fetch the descriptions. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound Examples This operation describes all of the EFS file systems in an account. response = client.describe_file_systems( ) print(response) Expected Output: { 'FileSystems': [ { 'CreationTime': datetime(2016, 12, 15, 22, 38, 44, 3, 350, 0), 'CreationToken': 'tokenstring', 'FileSystemId': 'fs-01234567', 'LifeCycleState': 'available', 'Name': 'MyFileSystem', 'NumberOfMountTargets': 1, 'OwnerId': '012345678912', 'PerformanceMode': 'generalPurpose', 'SizeInBytes': { 'Value': 6144, }, }, ], 'ResponseMetadata': { '...': '...', }, } :return: { 'Marker': 'string', 'FileSystems': [ { 'OwnerId': 'string', 'CreationToken': 'string', 'FileSystemId': 'string', 'CreationTime': datetime(2015, 1, 1), 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'Name': 'string', 'NumberOfMountTargets': 123, 'SizeInBytes': { 'Value': 123, 'Timestamp': datetime(2015, 1, 1), 'ValueInIA': 123, 'ValueInStandard': 123 }, 'PerformanceMode': 'generalPurpose'|'maxIO', 'Encrypted': True|False, 'KmsKeyId': 'string', 'ThroughputMode': 'bursting'|'provisioned', 'ProvisionedThroughputInMibps': 123.0, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }, ], 'NextMarker': 'string' } :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound """ pass def describe_lifecycle_configuration(FileSystemId=None): """ Returns the current LifecycleConfiguration object for the specified Amazon EFS file system. EFS lifecycle management uses the LifecycleConfiguration object to identify which files to move to the EFS Infrequent Access (IA) storage class. For a file system without a LifecycleConfiguration object, the call returns an empty array in the response. This operation requires permissions for the elasticfilesystem:DescribeLifecycleConfiguration operation. See also: AWS API Documentation Exceptions :example: response = client.describe_lifecycle_configuration( FileSystemId='string' ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system whose LifecycleConfiguration object you want to retrieve (String).\n :rtype: dict ReturnsResponse Syntax{ 'LifecyclePolicies': [ { 'TransitionToIA': 'AFTER_7_DAYS'|'AFTER_14_DAYS'|'AFTER_30_DAYS'|'AFTER_60_DAYS'|'AFTER_90_DAYS' }, ] } Response Structure (dict) -- LifecyclePolicies (list) --An array of lifecycle management policies. Currently, EFS supports a maximum of one policy per file system. (dict) --Describes a policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class. TransitionToIA (string) --A value that describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don\'t count as file access events. Exceptions EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.BadRequest EFS.Client.exceptions.FileSystemNotFound :return: { 'LifecyclePolicies': [ { 'TransitionToIA': 'AFTER_7_DAYS'|'AFTER_14_DAYS'|'AFTER_30_DAYS'|'AFTER_60_DAYS'|'AFTER_90_DAYS' }, ] } """ pass def describe_mount_target_security_groups(MountTargetId=None): """ Returns the security groups currently in effect for a mount target. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted . This operation requires permissions for the following actions: See also: AWS API Documentation Exceptions Examples This operation describes all of the security groups for a file system\'s mount target. Expected Output: :example: response = client.describe_mount_target_security_groups( MountTargetId='string' ) :type MountTargetId: string :param MountTargetId: [REQUIRED]\nThe ID of the mount target whose security groups you want to retrieve.\n :rtype: dict ReturnsResponse Syntax{ 'SecurityGroups': [ 'string', ] } Response Structure (dict) -- SecurityGroups (list) --An array of security groups. (string) -- Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.MountTargetNotFound EFS.Client.exceptions.IncorrectMountTargetState Examples This operation describes all of the security groups for a file system\'s mount target. response = client.describe_mount_target_security_groups( MountTargetId='fsmt-12340abc', ) print(response) Expected Output: { 'SecurityGroups': [ 'sg-fghi4567', ], 'ResponseMetadata': { '...': '...', }, } :return: { 'SecurityGroups': [ 'string', ] } :returns: (string) -- """ pass def describe_mount_targets(MaxItems=None, Marker=None, FileSystemId=None, MountTargetId=None, AccessPointId=None): """ Returns the descriptions of all the current mount targets, or a specific mount target, for a file system. When requesting all of the current mount targets, the order of mount targets returned in the response is unspecified. This operation requires permissions for the elasticfilesystem:DescribeMountTargets action, on either the file system ID that you specify in FileSystemId , or on the file system of the mount target that you specify in MountTargetId . See also: AWS API Documentation Exceptions Examples This operation describes all of a file system\'s mount targets. Expected Output: :example: response = client.describe_mount_targets( MaxItems=123, Marker='string', FileSystemId='string', MountTargetId='string', AccessPointId='string' ) :type MaxItems: integer :param MaxItems: (Optional) Maximum number of mount targets to return in the response. Currently, this number is automatically set to 10, and other values are ignored. The response is paginated at 100 per page if you have more than 100 mount targets. :type Marker: string :param Marker: (Optional) Opaque pagination token returned from a previous DescribeMountTargets operation (String). If present, it specifies to continue the list from where the previous returning call left off. :type FileSystemId: string :param FileSystemId: (Optional) ID of the file system whose mount targets you want to list (String). It must be included in your request if an AccessPointId or MountTargetId is not included. Accepts either a file system ID or ARN as input. :type MountTargetId: string :param MountTargetId: (Optional) ID of the mount target that you want to have described (String). It must be included in your request if FileSystemId is not included. Accepts either a mount target ID or ARN as input. :type AccessPointId: string :param AccessPointId: (Optional) The ID of the access point whose mount targets that you want to list. It must be included in your request if a FileSystemId or MountTargetId is not included in your request. Accepts either an access point ID or ARN as input. :rtype: dict ReturnsResponse Syntax { 'Marker': 'string', 'MountTargets': [ { 'OwnerId': 'string', 'MountTargetId': 'string', 'FileSystemId': 'string', 'SubnetId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'IpAddress': 'string', 'NetworkInterfaceId': 'string', 'AvailabilityZoneId': 'string', 'AvailabilityZoneName': 'string' }, ], 'NextMarker': 'string' } Response Structure (dict) -- Marker (string) -- If the request included the Marker , the response returns that value in this field. MountTargets (list) -- Returns the file system\'s mount targets as an array of MountTargetDescription objects. (dict) -- Provides a description of a mount target. OwnerId (string) -- AWS account ID that owns the resource. MountTargetId (string) -- System-assigned mount target ID. FileSystemId (string) -- The ID of the file system for which the mount target is intended. SubnetId (string) -- The ID of the mount target\'s subnet. LifeCycleState (string) -- Lifecycle state of the mount target. IpAddress (string) -- Address at which the file system can be mounted by using the mount target. NetworkInterfaceId (string) -- The ID of the network interface that Amazon EFS created when it created the mount target. AvailabilityZoneId (string) -- The unique and consistent identifier of the Availability Zone (AZ) that the mount target resides in. For example, use1-az1 is an AZ ID for the us-east-1 Region and it has the same location in every AWS account. AvailabilityZoneName (string) -- The name of the Availability Zone (AZ) that the mount target resides in. AZs are independently mapped to names for each AWS account. For example, the Availability Zone us-east-1a for your AWS account might not be the same location as us-east-1a for another AWS account. NextMarker (string) -- If a value is present, there are more mount targets to return. In a subsequent request, you can provide Marker in your request with this value to retrieve the next set of mount targets. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.MountTargetNotFound EFS.Client.exceptions.AccessPointNotFound Examples This operation describes all of a file system\'s mount targets. response = client.describe_mount_targets( FileSystemId='fs-01234567', ) print(response) Expected Output: { 'MountTargets': [ { 'FileSystemId': 'fs-01234567', 'IpAddress': '192.0.0.2', 'LifeCycleState': 'available', 'MountTargetId': 'fsmt-12340abc', 'NetworkInterfaceId': 'eni-cedf6789', 'OwnerId': '012345678912', 'SubnetId': 'subnet-1234abcd', }, ], 'ResponseMetadata': { '...': '...', }, } :return: { 'Marker': 'string', 'MountTargets': [ { 'OwnerId': 'string', 'MountTargetId': 'string', 'FileSystemId': 'string', 'SubnetId': 'string', 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'IpAddress': 'string', 'NetworkInterfaceId': 'string', 'AvailabilityZoneId': 'string', 'AvailabilityZoneName': 'string' }, ], 'NextMarker': 'string' } :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.MountTargetNotFound EFS.Client.exceptions.AccessPointNotFound """ pass def describe_tags(MaxItems=None, Marker=None, FileSystemId=None): """ Returns the tags associated with a file system. The order of tags returned in the response of one DescribeTags call and the order of tags returned across the responses of a multiple-call iteration (when using pagination) is unspecified. This operation requires permissions for the elasticfilesystem:DescribeTags action. See also: AWS API Documentation Exceptions Examples This operation describes all of a file system\'s tags. Expected Output: :example: response = client.describe_tags( MaxItems=123, Marker='string', FileSystemId='string' ) :type MaxItems: integer :param MaxItems: (Optional) The maximum number of file system tags to return in the response. Currently, this number is automatically set to 100, and other values are ignored. The response is paginated at 100 per page if you have more than 100 tags. :type Marker: string :param Marker: (Optional) An opaque pagination token returned from a previous DescribeTags operation (String). If present, it specifies to continue the list from where the previous call left off. :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system whose tag set you want to retrieve.\n :rtype: dict ReturnsResponse Syntax { 'Marker': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'NextMarker': 'string' } Response Structure (dict) -- Marker (string) -- If the request included a Marker , the response returns that value in this field. Tags (list) -- Returns tags associated with the file system as an array of Tag objects. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. NextMarker (string) -- If a value is present, there are more tags to return. In a subsequent request, you can provide the value of NextMarker as the value of the Marker parameter in your next request to retrieve the next set of tags. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound Examples This operation describes all of a file system\'s tags. response = client.describe_tags( FileSystemId='fs-01234567', ) print(response) Expected Output: { 'Tags': [ { 'Key': 'Name', 'Value': 'MyFileSystem', }, ], 'ResponseMetadata': { '...': '...', }, } :return: { 'Marker': 'string', 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'NextMarker': 'string' } :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound """ pass def generate_presigned_url(ClientMethod=None, Params=None, ExpiresIn=None, HttpMethod=None): """ Generate a presigned url given a client, its method, and arguments :type ClientMethod: string :param ClientMethod: The client method to presign for :type Params: dict :param Params: The parameters normally passed to\nClientMethod. :type ExpiresIn: int :param ExpiresIn: The number of seconds the presigned url is valid\nfor. By default it expires in an hour (3600 seconds) :type HttpMethod: string :param HttpMethod: The http method to use on the generated url. By\ndefault, the http method is whatever is used in the method\'s model. """ pass def get_paginator(operation_name=None): """ Create a paginator for an operation. :type operation_name: string :param operation_name: The operation name. This is the same name\nas the method name on the client. For example, if the\nmethod name is create_foo, and you\'d normally invoke the\noperation as client.create_foo(**kwargs), if the\ncreate_foo operation can be paginated, you can use the\ncall client.get_paginator('create_foo'). :rtype: L{botocore.paginate.Paginator} ReturnsA paginator object. """ pass def get_waiter(waiter_name=None): """ Returns an object that can wait for some condition. :type waiter_name: str :param waiter_name: The name of the waiter to get. See the waiters\nsection of the service docs for a list of available waiters. :rtype: botocore.waiter.Waiter """ pass def list_tags_for_resource(ResourceId=None, MaxResults=None, NextToken=None): """ Lists all tags for a top-level EFS resource. You must provide the ID of the resource that you want to retrieve the tags for. This operation requires permissions for the elasticfilesystem:DescribeAccessPoints action. See also: AWS API Documentation Exceptions :example: response = client.list_tags_for_resource( ResourceId='string', MaxResults=123, NextToken='string' ) :type ResourceId: string :param ResourceId: [REQUIRED]\nSpecifies the EFS resource you want to retrieve tags for. You can retrieve tags for EFS file systems and access points using this API endpoint.\n :type MaxResults: integer :param MaxResults: (Optional) Specifies the maximum number of tag objects to return in the response. The default value is 100. :type NextToken: string :param NextToken: You can use NextToken in a subsequent request to fetch the next page of access point descriptions if the response payload was paginated. :rtype: dict ReturnsResponse Syntax { 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'NextToken': 'string' } Response Structure (dict) -- Tags (list) -- An array of the tags for the specified EFS resource. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. NextToken (string) -- NextToken is present if the response payload is paginated. You can use NextToken in a subsequent request to fetch the next page of access point descriptions. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.AccessPointNotFound :return: { 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ], 'NextToken': 'string' } :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.AccessPointNotFound """ pass def modify_mount_target_security_groups(MountTargetId=None, SecurityGroups=None): """ Modifies the set of security groups in effect for a mount target. When you create a mount target, Amazon EFS also creates a new network interface. For more information, see CreateMountTarget . This operation replaces the security groups in effect for the network interface associated with a mount target, with the SecurityGroups provided in the request. This operation requires that the network interface of the mount target has been created and the lifecycle state of the mount target is not deleted . The operation requires permissions for the following actions: See also: AWS API Documentation Exceptions Examples This operation modifies the security groups associated with a mount target for a file system. Expected Output: :example: response = client.modify_mount_target_security_groups( MountTargetId='string', SecurityGroups=[ 'string', ] ) :type MountTargetId: string :param MountTargetId: [REQUIRED]\nThe ID of the mount target whose security groups you want to modify.\n :type SecurityGroups: list :param SecurityGroups: An array of up to five VPC security group IDs.\n\n(string) --\n\n :return: response = client.modify_mount_target_security_groups( MountTargetId='fsmt-12340abc', SecurityGroups=[ 'sg-abcd1234', ], ) print(response) :returns: MountTargetId (string) -- [REQUIRED] The ID of the mount target whose security groups you want to modify. SecurityGroups (list) -- An array of up to five VPC security group IDs. (string) -- """ pass def put_file_system_policy(FileSystemId=None, Policy=None, BypassPolicyLockoutSafetyCheck=None): """ Applies an Amazon EFS FileSystemPolicy to an Amazon EFS file system. A file system policy is an IAM resource-based policy and can contain multiple policy statements. A file system always has exactly one file system policy, which can be the default policy or an explicit policy set or updated using this API operation. When an explicit policy is set, it overrides the default policy. For more information about the default file system policy, see Default EFS File System Policy . This operation requires permissions for the elasticfilesystem:PutFileSystemPolicy action. See also: AWS API Documentation Exceptions :example: response = client.put_file_system_policy( FileSystemId='string', Policy='string', BypassPolicyLockoutSafetyCheck=True|False ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the EFS file system that you want to create or update the FileSystemPolicy for.\n :type Policy: string :param Policy: [REQUIRED]\nThe FileSystemPolicy that you\'re creating. Accepts a JSON formatted policy definition. To find out more about the elements that make up a file system policy, see EFS Resource-based Policies .\n :type BypassPolicyLockoutSafetyCheck: boolean :param BypassPolicyLockoutSafetyCheck: (Optional) A flag to indicate whether to bypass the FileSystemPolicy lockout safety check. The policy lockout safety check determines whether the policy in the request will prevent the principal making the request will be locked out from making future PutFileSystemPolicy requests on the file system. Set BypassPolicyLockoutSafetyCheck to True only when you intend to prevent the principal that is making the request from making a subsequent PutFileSystemPolicy request on the file system. The default value is False. :rtype: dict ReturnsResponse Syntax { 'FileSystemId': 'string', 'Policy': 'string' } Response Structure (dict) -- FileSystemId (string) -- Specifies the EFS file system to which the FileSystemPolicy applies. Policy (string) -- The JSON formatted FileSystemPolicy for the EFS file system. Exceptions EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.InvalidPolicyException EFS.Client.exceptions.IncorrectFileSystemLifeCycleState :return: { 'FileSystemId': 'string', 'Policy': 'string' } :returns: EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.InvalidPolicyException EFS.Client.exceptions.IncorrectFileSystemLifeCycleState """ pass def put_lifecycle_configuration(FileSystemId=None, LifecyclePolicies=None): """ Enables lifecycle management by creating a new LifecycleConfiguration object. A LifecycleConfiguration object defines when files in an Amazon EFS file system are automatically transitioned to the lower-cost EFS Infrequent Access (IA) storage class. A LifecycleConfiguration applies to all files in a file system. Each Amazon EFS file system supports one lifecycle configuration, which applies to all files in the file system. If a LifecycleConfiguration object already exists for the specified file system, a PutLifecycleConfiguration call modifies the existing configuration. A PutLifecycleConfiguration call with an empty LifecyclePolicies array in the request body deletes any existing LifecycleConfiguration and disables lifecycle management. In the request, specify the following: This operation requires permissions for the elasticfilesystem:PutLifecycleConfiguration operation. To apply a LifecycleConfiguration object to an encrypted file system, you need the same AWS Key Management Service (AWS KMS) permissions as when you created the encrypted file system. See also: AWS API Documentation Exceptions :example: response = client.put_lifecycle_configuration( FileSystemId='string', LifecyclePolicies=[ { 'TransitionToIA': 'AFTER_7_DAYS'|'AFTER_14_DAYS'|'AFTER_30_DAYS'|'AFTER_60_DAYS'|'AFTER_90_DAYS' }, ] ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system for which you are creating the LifecycleConfiguration object (String).\n :type LifecyclePolicies: list :param LifecyclePolicies: [REQUIRED]\nAn array of LifecyclePolicy objects that define the file system\'s LifecycleConfiguration object. A LifecycleConfiguration object tells lifecycle management when to transition files from the Standard storage class to the Infrequent Access storage class.\n\n(dict) --Describes a policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class.\n\nTransitionToIA (string) --A value that describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don\'t count as file access events.\n\n\n\n\n :rtype: dict ReturnsResponse Syntax { 'LifecyclePolicies': [ { 'TransitionToIA': 'AFTER_7_DAYS'|'AFTER_14_DAYS'|'AFTER_30_DAYS'|'AFTER_60_DAYS'|'AFTER_90_DAYS' }, ] } Response Structure (dict) -- LifecyclePolicies (list) -- An array of lifecycle management policies. Currently, EFS supports a maximum of one policy per file system. (dict) -- Describes a policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class. TransitionToIA (string) -- A value that describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don\'t count as file access events. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.IncorrectFileSystemLifeCycleState :return: { 'LifecyclePolicies': [ { 'TransitionToIA': 'AFTER_7_DAYS'|'AFTER_14_DAYS'|'AFTER_30_DAYS'|'AFTER_60_DAYS'|'AFTER_90_DAYS' }, ] } :returns: FileSystemId (string) -- [REQUIRED] The ID of the file system for which you are creating the LifecycleConfiguration object (String). LifecyclePolicies (list) -- [REQUIRED] An array of LifecyclePolicy objects that define the file system\'s LifecycleConfiguration object. A LifecycleConfiguration object tells lifecycle management when to transition files from the Standard storage class to the Infrequent Access storage class. (dict) --Describes a policy used by EFS lifecycle management to transition files to the Infrequent Access (IA) storage class. TransitionToIA (string) --A value that describes the period of time that a file is not accessed, after which it transitions to the IA storage class. Metadata operations such as listing the contents of a directory don\'t count as file access events. """ pass def tag_resource(ResourceId=None, Tags=None): """ Creates a tag for an EFS resource. You can create tags for EFS file systems and access points using this API operation. This operation requires permissions for the elasticfilesystem:TagResource action. See also: AWS API Documentation Exceptions :example: response = client.tag_resource( ResourceId='string', Tags=[ { 'Key': 'string', 'Value': 'string' }, ] ) :type ResourceId: string :param ResourceId: [REQUIRED]\nThe ID specifying the EFS resource that you want to create a tag for.\n :type Tags: list :param Tags: [REQUIRED]\n\n(dict) --A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : /\n\nKey (string) -- [REQUIRED]The tag key (String). The key can\'t start with aws: .\n\nValue (string) -- [REQUIRED]The value of the tag key.\n\n\n\n\n :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.AccessPointNotFound """ pass def untag_resource(ResourceId=None, TagKeys=None): """ Removes tags from an EFS resource. You can remove tags from EFS file systems and access points using this API operation. This operation requires permissions for the elasticfilesystem:UntagResource action. See also: AWS API Documentation Exceptions :example: response = client.untag_resource( ResourceId='string', TagKeys=[ 'string', ] ) :type ResourceId: string :param ResourceId: [REQUIRED]\nSpecifies the EFS resource that you want to remove tags from.\n :type TagKeys: list :param TagKeys: [REQUIRED]\nThe keys of the key:value tag pairs that you want to remove from the specified EFS resource.\n\n(string) --\n\n :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.AccessPointNotFound """ pass def update_file_system(FileSystemId=None, ThroughputMode=None, ProvisionedThroughputInMibps=None): """ Updates the throughput mode or the amount of provisioned throughput of an existing file system. See also: AWS API Documentation Exceptions :example: response = client.update_file_system( FileSystemId='string', ThroughputMode='bursting'|'provisioned', ProvisionedThroughputInMibps=123.0 ) :type FileSystemId: string :param FileSystemId: [REQUIRED]\nThe ID of the file system that you want to update.\n :type ThroughputMode: string :param ThroughputMode: (Optional) The throughput mode that you want your file system to use. If you\'re not updating your throughput mode, you don\'t need to provide this value in your request. If you are changing the ThroughputMode to provisioned , you must also set a value for ProvisionedThroughputInMibps . :type ProvisionedThroughputInMibps: float :param ProvisionedThroughputInMibps: (Optional) The amount of throughput, in MiB/s, that you want to provision for your file system. Valid values are 1-1024. Required if ThroughputMode is changed to provisioned on update. If you\'re not updating the amount of provisioned throughput for your file system, you don\'t need to provide this value in your request. :rtype: dict ReturnsResponse Syntax { 'OwnerId': 'string', 'CreationToken': 'string', 'FileSystemId': 'string', 'CreationTime': datetime(2015, 1, 1), 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'Name': 'string', 'NumberOfMountTargets': 123, 'SizeInBytes': { 'Value': 123, 'Timestamp': datetime(2015, 1, 1), 'ValueInIA': 123, 'ValueInStandard': 123 }, 'PerformanceMode': 'generalPurpose'|'maxIO', 'Encrypted': True|False, 'KmsKeyId': 'string', 'ThroughputMode': 'bursting'|'provisioned', 'ProvisionedThroughputInMibps': 123.0, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] } Response Structure (dict) -- A description of the file system. OwnerId (string) -- The AWS account that created the file system. If the file system was created by an IAM user, the parent account to which the user belongs is the owner. CreationToken (string) -- The opaque string specified in the request. FileSystemId (string) -- The ID of the file system, assigned by Amazon EFS. CreationTime (datetime) -- The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z). LifeCycleState (string) -- The lifecycle phase of the file system. Name (string) -- You can add tags to a file system, including a Name tag. For more information, see CreateFileSystem . If the file system has a Name tag, Amazon EFS returns the value in this field. NumberOfMountTargets (integer) -- The current number of mount targets that the file system has. For more information, see CreateMountTarget . SizeInBytes (dict) -- The latest known metered size (in bytes) of data stored in the file system, in its Value field, and the time at which that size was determined in its Timestamp field. The Timestamp value is the integer number of seconds since 1970-01-01T00:00:00Z. The SizeInBytes value doesn\'t represent the size of a consistent snapshot of the file system, but it is eventually consistent when there are no writes to the file system. That is, SizeInBytes represents actual size only if the file system is not modified for a period longer than a couple of hours. Otherwise, the value is not the exact size that the file system was at any point in time. Value (integer) -- The latest known metered size (in bytes) of data stored in the file system. Timestamp (datetime) -- The time at which the size of data, returned in the Value field, was determined. The value is the integer number of seconds since 1970-01-01T00:00:00Z. ValueInIA (integer) -- The latest known metered size (in bytes) of data stored in the Infrequent Access storage class. ValueInStandard (integer) -- The latest known metered size (in bytes) of data stored in the Standard storage class. PerformanceMode (string) -- The performance mode of the file system. Encrypted (boolean) -- A Boolean value that, if true, indicates that the file system is encrypted. KmsKeyId (string) -- The ID of an AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect the encrypted file system. ThroughputMode (string) -- The throughput mode for a file system. There are two throughput modes to choose from for your file system: bursting and provisioned . If you set ThroughputMode to provisioned , you must also set a value for ProvisionedThroughPutInMibps . You can decrease your file system\'s throughput in Provisioned Throughput mode or change between the throughput modes as long as it\xe2\x80\x99s been more than 24 hours since the last decrease or throughput mode change. ProvisionedThroughputInMibps (float) -- The throughput, measured in MiB/s, that you want to provision for a file system. Valid values are 1-1024. Required if ThroughputMode is set to provisioned . The limit on throughput is 1024 MiB/s. You can get these limits increased by contacting AWS Support. For more information, see Amazon EFS Limits That You Can Increase in the Amazon EFS User Guide. Tags (list) -- The tags associated with the file system, presented as an array of Tag objects. (dict) -- A tag is a key-value pair. Allowed characters are letters, white space, and numbers that can be represented in UTF-8, and the following characters:+ - = . _ : / Key (string) -- The tag key (String). The key can\'t start with aws: . Value (string) -- The value of the tag key. Exceptions EFS.Client.exceptions.BadRequest EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.IncorrectFileSystemLifeCycleState EFS.Client.exceptions.InsufficientThroughputCapacity EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.ThroughputLimitExceeded EFS.Client.exceptions.TooManyRequests :return: { 'OwnerId': 'string', 'CreationToken': 'string', 'FileSystemId': 'string', 'CreationTime': datetime(2015, 1, 1), 'LifeCycleState': 'creating'|'available'|'updating'|'deleting'|'deleted', 'Name': 'string', 'NumberOfMountTargets': 123, 'SizeInBytes': { 'Value': 123, 'Timestamp': datetime(2015, 1, 1), 'ValueInIA': 123, 'ValueInStandard': 123 }, 'PerformanceMode': 'generalPurpose'|'maxIO', 'Encrypted': True|False, 'KmsKeyId': 'string', 'ThroughputMode': 'bursting'|'provisioned', 'ProvisionedThroughputInMibps': 123.0, 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] } :returns: EFS.Client.exceptions.BadRequest EFS.Client.exceptions.FileSystemNotFound EFS.Client.exceptions.IncorrectFileSystemLifeCycleState EFS.Client.exceptions.InsufficientThroughputCapacity EFS.Client.exceptions.InternalServerError EFS.Client.exceptions.ThroughputLimitExceeded EFS.Client.exceptions.TooManyRequests """ pass
38.761924
1,804
0.703648
12,238
95,083
5.450074
0.07109
0.039431
0.020855
0.006972
0.768149
0.726663
0.689346
0.661054
0.650199
0.632628
0
0.014385
0.223563
95,083
2,452
1,805
38.777732
0.889063
0.970468
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.518519
0
0
0.5
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
6
3c7b9c1a5acaca60e218998541171e1d5f2156a2
103
py
Python
mysite/home/blocks/__init__.py
anshumanf/wagtail-demo
2fa4b52452afbbddee62d34232565b2fe93c7cf5
[ "MIT" ]
null
null
null
mysite/home/blocks/__init__.py
anshumanf/wagtail-demo
2fa4b52452afbbddee62d34232565b2fe93c7cf5
[ "MIT" ]
null
null
null
mysite/home/blocks/__init__.py
anshumanf/wagtail-demo
2fa4b52452afbbddee62d34232565b2fe93c7cf5
[ "MIT" ]
null
null
null
from .images import APIImageChooserBlock from .simulationexamples import SimulationExampleChooserBlock
34.333333
61
0.902913
8
103
11.625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.07767
103
2
62
51.5
0.978947
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
1
0
0
6
b1c7c609d283ea220eb16928a6e83af888aa71ec
2,601
py
Python
tests/blueprints/event/test_views.py
soasme/rio
e6b89634db8d3ad75ac7f7b25ddec5b19d4f66e2
[ "MIT" ]
null
null
null
tests/blueprints/event/test_views.py
soasme/rio
e6b89634db8d3ad75ac7f7b25ddec5b19d4f66e2
[ "MIT" ]
14
2016-04-14T04:18:41.000Z
2016-05-12T03:46:37.000Z
tests/blueprints/event/test_views.py
soasme/rio
e6b89634db8d3ad75ac7f7b25ddec5b19d4f66e2
[ "MIT" ]
1
2016-04-06T08:54:20.000Z
2016-04-06T08:54:20.000Z
# -*- coding: utf-8 -*- import json import pytest import requests_mock from flask import url_for def test_emit_event_to_undefined_project_slug(client, sender_basic_token, action): url = url_for('event.emit_event', project_slug='non-exist', action_slug=action.slug) headers = {'Authorization': 'Basic %s' % sender_basic_token} resp = client.get(url, headers=headers) assert resp.status_code == 404 def test_emit_event_to_undefined_action_slug(client, sender_basic_token, project): url = url_for('event.emit_event', project_slug=project.slug, action_slug='non-exist') headers = {'Authorization': 'Basic %s' % sender_basic_token} resp = client.get(url, headers=headers) assert resp.status_code == 404 def test_emit_event_but_sender_has_not_logined(client, project, action): url = url_for('event.emit_event', project_slug=project.slug, action_slug=action.slug) resp = client.get(url) assert resp.status_code == 401 def test_emit_event_success(client, project, action, webhook, sender_basic_token): url = url_for('event.emit_event', project_slug=project.slug, action_slug=action.slug) headers = {'Authorization': 'Basic %s' % sender_basic_token} with requests_mock.Mocker() as m: m.get('http://example.org?key=value', text='data') resp = client.get(url+'?key=value', headers=headers) assert resp.status_code == 200 data = json.loads(resp.data) assert data['message'] == 'ok' assert data['event']['uuid'] def test_emit_templated_webhook_event(client, project, action, tpl_webhook, sender_basic_token): url = url_for('event.emit_event', project_slug=project.slug, action_slug=action.slug) headers = {'Authorization': 'Basic %s' % sender_basic_token} with requests_mock.Mocker() as m: m.get('http://example.org/tpl/1', text='data') resp = client.get(url+'?id=1', headers=headers) assert resp.status_code == 200 data = json.loads(resp.data) assert data['message'] == 'ok' assert data['event']['uuid'] def test_emit_event_but_webhook_ran_failed(client, project, action, webhook, sender_basic_token): url = url_for('event.emit_event', project_slug=project.slug, action_slug=action.slug) headers = {'Authorization': 'Basic %s' % sender_basic_token} with requests_mock.Mocker() as m: m.get('http://example.org?key=value', text='failed', status_code=500) resp = client.get(url+'?key=value', headers=headers) assert resp.status_code == 200 data = json.loads(resp.data) assert data['message'] == 'ok' assert data['event']['uuid']
42.639344
97
0.711649
370
2,601
4.762162
0.178378
0.074915
0.090806
0.047673
0.837684
0.80193
0.764472
0.764472
0.764472
0.738365
0
0.010855
0.149942
2,601
60
98
43.35
0.78607
0.008074
0
0.625
0
0
0.152056
0
0
0
0
0
0.25
1
0.125
false
0
0.083333
0
0.208333
0
0
0
0
null
0
0
0
1
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
6
591d60e36d3fec00083221eef5d652cfc196a097
96
py
Python
venv/lib/python3.8/site-packages/poetry/console/commands/env_command.py
Retraces/UkraineBot
3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71
[ "MIT" ]
2
2022-03-13T01:58:52.000Z
2022-03-31T06:07:54.000Z
venv/lib/python3.8/site-packages/poetry/console/commands/env_command.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
19
2021-11-20T04:09:18.000Z
2022-03-23T15:05:55.000Z
venv/lib/python3.8/site-packages/poetry/console/commands/env_command.py
DesmoSearch/Desmobot
b70b45df3485351f471080deb5c785c4bc5c4beb
[ "MIT" ]
null
null
null
/home/runner/.cache/pip/pool/39/91/cc/ae9428839923699ea5f83a6e6d3f8cc8f9f4f611c012503cb403288a81
96
96
0.895833
9
96
9.555556
1
0
0
0
0
0
0
0
0
0
0
0.458333
0
96
1
96
96
0.4375
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
1
0
0
0
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
6
593080022c9133b72d897be854a30edf274b0abb
34,159
py
Python
tests/test_query_functions.py
MrThearMan/dynamics-client
af225bbb54569b86c013461d5184623d94302473
[ "MIT" ]
1
2021-05-29T06:18:27.000Z
2021-05-29T06:18:27.000Z
tests/test_query_functions.py
MrThearMan/dynamics-client
af225bbb54569b86c013461d5184623d94302473
[ "MIT" ]
null
null
null
tests/test_query_functions.py
MrThearMan/dynamics-client
af225bbb54569b86c013461d5184623d94302473
[ "MIT" ]
null
null
null
import pytest from dynamics.query_functions import ftr from dynamics.typing import Any @pytest.mark.parametrize( "ind,group,result", [ [None, False, "foo eq 'bar'"], ["fizzbuzz", True, "(fizzbuzz/foo eq 'bar')"], ], ) def test_query_functions__eq(ind: str, group: bool, result: str): assert ftr.eq("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "foo ne 'bar'"], ["fizzbuzz", True, "(fizzbuzz/foo ne 'bar')"], ], ) def test_query_functions__ne(ind: str, group: bool, result: str): assert ftr.ne("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "foo gt 'bar'"], ["fizzbuzz", True, "(fizzbuzz/foo gt 'bar')"], ], ) def test_query_functions__gt(ind: str, group: bool, result: str): assert ftr.gt("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "foo ge 'bar'"], ["fizzbuzz", True, "(fizzbuzz/foo ge 'bar')"], ], ) def test_query_functions__ge(ind: str, group: bool, result: str): assert ftr.ge("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "foo lt 'bar'"], ["fizzbuzz", True, "(fizzbuzz/foo lt 'bar')"], ], ) def test_query_functions__lt(ind: str, group: bool, result: str): assert ftr.lt("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "foo le 'bar'"], ["fizzbuzz", True, "(fizzbuzz/foo le 'bar')"], ], ) def test_query_functions__le(ind: str, group: bool, result: str): assert ftr.le("foo", "bar", ind, group) == result @pytest.mark.parametrize( "group,result", [ [False, "foo and bar"], [True, "(foo and bar)"], ], ) def test_query_functions__and(group: bool, result: str): assert ftr.and_("foo", "bar", group=group) == result @pytest.mark.parametrize( "group,result", [ [False, "foo or bar"], [True, "(foo or bar)"], ], ) def test_query_functions__or(group: bool, result: str): assert ftr.or_("foo", "bar", group=group) == result @pytest.mark.parametrize( "group,result", [ [False, "not foo"], [True, "(not foo)"], ], ) def test_query_functions__not(group: bool, result: str): assert ftr.not_("foo", group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "contains(foo,'bar')"], ["fizzbuzz", True, "(contains(fizzbuzz/foo,'bar'))"], ], ) def test_query_functions__contains(ind: str, group: bool, result: str): assert ftr.contains("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "endswith(foo,'bar')"], ["fizzbuzz", True, "(endswith(fizzbuzz/foo,'bar'))"], ], ) def test_query_functions__endswith(ind: str, group: bool, result: str): assert ftr.endswith("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "startswith(foo,'bar')"], ["fizzbuzz", True, "(startswith(fizzbuzz/foo,'bar'))"], ], ) def test_query_functions__startswith(ind: str, group: bool, result: str): assert ftr.startswith("foo", "bar", ind, group) == result @pytest.mark.parametrize( "operation,ind,group,result", [ [None, None, False, "foo/any()"], ["eq", "fizzbuzz", True, "(fizzbuzz/foo/any(bar:eq))"], ], ) def test_query_functions__any(operation: str, ind: str, group: bool, result: str): assert ftr.any_("foo", "bar", operation, ind, group) == result @pytest.mark.parametrize( "operation,ind,group,result", [ [None, None, False, "foo/all()"], ["eq", "fizzbuzz", True, "(fizzbuzz/foo/all(bar:eq))"], ], ) def test_query_functions__all(operation: str, ind: str, group: bool, result: str): assert ftr.all_("foo", "bar", operation, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.In(PropertyName='foo',PropertyValues=['bar'])"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.In(PropertyName='foo',PropertyValues=['bar']))"], ], ) def test_query_functions__in(ind: str, group: bool, result: str): assert ftr.in_("foo", ["bar"], ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NotIn(PropertyName='foo',PropertyValues=['bar'])"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NotIn(PropertyName='foo',PropertyValues=['bar']))"], ], ) def test_query_functions__not_in(ind: str, group: bool, result: str): assert ftr.not_in("foo", ["bar"], ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Between(PropertyName='foo',PropertyValues=['bar','baz'])"], [ "fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Between(PropertyName='foo',PropertyValues=['bar','baz']))", ], ], ) def test_query_functions__between(ind: str, group: bool, result: str): assert ftr.between("foo", ("bar", "baz"), ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [ None, False, "Microsoft.Dynamics.CRM.NotBetween(PropertyName='foo',PropertyValues=['bar','baz'])", ], [ "fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NotBetween(PropertyName='foo',PropertyValues=['bar','baz']))", ], ], ) def test_query_functions__not_between(ind: str, group: bool, result: str): assert ftr.not_between("foo", ("bar", "baz"), ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [ None, False, "Microsoft.Dynamics.CRM.ContainValues(PropertyName='foo',PropertyValues=['bar'])", ], [ "fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.ContainValues(PropertyName='foo',PropertyValues=['bar']))", ], ], ) def test_query_functions__contain_values(ind: str, group: bool, result: str): assert ftr.contain_values("foo", ["bar"], ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [ None, False, "Microsoft.Dynamics.CRM.DoesNotContainValues(PropertyName='foo',PropertyValues=['bar'])", ], [ "fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.DoesNotContainValues(PropertyName='foo',PropertyValues=['bar']))", ], ], ) def test_query_functions__not_contain_values(ind: str, group: bool, result: str): assert ftr.not_contain_values("foo", ["bar"], ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Above(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Above(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__above(ind: str, group: bool, result: str): assert ftr.above("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.AboveOrEqual(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.AboveOrEqual(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__above_or_equal(ind: str, group: bool, result: str): assert ftr.above_or_equal("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Under(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Under(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__under(ind: str, group: bool, result: str): assert ftr.under("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.UnderOrEqual(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.UnderOrEqual(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__under_or_equal(ind: str, group: bool, result: str): assert ftr.under_or_equal("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NotUnder(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NotUnder(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__not_under(ind: str, group: bool, result: str): assert ftr.not_under("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Today(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Today(PropertyName='foo'))"], ], ) def test_query_functions__today(ind: str, group: bool, result: str): assert ftr.today("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Tomorrow(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Tomorrow(PropertyName='foo'))"], ], ) def test_query_functions__tomorrow(ind: str, group: bool, result: str): assert ftr.tomorrow("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Yesterday(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Yesterday(PropertyName='foo'))"], ], ) def test_query_functions__yesterday(ind: str, group: bool, result: str): assert ftr.yesterday("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.On(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.On(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__on(ind: str, group: bool, result: str): assert ftr.on("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OnOrAfter(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OnOrAfter(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__on_or_after(ind: str, group: bool, result: str): assert ftr.on_or_after("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OnOrBefore(PropertyName='foo',PropertyValue='bar')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OnOrBefore(PropertyName='foo',PropertyValue='bar'))"], ], ) def test_query_functions__on_or_before(ind: str, group: bool, result: str): assert ftr.on_or_before("foo", "bar", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.InFiscalPeriod(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.InFiscalPeriod(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__in_fiscal_period(ind: str, group: bool, result: str): assert ftr.in_fiscal_period("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [ None, False, "Microsoft.Dynamics.CRM.InFiscalPeriodAndYear(PropertyName='foo',PropertyValue1=1,PropertyValue2=2)", ], [ "fizzbuzz", True, ( "(fizzbuzz/Microsoft.Dynamics.CRM.InFiscalPeriodAndYear" "(PropertyName='foo',PropertyValue1=1,PropertyValue2=2))" ), ], ], ) def test_query_functions__in_fiscal_period_and_year(ind: str, group: bool, result: str): assert ftr.in_fiscal_period_and_year("foo", 1, 2, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.InFiscalYear(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.InFiscalYear(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__in_fiscal_year(ind: str, group: bool, result: str): assert ftr.in_fiscal_year("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [ None, False, "Microsoft.Dynamics.CRM.InOrAfterFiscalPeriodAndYear(PropertyName='foo',PropertyValue1=1,PropertyValue2=2)", ], [ "fizzbuzz", True, ( "(fizzbuzz/Microsoft.Dynamics.CRM.InOrAfterFiscalPeriodAndYear" "(PropertyName='foo',PropertyValue1=1,PropertyValue2=2))" ), ], ], ) def test_query_functions__in_or_after_fiscal_period_and_year(ind: str, group: bool, result: str): assert ftr.in_or_after_fiscal_period_and_year("foo", 1, 2, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [ None, False, ( "Microsoft.Dynamics.CRM.InOrBeforeFiscalPeriodAndYear" "(PropertyName='foo',PropertyValue1=1,PropertyValue2=2)" ), ], [ "fizzbuzz", True, ( "(fizzbuzz/Microsoft.Dynamics.CRM.InOrBeforeFiscalPeriodAndYear" "(PropertyName='foo',PropertyValue1=1,PropertyValue2=2))" ), ], ], ) def test_query_functions__in_or_before_fiscal_period_and_year(ind: str, group: bool, result: str): assert ftr.in_or_before_fiscal_period_and_year("foo", 1, 2, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.ThisFiscalPeriod(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.ThisFiscalPeriod(PropertyName='foo'))"], ], ) def test_query_functions__this_fiscal_period(ind: str, group: bool, result: str): assert ftr.this_fiscal_period("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.ThisFiscalYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.ThisFiscalYear(PropertyName='foo'))"], ], ) def test_query_functions__this_fiscal_year(ind: str, group: bool, result: str): assert ftr.this_fiscal_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.ThisMonth(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.ThisMonth(PropertyName='foo'))"], ], ) def test_query_functions__this_month(ind: str, group: bool, result: str): assert ftr.this_month("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.ThisWeek(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.ThisWeek(PropertyName='foo'))"], ], ) def test_query_functions__this_week(ind: str, group: bool, result: str): assert ftr.this_week("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.ThisYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.ThisYear(PropertyName='foo'))"], ], ) def test_query_functions__this_year(ind: str, group: bool, result: str): assert ftr.this_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.Last7Days(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.Last7Days(PropertyName='foo'))"], ], ) def test_query_functions__last_7_days(ind: str, group: bool, result: str): assert ftr.last_7_days("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastFiscalPeriod(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastFiscalPeriod(PropertyName='foo'))"], ], ) def test_query_functions__last_fiscal_period(ind: str, group: bool, result: str): assert ftr.last_fiscal_period("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastFiscalYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastFiscalYear(PropertyName='foo'))"], ], ) def test_query_functions__last_fiscal_year(ind: str, group: bool, result: str): assert ftr.last_fiscal_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastMonth(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastMonth(PropertyName='foo'))"], ], ) def test_query_functions__last_month(ind: str, group: bool, result: str): assert ftr.last_month("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastWeek(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastWeek(PropertyName='foo'))"], ], ) def test_query_functions__last_week(ind: str, group: bool, result: str): assert ftr.last_week("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastYear(PropertyName='foo'))"], ], ) def test_query_functions__last_year(ind: str, group: bool, result: str): assert ftr.last_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastYear(PropertyName='foo'))"], ], ) def test_query_functions__last_year(ind: str, group: bool, result: str): assert ftr.last_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextFiscalPeriod(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextFiscalPeriod(PropertyName='foo'))"], ], ) def test_query_functions__next_fiscal_period(ind: str, group: bool, result: str): assert ftr.next_fiscal_period("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextFiscalYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextFiscalYear(PropertyName='foo'))"], ], ) def test_query_functions__next_fiscal_year(ind: str, group: bool, result: str): assert ftr.next_fiscal_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextMonth(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextMonth(PropertyName='foo'))"], ], ) def test_query_functions__next_month(ind: str, group: bool, result: str): assert ftr.next_month("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextWeek(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextWeek(PropertyName='foo'))"], ], ) def test_query_functions__next_week(ind: str, group: bool, result: str): assert ftr.next_week("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextYear(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextYear(PropertyName='foo'))"], ], ) def test_query_functions__next_year(ind: str, group: bool, result: str): assert ftr.next_year("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXDays(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXDays(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_days(ind: str, group: bool, result: str): assert ftr.last_x_days("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXFiscalPeriods(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXFiscalPeriods(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_fiscal_periods(ind: str, group: bool, result: str): assert ftr.last_x_fiscal_periods("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXFiscalYears(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXFiscalYears(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_fiscal_years(ind: str, group: bool, result: str): assert ftr.last_x_fiscal_years("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXHours(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXHours(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_hours(ind: str, group: bool, result: str): assert ftr.last_x_hours("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXMonths(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXMonths(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_months(ind: str, group: bool, result: str): assert ftr.last_x_months("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXWeeks(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXWeeks(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_weeks(ind: str, group: bool, result: str): assert ftr.last_x_weeks("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.LastXYears(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.LastXYears(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__last_x_years(ind: str, group: bool, result: str): assert ftr.last_x_years("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXDays(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXDays(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_days(ind: str, group: bool, result: str): assert ftr.next_x_days("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXFiscalPeriods(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXFiscalPeriods(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_fiscal_periods(ind: str, group: bool, result: str): assert ftr.next_x_fiscal_periods("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXFiscalYears(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXFiscalYears(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_fiscal_years(ind: str, group: bool, result: str): assert ftr.next_x_fiscal_years("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXHours(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXHours(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_hours(ind: str, group: bool, result: str): assert ftr.next_x_hours("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXMonths(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXMonths(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_months(ind: str, group: bool, result: str): assert ftr.next_x_months("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXWeeks(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXWeeks(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_weeks(ind: str, group: bool, result: str): assert ftr.next_x_weeks("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NextXYears(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NextXYears(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__next_x_years(ind: str, group: bool, result: str): assert ftr.next_x_years("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OlderThanXDays(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OlderThanXDays(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__older_than_x_days(ind: str, group: bool, result: str): assert ftr.older_than_x_days("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OlderThanXHours(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OlderThanXHours(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__older_than_x_hours(ind: str, group: bool, result: str): assert ftr.older_than_x_hours("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OlderThanXMinutes(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OlderThanXMinutes(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__older_than_x_minutes(ind: str, group: bool, result: str): assert ftr.older_than_x_minutes("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OlderThanXMonths(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OlderThanXMonths(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__older_than_x_months(ind: str, group: bool, result: str): assert ftr.older_than_x_months("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OlderThanXWeeks(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OlderThanXWeeks(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__older_than_x_weeks(ind: str, group: bool, result: str): assert ftr.older_than_x_weeks("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.OlderThanXYears(PropertyName='foo',PropertyValue=1)"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.OlderThanXYears(PropertyName='foo',PropertyValue=1))"], ], ) def test_query_functions__older_than_x_years(ind: str, group: bool, result: str): assert ftr.older_than_x_years("foo", 1, ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualBusinessId(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualBusinessId(PropertyName='foo'))"], ], ) def test_query_functions__equal_business_id(ind: str, group: bool, result: str): assert ftr.equal_business_id("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NotBusinessId(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NotBusinessId(PropertyName='foo'))"], ], ) def test_query_functions__not_business_id(ind: str, group: bool, result: str): assert ftr.not_business_id("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualUserId(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualUserId(PropertyName='foo'))"], ], ) def test_query_functions__equal_user_id(ind: str, group: bool, result: str): assert ftr.equal_user_id("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.NotUserId(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.NotUserId(PropertyName='foo'))"], ], ) def test_query_functions__not_user_id(ind: str, group: bool, result: str): assert ftr.not_user_id("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualUserLanguage(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualUserLanguage(PropertyName='foo'))"], ], ) def test_query_functions__equal_user_language(ind: str, group: bool, result: str): assert ftr.equal_user_language("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualUserOrUserHierarchy(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualUserOrUserHierarchy(PropertyName='foo'))"], ], ) def test_query_functions__equal_user_or_user_hierarchy(ind: str, group: bool, result: str): assert ftr.equal_user_or_user_hierarchy("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualUserOrUserHierarchyAndTeams(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualUserOrUserHierarchyAndTeams(PropertyName='foo'))"], ], ) def test_query_functions__equal_user_or_user_hierarchy_and_teams(ind: str, group: bool, result: str): assert ftr.equal_user_or_user_hierarchy_and_teams("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualUserOrUserTeams(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualUserOrUserTeams(PropertyName='foo'))"], ], ) def test_query_functions__equal_user_or_user_teams(ind: str, group: bool, result: str): assert ftr.equal_user_or_user_teams("foo", ind, group) == result @pytest.mark.parametrize( "ind,group,result", [ [None, False, "Microsoft.Dynamics.CRM.EqualUserTeams(PropertyName='foo')"], ["fizzbuzz", True, "(fizzbuzz/Microsoft.Dynamics.CRM.EqualUserTeams(PropertyName='foo'))"], ], ) def test_query_functions__equal_user_teams(ind: str, group: bool, result: str): assert ftr.equal_user_teams("foo", ind, group) == result @pytest.mark.parametrize( "value,quotes,result", [ [None, False, "null"], [False, False, "false"], [True, False, "true"], ["foo", False, "foo"], ["foo", True, "'foo'"], ], ) def test_query_functions__type(value: Any, quotes: bool, result: str): assert ftr._type(value, quotes) == result
34.679188
121
0.638046
3,817
34,159
5.550694
0.039298
0.085147
0.104404
0.082267
0.972578
0.95148
0.907585
0.877283
0.726294
0.665927
0
0.003644
0.196522
34,159
984
122
34.714431
0.768309
0
0
0.369645
0
0.002448
0.38095
0.302246
0
0
0
0
0.101591
1
0.101591
false
0
0.003672
0
0.105263
0
0
0
0
null
0
0
0
1
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
6
5944e8e1c1489300c8082ed049fefb60fe9617b2
187
py
Python
azurlane/scrapers/util.py
stocky37/azurlane-data
da367d54125aa4307039f48e2706db7dde38db75
[ "MIT" ]
null
null
null
azurlane/scrapers/util.py
stocky37/azurlane-data
da367d54125aa4307039f48e2706db7dde38db75
[ "MIT" ]
null
null
null
azurlane/scrapers/util.py
stocky37/azurlane-data
da367d54125aa4307039f48e2706db7dde38db75
[ "MIT" ]
null
null
null
def adjacent_cell_text_selector(text, element="th"): return "//{0}[normalize-space()='{1}']/following-sibling::td[1]/descendant-or-self::*/text()".format( element, text )
37.4
105
0.647059
24
187
4.916667
0.791667
0
0
0
0
0
0
0
0
0
0
0.018405
0.128342
187
4
106
46.75
0.705521
0
0
0
0
0.25
0.459893
0.449198
0
0
0
0
0
1
0.25
false
0
0
0.25
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
1
0
1
null
0
0
0
0
0
1
0
0
0
1
0
0
0
6
a726c1babf0eec30365f3b8c60133178e386a8e7
5,220
py
Python
P0013.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
P0013.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
P0013.py
sebastianaldi17/ProjectEuler
19562fba3456ec904bcc264fb786a92610e42622
[ "MIT" ]
null
null
null
# Large sum # https://projecteuler.net/problem=13 q = ''' 37107287533902102798797998220837590246510135740250 46376937677490009712648124896970078050417018260538 74324986199524741059474233309513058123726617309629 91942213363574161572522430563301811072406154908250 23067588207539346171171980310421047513778063246676 89261670696623633820136378418383684178734361726757 28112879812849979408065481931592621691275889832738 44274228917432520321923589422876796487670272189318 47451445736001306439091167216856844588711603153276 70386486105843025439939619828917593665686757934951 62176457141856560629502157223196586755079324193331 64906352462741904929101432445813822663347944758178 92575867718337217661963751590579239728245598838407 58203565325359399008402633568948830189458628227828 80181199384826282014278194139940567587151170094390 35398664372827112653829987240784473053190104293586 86515506006295864861532075273371959191420517255829 71693888707715466499115593487603532921714970056938 54370070576826684624621495650076471787294438377604 53282654108756828443191190634694037855217779295145 36123272525000296071075082563815656710885258350721 45876576172410976447339110607218265236877223636045 17423706905851860660448207621209813287860733969412 81142660418086830619328460811191061556940512689692 51934325451728388641918047049293215058642563049483 62467221648435076201727918039944693004732956340691 15732444386908125794514089057706229429197107928209 55037687525678773091862540744969844508330393682126 18336384825330154686196124348767681297534375946515 80386287592878490201521685554828717201219257766954 78182833757993103614740356856449095527097864797581 16726320100436897842553539920931837441497806860984 48403098129077791799088218795327364475675590848030 87086987551392711854517078544161852424320693150332 59959406895756536782107074926966537676326235447210 69793950679652694742597709739166693763042633987085 41052684708299085211399427365734116182760315001271 65378607361501080857009149939512557028198746004375 35829035317434717326932123578154982629742552737307 94953759765105305946966067683156574377167401875275 88902802571733229619176668713819931811048770190271 25267680276078003013678680992525463401061632866526 36270218540497705585629946580636237993140746255962 24074486908231174977792365466257246923322810917141 91430288197103288597806669760892938638285025333403 34413065578016127815921815005561868836468420090470 23053081172816430487623791969842487255036638784583 11487696932154902810424020138335124462181441773470 63783299490636259666498587618221225225512486764533 67720186971698544312419572409913959008952310058822 95548255300263520781532296796249481641953868218774 76085327132285723110424803456124867697064507995236 37774242535411291684276865538926205024910326572967 23701913275725675285653248258265463092207058596522 29798860272258331913126375147341994889534765745501 18495701454879288984856827726077713721403798879715 38298203783031473527721580348144513491373226651381 34829543829199918180278916522431027392251122869539 40957953066405232632538044100059654939159879593635 29746152185502371307642255121183693803580388584903 41698116222072977186158236678424689157993532961922 62467957194401269043877107275048102390895523597457 23189706772547915061505504953922979530901129967519 86188088225875314529584099251203829009407770775672 11306739708304724483816533873502340845647058077308 82959174767140363198008187129011875491310547126581 97623331044818386269515456334926366572897563400500 42846280183517070527831839425882145521227251250327 55121603546981200581762165212827652751691296897789 32238195734329339946437501907836945765883352399886 75506164965184775180738168837861091527357929701337 62177842752192623401942399639168044983993173312731 32924185707147349566916674687634660915035914677504 99518671430235219628894890102423325116913619626622 73267460800591547471830798392868535206946944540724 76841822524674417161514036427982273348055556214818 97142617910342598647204516893989422179826088076852 87783646182799346313767754307809363333018982642090 10848802521674670883215120185883543223812876952786 71329612474782464538636993009049310363619763878039 62184073572399794223406235393808339651327408011116 66627891981488087797941876876144230030984490851411 60661826293682836764744779239180335110989069790714 85786944089552990653640447425576083659976645795096 66024396409905389607120198219976047599490197230297 64913982680032973156037120041377903785566085089252 16730939319872750275468906903707539413042652315011 94809377245048795150954100921645863754710598436791 78639167021187492431995700641917969777599028300699 15368713711936614952811305876380278410754449733078 40789923115535562561142322423255033685442488917353 44889911501440648020369068063960672322193204149535 41503128880339536053299340368006977710650566631954 81234880673210146739058568557934581403627822703280 82616570773948327592232845941706525094512325230608 22918802058777319719839450180888072429661980811197 77158542502016545090413245809786882778948721859617 72107838435069186155435662884062257473692284509516 20849603980134001723930671666823555245252804609722 53503534226472524250874054075591789781264330331690 ''' arr = map(int, q.split()) s = str(sum(arr)) print(s[:10])
48.333333
50
0.971456
120
5,220
42.258333
0.966667
0
0
0
0
0
0
0
0
0
0
0.9806
0.022414
5,220
108
51
48.333333
0.01313
0.008621
0
0
0
0
0.986082
0.966557
0
1
0
0
0
1
0
false
0
0
0
0
0.009524
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
59b4103f43b85d3aab6d52e53b20cfa6e611707a
52
py
Python
meiduo_mall/celery_tasks/config.py
YUANCHUYC/meiduo_mall_project
1b454139cda92174915520b41bce6d4788289e2a
[ "Apache-2.0" ]
null
null
null
meiduo_mall/celery_tasks/config.py
YUANCHUYC/meiduo_mall_project
1b454139cda92174915520b41bce6d4788289e2a
[ "Apache-2.0" ]
null
null
null
meiduo_mall/celery_tasks/config.py
YUANCHUYC/meiduo_mall_project
1b454139cda92174915520b41bce6d4788289e2a
[ "Apache-2.0" ]
null
null
null
# 中间人 broker_url = 'redis://192.168.209.130:6379/3'
17.333333
45
0.673077
10
52
3.4
1
0
0
0
0
0
0
0
0
0
0
0.361702
0.096154
52
2
46
26
0.361702
0.057692
0
0
0
0
0.638298
0.638298
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
abb246b2651244c56bf0f38b726fdd5d2524a53d
2,664
py
Python
tests/test_match_commands.py
srobo-legacy/comp-poltergeist
15a3605257246455152ea1d4d0281329269c06f2
[ "MIT" ]
null
null
null
tests/test_match_commands.py
srobo-legacy/comp-poltergeist
15a3605257246455152ea1d4d0281329269c06f2
[ "MIT" ]
null
null
null
tests/test_match_commands.py
srobo-legacy/comp-poltergeist
15a3605257246455152ea1d4d0281329269c06f2
[ "MIT" ]
null
null
null
from datetime import datetime, date, time import mock from time import mktime import yaml import match_commands def stamp(hour = 0, minute = 0): dt = datetime.combine(date.today(), time(hour, minute)) return mktime(dt.timetuple()) def test_get_delay_now(): now = 142.1 fake_time = mock.Mock(return_value = now) fake_matches = mock.Mock() delay = 60 # 1 minute fake_matches.get_delay = mock.Mock(return_value = delay) with mock.patch('time.time', fake_time), \ mock.patch('match_commands.matches', fake_matches): responder = mock.Mock() match_commands.perform_get_delay(responder, {}) expected = {'delay': delay, 'units': 'seconds'} responder.assert_called_once_with(yaml.dump(expected)) fake_matches.get_delay.assert_called_once_with(int(now)) def test_get_delay_then(): fake_time = mock.Mock(return_value = 142.1) then = stamp(13, 0) fake_matches = mock.Mock() delay = 600 # 10 minutes fake_matches.get_delay = mock.Mock(return_value = delay) with mock.patch('time.time', fake_time), \ mock.patch('match_commands.matches', fake_matches): responder = mock.Mock() match_commands.perform_get_delay(responder, {'<when>': "13:00"}) expected = {'delay': delay, 'units': 'seconds'} responder.assert_called_once_with(yaml.dump(expected)) fake_matches.get_delay.assert_called_once_with(int(then)) def test_set_delay_now(): now = 142.1 fake_time = mock.Mock(return_value = now) fake_matches = mock.Mock() delay = 60 # 1 minute fake_matches.set_delay = mock.Mock(return_value = delay) with mock.patch('time.time', fake_time), \ mock.patch('match_commands.matches', fake_matches): responder = mock.Mock() match_commands.perform_set_delay(responder, {'<delay>': delay}) expected = 'delay set' responder.assert_called_once_with(expected) fake_matches.set_delay.assert_called_once_with(int(now), delay) def test_set_delay_then(): fake_time = mock.Mock(return_value = 142.1) then = stamp(13, 0) fake_matches = mock.Mock() delay = 600 # 10 minutes fake_matches.set_delay = mock.Mock(return_value = delay) with mock.patch('time.time', fake_time), \ mock.patch('match_commands.matches', fake_matches): responder = mock.Mock() options = {'<delay>': delay, '<when>': "13:00"} match_commands.perform_set_delay(responder, options) expected = 'delay set' responder.assert_called_once_with(expected) fake_matches.set_delay.assert_called_once_with(int(then), delay)
32.888889
72
0.676802
357
2,664
4.789916
0.142857
0.074854
0.05614
0.088889
0.838596
0.838596
0.807018
0.79883
0.79883
0.79883
0
0.022525
0.200075
2,664
80
73
33.3
0.779916
0.01464
0
0.655738
0
0
0.080947
0.033601
0
0
0
0
0.131148
1
0.081967
false
0
0.081967
0
0.180328
0
0
0
0
null
0
0
0
1
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
6
abf2d63169f7db124e6ffcc2c52209147622a5a3
33
py
Python
results.py
sriramcu/college_exams_rank
9d73a0e452e231bc695739a66995399d6a56a0f7
[ "MIT" ]
null
null
null
results.py
sriramcu/college_exams_rank
9d73a0e452e231bc695739a66995399d6a56a0f7
[ "MIT" ]
null
null
null
results.py
sriramcu/college_exams_rank
9d73a0e452e231bc695739a66995399d6a56a0f7
[ "MIT" ]
null
null
null
from rvce_web_results import app
16.5
32
0.878788
6
33
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.121212
33
1
33
33
0.931034
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
1
0
0
6
e6373da31dbd93535956af2c8f9e77a3a468ff33
39
py
Python
genword/__init__.py
di3g0bs0n/genword
b65882398585973c0efa38b3903f45b6c4d1ca49
[ "MIT" ]
null
null
null
genword/__init__.py
di3g0bs0n/genword
b65882398585973c0efa38b3903f45b6c4d1ca49
[ "MIT" ]
null
null
null
genword/__init__.py
di3g0bs0n/genword
b65882398585973c0efa38b3903f45b6c4d1ca49
[ "MIT" ]
null
null
null
from word import Word from lib import *
19.5
21
0.794872
7
39
4.428571
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.179487
39
2
22
19.5
0.96875
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
1
0
0
6
0509f1b38ea6b4570c8ae4e79a90b6f752dfcf08
142
py
Python
invocare/openssl/__init__.py
jbronn/invocare-openssl
22a1d4cf0e662caeec0674c20679e6cae12cd633
[ "Apache-2.0" ]
null
null
null
invocare/openssl/__init__.py
jbronn/invocare-openssl
22a1d4cf0e662caeec0674c20679e6cae12cd633
[ "Apache-2.0" ]
null
null
null
invocare/openssl/__init__.py
jbronn/invocare-openssl
22a1d4cf0e662caeec0674c20679e6cae12cd633
[ "Apache-2.0" ]
null
null
null
from ._version import __version__, __version_info__ from .ca import openssl_ca from .pkey import openssl_genpkey from .req import openssl_req
28.4
51
0.84507
21
142
5.095238
0.428571
0.364486
0
0
0
0
0
0
0
0
0
0
0.119718
142
4
52
35.5
0.856
0
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
1
0
0
6
051adda0fad1d5abf6598b80bbec9ac41e884418
3,131
py
Python
tests_integration/test_command_live.py
marengaz/python-rako
d5cb4d8c942b0ee8b71f5dffb9cec70466f4ca72
[ "MIT" ]
1
2021-02-18T12:34:53.000Z
2021-02-18T12:34:53.000Z
tests_integration/test_command_live.py
marengaz/python-rako
d5cb4d8c942b0ee8b71f5dffb9cec70466f4ca72
[ "MIT" ]
13
2021-01-26T11:54:44.000Z
2022-03-02T06:18:26.000Z
tests_integration/test_command_live.py
marengaz/python-rako
d5cb4d8c942b0ee8b71f5dffb9cec70466f4ca72
[ "MIT" ]
null
null
null
"""These tests only work when there is a Rako Bridge on the Network""" import asyncio from asyncio import Task import pytest from python_rako import Bridge, ChannelStatusMessage, SceneStatusMessage from python_rako.helpers import get_dg_listener async def _test_set_room_scene(bridge: Bridge, event_loop): test_room_id = 5 test_scene = 1 async def wait_for_response(): async with get_dg_listener(bridge.port) as listener: response = await bridge.next_pushed_message(listener) assert response == SceneStatusMessage(test_room_id, 0, test_scene) task: Task = event_loop.create_task(wait_for_response()) await bridge.set_room_scene(test_room_id, test_scene) while not task.done(): await asyncio.sleep(1) e = task.exception() if e: raise e @pytest.mark.asyncio async def test_set_room_scene_udp(udp_bridge: Bridge, event_loop): await _test_set_room_scene(udp_bridge, event_loop) @pytest.mark.asyncio async def test_set_room_scene_http(http_bridge: Bridge, event_loop): await _test_set_room_scene(http_bridge, event_loop) async def _test_set_room_brightness(bridge: Bridge, event_loop): test_room_id = 5 test_brightness = 150 async def wait_for_response(): async with get_dg_listener(bridge.port) as listener: response = await bridge.next_pushed_message(listener) assert response == ChannelStatusMessage( room=test_room_id, channel=0, brightness=test_brightness ) task: Task = event_loop.create_task(wait_for_response()) await bridge.set_room_brightness(test_room_id, test_brightness) while not task.done(): await asyncio.sleep(1) e = task.exception() if e: raise e @pytest.mark.asyncio async def test_set_room_brightness_udp(udp_bridge: Bridge, event_loop): await _test_set_room_brightness(udp_bridge, event_loop) @pytest.mark.asyncio async def test_set_room_brightness_http(http_bridge: Bridge, event_loop): await _test_set_room_brightness(http_bridge, event_loop) async def _test_set_channel_brightness(bridge: Bridge, event_loop): test_room_id = 5 test_channel_id = 5 test_brightness = 150 async def wait_for_response(): async with get_dg_listener(bridge.port) as listener: response = await bridge.next_pushed_message(listener) assert response == ChannelStatusMessage( room=test_room_id, channel=test_channel_id, brightness=test_brightness ) task: Task = event_loop.create_task(wait_for_response()) await bridge.set_channel_brightness(test_room_id, test_channel_id, test_brightness) while not task.done(): await asyncio.sleep(1) e = task.exception() if e: raise e @pytest.mark.asyncio async def test_set_channel_brightness_udp(udp_bridge: Bridge, event_loop): await _test_set_channel_brightness(udp_bridge, event_loop) @pytest.mark.asyncio async def test_set_channel_brightness_http(http_bridge: Bridge, event_loop): await _test_set_channel_brightness(http_bridge, event_loop)
30.105769
87
0.739061
438
3,131
4.917808
0.143836
0.075209
0.104457
0.062674
0.858403
0.830084
0.813835
0.813835
0.782266
0.733983
0
0.006304
0.189396
3,131
103
88
30.398058
0.842396
0.020441
0
0.571429
0
0
0
0
0
0
0
0
0.042857
1
0
false
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
1
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
6
053e922a07041c6e367ccf4ab4c5471859352177
75
py
Python
Modules - lab/2. ASCII Art.py
nrgxtra/advanced
89f713419102c64a04b495f717cdb51bbf94213c
[ "MIT" ]
null
null
null
Modules - lab/2. ASCII Art.py
nrgxtra/advanced
89f713419102c64a04b495f717cdb51bbf94213c
[ "MIT" ]
null
null
null
Modules - lab/2. ASCII Art.py
nrgxtra/advanced
89f713419102c64a04b495f717cdb51bbf94213c
[ "MIT" ]
null
null
null
from pyfiglet import print_figlet text = input() print_figlet(text)
12.5
34
0.733333
10
75
5.3
0.7
0.415094
0.566038
0
0
0
0
0
0
0
0
0
0.2
75
5
35
15
0.883333
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.666667
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
1
0
6
056a563489f2af01298b20609d607bdeac9af538
12
py
Python
jupyterworkflow/data.py
MTodey/test-repository
b4f297ad0b385e28bb3ab56bfc7907e408a47bf2
[ "MIT" ]
null
null
null
jupyterworkflow/data.py
MTodey/test-repository
b4f297ad0b385e28bb3ab56bfc7907e408a47bf2
[ "MIT" ]
null
null
null
jupyterworkflow/data.py
MTodey/test-repository
b4f297ad0b385e28bb3ab56bfc7907e408a47bf2
[ "MIT" ]
null
null
null
x = 5.9 y=6
4
7
0.416667
5
12
1
1
0
0
0
0
0
0
0
0
0
0
0.375
0.333333
12
2
8
6
0.25
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
1
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
6
557532e8ebad754696802b4889f4eb09325d7ca7
92
py
Python
Modulo_1/semana1/Mas_sobre _Python/comments.py
rubens233/cocid_python
492ebdf21817e693e5eb330ee006397272f2e0cc
[ "MIT" ]
null
null
null
Modulo_1/semana1/Mas_sobre _Python/comments.py
rubens233/cocid_python
492ebdf21817e693e5eb330ee006397272f2e0cc
[ "MIT" ]
null
null
null
Modulo_1/semana1/Mas_sobre _Python/comments.py
rubens233/cocid_python
492ebdf21817e693e5eb330ee006397272f2e0cc
[ "MIT" ]
1
2022-03-04T00:57:18.000Z
2022-03-04T00:57:18.000Z
def hola_mundo(): # Un simple comentario procesa un simple print print("Hola mundo")
30.666667
50
0.706522
13
92
4.923077
0.615385
0.28125
0
0
0
0
0
0
0
0
0
0
0.206522
92
3
51
30.666667
0.876712
0.478261
0
0
0
0
0.212766
0
0
0
0
0
0
1
0.5
true
0
0
0
0.5
0.5
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
1
1
0
0
0
0
1
0
6
e98412baf742f2bb13ff47502ffc760ee71af6be
216
py
Python
spider/multiprocess/__init__.py
YunofHD/PSpider
c1c9e1e7c61365e140a55541cc558d7c1b9e50f2
[ "BSD-2-Clause" ]
null
null
null
spider/multiprocess/__init__.py
YunofHD/PSpider
c1c9e1e7c61365e140a55541cc558d7c1b9e50f2
[ "BSD-2-Clause" ]
null
null
null
spider/multiprocess/__init__.py
YunofHD/PSpider
c1c9e1e7c61365e140a55541cc558d7c1b9e50f2
[ "BSD-2-Clause" ]
null
null
null
# _*_ coding: utf-8 _*_ """ define MultiprocessPool as WebSpider """ from .multiprocess_inst import TPEnum from .multiprocess_pool import MultiprocessPool as MultiprocessWebSpider # origin WebSpider
27
106
0.74537
21
216
7.380952
0.714286
0.232258
0
0
0
0
0
0
0
0
0
0.005714
0.189815
216
8
106
27
0.88
0.356481
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
1
0
0
6
e9a3ca195a255c160b4677d04e9cb0486fd2c6e8
8,081
py
Python
machine-learning-1/further-example/galaxy10sdss.py
rkamlah/school2021
d30a26ddbcba6d6c247190bd1726c9c9caec95d6
[ "MIT" ]
252
2021-05-18T11:58:17.000Z
2022-03-12T06:48:52.000Z
machine-learning-1/further-example/galaxy10sdss.py
rkamlah/school2021
d30a26ddbcba6d6c247190bd1726c9c9caec95d6
[ "MIT" ]
44
2021-05-21T14:28:34.000Z
2021-07-12T22:36:06.000Z
machine-learning-1/further-example/galaxy10sdss.py
rkamlah/school2021
d30a26ddbcba6d6c247190bd1726c9c9caec95d6
[ "MIT" ]
128
2021-05-24T18:32:54.000Z
2022-03-26T11:24:16.000Z
# import everything we need first import numpy as np import h5py import matplotlib.pyplot as plt import pymde import pacmap import umap import pymde import trimap from sklearn import decomposition from sklearn import manifold from sklearn.model_selection import train_test_split import math # To get the images and labels from file with h5py.File('Galaxy10.h5', 'r') as F: images = np.array(F['images']) labels = np.array(F['ans']) X_train = np.empty([math.floor(len(labels)/100),14283],dtype=np.float64) y_train = np.empty([math.floor(len(labels)/100)],dtype=np.float64) X_test = X_train y_test = y_train X_train = np.empty([math.floor(len(labels)/100),14283],dtype=np.float64) y_train = np.empty([math.floor(len(labels)/100)],dtype=np.float64) X_test = X_train y_test = y_train # Try to improve this by creating more balanced data subsets # and using randomization for i in range(math.floor(len(labels)/100)): X_train[i,:]=np.array(np.ndarray.flatten(images[i,:,:,:]),dtype=np.float64) y_train[i]=labels[i] X_test[i,:]=np.array(np.ndarray.flatten(images[i+math.floor(len(labels)/100),:,:,:]),dtype=np.float64) y_test[i]=labels[i+math.floor(len(labels)/100)] # Plot distribution classes, frequency = np.unique(y_train,return_counts=True) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.bar(classes,frequency) plt.xlabel('Class') plt.ylabel('Frequency') plt.title('Data Subset') plt.savefig("galaxy10_subset.svg") ## 2D Embedding ### PCA pca = decomposition.PCA(n_components=2) pca.fit(X_train) galaxy10_pca = pca.transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_pca[:, 0], galaxy10_pca[:, 1], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_pca.svg") ### trimap galaxy10_trimap = trimap.TRIMAP().fit_transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_trimap[:, 0], galaxy10_trimap[:, 1], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_trimap.svg") ### MDE galaxy10_mde = pymde.preserve_neighbors(X_train,embedding_dim=2,verbose=True).embed(verbose=True) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_mde[:, 0], galaxy10_mde[:, 1], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_pymde.svg") ### PACMAP galaxy10_pacmap = pacmap.PaCMAP(n_dims=2, n_neighbors=None, MN_ratio=0.5, FP_ratio=2.0).fit_transform(X_train, init="pca") fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_pacmap[:, 0], galaxy10_pacmap[:, 1], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_pacmap.svg") ### UMAP reducer= umap.UMAP(n_components=2, n_neighbors=5, random_state=42, transform_seed=42, verbose=False) reducer.fit(X_train) galaxy10_umap = reducer.transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_umap[:, 0], galaxy10_umap[:, 1], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_umap.svg") ### UMAP - Supervised reducer= umap.UMAP(n_components=2, n_neighbors=15, random_state=42, transform_seed=42, verbose=False) reducer.fit(X_train,y_train) galaxy10_umap_supervised = reducer.transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_umap_supervised[:, 0], galaxy10_umap_supervised[:, 1], c=y_train, cmap=plt.cm.nipy_spectral,edgecolor='k',label=y_train) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_umap_supervised.svg") ### UMAP - Supervised prediction galaxy10_umap_supervised_prediction = reducer.transform(X_test) fig = plt.figure(1, figsize=(4, 4)) plt.clf() plt.scatter(galaxy10_umap_supervised_prediction[:, 0], galaxy10_umap_supervised_prediction[:, 1], c=y_test, cmap=plt.cm.nipy_spectral,edgecolor='k',label=y_test) plt.colorbar(boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_2D_umap_supervised_prediction.svg") ## 3D Embedding ### PCA pca = decomposition.PCA(n_components=3) pca.fit(X_train) galaxy10_pca = pca.transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_pca[:, 0], galaxy10_pca[:, 1], galaxy10_pca[:, 2], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_pca.svg") ### trimap galaxy10_trimap = trimap.TRIMAP(n_dims=3).fit_transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_trimap[:, 0], galaxy10_trimap[:, 1], galaxy10_trimap[:, 2], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_trimap.svg") ### MDE galaxy10_mde = pymde.preserve_neighbors(X_train,embedding_dim=3,verbose=True).embed(verbose=True) fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_mde[:, 0], galaxy10_mde[:, 1], galaxy10_mde[:, 2], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_pymde.svg") ### PACMAP galaxy10_pacmap = pacmap.PaCMAP(n_dims=3, n_neighbors=None, MN_ratio=0.5, FP_ratio=2.0).fit_transform(X_train, init="pca") fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_pacmap[:, 0], galaxy10_pacmap[:, 1], galaxy10_pacmap[:, 2], c=y_train, cmap=plt.cm.nipy_spectral, edgecolor='k',label=y_train) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_pacmap.svg") ### UMAP reducer= umap.UMAP(n_components=3, n_neighbors=5, random_state=42, transform_seed=42, verbose=False) reducer.fit(X_train) galaxy10_umap = reducer.transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_umap[:, 0], galaxy10_umap[:, 1], galaxy10_umap[:, 2], c=y_train, cmap=plt.cm.nipy_spectral,edgecolor='k',label=y_train) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_umap.svg") ### UMAP - Supervised reducer= umap.UMAP(n_components=3, n_neighbors=15, random_state=42, transform_seed=42, verbose=False) reducer.fit(X_train,y_train) galaxy10_umap_supervised = reducer.transform(X_train) fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_umap_supervised[:, 0], galaxy10_umap_supervised[:, 1], galaxy10_umap_supervised[:, 2],c=y_train, cmap=plt.cm.nipy_spectral,edgecolor='k',label=y_train) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_umap_supervised.svg") ### UMAP - Supervised prediction galaxy10_umap_supervised_prediction = reducer.transform(X_test) fig = plt.figure(1, figsize=(4, 4)) plt.clf() ax = fig.add_subplot(projection='3d') p = ax.scatter(galaxy10_umap_supervised_prediction[:, 0], galaxy10_umap_supervised_prediction[:, 1], galaxy10_umap_supervised_prediction[:, 2],c=y_test, cmap=plt.cm.nipy_spectral,edgecolor='k',label=y_test) fig.colorbar(p,ax=ax,boundaries=np.arange(11)-0.5).set_ticks(np.arange(10)) plt.savefig("galaxy10_3D_umap_supervised_prediction.svg")
37.938967
122
0.726766
1,324
8,081
4.25
0.107251
0.034121
0.031989
0.034654
0.864226
0.85694
0.85303
0.793496
0.761685
0.722054
0
0.05574
0.103081
8,081
212
123
38.117925
0.720613
0.042693
0
0.54878
0
0
0.058984
0.035938
0
0
0
0
0
1
0
false
0
0.073171
0
0.073171
0
0
0
0
null
0
0
0
1
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
6
75982bfd001c8c7ec36a4abf21b4b9a750b329e0
134
py
Python
Treepedia/__init__.py
fpirotti/Treepedia_Public
112fd5df421f9fc5651ba1786a390323f403b37b
[ "BSD-2-Clause" ]
6
2020-05-06T15:03:27.000Z
2022-03-13T20:18:44.000Z
Treepedia/__init__.py
fpirotti/Treepedia_Public
112fd5df421f9fc5651ba1786a390323f403b37b
[ "BSD-2-Clause" ]
1
2020-10-26T22:42:19.000Z
2020-10-26T22:42:19.000Z
Treepedia/__init__.py
fpirotti/Treepedia_Public
112fd5df421f9fc5651ba1786a390323f403b37b
[ "BSD-2-Clause" ]
3
2020-09-21T11:53:45.000Z
2022-03-29T01:26:01.000Z
import Treepedia.metadataCollector import Treepedia.Greenview2Shp import Treepedia.GreenView_Calculate import Treepedia.createPoints
26.8
36
0.902985
13
134
9.230769
0.538462
0.5
0
0
0
0
0
0
0
0
0
0.008
0.067164
134
4
37
33.5
0.952
0
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
1
0
0
6
75e12f78d7f4864730c262290c9e1a9662defe3a
49
py
Python
source_importer/finders/__init__.py
Python-Tools/fortran_importer
0aa76c3d42c2595281034f13e9011ff2ba15725e
[ "MIT" ]
2
2021-06-11T14:17:20.000Z
2021-06-14T07:51:08.000Z
source_importer/finders/__init__.py
Python-Tools/source_importer
0aa76c3d42c2595281034f13e9011ff2ba15725e
[ "MIT" ]
null
null
null
source_importer/finders/__init__.py
Python-Tools/source_importer
0aa76c3d42c2595281034f13e9011ff2ba15725e
[ "MIT" ]
null
null
null
"""load finders.""" from .local_finders import *
16.333333
28
0.693878
6
49
5.5
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.122449
49
2
29
24.5
0.767442
0.265306
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
1
0
0
6
f9af15f72ca4d953adbf23921fd8ee191ccdb5d8
5,345
py
Python
tests/test_offline.py
twisterbboy/EZyRB
ab72235ec6703f4ac58d5faebaade40dfb6d326c
[ "MIT" ]
null
null
null
tests/test_offline.py
twisterbboy/EZyRB
ab72235ec6703f4ac58d5faebaade40dfb6d326c
[ "MIT" ]
null
null
null
tests/test_offline.py
twisterbboy/EZyRB
ab72235ec6703f4ac58d5faebaade40dfb6d326c
[ "MIT" ]
null
null
null
from unittest import TestCase import unittest import numpy as np import filecmp import os import sys from ezyrb.offline import Offline from ezyrb.filehandler import FileHandler class TestOffline(TestCase): def test_offline(self): offline = Offline(output_name='Pressure') def test_init_database(self): mu_values = [[-.5, -.5], [.5, -.5], [.5, .5], [-.5, .5]] files = [ "tests/test_datasets/matlab_00.vtk", "tests/test_datasets/matlab_01.vtk", "tests/test_datasets/matlab_02.vtk", "tests/test_datasets/matlab_03.vtk" ] offline = Offline(output_name='Pressure', dformat='point') offline.init_database(mu_values, files) expected_mu = np.array([[-.5, .5, .5, -.5], [-.5, -.5, .5, .5]]) np.testing.assert_array_almost_equal(expected_mu, offline.mu.values) def test_init_database2(self): mu_values = [[-.5, -.5], [.5, -.5], [.5, .5], [-.5, .5]] files = [ "tests/test_datasets/matlab_00.vtk", "tests/test_datasets/matlab_01.vtk", "tests/test_datasets/matlab_02.vtk", "tests/test_datasets/matlab_03.vtk" ] offline = Offline(output_name='Pressure', dformat='point') offline.init_database(mu_values, files) assert offline.snapshots.values.shape == (2500, 4) def test_init_database_from_file(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) expected_mu = np.array([[-.5, .5, .5, -.5], [-.5, -.5, .5, .5]]) np.testing.assert_array_almost_equal(expected_mu, offline.mu.values) def test_init_database_from_file2(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) assert offline.snapshots.values.shape == (2500, 4) def test_init_database_from_file_nofile(self): conf_file = 'tests/test_datasets/notexisting_mu.conf' offline = Offline(output_name='Pressure', dformat='point') with self.assertRaises(IOError): offline.init_database_from_file(conf_file) def test_init_database_from_file_wrongfile(self): conf_file = 'tests/test_datasets/wrongmu.conf' offline = Offline(output_name='Pressure', dformat='point') with self.assertRaises(ValueError): offline.init_database_from_file(conf_file) def test_add_snapshot(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) offline.add_snapshot([-0.29334384, -0.2312056], "tests/test_datasets/matlab_04.vtk") expected_mu = np.array([[-.5, .5, .5, -.5, -0.29334384], [-.5, -.5, .5, .5, -0.2312056]]) np.testing.assert_array_almost_equal(expected_mu, offline.mu.values) def test_add_snapshot2(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) offline.add_snapshot([-0.29334384, -0.2312056], "tests/test_datasets/matlab_04.vtk") assert offline.snapshots.values.shape == (2500, 5) def test_generate(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) offline.generate_rb_space() def test_save(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) offline.generate_rb_space() offline.save_rb_space('space') assert os.path.isfile('space') #os.remove('space') def test_loo_error(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) error = offline.loo_error() assert error.shape == (4, ) def test_loo_error2(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) max_error = np.max(offline.loo_error()) assert isinstance(max_error, float) def test_optimal_mu(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) mu = offline.optimal_mu() expected_mu = np.array([-0.29334384, -0.23120563]) np.testing.assert_array_almost_equal(mu[0], expected_mu) def test_optimal_mu2(self): conf_file = 'tests/test_datasets/mu.conf' offline = Offline(output_name='Pressure', dformat='point') offline.init_database_from_file(conf_file) mu = offline.optimal_mu(error=offline.loo_error()) expected_mu = np.array([-0.29334384, -0.23120563]) np.testing.assert_array_almost_equal(mu[0], expected_mu)
41.434109
76
0.651824
682
5,345
4.828446
0.120235
0.02065
0.025509
0.026723
0.824476
0.809292
0.77437
0.77437
0.767993
0.741877
0
0.040699
0.218522
5,345
128
77
41.757813
0.747666
0.003368
0
0.614679
0
0
0.163537
0.125986
0
0
0
0
0.119266
1
0.137615
false
0
0.073395
0
0.220183
0
0
0
0
null
0
0
0
1
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
6
fb381221465793d31b2581f60709a706c03f6d72
2,301
py
Python
epytope/Data/pssms/smmpmbec/mat/B_27_05_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/smmpmbec/mat/B_27_05_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/smmpmbec/mat/B_27_05_9.py
christopher-mohr/epytope
8ac9fe52c0b263bdb03235a5a6dffcb72012a4fd
[ "BSD-3-Clause" ]
4
2021-05-28T08:50:38.000Z
2022-03-14T11:45:32.000Z
B_27_05_9 = {0: {'A': -0.045, 'C': 0.003, 'E': 0.523, 'D': 0.571, 'G': -0.135, 'F': -0.258, 'I': 0.016, 'H': -0.236, 'K': -0.317, 'M': -0.052, 'L': 0.031, 'N': 0.262, 'Q': 0.064, 'P': 0.57, 'S': -0.005, 'R': -0.768, 'T': 0.157, 'W': -0.226, 'V': 0.203, 'Y': -0.358}, 1: {'A': 0.129, 'C': 0.327, 'E': 0.424, 'D': 0.469, 'G': 0.288, 'F': 0.371, 'I': 0.35, 'H': -0.022, 'K': -0.532, 'M': -0.398, 'L': 0.026, 'N': 0.089, 'Q': -0.808, 'P': 0.612, 'S': -0.067, 'R': -1.818, 'T': 0.192, 'W': -0.027, 'V': 0.208, 'Y': 0.187}, 2: {'A': -0.08, 'C': 0.228, 'E': 0.602, 'D': 0.533, 'G': 0.372, 'F': -0.388, 'I': -0.101, 'H': -0.141, 'K': 0.093, 'M': -0.425, 'L': -0.286, 'N': 0.037, 'Q': -0.055, 'P': 0.331, 'S': 0.135, 'R': 0.076, 'T': 0.034, 'W': -0.63, 'V': -0.056, 'Y': -0.278}, 3: {'A': -0.123, 'C': 0.023, 'E': 0.036, 'D': 0.132, 'G': -0.093, 'F': -0.118, 'I': 0.088, 'H': -0.033, 'K': 0.055, 'M': -0.041, 'L': -0.039, 'N': -0.047, 'Q': 0.03, 'P': 0.116, 'S': -0.01, 'R': -0.155, 'T': 0.065, 'W': -0.0, 'V': 0.084, 'Y': 0.029}, 4: {'A': 0.004, 'C': 0.054, 'E': 0.248, 'D': 0.18, 'G': 0.16, 'F': -0.19, 'I': -0.202, 'H': 0.083, 'K': 0.106, 'M': -0.12, 'L': -0.23, 'N': 0.058, 'Q': 0.077, 'P': 0.188, 'S': 0.126, 'R': -0.078, 'T': 0.017, 'W': -0.287, 'V': -0.071, 'Y': -0.123}, 5: {'A': -0.112, 'C': 0.139, 'E': 0.213, 'D': 0.279, 'G': -0.0, 'F': -0.153, 'I': -0.13, 'H': 0.05, 'K': 0.063, 'M': -0.045, 'L': -0.075, 'N': -0.059, 'Q': 0.007, 'P': 0.092, 'S': 0.067, 'R': -0.056, 'T': 0.072, 'W': -0.146, 'V': -0.103, 'Y': -0.103}, 6: {'A': 0.079, 'C': 0.068, 'E': 0.068, 'D': 0.256, 'G': 0.049, 'F': -0.12, 'I': -0.033, 'H': -0.162, 'K': 0.091, 'M': 0.045, 'L': -0.191, 'N': 0.095, 'Q': 0.117, 'P': 0.045, 'S': 0.014, 'R': -0.062, 'T': -0.001, 'W': -0.124, 'V': -0.032, 'Y': -0.201}, 7: {'A': 0.083, 'C': 0.034, 'E': 0.133, 'D': 0.324, 'G': -0.065, 'F': -0.025, 'I': 0.12, 'H': -0.03, 'K': -0.07, 'M': -0.154, 'L': -0.216, 'N': 0.034, 'Q': -0.021, 'P': -0.095, 'S': -0.123, 'R': -0.042, 'T': 0.024, 'W': -0.01, 'V': 0.098, 'Y': 0.001}, 8: {'A': 0.079, 'C': 0.17, 'E': 0.515, 'D': 0.439, 'G': 0.323, 'F': -0.439, 'I': -0.326, 'H': -0.184, 'K': -0.505, 'M': -0.475, 'L': -0.399, 'N': 0.172, 'Q': 0.384, 'P': 0.565, 'S': 0.229, 'R': -0.411, 'T': 0.26, 'W': -0.066, 'V': -0.033, 'Y': -0.298}, -1: {'con': 4.85457}}
2,301
2,301
0.392873
557
2,301
1.617594
0.333932
0.019978
0.011099
0.013319
0.031077
0
0
0
0
0
0
0.371888
0.162103
2,301
1
2,301
2,301
0.095436
0
0
0
0
0
0.079496
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
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
6
fb389fdec00d4d2e9846dbe0a37038015405280b
46
py
Python
bbmd/models/__init__.py
uashogeschoolutrecht/bbmd
40a5beb0554df00b512e672bf5be8297d0523b9b
[ "Apache-2.0" ]
null
null
null
bbmd/models/__init__.py
uashogeschoolutrecht/bbmd
40a5beb0554df00b512e672bf5be8297d0523b9b
[ "Apache-2.0" ]
null
null
null
bbmd/models/__init__.py
uashogeschoolutrecht/bbmd
40a5beb0554df00b512e672bf5be8297d0523b9b
[ "Apache-2.0" ]
null
null
null
from . import dichotomous, continuous # noqa
23
45
0.76087
5
46
7
1
0
0
0
0
0
0
0
0
0
0
0
0.173913
46
1
46
46
0.921053
0.086957
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
1
0
0
6
34cf4210be81f49cd9ba5a35d242ac0c12b023af
121
py
Python
dcp_diag/component_agents/__init__.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
2
2018-10-03T17:56:54.000Z
2018-10-08T18:10:38.000Z
dcp_diag/component_agents/__init__.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
15
2018-11-20T11:06:32.000Z
2019-09-17T20:06:20.000Z
dcp_diag/component_agents/__init__.py
HumanCellAtlas/dcp-diag
85c324ed86785d8b224fca2f3cbc1097f8606dde
[ "MIT" ]
null
null
null
from .data_store_agent import DataStoreAgent from .azul_agent import AzulAgent from .analysis_agent import AnalysisAgent
30.25
44
0.876033
16
121
6.375
0.625
0.323529
0
0
0
0
0
0
0
0
0
0
0.099174
121
3
45
40.333333
0.93578
0
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
1
0
0
6
34f76e529727c841ea5613db794d3828bba73eb1
220
py
Python
revibe/utils/classes.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
2
2022-01-24T23:30:18.000Z
2022-01-26T00:21:22.000Z
revibe/utils/classes.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
revibe/utils/classes.py
Revibe-Music/core-services
6b11cf16ad2c35d948f3a5c0e7a161e5b7cfc1b2
[ "MIT" ]
null
null
null
""" Created: 20 Mar. 2020 Author: Jordan Prechac """ # ----------------------------------------------------------------------------- def default_repr(self): return f"<{self.__class__.__name__} ({self.__str__()})>"
22
79
0.422727
18
220
4.444444
0.888889
0
0
0
0
0
0
0
0
0
0
0.030303
0.1
220
9
80
24.444444
0.373737
0.559091
0
0
0
0
0.516854
0.292135
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
6
9bae61086d2093bab39d4bb61d35645018f2d649
27
py
Python
stuff7/utils/collections/__init__.py
Stuff7/stuff7
c4210ad99c7d745ded3742a645cc9173243946b1
[ "MIT" ]
null
null
null
stuff7/utils/collections/__init__.py
Stuff7/stuff7
c4210ad99c7d745ded3742a645cc9173243946b1
[ "MIT" ]
13
2019-06-25T13:23:30.000Z
2022-02-10T07:00:39.000Z
uil/rest_client/collections/__init__.py
UiL-OTS-labs/django-shared-core
702ca346f1be861108ec70ceed2ed3b99623f0a3
[ "Apache-2.0" ]
null
null
null
from .collections import *
13.5
26
0.777778
3
27
7
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
27
1
27
27
0.913043
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
1
0
0
6
fd079fc86a5da6827dc39258a7060286f6894ab2
25
py
Python
envisage/developer/charm/api.py
robmcmullen/envisage
57338fcb0ea69c75bc3c86de18a5967d8e78c6c1
[ "BSD-3-Clause" ]
null
null
null
envisage/developer/charm/api.py
robmcmullen/envisage
57338fcb0ea69c75bc3c86de18a5967d8e78c6c1
[ "BSD-3-Clause" ]
1
2017-05-22T21:15:22.000Z
2017-05-22T21:15:22.000Z
envisage/developer/charm/api.py
robmcmullen/envisage
57338fcb0ea69c75bc3c86de18a5967d8e78c6c1
[ "BSD-3-Clause" ]
1
2019-10-01T07:03:58.000Z
2019-10-01T07:03:58.000Z
from .charm import Charm
12.5
24
0.8
4
25
5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.16
25
1
25
25
0.952381
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
1
0
0
6
fd1c9da6af271e39ecf505ce47bb9580d29a7fb7
1,220
py
Python
examples/common/reader.py
TharinduDR/MultiTransQuest
90c24ec99d7418b77b46fc32a2ae9369d72347ad
[ "Apache-2.0" ]
78
2020-05-24T12:13:16.000Z
2022-03-19T23:16:02.000Z
examples/common/reader.py
TharinduDR/MultiTransQuest
90c24ec99d7418b77b46fc32a2ae9369d72347ad
[ "Apache-2.0" ]
32
2020-07-05T03:27:19.000Z
2022-03-31T19:11:26.000Z
examples/common/reader.py
TharinduDR/MultiTransQuest
90c24ec99d7418b77b46fc32a2ae9369d72347ad
[ "Apache-2.0" ]
14
2020-05-14T09:52:07.000Z
2022-03-13T10:55:47.000Z
import csv import pandas as pd def read_annotated_file(path, index="index"): indices = [] originals = [] translations = [] z_means = [] with open(path, mode="r", encoding="utf-8-sig") as csvfile: reader = csv.DictReader(csvfile, delimiter="\t", quoting=csv.QUOTE_NONE) for row in reader: indices.append(row[index]) originals.append(row["original"]) translations.append(row["translation"]) z_means.append(float(row["z_mean"])) return pd.DataFrame( {'index': indices, 'original': originals, 'translation': translations, 'z_mean': z_means }) def read_test_file(path, index="index"): indices = [] originals = [] translations = [] with open(path, mode="r", encoding="utf-8-sig") as csvfile: reader = csv.DictReader(csvfile, delimiter="\t", quoting=csv.QUOTE_NONE) for row in reader: indices.append(row[index]) originals.append(row["original"]) translations.append(row["translation"]) return pd.DataFrame( {'index': indices, 'original': originals, 'translation': translations, })
28.372093
80
0.584426
131
1,220
5.358779
0.328244
0.076923
0.037037
0.051282
0.866097
0.866097
0.866097
0.735043
0.735043
0.538462
0
0.002262
0.27541
1,220
42
81
29.047619
0.791855
0
0
0.8
0
0
0.108197
0
0
0
0
0
0
1
0.057143
false
0
0.057143
0
0.171429
0
0
0
0
null
0
0
0
1
1
1
1
1
0
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
6
fd487dc2f6aa02adbc0699c3c926ba863f0c606b
5,085
py
Python
Leak #5 - Lost In Translation/windows/Resources/ZBng/PyScripts/Lib/zbng/mca/network/cmd/shares/type_Params.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Leak #5 - Lost In Translation/windows/Resources/ZBng/PyScripts/Lib/zbng/mca/network/cmd/shares/type_Params.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
null
null
null
Leak #5 - Lost In Translation/windows/Resources/ZBng/PyScripts/Lib/zbng/mca/network/cmd/shares/type_Params.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: type_Params.py from types import * class ParamsMap: def __init__(self): self.__dict__['target'] = '' self.__dict__['resource'] = '' self.__dict__['drive'] = '' self.__dict__['username'] = '' self.__dict__['password'] = '' self.__dict__['domain'] = '' def __getattr__(self, name): if name == 'target': return self.__dict__['target'] if name == 'resource': return self.__dict__['resource'] if name == 'drive': return self.__dict__['drive'] if name == 'username': return self.__dict__['username'] if name == 'password': return self.__dict__['password'] if name == 'domain': return self.__dict__['domain'] raise AttributeError("Attribute '%s' not found" % name) def __setattr__(self, name, value): if name == 'target': self.__dict__['target'] = value elif name == 'resource': self.__dict__['resource'] = value elif name == 'drive': self.__dict__['drive'] = value elif name == 'username': self.__dict__['username'] = value elif name == 'password': self.__dict__['password'] = value elif name == 'domain': self.__dict__['domain'] = value else: raise AttributeError("Attribute '%s' not found" % name) def Marshal(self, mmsg): from mcl.object.Message import MarshalMessage submsg = MarshalMessage() submsg.AddStringUtf8(MSG_KEY_PARAMS_MAP_TARGET, self.__dict__['target']) submsg.AddStringUtf8(MSG_KEY_PARAMS_MAP_RESOURCE, self.__dict__['resource']) submsg.AddStringUtf8(MSG_KEY_PARAMS_MAP_DRIVE, self.__dict__['drive']) submsg.AddStringUtf8(MSG_KEY_PARAMS_MAP_USERNAME, self.__dict__['username']) submsg.AddStringUtf8(MSG_KEY_PARAMS_MAP_PASSWORD, self.__dict__['password']) submsg.AddStringUtf8(MSG_KEY_PARAMS_MAP_DOMAIN, self.__dict__['domain']) mmsg.AddMessage(MSG_KEY_PARAMS_MAP, submsg) def Demarshal(self, dmsg, instance=-1): import mcl.object.Message msgData = dmsg.FindData(MSG_KEY_PARAMS_MAP, mcl.object.Message.MSG_TYPE_MSG, instance) submsg = mcl.object.Message.DemarshalMessage(msgData) self.__dict__['target'] = submsg.FindString(MSG_KEY_PARAMS_MAP_TARGET) self.__dict__['resource'] = submsg.FindString(MSG_KEY_PARAMS_MAP_RESOURCE) self.__dict__['drive'] = submsg.FindString(MSG_KEY_PARAMS_MAP_DRIVE) self.__dict__['username'] = submsg.FindString(MSG_KEY_PARAMS_MAP_USERNAME) self.__dict__['password'] = submsg.FindString(MSG_KEY_PARAMS_MAP_PASSWORD) self.__dict__['domain'] = submsg.FindString(MSG_KEY_PARAMS_MAP_DOMAIN) class ParamsQuery: def __init__(self): self.__dict__['target'] = '' self.__dict__['username'] = '' self.__dict__['password'] = '' self.__dict__['domain'] = '' def __getattr__(self, name): if name == 'target': return self.__dict__['target'] if name == 'username': return self.__dict__['username'] if name == 'password': return self.__dict__['password'] if name == 'domain': return self.__dict__['domain'] raise AttributeError("Attribute '%s' not found" % name) def __setattr__(self, name, value): if name == 'target': self.__dict__['target'] = value elif name == 'username': self.__dict__['username'] = value elif name == 'password': self.__dict__['password'] = value elif name == 'domain': self.__dict__['domain'] = value else: raise AttributeError("Attribute '%s' not found" % name) def Marshal(self, mmsg): from mcl.object.Message import MarshalMessage submsg = MarshalMessage() submsg.AddStringUtf8(MSG_KEY_PARAMS_QUERY_TARGET, self.__dict__['target']) submsg.AddStringUtf8(MSG_KEY_PARAMS_QUERY_USERNAME, self.__dict__['username']) submsg.AddStringUtf8(MSG_KEY_PARAMS_QUERY_PASSWORD, self.__dict__['password']) submsg.AddStringUtf8(MSG_KEY_PARAMS_QUERY_DOMAIN, self.__dict__['domain']) mmsg.AddMessage(MSG_KEY_PARAMS_QUERY, submsg) def Demarshal(self, dmsg, instance=-1): import mcl.object.Message msgData = dmsg.FindData(MSG_KEY_PARAMS_QUERY, mcl.object.Message.MSG_TYPE_MSG, instance) submsg = mcl.object.Message.DemarshalMessage(msgData) self.__dict__['target'] = submsg.FindString(MSG_KEY_PARAMS_QUERY_TARGET) self.__dict__['username'] = submsg.FindString(MSG_KEY_PARAMS_QUERY_USERNAME) self.__dict__['password'] = submsg.FindString(MSG_KEY_PARAMS_QUERY_PASSWORD) self.__dict__['domain'] = submsg.FindString(MSG_KEY_PARAMS_QUERY_DOMAIN)
42.731092
96
0.641888
563
5,085
5.227353
0.138544
0.135916
0.097859
0.071356
0.879715
0.875637
0.846415
0.785933
0.736323
0.526334
0
0.013097
0.234218
5,085
119
97
42.731092
0.742681
0.034415
0
0.633663
0
0
0.118043
0
0
0
0
0
0
1
0.09901
false
0.138614
0.049505
0
0.267327
0
0
0
0
null
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
6
1f9c1ac2e1ff2f9cb8e720afe697a00954512910
112
wsgi
Python
start.wsgi
mrcl/govhack-nz
9d49edcaa7b5fe000606c35d543b84258f602aa6
[ "MIT" ]
null
null
null
start.wsgi
mrcl/govhack-nz
9d49edcaa7b5fe000606c35d543b84258f602aa6
[ "MIT" ]
null
null
null
start.wsgi
mrcl/govhack-nz
9d49edcaa7b5fe000606c35d543b84258f602aa6
[ "MIT" ]
null
null
null
import sys sys.path.append('/home/mrcl/Devel/govhack-nz/govhack-nz/flask') from app import app as application
18.666667
63
0.776786
19
112
4.578947
0.736842
0.206897
0
0
0
0
0
0
0
0
0
0
0.098214
112
5
64
22.4
0.861386
0
0
0
0
0
0.392857
0.392857
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
1
0
0
6
1f9f174af0f321eb829f420cf61f9ce2ee532bd5
19
py
Python
python/lad/__init__.py
mirca/least-absolute-deviations
d6e8463e0bfd38000e4696c7048f5935df6b304e
[ "MIT" ]
4
2018-07-14T02:56:25.000Z
2019-10-12T10:12:30.000Z
python/lad/__init__.py
mirca/least-absolute-deviations
d6e8463e0bfd38000e4696c7048f5935df6b304e
[ "MIT" ]
5
2018-06-10T13:11:39.000Z
2019-03-19T16:14:59.000Z
python/lad/__init__.py
mirca/least-absolute-deviations
d6e8463e0bfd38000e4696c7048f5935df6b304e
[ "MIT" ]
2
2019-03-19T16:11:17.000Z
2019-07-01T08:46:53.000Z
from .lad import *
9.5
18
0.684211
3
19
4.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.210526
19
1
19
19
0.866667
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
1
0
0
6
1fabfde3dcb4978114209c6e7118f0a98e0d14ed
96
py
Python
network/__init__.py
WonderSeven/DSDA
88266ea5dd53d918ba3cd74c7d6bbf431a134e95
[ "MIT" ]
29
2020-04-15T09:24:56.000Z
2021-09-18T04:04:55.000Z
network/__init__.py
WonderSeven/DSDA
88266ea5dd53d918ba3cd74c7d6bbf431a134e95
[ "MIT" ]
null
null
null
network/__init__.py
WonderSeven/DSDA
88266ea5dd53d918ba3cd74c7d6bbf431a134e95
[ "MIT" ]
5
2020-04-14T05:49:16.000Z
2021-05-16T05:04:12.000Z
import sys sys.dont_write_bytecode = True import network.Embeddings import network.Classifiers
16
30
0.854167
13
96
6.153846
0.692308
0.325
0
0
0
0
0
0
0
0
0
0
0.104167
96
5
31
19.2
0.930233
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
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
1
0
0
6
1fc2ce5fab5bf03067fc3fe8a96e5a3323b34340
743
py
Python
Vigenere_Key_Approximator.py
abhatia25/Cryptography
852253616cb292af0225bb899ce508f8dbcda0da
[ "MIT" ]
null
null
null
Vigenere_Key_Approximator.py
abhatia25/Cryptography
852253616cb292af0225bb899ce508f8dbcda0da
[ "MIT" ]
null
null
null
Vigenere_Key_Approximator.py
abhatia25/Cryptography
852253616cb292af0225bb899ce508f8dbcda0da
[ "MIT" ]
null
null
null
from Tools import * ciphertext = 'FATDIATBATNRYISOURSZNRUGVFZFPJLOFATDIATBATNRYISOURKQTTPSSRZFPJFATDIATBATNRYIMEKALBFAKBGQTAUJOONWECJLEOEXUGTTRJGUOXFBWUEBCSHZXBFXYBOZWUBRXHDFQATXFHTTVJATNRDJSNWINJYAZFGCZUFAKBVPGCRIAVGDWVKDYUATNRFXOAFXRLEBCSTTTIDJLBAOFECWTTPSCSZUUCTTPSSRZRURSRBQCHCSHLZUULCWAHKQLOSXEXMMFPSESVULFAMNWKPSUWOBWKHWYNICNBKZRJGUUJTLCLDJNNNBFXURVHDLNBNGNRURPFCYVANBZNQFDQYBHHSEXZZSSKFEOODBTBEREGXZBMYBDJLBCLYAHZWQWMXZNJUQFAYANBFXURWQRXGGTDIAXZZUURSXXVDJQVEXFAIPSXKFBXIAVAFXDFSYFAWVCSTQTDIYFAOZSKTAATXZNTWMCLDJJPODCSVHNRGXKFZLZUSXAOFAYBGWVZDBNGOZFBIYHZIJSXAOXVBXZPNBXBICGYOGCFOZANLMWKZUELWKJLKAHPRJCJWITTLZCWYCROYACFSXKODBZUURCSPKUQVSSOQOJHTIKDKOSMTXMIFAKBZREOAHSXICTXYIGYYBXR' key = 0 key = KeyApproximator(ciphertext) print(key)
74.3
665
0.962315
12
743
59.583333
0.75
0
0
0
0
0
0
0
0
0
0
0.001379
0.024226
743
9
666
82.555556
0.984828
0
0
0
0
0
0.874832
0.874832
0
1
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
6
1fd3cde350c8de433a051680052a6394f3536c9d
2,216
py
Python
mvdnet/modeling/attention.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
51
2021-03-05T08:20:27.000Z
2022-03-30T03:16:19.000Z
mvdnet/modeling/attention.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
10
2021-04-04T09:07:44.000Z
2021-12-14T09:16:11.000Z
mvdnet/modeling/attention.py
qiank10/MVDNet
d83663df068183d1e606100adb0fc78c35f1141c
[ "Apache-2.0" ]
4
2021-03-08T01:49:33.000Z
2021-12-03T12:46:01.000Z
import torch from torch import nn from torch.nn import functional as F import fvcore.nn.weight_init as weight_init class SelfAttentionBlock(nn.Module): def __init__(self, in_channels): super(SelfAttentionBlock, self).__init__() self.g = nn.Linear(in_channels, in_channels // 8) self.theta = nn.Linear(in_channels, in_channels // 8) self.phi = nn.Linear(in_channels, in_channels // 8) self.W = nn.Linear(in_channels // 8, in_channels) for layer in [self.g, self.theta, self.phi, self.W]: weight_init.c2_xavier_fill(layer) def forward(self, x): batch_size = x.size(0) out_channels = x.size(1) g_x = self.g(x).view(batch_size, out_channels // 8, 1) theta_x = self.theta(x).view(batch_size, out_channels // 8, 1) theta_x = theta_x.permute(0, 2, 1) phi_x = self.phi(x).view(batch_size, out_channels // 8, 1) f = torch.matmul(phi_x, theta_x) f_div_C = F.softmax(f, dim=-1) y = torch.matmul(f_div_C, g_x) y = y.view(batch_size, out_channels // 8) W_y = self.W(y) z = W_y + x return z class CrossAttentionBlock(nn.Module): def __init__(self, in_channels): super(CrossAttentionBlock, self).__init__() self.g = nn.Linear(in_channels, in_channels // 8) self.theta = nn.Linear(in_channels, in_channels // 8) self.phi = nn.Linear(in_channels, in_channels // 8) self.W = nn.Linear(in_channels // 8, in_channels) for layer in [self.g, self.theta, self.phi, self.W]: weight_init.c2_xavier_fill(layer) def forward(self, x): batch_size = x[0].size(0) out_channels = x[0].size(1) g_x = self.g(x[0]).view(batch_size, out_channels // 8, 1) theta_x = self.theta(x[1]).view(batch_size, out_channels // 8, 1) theta_x = theta_x.permute(0, 2, 1) phi_x = self.phi(x[1]).view(batch_size, out_channels // 8, 1) f = torch.matmul(phi_x, theta_x) f_div_C = F.softmax(f, dim=-1) y = torch.matmul(f_div_C, g_x) y = y.view(batch_size, out_channels // 8) W_y = self.W(y) z = W_y + x[0] return z
34.625
73
0.606498
359
2,216
3.493036
0.133705
0.143541
0.063796
0.114833
0.8437
0.816587
0.816587
0.796651
0.742424
0.740829
0
0.025625
0.260379
2,216
64
74
34.625
0.739475
0
0
0.6
0
0
0
0
0
0
0
0
0
1
0.08
false
0
0.08
0
0.24
0
0
0
0
null
0
0
0
1
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
6
1ffb16ebfa7746ad601adb66338ffa761e43dae1
78
py
Python
deep_nilmtk/data/post_process/__init__.py
DBRTII/Deep-NILMtk
cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3
[ "MIT" ]
1
2022-03-18T08:56:18.000Z
2022-03-18T08:56:18.000Z
deep_nilmtk/data/post_process/__init__.py
DBRTII/Deep-NILMtk
cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3
[ "MIT" ]
null
null
null
deep_nilmtk/data/post_process/__init__.py
DBRTII/Deep-NILMtk
cf6c50ec9891c17f9c626e23c0e1b6f488fefcb3
[ "MIT" ]
null
null
null
from .aggregate import * from .denormalize import * from .postprocess import *
26
26
0.782051
9
78
6.777778
0.555556
0.327869
0
0
0
0
0
0
0
0
0
0
0.141026
78
3
27
26
0.910448
0
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
1
0
0
6