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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
733b8809d1ee3f520f93f3489ae1ea90a71422f4 | 438 | py | Python | chapter9/leds_led_shim.py | PacktPublishing/Learn-Robotics---Fundamentals-of-Robotics-Programming | 7f38c27c4459f3fd2cffff9c037784e6d7f2f5a2 | [
"MIT"
] | 33 | 2019-01-09T20:41:20.000Z | 2022-03-21T10:30:06.000Z | chapter9/leds_led_shim.py | PacktPublishing/Learn-Robotics---Fundamentals-of-Robotics-Programming | 7f38c27c4459f3fd2cffff9c037784e6d7f2f5a2 | [
"MIT"
] | 3 | 2020-06-13T21:05:06.000Z | 2021-09-01T19:18:19.000Z | chapter9/leds_led_shim.py | PacktPublishing/Learn-Robotics---Fundamentals-of-Robotics-Programming | 7f38c27c4459f3fd2cffff9c037784e6d7f2f5a2 | [
"MIT"
] | 9 | 2018-12-20T09:49:09.000Z | 2021-12-13T06:19:06.000Z | import ledshim
class Leds(object):
def __init__(self):
self.count = 24
def set_one(self, led_number, color):
ledshim.set_pixel(led_number, *color)
def set_range(self, a_range, color):
ledshim.set_multiple_pixels(a_range, color)
def set_all(self, color):
ledshim.set_all(*color)
def clear(self):
ledshim.clear()
def show(self):
ledshim.show() | 21.9 | 52 | 0.60274 | 57 | 438 | 4.368421 | 0.403509 | 0.072289 | 0.180723 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006431 | 0.289954 | 438 | 20 | 53 | 21.9 | 0.794212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.071429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
734d54424f9e36b12a07dbc1a3db00ec241a9f0f | 12,047 | py | Python | tests/test_rfc3114.py | pysnmp/pyasn1-modules | 93f5699988fbb090be13aaa339498c128ba7dedb | [
"BSD-2-Clause"
] | null | null | null | tests/test_rfc3114.py | pysnmp/pyasn1-modules | 93f5699988fbb090be13aaa339498c128ba7dedb | [
"BSD-2-Clause"
] | null | null | null | tests/test_rfc3114.py | pysnmp/pyasn1-modules | 93f5699988fbb090be13aaa339498c128ba7dedb | [
"BSD-2-Clause"
] | null | null | null | #
# This file is part of pyasn1-modules software.
#
# Created by Russ Housley
# Copyright (c) 2019, Vigil Security, LLC
# License: http://snmplabs.com/pyasn1/license.html
#
import sys
import unittest
from pyasn1.codec.der.decoder import decode as der_decoder
from pyasn1.codec.der.encoder import encode as der_encoder
from pyasn1_modules import pem, rfc3114, rfc5035, rfc5083, rfc5280, rfc5652, rfc5755
class SecurityLabelTestCase(unittest.TestCase):
pem_text = """\
MIITHAYJKoZIhvcNAQcCoIITDTCCEwkCAQMxDTALBglghkgBZQMEAgIwggeUBgsq
hkiG9w0BCRABF6CCB4MEggd/MIIHewIBADGCAk8wggJLAgEAMDMwJjEUMBIGA1UE
CgwLZXhhbXBsZS5jb20xDjAMBgNVBAMMBUFsaWNlAgkAg/ULtwvVxA4wDQYJKoZI
hvcNAQEBBQAEggIAdZphtN3x8a8kZoAFY15HYRD6JyPBueRUhLbTPoOH3pZ9xeDK
+zVXGlahl1y1UOe+McEx2oD7cxAkhFuruNZMrCYEBCTZMwVhyEOZlBXdZEs8rZUH
L3FFE5PJnygsSIO9DMxd1UuTFGTgCm5V5ZLFGmjeEGJRbsfTyo52S7iseJqIN3dl
743DbApu0+yuUoXKxqKdUFlEVxmhvc+Qbg/zfiwu8PTsYiUQDMBi4cdIlju8iLjj
389xQHNyndXHWD51is89GG8vpBe+IsN8mnbGtCcpqtJ/c65ErJhHTR7rSJSMEqQD
0LPOCKIY1q9FaSSJfMXJZk9t/rPxgUEVjfw7hAkKpgOAqoZRN+FpnFyBl0FnnXo8
kLp55tfVyNibtUpmdCPkOwt9b3jAtKtnvDQ2YqY1/llfEUnFOVDKwuC6MYwifm92
qNlAQA/T0+ocjs6gA9zOLx+wD1zqM13hMD/L+T2OHL/WgvGb62JLrNHXuPWA8RSh
O4kIlPtARKXap2S3+MX/kpSUUrNa65Y5uK1jwFFclczG+CPCIBBn6iJiQT/vOX1I
97YUP4Qq6OGkjK064Bq6o8+e5+NmIOBcygYRv6wA7vGkmPLSWbnw99qD728bBh84
fC3EjItdusqGIwjzL0eSUWXJ5eu0Z3mYhJGN1pe0R/TEB5ibiJsMLpWAr3gwggUP
BgkqhkiG9w0BBwEwHgYJYIZIAWUDBAEGMBEEDE2HVyIurFKUEX8MEgIBEICCBOD+
L7PeC/BpmMOb9KlS+r+LD+49fi6FGBrs8aieGi7ezZQEiFYS38aYQzTYYCt3SbJQ
TkX1fDsGZiaw/HRiNh7sJnxWATm+XNKGoq+Wls9RhSJ45Sw4GMqwpoxZjeT84Uoz
OITk3l3fV+3XiGcCejHkp8DAKZFExd5rrjlpnnAOBX6w8NrXO4s2n0LrMhtBU4eB
2YKhGgs5Q6wQyXtU7rc7OOwTGvxWEONzSHJ01pyvqVQZAohsZPaWLULrM/kEGkrh
G4jcaVjVPfULi7Uqo14imYhdCq5Ba4bwqI0Ot6mB27KD6LlOnVC/YmXCNIoYoWmq
y1o3pSm9ovnLEO/dzxQjEJXYeWRje9M/sTxotM/5oZBpYMHqIwHTJbehXFgp8+oD
jyTfayMYA3fTcTH3XbGPQfnYW2U9+ka/JhcSYybM8cuDNFd1I1LIQXoJRITXtkvP
UbJqm+s6DtS5yvG9I8aQxlT365zphS4vbQaO74ujO8bE3dynrvTTV0c318TcHpN3
DY9PIt6mHXMIPDLEA4wes90zg6iah5XiQcLtfLaAdYwEEGlImGD8n0kOhSNgclSL
Mklpj5mVOs8exli3qoXlVMRJcBptSwOe0QPcRY30spywS4zt1UDIQ0jaecGGVtUY
j586nkubhAxwZkuQKWxgt6yYTpGNSKCdvd+ygfyGJRDbWdn6nck/EPnG1773KTHR
hMrXrBPBpSlfyJ/ju3644CCFqCjFoTh4bmB63k9ejUEVkJIJuoeKeTBaUxbCIink
K4htBkgchHP51RJp4q9jQbziD3aOhg13hO1GFQ4E/1DNIJxbEnURNp/ga8SqmnLY
8f5Pzwhm1mSzZf+obowbQ+epISrswWyjUKKO+uJfrAVN2TS/5+X6T3U6pBWWjH6+
xDngrAJwtIdKBo0iSEwJ2eir4X8TcrSy9l8RSOiTPtqS5dF3RWSWOzkcO72fHCf/
42+DLgUVX8Oe5mUvp7QYiXXsXGezLJ8hPIrGuOEypafDv3TwFkBc2MIB0QUhk+GG
1ENY3jiNcyEbovF5Lzz+ubvechHSb1arBuEczJzN4riM2Dc3c+r8N/2Ft6eivK7H
UuYX1uAcArhunZpA8yBGLF1m+DUXFtzWAUvfMKYPdfwGMckghF7YwLrTXd8ZhPIk
HNO1KdwQKIRfgIlUPfTxRB7eNrG/Ma9a/IwrcI1QtkXU59uIZIw+7+FHZRWPsOjT
u1Pdy+JtcSTG4dmS+DIwqpUzdu6MaBCVaOhXHwybvaSPTfMG/nR/NxF1FI8xgydn
zXZs8HtFDL9iytKnvXHx+IIz8Rahp/PK8S80vPQNIeef/JgnIhtosID/A614LW1t
B4cWdveYlD5U8T/XXInAtCY78Q9WJD+ecu87OJmlOdmjrFvitpQAo8+NGWxc7Wl7
LtgDuYel7oXFCVtI2npbA7R+K5/kzUvDCY6GTgzn1Gfamc1/Op6Ue17qd/emvhbI
x+ng3swf8TJVnCNDIXucKVA4boXSlCEhCGzfoZZYGVvm1/hrypiBtpUIKWTxLnz4
AQJdZ5LGiCQJQU1wMyHsg6vWmNaJVhGHE6D/EnKsvJptFIkAx0wWkh35s48p7EbU
8QBg//5eNru6yvLRutfdBX7T4w681pCD+dOiom75C3UdahrfoFkNsZ2hB88+qNsE
EPb/xuGu8ZzSPZhakhl2NS2ggglpMIICAjCCAYigAwIBAgIJAOiR1gaRT87yMAoG
CCqGSM49BAMDMD8xCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJWQTEQMA4GA1UEBwwH
SGVybmRvbjERMA8GA1UECgwIQm9ndXMgQ0EwHhcNMTkwNTE0MDg1ODExWhcNMjEw
NTEzMDg1ODExWjA/MQswCQYDVQQGEwJVUzELMAkGA1UECAwCVkExEDAOBgNVBAcM
B0hlcm5kb24xETAPBgNVBAoMCEJvZ3VzIENBMHYwEAYHKoZIzj0CAQYFK4EEACID
YgAE8FF2VLHojmqlnawpQwjG6fWBQDPOy05hYq8oKcyg1PXH6kgoO8wQyKYVwsDH
Evc1Vg6ErQm3LzdI8OQpYx3H386R2F/dT/PEmUSdcOIWsB4zrFsbzNwJGIGeZ33Z
S+xGo1AwTjAdBgNVHQ4EFgQU8jXbNATapVXyvWkDmbBi7OIVCMEwHwYDVR0jBBgw
FoAU8jXbNATapVXyvWkDmbBi7OIVCMEwDAYDVR0TBAUwAwEB/zAKBggqhkjOPQQD
AwNoADBlAjBaUY2Nv03KolLNRJ2wSoNK8xlvzIWTFgIhsBWpD1SpJxRRv22kkoaw
9bBtmyctW+YCMQC3/KmjNtSFDDh1I+lbOufkFDSQpsMzcNAlwEAERQGgg6iXX+Nh
A+bFqNC7FyF4WWQwggOHMIIDDqADAgECAgkApbNUKBuwbkYwCgYIKoZIzj0EAwMw
PzELMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlZBMRAwDgYDVQQHDAdIZXJuZG9uMREw
DwYDVQQKDAhCb2d1cyBDQTAeFw0xOTExMDIxODQyMThaFw0yMDExMDExODQyMTha
MGYxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJWQTEQMA4GA1UEBxMHSGVybmRvbjEQ
MA4GA1UEChMHRXhhbXBsZTEMMAoGA1UECxMDUENBMRgwFgYDVQQDEw9wY2EuZXhh
bXBsZS5jb20wdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQ9/m9uACpsTl2frBuILHiw
IJyfUEpKseYJ+JYL1AtIZU0YeJ9DA+32h0ZeNGJDtDClnbBEPpn3W/5+TzldcsTe
QlAJB08gcVRjkQym9LtPq7rGubCeVWlRRE9M7F9znk6jggGtMIIBqTAdBgNVHQ4E
FgQUJuolDwsyICik11oKjf8t3L1/VGUwbwYDVR0jBGgwZoAU8jXbNATapVXyvWkD
mbBi7OIVCMGhQ6RBMD8xCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJWQTEQMA4GA1UE
BwwHSGVybmRvbjERMA8GA1UECgwIQm9ndXMgQ0GCCQDokdYGkU/O8jAPBgNVHRMB
Af8EBTADAQH/MAsGA1UdDwQEAwIBhjBCBglghkgBhvhCAQ0ENRYzVGhpcyBjZXJ0
aWZpY2F0ZSBjYW5ub3QgYmUgdHJ1c3RlZCBmb3IgYW55IHB1cnBvc2UuMBUGA1Ud
IAQOMAwwCgYIKwYBBQUHDQIwCgYDVR02BAMCAQIwgZEGCCsGAQUFBwEVBIGEMIGB
MFkGCyqGSIb3DQEJEAcDAwIF4DFGMESACyqGSIb3DQEJEAcEgTUwMwwXTEFXIERF
UEFSVE1FTlQgVVNFIE9OTFkMGEhVTUFOIFJFU09VUkNFUyBVU0UgT05MWTARBgsq
hkiG9w0BCRAHAgMCBPAwEQYLKoZIhvcNAQkQBwEDAgXgMAoGCCqGSM49BAMDA2cA
MGQCMBlIP4FWrNzWXR8OgfcvCLGPG+110EdsmwznIF6ThT1vbJYvYoSbBXTZ9OCh
/cCMMQIwJOySybHl/eLkNJh971DWF4mUQkt3WGBmZ+9Rg2cJTdat2ZjPKg101NuD
tkUyjGxfMIID1DCCA1qgAwIBAgIUUc1IQGJpeYQ0XwOS2ZmVEb3aeZ0wCgYIKoZI
zj0EAwMwZjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAlZBMRAwDgYDVQQHEwdIZXJu
ZG9uMRAwDgYDVQQKEwdFeGFtcGxlMQwwCgYDVQQLEwNQQ0ExGDAWBgNVBAMTD3Bj
YS5leGFtcGxlLmNvbTAeFw0xOTExMDUyMjIwNDZaFw0yMDExMDQyMjIwNDZaMIGS
MQswCQYDVQQGEwJVUzELMAkGA1UECBMCVkExEDAOBgNVBAcTB0hlcm5kb24xEDAO
BgNVBAoTB0V4YW1wbGUxIjAgBgNVBAsTGUh1bWFuIFJlc291cmNlIERlcGFydG1l
bnQxDTALBgNVBAMTBEZyZWQxHzAdBgkqhkiG9w0BCQEWEGZyZWRAZXhhbXBsZS5j
b20wdjAQBgcqhkjOPQIBBgUrgQQAIgNiAAQObFslQ2EBP0xlDJ3sRnsNaqm/woQg
KpBispSxXxK5bWUVpfnWsZnjLWhtDuPcu1BcBlM2g7gwL/aw8nUSIK3D8Ja9rTUQ
QXc3zxnkcl8+8znNXHMGByRjPUH87C+TOrqjggGaMIIBljAdBgNVHQ4EFgQU5m71
1OqFDNGRSWMOSzTXjpTLIFUwbwYDVR0jBGgwZoAUJuolDwsyICik11oKjf8t3L1/
VGWhQ6RBMD8xCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJWQTEQMA4GA1UEBwwHSGVy
bmRvbjERMA8GA1UECgwIQm9ndXMgQ0GCCQCls1QoG7BuRjAPBgNVHRMBAf8EBTAD
AQH/MAsGA1UdDwQEAwIBhjBCBglghkgBhvhCAQ0ENRYzVGhpcyBjZXJ0aWZpY2F0
ZSBjYW5ub3QgYmUgdHJ1c3RlZCBmb3IgYW55IHB1cnBvc2UuMBUGA1UdIAQOMAww
CgYIKwYBBQUHDQIwCgYDVR02BAMCAQIwfwYDVR0JBHgwdjBJBgNVBDcxQjBABgsq
hkiG9w0BCRAHAwMCBeAxLTArgAsqhkiG9w0BCRAHBIEcMBoMGEhVTUFOIFJFU09V
UkNFUyBVU0UgT05MWTApBglghkgBZQIBBUQxHAwaSHVtYW4gUmVzb3VyY2VzIERl
cGFydG1lbnQwCgYIKoZIzj0EAwMDaAAwZQIwVh/RypULFgPpAN0I7OvuMomRWnm/
Hea3Hk8PtTRz2Zai8iYat7oeAmGVgMhSXy2jAjEAuJW4l/CFatBy4W/lZ7gS3weB
dBa5WEDIFFMC7GjGtCeLtXYqWfBnRdK26dOaHLB2MYIB7jCCAeoCAQEwfjBmMQsw
CQYDVQQGEwJVUzELMAkGA1UECBMCVkExEDAOBgNVBAcTB0hlcm5kb24xEDAOBgNV
BAoTB0V4YW1wbGUxDDAKBgNVBAsTA1BDQTEYMBYGA1UEAxMPcGNhLmV4YW1wbGUu
Y29tAhRRzUhAYml5hDRfA5LZmZURvdp5nTALBglghkgBZQMEAgKggeIwGgYJKoZI
hvcNAQkDMQ0GCyqGSIb3DQEJEAEXMBwGCSqGSIb3DQEJBTEPFw0xOTExMDgyMDA4
MzFaMD8GCSqGSIb3DQEJBDEyBDCd5WyvIB0VdXgPBWPtI152MIJLg5o68IRimCXx
bVY0j3YyAKbi0egiZ/UunkyCfv0wZQYLKoZIhvcNAQkQAgIxVjFUAgEIBgsqhkiG
9w0BCRAHAzEtMCuACyqGSIb3DQEJEAcEgRwwGgwYSFVNQU4gUkVTT1VSQ0VTIFVT
RSBPTkxZExNCb2FndXMgUHJpdmFjeSBNYXJrMAoGCCqGSM49BAMDBGcwZQIwWkD7
03QoNrKL5HJnuGJqvML1KlUXZDHnFpnJ+QMzXi8gocyfpRXWm6h0NjXieE0XAjEA
uuDSOoaUIz+G9aemAE0ldpo1c0avNGa7BtynUTHmwosD6Sjfj0epAg9OnMedOjbr
"""
def testDerCodec(self):
layers = {}
layers.update(rfc5652.cmsContentTypesMap)
getNextLayer = {
rfc5652.id_ct_contentInfo: lambda x: x["contentType"],
rfc5652.id_signedData: lambda x: x["encapContentInfo"]["eContentType"],
rfc5083.id_ct_authEnvelopedData: lambda x: None,
}
getNextSubstrate = {
rfc5652.id_ct_contentInfo: lambda x: x["content"],
rfc5652.id_signedData: lambda x: x["encapContentInfo"]["eContent"],
rfc5083.id_ct_authEnvelopedData: lambda x: None,
}
substrate = pem.readBase64fromText(self.pem_text)
next_layer = rfc5652.id_ct_contentInfo
while next_layer:
asn1Object, rest = der_decoder(substrate, asn1Spec=layers[next_layer])
self.assertFalse(rest)
self.assertTrue(asn1Object.prettyPrint())
self.assertEqual(substrate, der_encoder(asn1Object))
if next_layer == rfc5652.id_signedData:
attrs = asn1Object["signerInfos"][0]["signedAttrs"]
certs = asn1Object["certificates"]
substrate = getNextSubstrate[next_layer](asn1Object)
next_layer = getNextLayer[next_layer](asn1Object)
spid = rfc3114.id_tsp_TEST_Whirlpool
catid = rfc3114.id_tsp_TEST_Whirlpool_Categories
conf = rfc3114.Whirlpool_SecurityClassification(value="whirlpool-confidential")
self.assertIn(catid, rfc5755.securityCategoryMap)
self.assertIn(rfc5755.id_at_clearance, rfc5280.certificateAttributesMap)
self.assertIn(
rfc5280.id_ce_subjectDirectoryAttributes, rfc5280.certificateExtensionsMap
)
security_label_okay = False
for attr in attrs:
if attr["attrType"] == rfc5035.id_aa_securityLabel:
esssl, rest = der_decoder(
attr["attrValues"][0], asn1Spec=rfc5035.ESSSecurityLabel()
)
self.assertFalse(rest)
self.assertTrue(esssl.prettyPrint())
self.assertEqual(attr["attrValues"][0], der_encoder(esssl))
self.assertEqual(spid, esssl["security-policy-identifier"])
self.assertEqual(conf, esssl["security-classification"])
for cat in esssl["security-categories"]:
if cat["type"] == catid:
scv, rest = der_decoder(
cat["value"], asn1Spec=rfc3114.SecurityCategoryValues()
)
self.assertFalse(rest)
self.assertTrue(scv.prettyPrint())
self.assertEqual(cat["value"], der_encoder(scv))
for scv_str in scv:
self.assertIn("USE ONLY", scv_str)
security_label_okay = True
self.assertTrue(security_label_okay)
clearance_okay = False
for cert_choice in certs:
for extn in cert_choice["certificate"]["tbsCertificate"]["extensions"]:
if extn["extnID"] == rfc5280.id_ce_subjectDirectoryAttributes:
ev, rest = der_decoder(
extn["extnValue"],
asn1Spec=rfc5280.certificateExtensionsMap[extn["extnID"]],
)
self.assertFalse(rest)
self.assertTrue(ev.prettyPrint())
self.assertEqual(extn["extnValue"], der_encoder(ev))
for attr in ev:
if attr["type"] == rfc5755.id_at_clearance:
av, rest = der_decoder(
attr["values"][0],
asn1Spec=rfc5280.certificateAttributesMap[attr["type"]],
)
self.assertEqual(spid, av["policyId"])
for cat in av["securityCategories"]:
self.assertEqual(catid, cat["type"])
scv, rest = der_decoder(
cat["value"],
asn1Spec=rfc5755.securityCategoryMap[cat["type"]],
)
self.assertFalse(rest)
self.assertTrue(scv.prettyPrint())
self.assertEqual(cat["value"], der_encoder(scv))
for scv_str in scv:
self.assertIn("USE ONLY", scv_str)
clearance_okay = True
self.assertTrue(clearance_okay)
suite = unittest.TestLoader().loadTestsFromModule(sys.modules[__name__])
if __name__ == "__main__":
result = unittest.TextTestRunner(verbosity=2).run(suite)
sys.exit(not result.wasSuccessful())
| 48.971545 | 88 | 0.782684 | 699 | 12,047 | 13.373391 | 0.525036 | 0.014442 | 0.008986 | 0.012302 | 0.073064 | 0.057125 | 0.057125 | 0.026102 | 0.026102 | 0.026102 | 0 | 0.08649 | 0.16502 | 12,047 | 245 | 89 | 49.171429 | 0.842827 | 0.013115 | 0 | 0.084577 | 0 | 0 | 0.590439 | 0.555425 | 0 | 1 | 0 | 0 | 0.129353 | 1 | 0.004975 | false | 0 | 0.024876 | 0 | 0.039801 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7df9703e62e73095285d835812fb9b4f54675d35 | 294 | py | Python | latte/monkey_patches/frappe/permissions.py | sunnyakaxd/latte | de74065122a1f858bd75f8e1a36fca3b23981f4c | [
"MIT"
] | null | null | null | latte/monkey_patches/frappe/permissions.py | sunnyakaxd/latte | de74065122a1f858bd75f8e1a36fca3b23981f4c | [
"MIT"
] | null | null | null | latte/monkey_patches/frappe/permissions.py | sunnyakaxd/latte | de74065122a1f858bd75f8e1a36fca3b23981f4c | [
"MIT"
] | null | null | null | from frappe import permissions, _dict
from frappe.permissions import rights
def allow_everything():
'''
returns a dict with access to everything
eg. {"read": 1, "write": 1, ...}
'''
perm = _dict({ptype: 1 for ptype in rights})
return perm
permissions.allow_everything = allow_everything | 24.5 | 47 | 0.731293 | 40 | 294 | 5.25 | 0.575 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012097 | 0.156463 | 294 | 12 | 47 | 24.5 | 0.834677 | 0.248299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7dfa60c2a5c32b3dc7e103207506c0cf780088d6 | 445,697 | py | Python | steam/protobufs/steammessages_clientserver_2_pb2.py | XronoZ-create/steam | 3330d37cc2670faaaaf4d3e14c7c2b20712f0853 | [
"MIT"
] | 1 | 2022-01-11T20:35:05.000Z | 2022-01-11T20:35:05.000Z | steam/protobufs/steammessages_clientserver_2_pb2.py | XronoZ-create/steam | 3330d37cc2670faaaaf4d3e14c7c2b20712f0853 | [
"MIT"
] | null | null | null | steam/protobufs/steammessages_clientserver_2_pb2.py | XronoZ-create/steam | 3330d37cc2670faaaaf4d3e14c7c2b20712f0853 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: steammessages_clientserver_2.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
import steam.protobufs.steammessages_base_pb2 as steammessages__base__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='steammessages_clientserver_2.proto',
package='',
syntax='proto2',
serialized_options=_b('H\001\220\001\000'),
serialized_pb=_b('\n\"steammessages_clientserver_2.proto\x1a\x18steammessages_base.proto\"\x81\x03\n\x1a\x43MsgClientUCMAddScreenshot\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x10\n\x08\x66ilename\x18\x02 \x01(\t\x12\x11\n\tthumbname\x18\x03 \x01(\t\x12\x13\n\x0bvr_filename\x18\x0e \x01(\t\x12\x17\n\x0frtime32_created\x18\x04 \x01(\x07\x12\r\n\x05width\x18\x05 \x01(\r\x12\x0e\n\x06height\x18\x06 \x01(\r\x12\x13\n\x0bpermissions\x18\x07 \x01(\r\x12\x0f\n\x07\x63\x61ption\x18\x08 \x01(\t\x12\x15\n\rshortcut_name\x18\t \x01(\t\x12,\n\x03tag\x18\n \x03(\x0b\x32\x1f.CMsgClientUCMAddScreenshot.Tag\x12\x16\n\x0etagged_steamid\x18\x0b \x03(\x06\x12\x13\n\x0bspoiler_tag\x18\x0c \x01(\x08\x12\x1e\n\x16tagged_publishedfileid\x18\r \x03(\x04\x1a*\n\x03Tag\x12\x10\n\x08tag_name\x18\x01 \x01(\t\x12\x11\n\ttag_value\x18\x02 \x01(\t\"d\n\"CMsgClientUCMAddScreenshotResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12*\n\x0cscreenshotid\x18\x02 \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\"K\n\x1d\x43MsgClientUCMDeleteScreenshot\x12*\n\x0cscreenshotid\x18\x01 \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\";\n%CMsgClientUCMDeleteScreenshotResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\"\xd1\x02\n\x18\x43MsgClientUCMPublishFile\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x19\n\x11preview_file_name\x18\x03 \x01(\t\x12\x17\n\x0f\x63onsumer_app_id\x18\x04 \x01(\r\x12\r\n\x05title\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0c\n\x04tags\x18\x08 \x03(\t\x12\x15\n\rworkshop_file\x18\t \x01(\x08\x12\x12\n\nvisibility\x18\n \x01(\x05\x12\x11\n\tfile_type\x18\x0b \x01(\r\x12\x0b\n\x03url\x18\x0c \x01(\t\x12\x16\n\x0evideo_provider\x18\r \x01(\r\x12\x1a\n\x12video_account_name\x18\x0e \x01(\t\x12\x18\n\x10video_identifier\x18\x0f \x01(\t\x12\x13\n\x0bin_progress\x18\x10 \x01(\x08\"\xa1\x01\n CMsgClientUCMPublishFileResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12/\n\x11published_file_id\x18\x02 \x01(\x06:\x14\x31\x38\x34\x34\x36\x37\x34\x34\x30\x37\x33\x37\x30\x39\x35\x35\x31\x36\x31\x35\x12\x38\n)needs_workshop_legal_agreement_acceptance\x18\x03 \x01(\x08:\x05\x66\x61lse\"\xb7\x07\n CMsgClientUCMUpdatePublishedFile\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x19\n\x11published_file_id\x18\x02 \x01(\x06\x12\x11\n\tfile_name\x18\x03 \x01(\t\x12\x19\n\x11preview_file_name\x18\x04 \x01(\t\x12\r\n\x05title\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x0c\n\x04tags\x18\x07 \x03(\t\x12\x12\n\nvisibility\x18\x08 \x01(\x05\x12\x13\n\x0bupdate_file\x18\t \x01(\x08\x12\x1b\n\x13update_preview_file\x18\n \x01(\x08\x12\x14\n\x0cupdate_title\x18\x0b \x01(\x08\x12\x1a\n\x12update_description\x18\x0c \x01(\x08\x12\x13\n\x0bupdate_tags\x18\r \x01(\x08\x12\x19\n\x11update_visibility\x18\x0e \x01(\x08\x12\x1a\n\x12\x63hange_description\x18\x0f \x01(\t\x12\x12\n\nupdate_url\x18\x10 \x01(\x08\x12\x0b\n\x03url\x18\x11 \x01(\t\x12\x1f\n\x17update_content_manifest\x18\x12 \x01(\x08\x12\x18\n\x10\x63ontent_manifest\x18\x13 \x01(\x06\x12\x10\n\x08metadata\x18\x14 \x01(\t\x12\x17\n\x0fupdate_metadata\x18\x15 \x01(\x08\x12\x13\n\x08language\x18\x16 \x01(\x05:\x01\x30\x12\x16\n\x0eremoved_kvtags\x18\x17 \x03(\t\x12=\n\x06kvtags\x18\x18 \x03(\x0b\x32-.CMsgClientUCMUpdatePublishedFile.KeyValueTag\x12\x45\n\x08previews\x18\x19 \x03(\x0b\x32\x33.CMsgClientUCMUpdatePublishedFile.AdditionalPreview\x12\x1a\n\x12previews_to_remove\x18\x1a \x03(\x05\x12\x19\n\x11\x63lear_in_progress\x18\x1b \x01(\x08\x12\x19\n\x11remove_all_kvtags\x18\x1c \x01(\x08\x1a)\n\x0bKeyValueTag\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x1a\x8c\x01\n\x11\x41\x64\x64itionalPreview\x12\x1a\n\x12original_file_name\x18\x01 \x01(\t\x12\x1a\n\x12internal_file_name\x18\x02 \x01(\t\x12\x0f\n\x07videoid\x18\x03 \x01(\t\x12\x14\n\x0cpreview_type\x18\x04 \x01(\r\x12\x18\n\x0cupdate_index\x18\x05 \x01(\x05:\x02-1\"x\n(CMsgClientUCMUpdatePublishedFileResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x38\n)needs_workshop_legal_agreement_acceptance\x18\x02 \x01(\x08:\x05\x66\x61lse\"M\n CMsgClientUCMDeletePublishedFile\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\r\">\n(CMsgClientUCMDeletePublishedFileResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\"c\n(CMsgClientUCMEnumerateUserPublishedFiles\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x13\n\x0bstart_index\x18\x02 \x01(\r\x12\x12\n\nsort_order\x18\x03 \x01(\r\"\xe7\x01\n0CMsgClientUCMEnumerateUserPublishedFilesResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12Z\n\x0fpublished_files\x18\x02 \x03(\x0b\x32\x41.CMsgClientUCMEnumerateUserPublishedFilesResponse.PublishedFileId\x12\x15\n\rtotal_results\x18\x03 \x01(\r\x1a,\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\"\x98\x01\n)CMsgClientUCMEnumerateUserSubscribedFiles\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x13\n\x0bstart_index\x18\x02 \x01(\r\x12\x14\n\tlist_type\x18\x03 \x01(\r:\x01\x31\x12\x1d\n\x12matching_file_type\x18\x04 \x01(\r:\x01\x30\x12\x11\n\x05\x63ount\x18\x05 \x01(\r:\x02\x35\x30\"\x89\x02\n1CMsgClientUCMEnumerateUserSubscribedFilesResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\\\n\x10subscribed_files\x18\x02 \x03(\x0b\x32\x42.CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId\x12\x15\n\rtotal_results\x18\x03 \x01(\r\x1aK\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x1d\n\x12rtime32_subscribed\x18\x02 \x01(\x07:\x01\x30\"\x8c\x01\n4CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x13\n\x0bstart_index\x18\x02 \x01(\r\x12\x12\n\nstart_time\x18\x03 \x01(\x07\x12\x1b\n\x10\x64\x65sired_revision\x18\x04 \x01(\r:\x01\x30\"\x91\x03\n<CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12g\n\x10subscribed_files\x18\x02 \x03(\x0b\x32M.CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId\x12\x15\n\rtotal_results\x18\x03 \x01(\r\x1a\xbc\x01\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x1d\n\x12rtime32_subscribed\x18\x02 \x01(\x07:\x01\x30\x12\r\n\x05\x61ppid\x18\x03 \x01(\r\x12\x15\n\rfile_hcontent\x18\x04 \x01(\x06\x12\x11\n\tfile_size\x18\x05 \x01(\r\x12\x1c\n\x14rtime32_last_updated\x18\x06 \x01(\x07\x12\x18\n\x10is_depot_content\x18\x07 \x01(\x08\"\xb5\x01\n!CMsgClientUCMPublishedFileUpdated\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\r\x12\x14\n\x0ctime_updated\x18\x03 \x01(\r\x12\x10\n\x08hcontent\x18\x04 \x01(\x06\x12\x11\n\tfile_size\x18\x05 \x01(\x07\x12\x18\n\x10is_depot_content\x18\x06 \x01(\x08\x12\x10\n\x08revision\x18\x07 \x01(\r\"k\n$CMsgClientWorkshopItemChangesRequest\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x19\n\x11last_time_updated\x18\x02 \x01(\r\x12\x18\n\x10num_items_needed\x18\x03 \x01(\r\"\xfb\x01\n%CMsgClientWorkshopItemChangesResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x13\n\x0bupdate_time\x18\x02 \x01(\r\x12O\n\x0eworkshop_items\x18\x05 \x03(\x0b\x32\x37.CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo\x1aX\n\x10WorkshopItemInfo\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x14\n\x0ctime_updated\x18\x02 \x01(\r\x12\x13\n\x0bmanifest_id\x18\x03 \x01(\x06\"\xd8\x01\n!CMsgClientWorkshopItemInfoRequest\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x19\n\x11last_time_updated\x18\x02 \x01(\r\x12G\n\x0eworkshop_items\x18\x03 \x03(\x0b\x32/.CMsgClientWorkshopItemInfoRequest.WorkshopItem\x1a?\n\x0cWorkshopItem\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x14\n\x0ctime_updated\x18\x02 \x01(\r\"\x9f\x02\n\"CMsgClientWorkshopItemInfoResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x13\n\x0bupdate_time\x18\x02 \x01(\r\x12L\n\x0eworkshop_items\x18\x03 \x03(\x0b\x32\x34.CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo\x12\x15\n\rprivate_items\x18\x04 \x03(\x06\x1ak\n\x10WorkshopItemInfo\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x14\n\x0ctime_updated\x18\x02 \x01(\r\x12\x13\n\x0bmanifest_id\x18\x03 \x01(\x06\x12\x11\n\tis_legacy\x18\x04 \x01(\x08\"\x94\x01\n%CMsgClientUCMGetPublishedFilesForUser\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x18\n\x10\x63reator_steam_id\x18\x02 \x01(\x06\x12\x15\n\rrequired_tags\x18\x03 \x03(\t\x12\x15\n\rexcluded_tags\x18\x04 \x03(\t\x12\x13\n\x0bstart_index\x18\x05 \x01(\r\"\xe1\x01\n-CMsgClientUCMGetPublishedFilesForUserResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12W\n\x0fpublished_files\x18\x02 \x03(\x0b\x32>.CMsgClientUCMGetPublishedFilesForUserResponse.PublishedFileId\x12\x15\n\rtotal_results\x18\x03 \x01(\r\x1a,\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\"d\n\'CMsgClientUCMSetUserPublishedFileAction\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\r\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\x05\"E\n/CMsgClientUCMSetUserPublishedFileActionResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\"g\n0CMsgClientUCMEnumeratePublishedFilesByUserAction\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x13\n\x0bstart_index\x18\x02 \x01(\r\x12\x0e\n\x06\x61\x63tion\x18\x03 \x01(\x05\"\x94\x02\n8CMsgClientUCMEnumeratePublishedFilesByUserActionResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x62\n\x0fpublished_files\x18\x02 \x03(\x0b\x32I.CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.PublishedFileId\x12\x15\n\rtotal_results\x18\x03 \x01(\r\x1aI\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x1b\n\x10rtime_time_stamp\x18\x02 \x01(\x07:\x01\x30\"\x1e\n\x1c\x43MsgClientScreenshotsChanged\"w\n\x1c\x43MsgClientUpdateUserGameInfo\x12\x14\n\x0csteamid_idgs\x18\x01 \x01(\x06\x12\x0e\n\x06gameid\x18\x02 \x01(\x06\x12\x0f\n\x07game_ip\x18\x03 \x01(\r\x12\x11\n\tgame_port\x18\x04 \x01(\r\x12\r\n\x05token\x18\x05 \x01(\x0c\"S\n\x1c\x43MsgClientRichPresenceUpload\x12\x18\n\x10rich_presence_kv\x18\x01 \x01(\x0c\x12\x19\n\x11steamid_broadcast\x18\x02 \x03(\x06\"8\n\x1d\x43MsgClientRichPresenceRequest\x12\x17\n\x0fsteamid_request\x18\x01 \x03(\x06\"\x9d\x01\n\x1a\x43MsgClientRichPresenceInfo\x12?\n\rrich_presence\x18\x01 \x03(\x0b\x32(.CMsgClientRichPresenceInfo.RichPresence\x1a>\n\x0cRichPresence\x12\x14\n\x0csteamid_user\x18\x01 \x01(\x06\x12\x18\n\x10rich_presence_kv\x18\x02 \x01(\x0c\".\n\x1c\x43MsgClientCheckFileSignature\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\"\xf7\x01\n$CMsgClientCheckFileSignatureResponse\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x0b\n\x03pid\x18\x02 \x01(\r\x12\x0f\n\x07\x65result\x18\x03 \x01(\r\x12\x10\n\x08\x66ilename\x18\x04 \x01(\t\x12\x18\n\x10\x65signatureresult\x18\x05 \x01(\r\x12\x10\n\x08sha_file\x18\x06 \x01(\x0c\x12\x17\n\x0fsignatureheader\x18\x07 \x01(\x0c\x12\x10\n\x08\x66ilesize\x18\x08 \x01(\r\x12\x14\n\x0cgetlasterror\x18\t \x01(\r\x12\"\n\x1a\x65valvesignaturecheckdetail\x18\n \x01(\r\"P\n\x19\x43MsgClientReadMachineAuth\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\r\x12\x11\n\tcubtoread\x18\x03 \x01(\r\"\xce\x01\n!CMsgClientReadMachineAuthResponse\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x0f\n\x07\x65result\x18\x02 \x01(\r\x12\x10\n\x08\x66ilesize\x18\x03 \x01(\r\x12\x10\n\x08sha_file\x18\x04 \x01(\x0c\x12\x14\n\x0cgetlasterror\x18\x05 \x01(\r\x12\x0e\n\x06offset\x18\x06 \x01(\r\x12\x0f\n\x07\x63ubread\x18\x07 \x01(\r\x12\x12\n\nbytes_read\x18\x08 \x01(\x0c\x12\x17\n\x0f\x66ilename_sentry\x18\t \x01(\t\"\xbd\x01\n\x1b\x43MsgClientUpdateMachineAuth\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x0e\n\x06offset\x18\x02 \x01(\r\x12\x12\n\ncubtowrite\x18\x03 \x01(\r\x12\r\n\x05\x62ytes\x18\x04 \x01(\x0c\x12\x10\n\x08otp_type\x18\x05 \x01(\r\x12\x16\n\x0eotp_identifier\x18\x06 \x01(\t\x12\x18\n\x10otp_sharedsecret\x18\x07 \x01(\x0c\x12\x15\n\rotp_timedrift\x18\x08 \x01(\r\"\xe1\x01\n#CMsgClientUpdateMachineAuthResponse\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x0f\n\x07\x65result\x18\x02 \x01(\r\x12\x10\n\x08\x66ilesize\x18\x03 \x01(\r\x12\x10\n\x08sha_file\x18\x04 \x01(\x0c\x12\x14\n\x0cgetlasterror\x18\x05 \x01(\r\x12\x0e\n\x06offset\x18\x06 \x01(\r\x12\x10\n\x08\x63ubwrote\x18\x07 \x01(\r\x12\x10\n\x08otp_type\x18\x08 \x01(\x05\x12\x11\n\totp_value\x18\t \x01(\r\x12\x16\n\x0eotp_identifier\x18\n \x01(\t\"\xa1\x02\n\x1c\x43MsgClientRequestMachineAuth\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x1a\n\x12\x65result_sentryfile\x18\x02 \x01(\r\x12\x10\n\x08\x66ilesize\x18\x03 \x01(\r\x12\x16\n\x0esha_sentryfile\x18\x04 \x01(\x0c\x12\x1b\n\x13lock_account_action\x18\x06 \x01(\x05\x12\x10\n\x08otp_type\x18\x07 \x01(\r\x12\x16\n\x0eotp_identifier\x18\x08 \x01(\t\x12\x18\n\x10otp_sharedsecret\x18\t \x01(\x0c\x12\x11\n\totp_value\x18\n \x01(\r\x12\x14\n\x0cmachine_name\x18\x0b \x01(\t\x12\x1f\n\x17machine_name_userchosen\x18\x0c \x01(\t\"7\n$CMsgClientRequestMachineAuthResponse\x12\x0f\n\x07\x65result\x18\x01 \x01(\r\"$\n\x15\x43MsgClientRegisterKey\x12\x0b\n\x03key\x18\x01 \x01(\t\"p\n\x1a\x43MsgClientPurchaseResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x1f\n\x17purchase_result_details\x18\x02 \x01(\x05\x12\x1d\n\x15purchase_receipt_info\x18\x03 \x01(\x0c\"\xc5\x01\n\x1c\x43MsgClientActivateOEMLicense\x12\x19\n\x11\x62ios_manufacturer\x18\x01 \x01(\t\x12\x19\n\x11\x62ios_serialnumber\x18\x02 \x01(\t\x12\x14\n\x0clicense_file\x18\x03 \x01(\x0c\x12\x1e\n\x16mainboard_manufacturer\x18\x04 \x01(\t\x12\x19\n\x11mainboard_product\x18\x05 \x01(\t\x12\x1e\n\x16mainboard_serialnumber\x18\x06 \x01(\t\"9\n\x1c\x43MsgClientRegisterOEMMachine\x12\x19\n\x11oem_register_file\x18\x01 \x01(\x0c\"7\n$CMsgClientRegisterOEMMachineResponse\x12\x0f\n\x07\x65result\x18\x01 \x01(\r\"K\n\x1f\x43MsgClientPurchaseWithMachineID\x12\x12\n\npackage_id\x18\x01 \x01(\r\x12\x14\n\x0cmachine_info\x18\x02 \x01(\x0c\"g\n CMsgTrading_InitiateTradeRequest\x12\x18\n\x10trade_request_id\x18\x01 \x01(\r\x12\x15\n\rother_steamid\x18\x02 \x01(\x04\x12\x12\n\nother_name\x18\x03 \x01(\t\"\xd2\x02\n!CMsgTrading_InitiateTradeResponse\x12\x10\n\x08response\x18\x01 \x01(\r\x12\x18\n\x10trade_request_id\x18\x02 \x01(\r\x12\x15\n\rother_steamid\x18\x03 \x01(\x04\x12 \n\x18steamguard_required_days\x18\x04 \x01(\r\x12 \n\x18new_device_cooldown_days\x18\x05 \x01(\r\x12-\n%default_password_reset_probation_days\x18\x06 \x01(\r\x12%\n\x1dpassword_reset_probation_days\x18\x07 \x01(\r\x12+\n#default_email_change_probation_days\x18\x08 \x01(\r\x12#\n\x1b\x65mail_change_probation_days\x18\t \x01(\r\"7\n\x1e\x43MsgTrading_CancelTradeRequest\x12\x15\n\rother_steamid\x18\x01 \x01(\x04\"1\n\x18\x43MsgTrading_StartSession\x12\x15\n\rother_steamid\x18\x01 \x01(\x04\"P\n\x19\x43MsgClientGetCDNAuthToken\x12\x10\n\x08\x64\x65pot_id\x18\x01 \x01(\r\x12\x11\n\thost_name\x18\x02 \x01(\t\x12\x0e\n\x06\x61pp_id\x18\x03 \x01(\r\"C\n\x1f\x43MsgClientGetDepotDecryptionKey\x12\x10\n\x08\x64\x65pot_id\x18\x01 \x01(\r\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\r\"m\n\'CMsgClientGetDepotDecryptionKeyResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x10\n\x08\x64\x65pot_id\x18\x02 \x01(\r\x12\x1c\n\x14\x64\x65pot_encryption_key\x18\x03 \x01(\x0c\"F\n\x1e\x43MsgClientCheckAppBetaPassword\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x14\n\x0c\x62\x65tapassword\x18\x02 \x01(\t\"\xc1\x01\n&CMsgClientCheckAppBetaPasswordResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12K\n\rbetapasswords\x18\x04 \x03(\x0b\x32\x34.CMsgClientCheckAppBetaPasswordResponse.BetaPassword\x1a\x36\n\x0c\x42\x65taPassword\x12\x10\n\x08\x62\x65taname\x18\x01 \x01(\t\x12\x14\n\x0c\x62\x65tapassword\x18\x02 \x01(\t\"\xbe\x04\n\x1c\x43MsgClientUpdateAppJobReport\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x11\n\tdepot_ids\x18\x02 \x03(\r\x12\x11\n\tapp_state\x18\x03 \x01(\r\x12\x15\n\rjob_app_error\x18\x04 \x01(\r\x12\x15\n\rerror_details\x18\x05 \x01(\t\x12\x14\n\x0cjob_duration\x18\x06 \x01(\r\x12\x1f\n\x17\x66iles_validation_failed\x18\x07 \x01(\r\x12\x1c\n\x14job_bytes_downloaded\x18\x08 \x01(\x04\x12\x18\n\x10job_bytes_staged\x18\t \x01(\x04\x12\x16\n\x0e\x62ytes_comitted\x18\n \x01(\x04\x12\x17\n\x0fstart_app_state\x18\x0b \x01(\r\x12\x18\n\x10stats_machine_id\x18\x0c \x01(\x06\x12\x13\n\x0b\x62ranch_name\x18\r \x01(\t\x12\x1e\n\x16total_bytes_downloaded\x18\x0e \x01(\x04\x12\x1a\n\x12total_bytes_staged\x18\x0f \x01(\x04\x12\x1c\n\x14total_bytes_restored\x18\x10 \x01(\x04\x12\x13\n\x0bis_borrowed\x18\x11 \x01(\x08\x12\x17\n\x0fis_free_weekend\x18\x12 \x01(\x08\x12\x1a\n\x12total_bytes_legacy\x18\x13 \x01(\x04\x12\x1b\n\x13total_bytes_patched\x18\x14 \x01(\x04\x12\x19\n\x11total_bytes_saved\x18\x15 \x01(\x04\x12\x0f\n\x07\x63\x65ll_id\x18\x16 \x01(\r\"\xcb\x01\n\x1e\x43MsgClientDPContentStatsReport\x12\x18\n\x10stats_machine_id\x18\x01 \x01(\x06\x12\x14\n\x0c\x63ountry_code\x18\x02 \x01(\t\x12\x0f\n\x07os_type\x18\x03 \x01(\x05\x12\x10\n\x08language\x18\x04 \x01(\x05\x12\x1b\n\x13num_install_folders\x18\x05 \x01(\r\x12\x1b\n\x13num_installed_games\x18\x06 \x01(\r\x12\x1c\n\x14size_installed_games\x18\x07 \x01(\x04\"_\n!CMsgClientGetCDNAuthTokenResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\r:\x01\x32\x12\r\n\x05token\x18\x02 \x01(\t\x12\x17\n\x0f\x65xpiration_time\x18\x03 \x01(\r\"\x9f\x02\n\x1a\x43MsgDownloadRateStatistics\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\r\x12\x34\n\x05stats\x18\x02 \x03(\x0b\x32%.CMsgDownloadRateStatistics.StatsInfo\x12\x17\n\x0fthrottling_kbps\x18\x03 \x01(\r\x1a\xa0\x01\n\tStatsInfo\x12\x13\n\x0bsource_type\x18\x01 \x01(\r\x12\x11\n\tsource_id\x18\x02 \x01(\r\x12\x0f\n\x07seconds\x18\x03 \x01(\r\x12\r\n\x05\x62ytes\x18\x04 \x01(\x04\x12\x11\n\thost_name\x18\x05 \x01(\t\x12\x14\n\x0cmicroseconds\x18\x06 \x01(\x04\x12\x11\n\tused_ipv6\x18\x07 \x01(\x08\x12\x0f\n\x07proxied\x18\x08 \x01(\x08\"H\n\x1c\x43MsgClientRequestAccountData\x12\x18\n\x10\x61\x63\x63ount_or_email\x18\x01 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x02 \x01(\r\"\xd7\x01\n$CMsgClientRequestAccountDataResponse\x12\x0e\n\x06\x61\x63tion\x18\x01 \x01(\r\x12\x0f\n\x07\x65result\x18\x02 \x01(\r\x12\x14\n\x0c\x61\x63\x63ount_name\x18\x03 \x01(\t\x12\x12\n\nct_matches\x18\x04 \x01(\r\x12 \n\x18\x61\x63\x63ount_name_suggestion1\x18\x05 \x01(\t\x12 \n\x18\x61\x63\x63ount_name_suggestion2\x18\x06 \x01(\t\x12 \n\x18\x61\x63\x63ount_name_suggestion3\x18\x07 \x01(\t\"\x99\x01\n\x1b\x43MsgClientUGSGetGlobalStats\x12\x0e\n\x06gameid\x18\x01 \x01(\x04\x12\x1e\n\x16history_days_requested\x18\x02 \x01(\r\x12\x1b\n\x13time_last_requested\x18\x03 \x01(\x07\x12\x18\n\x10\x66irst_day_cached\x18\x04 \x01(\r\x12\x13\n\x0b\x64\x61ys_cached\x18\x05 \x01(\r\"\x95\x02\n#CMsgClientUGSGetGlobalStatsResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x11\n\ttimestamp\x18\x02 \x01(\x07\x12\x13\n\x0b\x64\x61y_current\x18\x03 \x01(\x05\x12\x36\n\x04\x64\x61ys\x18\x04 \x03(\x0b\x32(.CMsgClientUGSGetGlobalStatsResponse.Day\x1az\n\x03\x44\x61y\x12\x0e\n\x06\x64\x61y_id\x18\x01 \x01(\r\x12<\n\x05stats\x18\x02 \x03(\x0b\x32-.CMsgClientUGSGetGlobalStatsResponse.Day.Stat\x1a%\n\x04Stat\x12\x0f\n\x07stat_id\x18\x01 \x01(\x05\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x03\"\x88\x04\n\x12\x43MsgGameServerData\x12\x13\n\x0bsteam_id_gs\x18\x01 \x01(\x06\x12\x15\n\rdeprecated_ip\x18\x02 \x01(\r\x12\x12\n\nquery_port\x18\x03 \x01(\r\x12\x11\n\tgame_port\x18\x04 \x01(\r\x12\x15\n\rsourcetv_port\x18\x05 \x01(\r\x12\x0c\n\x04name\x18\x16 \x01(\t\x12\'\n\x0fgame_ip_address\x18\x17 \x01(\x0b\x32\x0e.CMsgIPAddress\x12\x0e\n\x06\x61pp_id\x18\x06 \x01(\r\x12\x0f\n\x07gamedir\x18\x07 \x01(\t\x12\x0f\n\x07version\x18\x08 \x01(\t\x12\x0f\n\x07product\x18\t \x01(\t\x12\x0e\n\x06region\x18\n \x01(\t\x12+\n\x07players\x18\x0b \x03(\x0b\x32\x1a.CMsgGameServerData.Player\x12\x13\n\x0bmax_players\x18\x0c \x01(\r\x12\x11\n\tbot_count\x18\r \x01(\r\x12\x10\n\x08password\x18\x0e \x01(\x08\x12\x0e\n\x06secure\x18\x0f \x01(\x08\x12\x11\n\tdedicated\x18\x10 \x01(\x08\x12\n\n\x02os\x18\x11 \x01(\t\x12\x11\n\tgame_data\x18\x12 \x01(\t\x12\x19\n\x11game_data_version\x18\x13 \x01(\r\x12\x11\n\tgame_type\x18\x14 \x01(\t\x12\x0b\n\x03map\x18\x15 \x01(\t\x1a\x1a\n\x06Player\x12\x10\n\x08steam_id\x18\x01 \x01(\x06\"o\n\x14\x43MsgGameServerRemove\x12\x10\n\x08steam_id\x18\x01 \x01(\x06\x12\x15\n\rdeprecated_ip\x18\x02 \x01(\r\x12\x12\n\nquery_port\x18\x03 \x01(\r\x12\x1a\n\x02ip\x18\x04 \x01(\x0b\x32\x0e.CMsgIPAddress\"\x82\x01\n\x18\x43MsgClientGMSServerQuery\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x17\n\x0fgeo_location_ip\x18\x02 \x01(\r\x12\x13\n\x0bregion_code\x18\x03 \x01(\r\x12\x13\n\x0b\x66ilter_text\x18\x04 \x01(\t\x12\x13\n\x0bmax_servers\x18\x05 \x01(\r\"\xe2\x01\n CMsgGMSClientServerQueryResponse\x12\x39\n\x07servers\x18\x01 \x03(\x0b\x32(.CMsgGMSClientServerQueryResponse.Server\x12\r\n\x05\x65rror\x18\x02 \x01(\t\x1at\n\x06Server\x12\x1c\n\x14\x64\x65precated_server_ip\x18\x01 \x01(\r\x12\x13\n\x0bserver_port\x18\x02 \x01(\r\x12\x14\n\x0c\x61uth_players\x18\x03 \x01(\r\x12!\n\tserver_ip\x18\x04 \x01(\x0b\x32\x0e.CMsgIPAddress\"O\n\x17\x43MsgGameServerOutOfDate\x12\x13\n\x0bsteam_id_gs\x18\x01 \x01(\x06\x12\x0e\n\x06reject\x18\x02 \x01(\x08\x12\x0f\n\x07message\x18\x03 \x01(\t\"2\n\x19\x43MsgClientRedeemGuestPass\x12\x15\n\rguest_pass_id\x18\x01 \x01(\x06\"c\n!CMsgClientRedeemGuestPassResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\r:\x01\x32\x12\x12\n\npackage_id\x18\x02 \x01(\r\x12\x16\n\x0emust_own_appid\x18\x03 \x01(\r\"8\n\x1f\x43MsgClientGetClanActivityCounts\x12\x15\n\rsteamid_clans\x18\x01 \x03(\x04\"=\n\'CMsgClientGetClanActivityCountsResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\r:\x01\x32\"y\n\x19\x43MsgClientOGSReportString\x12\x13\n\x0b\x61\x63\x63umulated\x18\x01 \x01(\x08\x12\x11\n\tsessionid\x18\x02 \x01(\x04\x12\x10\n\x08severity\x18\x03 \x01(\x05\x12\x11\n\tformatter\x18\x04 \x01(\t\x12\x0f\n\x07varargs\x18\x05 \x01(\x0c\"P\n\x16\x43MsgClientOGSReportBug\x12\x11\n\tsessionid\x18\x01 \x01(\x04\x12\x0f\n\x07\x62ugtext\x18\x02 \x01(\t\x12\x12\n\nscreenshot\x18\x03 \x01(\x0c\"0\n\x17\x43MsgGSAssociateWithClan\x12\x15\n\rsteam_id_clan\x18\x01 \x01(\x06\"L\n\x1f\x43MsgGSAssociateWithClanResponse\x12\x15\n\rsteam_id_clan\x18\x01 \x01(\x06\x12\x12\n\x07\x65result\x18\x02 \x01(\r:\x01\x32\"A\n#CMsgGSComputeNewPlayerCompatibility\x12\x1a\n\x12steam_id_candidate\x18\x01 \x01(\x06\"\xcf\x01\n+CMsgGSComputeNewPlayerCompatibilityResponse\x12\x1a\n\x12steam_id_candidate\x18\x01 \x01(\x06\x12\x12\n\x07\x65result\x18\x02 \x01(\r:\x01\x32\x12\x16\n\x0eis_clan_member\x18\x03 \x01(\x08\x12\x18\n\x10\x63t_dont_like_you\x18\x04 \x01(\x05\x12\x18\n\x10\x63t_you_dont_like\x18\x05 \x01(\x05\x12$\n\x1c\x63t_clanmembers_dont_like_you\x18\x06 \x01(\x05\"\x14\n\x12\x43MsgClientSentLogs\"l\n\x0c\x43MsgGCClient\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x0f\n\x07msgtype\x18\x02 \x01(\r\x12\x0f\n\x07payload\x18\x03 \x01(\x0c\x12\x0f\n\x07steamid\x18\x04 \x01(\x06\x12\x0e\n\x06gcname\x18\x05 \x01(\t\x12\n\n\x02ip\x18\x06 \x01(\r\".\n\x1c\x43MsgClientRequestFreeLicense\x12\x0e\n\x06\x61ppids\x18\x02 \x03(\r\"n\n$CMsgClientRequestFreeLicenseResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\r:\x01\x32\x12\x1a\n\x12granted_packageids\x18\x02 \x03(\r\x12\x16\n\x0egranted_appids\x18\x03 \x03(\r\"\xd3\x01\n#CMsgDRMDownloadRequestWithCrashData\x12\x16\n\x0e\x64ownload_flags\x18\x01 \x01(\r\x12\x1c\n\x14\x64ownload_types_known\x18\x02 \x01(\r\x12\x10\n\x08guid_drm\x18\x03 \x01(\x0c\x12\x12\n\nguid_split\x18\x04 \x01(\x0c\x12\x12\n\nguid_merge\x18\x05 \x01(\x0c\x12\x13\n\x0bmodule_name\x18\x06 \x01(\t\x12\x13\n\x0bmodule_path\x18\x07 \x01(\t\x12\x12\n\ncrash_data\x18\x08 \x01(\x0c\"\xdb\x01\n\x17\x43MsgDRMDownloadResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\r:\x01\x32\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\r\x12\x1a\n\x12\x62lob_download_type\x18\x03 \x01(\r\x12\x12\n\nmerge_guid\x18\x04 \x01(\x0c\x12\x1c\n\x14\x64ownload_file_dfs_ip\x18\x05 \x01(\r\x12\x1e\n\x16\x64ownload_file_dfs_port\x18\x06 \x01(\r\x12\x19\n\x11\x64ownload_file_url\x18\x07 \x01(\t\x12\x13\n\x0bmodule_path\x18\x08 \x01(\t\"\xd7\x01\n\x12\x43MsgDRMFinalResult\x12\x12\n\x07\x65Result\x18\x01 \x01(\r:\x01\x32\x12\x0e\n\x06\x61pp_id\x18\x02 \x01(\r\x12\x1a\n\x12\x62lob_download_type\x18\x03 \x01(\r\x12\x14\n\x0c\x65rror_detail\x18\x04 \x01(\r\x12\x12\n\nmerge_guid\x18\x05 \x01(\x0c\x12\x1c\n\x14\x64ownload_file_dfs_ip\x18\x06 \x01(\r\x12\x1e\n\x16\x64ownload_file_dfs_port\x18\x07 \x01(\r\x12\x19\n\x11\x64ownload_file_url\x18\x08 \x01(\t\"3\n\x1e\x43MsgClientDPCheckSpecialSurvey\x12\x11\n\tsurvey_id\x18\x01 \x01(\r\"\x96\x01\n&CMsgClientDPCheckSpecialSurveyResponse\x12\x12\n\x07\x65Result\x18\x01 \x01(\r:\x01\x32\x12\r\n\x05state\x18\x02 \x01(\r\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x12\n\ncustom_url\x18\x04 \x01(\t\x12\x18\n\x10include_software\x18\x05 \x01(\x08\x12\r\n\x05token\x18\x06 \x01(\x0c\"H\n%CMsgClientDPSendSpecialSurveyResponse\x12\x11\n\tsurvey_id\x18\x01 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"O\n*CMsgClientDPSendSpecialSurveyResponseReply\x12\x12\n\x07\x65Result\x18\x01 \x01(\r:\x01\x32\x12\r\n\x05token\x18\x02 \x01(\x0c\"W\n\'CMsgClientRequestForgottenPasswordEmail\x12\x14\n\x0c\x61\x63\x63ount_name\x18\x01 \x01(\t\x12\x16\n\x0epassword_tried\x18\x02 \x01(\t\"_\n/CMsgClientRequestForgottenPasswordEmailResponse\x12\x0f\n\x07\x65Result\x18\x01 \x01(\r\x12\x1b\n\x13use_secret_question\x18\x02 \x01(\x08\"\xf6\x01\n\x1b\x43MsgClientItemAnnouncements\x12\x17\n\x0f\x63ount_new_items\x18\x01 \x01(\r\x12=\n\x0cunseen_items\x18\x02 \x03(\x0b\x32\'.CMsgClientItemAnnouncements.UnseenItem\x1a\x7f\n\nUnseenItem\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x12\n\ncontext_id\x18\x02 \x01(\x04\x12\x10\n\x08\x61sset_id\x18\x03 \x01(\x04\x12\x0e\n\x06\x61mount\x18\x04 \x01(\x04\x12\x16\n\x0ertime32_gained\x18\x05 \x01(\x07\x12\x14\n\x0csource_appid\x18\x06 \x01(\r\"$\n\"CMsgClientRequestItemAnnouncements\"\x9e\x01\n\x1b\x43MsgClientUserNotifications\x12@\n\rnotifications\x18\x01 \x03(\x0b\x32).CMsgClientUserNotifications.Notification\x1a=\n\x0cNotification\x12\x1e\n\x16user_notification_type\x18\x01 \x01(\r\x12\r\n\x05\x63ount\x18\x02 \x01(\r\"\x88\x01\n\x1e\x43MsgClientCommentNotifications\x12\x1a\n\x12\x63ount_new_comments\x18\x01 \x01(\r\x12 \n\x18\x63ount_new_comments_owner\x18\x02 \x01(\r\x12(\n count_new_comments_subscriptions\x18\x03 \x01(\r\"\'\n%CMsgClientRequestCommentNotifications\"g\n$CMsgClientOfflineMessageNotification\x12\x18\n\x10offline_messages\x18\x01 \x01(\r\x12%\n\x1d\x66riends_with_offline_messages\x18\x02 \x03(\r\"&\n$CMsgClientRequestOfflineMessageCount\"8\n%CMsgClientChatGetFriendMessageHistory\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\"\xf9\x01\n-CMsgClientChatGetFriendMessageHistoryResponse\x12\x0f\n\x07steamid\x18\x01 \x01(\x06\x12\x0f\n\x07success\x18\x02 \x01(\r\x12N\n\x08messages\x18\x03 \x03(\x0b\x32<.CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage\x1aV\n\rFriendMessage\x12\x11\n\taccountid\x18\x01 \x01(\r\x12\x11\n\ttimestamp\x18\x02 \x01(\r\x12\x0f\n\x07message\x18\x03 \x01(\t\x12\x0e\n\x06unread\x18\x04 \x01(\x08\"9\n7CMsgClientChatGetFriendMessageHistoryForOfflineMessages\"7\n!CMsgClientFSGetFriendsSteamLevels\x12\x12\n\naccountids\x18\x01 \x03(\r\"\x9b\x01\n)CMsgClientFSGetFriendsSteamLevelsResponse\x12\x42\n\x07\x66riends\x18\x01 \x03(\x0b\x32\x31.CMsgClientFSGetFriendsSteamLevelsResponse.Friend\x1a*\n\x06\x46riend\x12\x11\n\taccountid\x18\x01 \x01(\r\x12\r\n\x05level\x18\x02 \x01(\r\"\xeb\x01\n\x17\x43MsgClientEmailAddrInfo\x12\x15\n\remail_address\x18\x01 \x01(\t\x12\x1a\n\x12\x65mail_is_validated\x18\x02 \x01(\x08\x12 \n\x18\x65mail_validation_changed\x18\x03 \x01(\x08\x12\'\n\x1f\x63redential_change_requires_code\x18\x04 \x01(\x08\x12\x31\n)password_or_secretqa_change_requires_code\x18\x05 \x01(\x08\x12\x1f\n\x17remind_user_about_email\x18\x06 \x01(\x08\"\x8b\x01\n\x16\x43MsgCREItemVoteSummary\x12\x43\n\x12published_file_ids\x18\x01 \x03(\x0b\x32\'.CMsgCREItemVoteSummary.PublishedFileId\x1a,\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\"\xfa\x01\n\x1e\x43MsgCREItemVoteSummaryResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12L\n\x13item_vote_summaries\x18\x02 \x03(\x0b\x32/.CMsgCREItemVoteSummaryResponse.ItemVoteSummary\x1av\n\x0fItemVoteSummary\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x11\n\tvotes_for\x18\x02 \x01(\x05\x12\x15\n\rvotes_against\x18\x03 \x01(\x05\x12\x0f\n\x07reports\x18\x04 \x01(\x05\x12\r\n\x05score\x18\x05 \x01(\x02\"P\n\"CMsgCREUpdateUserPublishedItemVote\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x0f\n\x07vote_up\x18\x02 \x01(\x08\"@\n*CMsgCREUpdateUserPublishedItemVoteResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\"\xab\x01\n&CMsgCREGetUserPublishedItemVoteDetails\x12S\n\x12published_file_ids\x18\x01 \x03(\x0b\x32\x37.CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId\x1a,\n\x0fPublishedFileId\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\"\xea\x01\n.CMsgCREGetUserPublishedItemVoteDetailsResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x62\n\x16user_item_vote_details\x18\x02 \x03(\x0b\x32\x42.CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail\x1a@\n\x12UserItemVoteDetail\x12\x19\n\x11published_file_id\x18\x01 \x01(\x06\x12\x0f\n\x04vote\x18\x02 \x01(\x05:\x01\x30\"\xb9\x01\n\x18\x43MsgGameServerPingSample\x12\r\n\x05my_ip\x18\x01 \x01(\x07\x12\x11\n\tgs_app_id\x18\x02 \x01(\x05\x12\x34\n\ngs_samples\x18\x03 \x03(\x0b\x32 .CMsgGameServerPingSample.Sample\x1a\x45\n\x06Sample\x12\n\n\x02ip\x18\x01 \x01(\x07\x12\x13\n\x0b\x61vg_ping_ms\x18\x02 \x01(\r\x12\x1a\n\x12stddev_ping_ms_x10\x18\x03 \x01(\r\"*\n\x16\x43MsgFSGetFollowerCount\x12\x10\n\x08steam_id\x18\x01 \x01(\x06\"F\n\x1e\x43MsgFSGetFollowerCountResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x10\n\x05\x63ount\x18\x02 \x01(\x05:\x01\x30\"(\n\x14\x43MsgFSGetIsFollowing\x12\x10\n\x08steam_id\x18\x01 \x01(\x06\"O\n\x1c\x43MsgFSGetIsFollowingResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x1b\n\x0cis_following\x18\x02 \x01(\x08:\x05\x66\x61lse\"3\n\x1c\x43MsgFSEnumerateFollowingList\x12\x13\n\x0bstart_index\x18\x01 \x01(\r\"d\n$CMsgFSEnumerateFollowingListResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x15\n\rtotal_results\x18\x02 \x01(\x05\x12\x11\n\tsteam_ids\x18\x03 \x03(\x06\"0\n\x1f\x43MsgDPGetNumberOfCurrentPlayers\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\"S\n\'CMsgDPGetNumberOfCurrentPlayersResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x14\n\x0cplayer_count\x18\x02 \x01(\x05\"a\n#CMsgClientFriendUserStatusPublished\x12\x16\n\x0e\x66riend_steamid\x18\x01 \x01(\x06\x12\r\n\x05\x61ppid\x18\x02 \x01(\r\x12\x13\n\x0bstatus_text\x18\x03 \x01(\t\"h\n\x1d\x43MsgClientServiceMethodLegacy\x12\x13\n\x0bmethod_name\x18\x01 \x01(\t\x12\x19\n\x11serialized_method\x18\x02 \x01(\x0c\x12\x17\n\x0fis_notification\x18\x03 \x01(\x08\"`\n%CMsgClientServiceMethodLegacyResponse\x12\x13\n\x0bmethod_name\x18\x01 \x01(\t\x12\"\n\x1aserialized_method_response\x18\x02 \x01(\x0c\"5\n\x10\x43MsgClientUIMode\x12\x0e\n\x06uimode\x18\x01 \x01(\r\x12\x11\n\tchat_mode\x18\x02 \x01(\r\"<\n&CMsgClientVanityURLChangedNotification\x12\x12\n\nvanity_url\x18\x01 \x01(\t\"y\n%CMsgClientAuthorizeLocalDeviceRequest\x12\x1a\n\x12\x64\x65vice_description\x18\x01 \x01(\t\x12\x18\n\x10owner_account_id\x18\x02 \x01(\r\x12\x1a\n\x12local_device_token\x18\x03 \x01(\x04\"k\n\x1e\x43MsgClientAuthorizeLocalDevice\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x18\n\x10owner_account_id\x18\x02 \x01(\r\x12\x1b\n\x13\x61uthed_device_token\x18\x03 \x01(\x04\"v\n*CMsgClientAuthorizeLocalDeviceNotification\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x18\n\x10owner_account_id\x18\x02 \x01(\r\x12\x1a\n\x12local_device_token\x18\x03 \x01(\x04\"n\n\"CMsgClientDeauthorizeDeviceRequest\x12\"\n\x1a\x64\x65\x61uthorization_account_id\x18\x01 \x01(\r\x12$\n\x1c\x64\x65\x61uthorization_device_token\x18\x02 \x01(\x04\"U\n\x1b\x43MsgClientDeauthorizeDevice\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\"\n\x1a\x64\x65\x61uthorization_account_id\x18\x02 \x01(\r\"\xd1\x01\n&CMsgClientUseLocalDeviceAuthorizations\x12 \n\x18\x61uthorization_account_id\x18\x01 \x03(\r\x12J\n\rdevice_tokens\x18\x02 \x03(\x0b\x32\x33.CMsgClientUseLocalDeviceAuthorizations.DeviceToken\x1a\x39\n\x0b\x44\x65viceToken\x12\x18\n\x10owner_account_id\x18\x01 \x01(\r\x12\x10\n\x08token_id\x18\x02 \x01(\x04\" \n\x1e\x43MsgClientGetAuthorizedDevices\"\xad\x02\n&CMsgClientGetAuthorizedDevicesResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12S\n\x11\x61uthorized_device\x18\x02 \x03(\x0b\x32\x38.CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice\x1a\x99\x01\n\x10\x41uthorizedDevice\x12\x19\n\x11\x61uth_device_token\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x65vice_name\x18\x02 \x01(\t\x12\x18\n\x10last_access_time\x18\x03 \x01(\r\x12\x13\n\x0b\x62orrower_id\x18\x04 \x01(\r\x12\x12\n\nis_pending\x18\x05 \x01(\x08\x12\x12\n\napp_played\x18\x06 \x01(\r\"\xc2\x01\n!CMsgClientSharedLibraryLockStatus\x12H\n\x0elocked_library\x18\x01 \x03(\x0b\x32\x30.CMsgClientSharedLibraryLockStatus.LockedLibrary\x12\x1d\n\x15own_library_locked_by\x18\x02 \x01(\r\x1a\x34\n\rLockedLibrary\x12\x10\n\x08owner_id\x18\x01 \x01(\r\x12\x11\n\tlocked_by\x18\x02 \x01(\r\"\xa7\x01\n\"CMsgClientSharedLibraryStopPlaying\x12\x14\n\x0cseconds_left\x18\x01 \x01(\x05\x12>\n\tstop_apps\x18\x02 \x03(\x0b\x32+.CMsgClientSharedLibraryStopPlaying.StopApp\x1a+\n\x07StopApp\x12\x0e\n\x06\x61pp_id\x18\x01 \x01(\r\x12\x10\n\x08owner_id\x18\x02 \x01(\r\"\xf1\x01\n\x15\x43MsgClientServiceCall\x12\x15\n\rsysid_routing\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63\x61ll_handle\x18\x02 \x01(\r\x12\x12\n\nmodule_crc\x18\x03 \x01(\r\x12\x13\n\x0bmodule_hash\x18\x04 \x01(\x0c\x12\x13\n\x0b\x66unction_id\x18\x05 \x01(\r\x12\x16\n\x0e\x63ub_output_max\x18\x06 \x01(\r\x12\r\n\x05\x66lags\x18\x07 \x01(\r\x12\x15\n\rcallparameter\x18\x08 \x01(\x0c\x12\x11\n\tping_only\x18\t \x01(\x08\x12\x1d\n\x15max_outstanding_calls\x18\n \x01(\r\"Z\n\x17\x43MsgClientServiceModule\x12\x12\n\nmodule_crc\x18\x01 \x01(\r\x12\x13\n\x0bmodule_hash\x18\x02 \x01(\x0c\x12\x16\n\x0emodule_content\x18\x03 \x01(\x0c\"\xb8\x04\n\x1d\x43MsgClientServiceCallResponse\x12\x15\n\rsysid_routing\x18\x01 \x01(\x0c\x12\x13\n\x0b\x63\x61ll_handle\x18\x02 \x01(\r\x12\x12\n\nmodule_crc\x18\x03 \x01(\r\x12\x13\n\x0bmodule_hash\x18\x04 \x01(\x0c\x12\x13\n\x0b\x65\x63\x61llresult\x18\x05 \x01(\r\x12\x16\n\x0eresult_content\x18\x06 \x01(\x0c\x12\x17\n\x0fos_version_info\x18\x07 \x01(\x0c\x12\x13\n\x0bsystem_info\x18\x08 \x01(\x0c\x12\x14\n\x0cload_address\x18\t \x01(\x06\x12\x18\n\x10\x65xception_record\x18\n \x01(\x0c\x12 \n\x18portable_os_version_info\x18\x0b \x01(\x0c\x12\x1c\n\x14portable_system_info\x18\x0c \x01(\x0c\x12\x15\n\rwas_converted\x18\r \x01(\x08\x12\x17\n\x0finternal_result\x18\x0e \x01(\r\x12\x15\n\rcurrent_count\x18\x0f \x01(\r\x12\x18\n\x10last_call_handle\x18\x10 \x01(\r\x12\x1c\n\x14last_call_module_crc\x18\x11 \x01(\r\x12\x1f\n\x17last_call_sysid_routing\x18\x12 \x01(\x0c\x12\x18\n\x10last_ecallresult\x18\x13 \x01(\r\x12\x1c\n\x14last_callissue_delta\x18\x14 \x01(\r\x12\x1f\n\x17last_callcomplete_delta\x18\x15 \x01(\r\"\x17\n\x15\x43MsgAMUnlockStreaming\"K\n\x1d\x43MsgAMUnlockStreamingResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\x12\x16\n\x0e\x65ncryption_key\x18\x02 \x01(\x0c\"\x12\n\x10\x43MsgAMUnlockHEVC\".\n\x18\x43MsgAMUnlockHEVCResponse\x12\x12\n\x07\x65result\x18\x01 \x01(\x05:\x01\x32\"M\n\x1d\x43MsgClientPlayingSessionState\x12\x17\n\x0fplaying_blocked\x18\x02 \x01(\x08\x12\x13\n\x0bplaying_app\x18\x03 \x01(\r\"6\n\x1c\x43MsgClientKickPlayingSession\x12\x16\n\x0eonly_stop_game\x18\x01 \x01(\x08\"v\n\x1f\x43MsgClientVoiceCallPreAuthorize\x12\x16\n\x0e\x63\x61ller_steamid\x18\x01 \x01(\x06\x12\x18\n\x10receiver_steamid\x18\x02 \x01(\x06\x12\x11\n\tcaller_id\x18\x03 \x01(\x05\x12\x0e\n\x06hangup\x18\x04 \x01(\x08\"\x82\x01\n\'CMsgClientVoiceCallPreAuthorizeResponse\x12\x16\n\x0e\x63\x61ller_steamid\x18\x01 \x01(\x06\x12\x18\n\x10receiver_steamid\x18\x02 \x01(\x06\x12\x12\n\x07\x65result\x18\x03 \x01(\x05:\x01\x32\x12\x11\n\tcaller_id\x18\x04 \x01(\x05\"B\n\x1c\x43MsgBadgeCraftedNotification\x12\r\n\x05\x61ppid\x18\x01 \x01(\r\x12\x13\n\x0b\x62\x61\x64ge_level\x18\x02 \x01(\rB\x05H\x01\x90\x01\x00')
,
dependencies=[steammessages__base__pb2.DESCRIPTOR,])
_CMSGCLIENTUCMADDSCREENSHOT_TAG = _descriptor.Descriptor(
name='Tag',
full_name='CMsgClientUCMAddScreenshot.Tag',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='tag_name', full_name='CMsgClientUCMAddScreenshot.Tag.tag_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),
_descriptor.FieldDescriptor(
name='tag_value', full_name='CMsgClientUCMAddScreenshot.Tag.tag_value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=408,
serialized_end=450,
)
_CMSGCLIENTUCMADDSCREENSHOT = _descriptor.Descriptor(
name='CMsgClientUCMAddScreenshot',
full_name='CMsgClientUCMAddScreenshot',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgClientUCMAddScreenshot.appid', 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),
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientUCMAddScreenshot.filename', 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),
_descriptor.FieldDescriptor(
name='thumbname', full_name='CMsgClientUCMAddScreenshot.thumbname', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='vr_filename', full_name='CMsgClientUCMAddScreenshot.vr_filename', index=3,
number=14, 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),
_descriptor.FieldDescriptor(
name='rtime32_created', full_name='CMsgClientUCMAddScreenshot.rtime32_created', index=4,
number=4, type=7, 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),
_descriptor.FieldDescriptor(
name='width', full_name='CMsgClientUCMAddScreenshot.width', index=5,
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),
_descriptor.FieldDescriptor(
name='height', full_name='CMsgClientUCMAddScreenshot.height', index=6,
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),
_descriptor.FieldDescriptor(
name='permissions', full_name='CMsgClientUCMAddScreenshot.permissions', index=7,
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),
_descriptor.FieldDescriptor(
name='caption', full_name='CMsgClientUCMAddScreenshot.caption', index=8,
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),
_descriptor.FieldDescriptor(
name='shortcut_name', full_name='CMsgClientUCMAddScreenshot.shortcut_name', index=9,
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),
_descriptor.FieldDescriptor(
name='tag', full_name='CMsgClientUCMAddScreenshot.tag', index=10,
number=10, 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),
_descriptor.FieldDescriptor(
name='tagged_steamid', full_name='CMsgClientUCMAddScreenshot.tagged_steamid', index=11,
number=11, type=6, cpp_type=4, 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),
_descriptor.FieldDescriptor(
name='spoiler_tag', full_name='CMsgClientUCMAddScreenshot.spoiler_tag', index=12,
number=12, 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),
_descriptor.FieldDescriptor(
name='tagged_publishedfileid', full_name='CMsgClientUCMAddScreenshot.tagged_publishedfileid', index=13,
number=13, type=4, cpp_type=4, 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMADDSCREENSHOT_TAG, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=65,
serialized_end=450,
)
_CMSGCLIENTUCMADDSCREENSHOTRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMAddScreenshotResponse',
full_name='CMsgClientUCMAddScreenshotResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMAddScreenshotResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='screenshotid', full_name='CMsgClientUCMAddScreenshotResponse.screenshotid', index=1,
number=2, type=6, cpp_type=4, label=1,
has_default_value=True, default_value=18446744073709551615,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=452,
serialized_end=552,
)
_CMSGCLIENTUCMDELETESCREENSHOT = _descriptor.Descriptor(
name='CMsgClientUCMDeleteScreenshot',
full_name='CMsgClientUCMDeleteScreenshot',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='screenshotid', full_name='CMsgClientUCMDeleteScreenshot.screenshotid', index=0,
number=1, type=6, cpp_type=4, label=1,
has_default_value=True, default_value=18446744073709551615,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=554,
serialized_end=629,
)
_CMSGCLIENTUCMDELETESCREENSHOTRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMDeleteScreenshotResponse',
full_name='CMsgClientUCMDeleteScreenshotResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMDeleteScreenshotResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=631,
serialized_end=690,
)
_CMSGCLIENTUCMPUBLISHFILE = _descriptor.Descriptor(
name='CMsgClientUCMPublishFile',
full_name='CMsgClientUCMPublishFile',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMPublishFile.app_id', 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),
_descriptor.FieldDescriptor(
name='file_name', full_name='CMsgClientUCMPublishFile.file_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),
_descriptor.FieldDescriptor(
name='preview_file_name', full_name='CMsgClientUCMPublishFile.preview_file_name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='consumer_app_id', full_name='CMsgClientUCMPublishFile.consumer_app_id', 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),
_descriptor.FieldDescriptor(
name='title', full_name='CMsgClientUCMPublishFile.title', 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),
_descriptor.FieldDescriptor(
name='description', full_name='CMsgClientUCMPublishFile.description', 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),
_descriptor.FieldDescriptor(
name='tags', full_name='CMsgClientUCMPublishFile.tags', index=6,
number=8, 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),
_descriptor.FieldDescriptor(
name='workshop_file', full_name='CMsgClientUCMPublishFile.workshop_file', 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),
_descriptor.FieldDescriptor(
name='visibility', full_name='CMsgClientUCMPublishFile.visibility', index=8,
number=10, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='file_type', full_name='CMsgClientUCMPublishFile.file_type', index=9,
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),
_descriptor.FieldDescriptor(
name='url', full_name='CMsgClientUCMPublishFile.url', index=10,
number=12, 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),
_descriptor.FieldDescriptor(
name='video_provider', full_name='CMsgClientUCMPublishFile.video_provider', index=11,
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),
_descriptor.FieldDescriptor(
name='video_account_name', full_name='CMsgClientUCMPublishFile.video_account_name', index=12,
number=14, 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),
_descriptor.FieldDescriptor(
name='video_identifier', full_name='CMsgClientUCMPublishFile.video_identifier', index=13,
number=15, 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),
_descriptor.FieldDescriptor(
name='in_progress', full_name='CMsgClientUCMPublishFile.in_progress', index=14,
number=16, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=693,
serialized_end=1030,
)
_CMSGCLIENTUCMPUBLISHFILERESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMPublishFileResponse',
full_name='CMsgClientUCMPublishFileResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMPublishFileResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMPublishFileResponse.published_file_id', index=1,
number=2, type=6, cpp_type=4, label=1,
has_default_value=True, default_value=18446744073709551615,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='needs_workshop_legal_agreement_acceptance', full_name='CMsgClientUCMPublishFileResponse.needs_workshop_legal_agreement_acceptance', index=2,
number=3, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1033,
serialized_end=1194,
)
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE_KEYVALUETAG = _descriptor.Descriptor(
name='KeyValueTag',
full_name='CMsgClientUCMUpdatePublishedFile.KeyValueTag',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='CMsgClientUCMUpdatePublishedFile.KeyValueTag.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),
_descriptor.FieldDescriptor(
name='value', full_name='CMsgClientUCMUpdatePublishedFile.KeyValueTag.value', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1964,
serialized_end=2005,
)
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE_ADDITIONALPREVIEW = _descriptor.Descriptor(
name='AdditionalPreview',
full_name='CMsgClientUCMUpdatePublishedFile.AdditionalPreview',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='original_file_name', full_name='CMsgClientUCMUpdatePublishedFile.AdditionalPreview.original_file_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),
_descriptor.FieldDescriptor(
name='internal_file_name', full_name='CMsgClientUCMUpdatePublishedFile.AdditionalPreview.internal_file_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),
_descriptor.FieldDescriptor(
name='videoid', full_name='CMsgClientUCMUpdatePublishedFile.AdditionalPreview.videoid', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='preview_type', full_name='CMsgClientUCMUpdatePublishedFile.AdditionalPreview.preview_type', 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),
_descriptor.FieldDescriptor(
name='update_index', full_name='CMsgClientUCMUpdatePublishedFile.AdditionalPreview.update_index', index=4,
number=5, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=-1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2008,
serialized_end=2148,
)
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE = _descriptor.Descriptor(
name='CMsgClientUCMUpdatePublishedFile',
full_name='CMsgClientUCMUpdatePublishedFile',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMUpdatePublishedFile.app_id', 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),
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMUpdatePublishedFile.published_file_id', index=1,
number=2, type=6, 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),
_descriptor.FieldDescriptor(
name='file_name', full_name='CMsgClientUCMUpdatePublishedFile.file_name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='preview_file_name', full_name='CMsgClientUCMUpdatePublishedFile.preview_file_name', 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),
_descriptor.FieldDescriptor(
name='title', full_name='CMsgClientUCMUpdatePublishedFile.title', 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),
_descriptor.FieldDescriptor(
name='description', full_name='CMsgClientUCMUpdatePublishedFile.description', 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),
_descriptor.FieldDescriptor(
name='tags', full_name='CMsgClientUCMUpdatePublishedFile.tags', index=6,
number=7, 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),
_descriptor.FieldDescriptor(
name='visibility', full_name='CMsgClientUCMUpdatePublishedFile.visibility', index=7,
number=8, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='update_file', full_name='CMsgClientUCMUpdatePublishedFile.update_file', 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),
_descriptor.FieldDescriptor(
name='update_preview_file', full_name='CMsgClientUCMUpdatePublishedFile.update_preview_file', 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),
_descriptor.FieldDescriptor(
name='update_title', full_name='CMsgClientUCMUpdatePublishedFile.update_title', 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),
_descriptor.FieldDescriptor(
name='update_description', full_name='CMsgClientUCMUpdatePublishedFile.update_description', index=11,
number=12, 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),
_descriptor.FieldDescriptor(
name='update_tags', full_name='CMsgClientUCMUpdatePublishedFile.update_tags', index=12,
number=13, 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),
_descriptor.FieldDescriptor(
name='update_visibility', full_name='CMsgClientUCMUpdatePublishedFile.update_visibility', index=13,
number=14, 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),
_descriptor.FieldDescriptor(
name='change_description', full_name='CMsgClientUCMUpdatePublishedFile.change_description', index=14,
number=15, 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),
_descriptor.FieldDescriptor(
name='update_url', full_name='CMsgClientUCMUpdatePublishedFile.update_url', index=15,
number=16, 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),
_descriptor.FieldDescriptor(
name='url', full_name='CMsgClientUCMUpdatePublishedFile.url', index=16,
number=17, 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),
_descriptor.FieldDescriptor(
name='update_content_manifest', full_name='CMsgClientUCMUpdatePublishedFile.update_content_manifest', index=17,
number=18, 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),
_descriptor.FieldDescriptor(
name='content_manifest', full_name='CMsgClientUCMUpdatePublishedFile.content_manifest', index=18,
number=19, type=6, 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),
_descriptor.FieldDescriptor(
name='metadata', full_name='CMsgClientUCMUpdatePublishedFile.metadata', index=19,
number=20, 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),
_descriptor.FieldDescriptor(
name='update_metadata', full_name='CMsgClientUCMUpdatePublishedFile.update_metadata', index=20,
number=21, 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),
_descriptor.FieldDescriptor(
name='language', full_name='CMsgClientUCMUpdatePublishedFile.language', index=21,
number=22, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='removed_kvtags', full_name='CMsgClientUCMUpdatePublishedFile.removed_kvtags', index=22,
number=23, 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),
_descriptor.FieldDescriptor(
name='kvtags', full_name='CMsgClientUCMUpdatePublishedFile.kvtags', index=23,
number=24, 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),
_descriptor.FieldDescriptor(
name='previews', full_name='CMsgClientUCMUpdatePublishedFile.previews', index=24,
number=25, 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),
_descriptor.FieldDescriptor(
name='previews_to_remove', full_name='CMsgClientUCMUpdatePublishedFile.previews_to_remove', index=25,
number=26, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='clear_in_progress', full_name='CMsgClientUCMUpdatePublishedFile.clear_in_progress', index=26,
number=27, 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),
_descriptor.FieldDescriptor(
name='remove_all_kvtags', full_name='CMsgClientUCMUpdatePublishedFile.remove_all_kvtags', index=27,
number=28, 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMUPDATEPUBLISHEDFILE_KEYVALUETAG, _CMSGCLIENTUCMUPDATEPUBLISHEDFILE_ADDITIONALPREVIEW, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=1197,
serialized_end=2148,
)
_CMSGCLIENTUCMUPDATEPUBLISHEDFILERESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMUpdatePublishedFileResponse',
full_name='CMsgClientUCMUpdatePublishedFileResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMUpdatePublishedFileResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='needs_workshop_legal_agreement_acceptance', full_name='CMsgClientUCMUpdatePublishedFileResponse.needs_workshop_legal_agreement_acceptance', index=1,
number=2, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2150,
serialized_end=2270,
)
_CMSGCLIENTUCMDELETEPUBLISHEDFILE = _descriptor.Descriptor(
name='CMsgClientUCMDeletePublishedFile',
full_name='CMsgClientUCMDeletePublishedFile',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMDeletePublishedFile.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMDeletePublishedFile.app_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2272,
serialized_end=2349,
)
_CMSGCLIENTUCMDELETEPUBLISHEDFILERESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMDeletePublishedFileResponse',
full_name='CMsgClientUCMDeletePublishedFileResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMDeletePublishedFileResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2351,
serialized_end=2413,
)
_CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILES = _descriptor.Descriptor(
name='CMsgClientUCMEnumerateUserPublishedFiles',
full_name='CMsgClientUCMEnumerateUserPublishedFiles',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMEnumerateUserPublishedFiles.app_id', 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),
_descriptor.FieldDescriptor(
name='start_index', full_name='CMsgClientUCMEnumerateUserPublishedFiles.start_index', 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),
_descriptor.FieldDescriptor(
name='sort_order', full_name='CMsgClientUCMEnumerateUserPublishedFiles.sort_order', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2415,
serialized_end=2514,
)
_CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgClientUCMEnumerateUserPublishedFilesResponse.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMEnumerateUserPublishedFilesResponse.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2704,
serialized_end=2748,
)
_CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMEnumerateUserPublishedFilesResponse',
full_name='CMsgClientUCMEnumerateUserPublishedFilesResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMEnumerateUserPublishedFilesResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='published_files', full_name='CMsgClientUCMEnumerateUserPublishedFilesResponse.published_files', 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),
_descriptor.FieldDescriptor(
name='total_results', full_name='CMsgClientUCMEnumerateUserPublishedFilesResponse.total_results', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2517,
serialized_end=2748,
)
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILES = _descriptor.Descriptor(
name='CMsgClientUCMEnumerateUserSubscribedFiles',
full_name='CMsgClientUCMEnumerateUserSubscribedFiles',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMEnumerateUserSubscribedFiles.app_id', 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),
_descriptor.FieldDescriptor(
name='start_index', full_name='CMsgClientUCMEnumerateUserSubscribedFiles.start_index', 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),
_descriptor.FieldDescriptor(
name='list_type', full_name='CMsgClientUCMEnumerateUserSubscribedFiles.list_type', index=2,
number=3, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=1,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='matching_file_type', full_name='CMsgClientUCMEnumerateUserSubscribedFiles.matching_file_type', index=3,
number=4, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='count', full_name='CMsgClientUCMEnumerateUserSubscribedFiles.count', index=4,
number=5, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=50,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2751,
serialized_end=2903,
)
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='rtime32_subscribed', full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId.rtime32_subscribed', index=1,
number=2, type=7, cpp_type=3, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3096,
serialized_end=3171,
)
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMEnumerateUserSubscribedFilesResponse',
full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='subscribed_files', full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse.subscribed_files', 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),
_descriptor.FieldDescriptor(
name='total_results', full_name='CMsgClientUCMEnumerateUserSubscribedFilesResponse.total_results', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2906,
serialized_end=3171,
)
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATES = _descriptor.Descriptor(
name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates',
full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates.app_id', 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),
_descriptor.FieldDescriptor(
name='start_index', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates.start_index', 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),
_descriptor.FieldDescriptor(
name='start_time', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates.start_time', index=2,
number=3, type=7, 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),
_descriptor.FieldDescriptor(
name='desired_revision', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates.desired_revision', index=3,
number=4, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3174,
serialized_end=3314,
)
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='rtime32_subscribed', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.rtime32_subscribed', index=1,
number=2, type=7, cpp_type=3, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.appid', 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),
_descriptor.FieldDescriptor(
name='file_hcontent', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.file_hcontent', index=3,
number=4, type=6, 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),
_descriptor.FieldDescriptor(
name='file_size', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.file_size', 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),
_descriptor.FieldDescriptor(
name='rtime32_last_updated', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.rtime32_last_updated', index=5,
number=6, type=7, 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),
_descriptor.FieldDescriptor(
name='is_depot_content', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId.is_depot_content', index=6,
number=7, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3530,
serialized_end=3718,
)
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse',
full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='subscribed_files', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.subscribed_files', 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),
_descriptor.FieldDescriptor(
name='total_results', full_name='CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.total_results', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3317,
serialized_end=3718,
)
_CMSGCLIENTUCMPUBLISHEDFILEUPDATED = _descriptor.Descriptor(
name='CMsgClientUCMPublishedFileUpdated',
full_name='CMsgClientUCMPublishedFileUpdated',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMPublishedFileUpdated.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMPublishedFileUpdated.app_id', 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),
_descriptor.FieldDescriptor(
name='time_updated', full_name='CMsgClientUCMPublishedFileUpdated.time_updated', 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),
_descriptor.FieldDescriptor(
name='hcontent', full_name='CMsgClientUCMPublishedFileUpdated.hcontent', index=3,
number=4, type=6, 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),
_descriptor.FieldDescriptor(
name='file_size', full_name='CMsgClientUCMPublishedFileUpdated.file_size', index=4,
number=5, type=7, 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),
_descriptor.FieldDescriptor(
name='is_depot_content', full_name='CMsgClientUCMPublishedFileUpdated.is_depot_content', index=5,
number=6, 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),
_descriptor.FieldDescriptor(
name='revision', full_name='CMsgClientUCMPublishedFileUpdated.revision', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3721,
serialized_end=3902,
)
_CMSGCLIENTWORKSHOPITEMCHANGESREQUEST = _descriptor.Descriptor(
name='CMsgClientWorkshopItemChangesRequest',
full_name='CMsgClientWorkshopItemChangesRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientWorkshopItemChangesRequest.app_id', 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),
_descriptor.FieldDescriptor(
name='last_time_updated', full_name='CMsgClientWorkshopItemChangesRequest.last_time_updated', 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),
_descriptor.FieldDescriptor(
name='num_items_needed', full_name='CMsgClientWorkshopItemChangesRequest.num_items_needed', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=3904,
serialized_end=4011,
)
_CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE_WORKSHOPITEMINFO = _descriptor.Descriptor(
name='WorkshopItemInfo',
full_name='CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='time_updated', full_name='CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo.time_updated', 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),
_descriptor.FieldDescriptor(
name='manifest_id', full_name='CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo.manifest_id', index=2,
number=3, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4177,
serialized_end=4265,
)
_CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE = _descriptor.Descriptor(
name='CMsgClientWorkshopItemChangesResponse',
full_name='CMsgClientWorkshopItemChangesResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientWorkshopItemChangesResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='update_time', full_name='CMsgClientWorkshopItemChangesResponse.update_time', 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),
_descriptor.FieldDescriptor(
name='workshop_items', full_name='CMsgClientWorkshopItemChangesResponse.workshop_items', index=2,
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),
],
extensions=[
],
nested_types=[_CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE_WORKSHOPITEMINFO, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4014,
serialized_end=4265,
)
_CMSGCLIENTWORKSHOPITEMINFOREQUEST_WORKSHOPITEM = _descriptor.Descriptor(
name='WorkshopItem',
full_name='CMsgClientWorkshopItemInfoRequest.WorkshopItem',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientWorkshopItemInfoRequest.WorkshopItem.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='time_updated', full_name='CMsgClientWorkshopItemInfoRequest.WorkshopItem.time_updated', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4421,
serialized_end=4484,
)
_CMSGCLIENTWORKSHOPITEMINFOREQUEST = _descriptor.Descriptor(
name='CMsgClientWorkshopItemInfoRequest',
full_name='CMsgClientWorkshopItemInfoRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientWorkshopItemInfoRequest.app_id', 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),
_descriptor.FieldDescriptor(
name='last_time_updated', full_name='CMsgClientWorkshopItemInfoRequest.last_time_updated', 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),
_descriptor.FieldDescriptor(
name='workshop_items', full_name='CMsgClientWorkshopItemInfoRequest.workshop_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),
],
extensions=[
],
nested_types=[_CMSGCLIENTWORKSHOPITEMINFOREQUEST_WORKSHOPITEM, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4268,
serialized_end=4484,
)
_CMSGCLIENTWORKSHOPITEMINFORESPONSE_WORKSHOPITEMINFO = _descriptor.Descriptor(
name='WorkshopItemInfo',
full_name='CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='time_updated', full_name='CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo.time_updated', 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),
_descriptor.FieldDescriptor(
name='manifest_id', full_name='CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo.manifest_id', index=2,
number=3, type=6, 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),
_descriptor.FieldDescriptor(
name='is_legacy', full_name='CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo.is_legacy', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4667,
serialized_end=4774,
)
_CMSGCLIENTWORKSHOPITEMINFORESPONSE = _descriptor.Descriptor(
name='CMsgClientWorkshopItemInfoResponse',
full_name='CMsgClientWorkshopItemInfoResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientWorkshopItemInfoResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='update_time', full_name='CMsgClientWorkshopItemInfoResponse.update_time', 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),
_descriptor.FieldDescriptor(
name='workshop_items', full_name='CMsgClientWorkshopItemInfoResponse.workshop_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),
_descriptor.FieldDescriptor(
name='private_items', full_name='CMsgClientWorkshopItemInfoResponse.private_items', index=3,
number=4, type=6, cpp_type=4, 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTWORKSHOPITEMINFORESPONSE_WORKSHOPITEMINFO, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4487,
serialized_end=4774,
)
_CMSGCLIENTUCMGETPUBLISHEDFILESFORUSER = _descriptor.Descriptor(
name='CMsgClientUCMGetPublishedFilesForUser',
full_name='CMsgClientUCMGetPublishedFilesForUser',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMGetPublishedFilesForUser.app_id', 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),
_descriptor.FieldDescriptor(
name='creator_steam_id', full_name='CMsgClientUCMGetPublishedFilesForUser.creator_steam_id', index=1,
number=2, type=6, 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),
_descriptor.FieldDescriptor(
name='required_tags', full_name='CMsgClientUCMGetPublishedFilesForUser.required_tags', index=2,
number=3, 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),
_descriptor.FieldDescriptor(
name='excluded_tags', full_name='CMsgClientUCMGetPublishedFilesForUser.excluded_tags', index=3,
number=4, 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),
_descriptor.FieldDescriptor(
name='start_index', full_name='CMsgClientUCMGetPublishedFilesForUser.start_index', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4777,
serialized_end=4925,
)
_CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgClientUCMGetPublishedFilesForUserResponse.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMGetPublishedFilesForUserResponse.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2704,
serialized_end=2748,
)
_CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMGetPublishedFilesForUserResponse',
full_name='CMsgClientUCMGetPublishedFilesForUserResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMGetPublishedFilesForUserResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='published_files', full_name='CMsgClientUCMGetPublishedFilesForUserResponse.published_files', 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),
_descriptor.FieldDescriptor(
name='total_results', full_name='CMsgClientUCMGetPublishedFilesForUserResponse.total_results', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=4928,
serialized_end=5153,
)
_CMSGCLIENTUCMSETUSERPUBLISHEDFILEACTION = _descriptor.Descriptor(
name='CMsgClientUCMSetUserPublishedFileAction',
full_name='CMsgClientUCMSetUserPublishedFileAction',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMSetUserPublishedFileAction.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMSetUserPublishedFileAction.app_id', 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),
_descriptor.FieldDescriptor(
name='action', full_name='CMsgClientUCMSetUserPublishedFileAction.action', index=2,
number=3, type=5, cpp_type=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5155,
serialized_end=5255,
)
_CMSGCLIENTUCMSETUSERPUBLISHEDFILEACTIONRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMSetUserPublishedFileActionResponse',
full_name='CMsgClientUCMSetUserPublishedFileActionResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMSetUserPublishedFileActionResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5257,
serialized_end=5326,
)
_CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTION = _descriptor.Descriptor(
name='CMsgClientUCMEnumeratePublishedFilesByUserAction',
full_name='CMsgClientUCMEnumeratePublishedFilesByUserAction',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUCMEnumeratePublishedFilesByUserAction.app_id', 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),
_descriptor.FieldDescriptor(
name='start_index', full_name='CMsgClientUCMEnumeratePublishedFilesByUserAction.start_index', 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),
_descriptor.FieldDescriptor(
name='action', full_name='CMsgClientUCMEnumeratePublishedFilesByUserAction.action', index=2,
number=3, type=5, cpp_type=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5328,
serialized_end=5431,
)
_CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='rtime_time_stamp', full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.PublishedFileId.rtime_time_stamp', index=1,
number=2, type=7, cpp_type=3, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5637,
serialized_end=5710,
)
_CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE = _descriptor.Descriptor(
name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse',
full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='published_files', full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.published_files', 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),
_descriptor.FieldDescriptor(
name='total_results', full_name='CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.total_results', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5434,
serialized_end=5710,
)
_CMSGCLIENTSCREENSHOTSCHANGED = _descriptor.Descriptor(
name='CMsgClientScreenshotsChanged',
full_name='CMsgClientScreenshotsChanged',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5712,
serialized_end=5742,
)
_CMSGCLIENTUPDATEUSERGAMEINFO = _descriptor.Descriptor(
name='CMsgClientUpdateUserGameInfo',
full_name='CMsgClientUpdateUserGameInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steamid_idgs', full_name='CMsgClientUpdateUserGameInfo.steamid_idgs', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='gameid', full_name='CMsgClientUpdateUserGameInfo.gameid', index=1,
number=2, type=6, 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),
_descriptor.FieldDescriptor(
name='game_ip', full_name='CMsgClientUpdateUserGameInfo.game_ip', 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),
_descriptor.FieldDescriptor(
name='game_port', full_name='CMsgClientUpdateUserGameInfo.game_port', 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),
_descriptor.FieldDescriptor(
name='token', full_name='CMsgClientUpdateUserGameInfo.token', index=4,
number=5, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5744,
serialized_end=5863,
)
_CMSGCLIENTRICHPRESENCEUPLOAD = _descriptor.Descriptor(
name='CMsgClientRichPresenceUpload',
full_name='CMsgClientRichPresenceUpload',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='rich_presence_kv', full_name='CMsgClientRichPresenceUpload.rich_presence_kv', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='steamid_broadcast', full_name='CMsgClientRichPresenceUpload.steamid_broadcast', index=1,
number=2, type=6, cpp_type=4, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5865,
serialized_end=5948,
)
_CMSGCLIENTRICHPRESENCEREQUEST = _descriptor.Descriptor(
name='CMsgClientRichPresenceRequest',
full_name='CMsgClientRichPresenceRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steamid_request', full_name='CMsgClientRichPresenceRequest.steamid_request', index=0,
number=1, type=6, cpp_type=4, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=5950,
serialized_end=6006,
)
_CMSGCLIENTRICHPRESENCEINFO_RICHPRESENCE = _descriptor.Descriptor(
name='RichPresence',
full_name='CMsgClientRichPresenceInfo.RichPresence',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steamid_user', full_name='CMsgClientRichPresenceInfo.RichPresence.steamid_user', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='rich_presence_kv', full_name='CMsgClientRichPresenceInfo.RichPresence.rich_presence_kv', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6104,
serialized_end=6166,
)
_CMSGCLIENTRICHPRESENCEINFO = _descriptor.Descriptor(
name='CMsgClientRichPresenceInfo',
full_name='CMsgClientRichPresenceInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='rich_presence', full_name='CMsgClientRichPresenceInfo.rich_presence', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTRICHPRESENCEINFO_RICHPRESENCE, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6009,
serialized_end=6166,
)
_CMSGCLIENTCHECKFILESIGNATURE = _descriptor.Descriptor(
name='CMsgClientCheckFileSignature',
full_name='CMsgClientCheckFileSignature',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientCheckFileSignature.app_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6168,
serialized_end=6214,
)
_CMSGCLIENTCHECKFILESIGNATURERESPONSE = _descriptor.Descriptor(
name='CMsgClientCheckFileSignatureResponse',
full_name='CMsgClientCheckFileSignatureResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientCheckFileSignatureResponse.app_id', 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),
_descriptor.FieldDescriptor(
name='pid', full_name='CMsgClientCheckFileSignatureResponse.pid', 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientCheckFileSignatureResponse.eresult', 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),
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientCheckFileSignatureResponse.filename', 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),
_descriptor.FieldDescriptor(
name='esignatureresult', full_name='CMsgClientCheckFileSignatureResponse.esignatureresult', 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),
_descriptor.FieldDescriptor(
name='sha_file', full_name='CMsgClientCheckFileSignatureResponse.sha_file', index=5,
number=6, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='signatureheader', full_name='CMsgClientCheckFileSignatureResponse.signatureheader', index=6,
number=7, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='filesize', full_name='CMsgClientCheckFileSignatureResponse.filesize', 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),
_descriptor.FieldDescriptor(
name='getlasterror', full_name='CMsgClientCheckFileSignatureResponse.getlasterror', 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),
_descriptor.FieldDescriptor(
name='evalvesignaturecheckdetail', full_name='CMsgClientCheckFileSignatureResponse.evalvesignaturecheckdetail', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6217,
serialized_end=6464,
)
_CMSGCLIENTREADMACHINEAUTH = _descriptor.Descriptor(
name='CMsgClientReadMachineAuth',
full_name='CMsgClientReadMachineAuth',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientReadMachineAuth.filename', 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),
_descriptor.FieldDescriptor(
name='offset', full_name='CMsgClientReadMachineAuth.offset', 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),
_descriptor.FieldDescriptor(
name='cubtoread', full_name='CMsgClientReadMachineAuth.cubtoread', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6466,
serialized_end=6546,
)
_CMSGCLIENTREADMACHINEAUTHRESPONSE = _descriptor.Descriptor(
name='CMsgClientReadMachineAuthResponse',
full_name='CMsgClientReadMachineAuthResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientReadMachineAuthResponse.filename', 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientReadMachineAuthResponse.eresult', 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),
_descriptor.FieldDescriptor(
name='filesize', full_name='CMsgClientReadMachineAuthResponse.filesize', 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),
_descriptor.FieldDescriptor(
name='sha_file', full_name='CMsgClientReadMachineAuthResponse.sha_file', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='getlasterror', full_name='CMsgClientReadMachineAuthResponse.getlasterror', 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),
_descriptor.FieldDescriptor(
name='offset', full_name='CMsgClientReadMachineAuthResponse.offset', 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),
_descriptor.FieldDescriptor(
name='cubread', full_name='CMsgClientReadMachineAuthResponse.cubread', 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),
_descriptor.FieldDescriptor(
name='bytes_read', full_name='CMsgClientReadMachineAuthResponse.bytes_read', index=7,
number=8, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='filename_sentry', full_name='CMsgClientReadMachineAuthResponse.filename_sentry', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6549,
serialized_end=6755,
)
_CMSGCLIENTUPDATEMACHINEAUTH = _descriptor.Descriptor(
name='CMsgClientUpdateMachineAuth',
full_name='CMsgClientUpdateMachineAuth',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientUpdateMachineAuth.filename', 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),
_descriptor.FieldDescriptor(
name='offset', full_name='CMsgClientUpdateMachineAuth.offset', 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),
_descriptor.FieldDescriptor(
name='cubtowrite', full_name='CMsgClientUpdateMachineAuth.cubtowrite', 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),
_descriptor.FieldDescriptor(
name='bytes', full_name='CMsgClientUpdateMachineAuth.bytes', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='otp_type', full_name='CMsgClientUpdateMachineAuth.otp_type', 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),
_descriptor.FieldDescriptor(
name='otp_identifier', full_name='CMsgClientUpdateMachineAuth.otp_identifier', 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),
_descriptor.FieldDescriptor(
name='otp_sharedsecret', full_name='CMsgClientUpdateMachineAuth.otp_sharedsecret', index=6,
number=7, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='otp_timedrift', full_name='CMsgClientUpdateMachineAuth.otp_timedrift', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6758,
serialized_end=6947,
)
_CMSGCLIENTUPDATEMACHINEAUTHRESPONSE = _descriptor.Descriptor(
name='CMsgClientUpdateMachineAuthResponse',
full_name='CMsgClientUpdateMachineAuthResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientUpdateMachineAuthResponse.filename', 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUpdateMachineAuthResponse.eresult', 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),
_descriptor.FieldDescriptor(
name='filesize', full_name='CMsgClientUpdateMachineAuthResponse.filesize', 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),
_descriptor.FieldDescriptor(
name='sha_file', full_name='CMsgClientUpdateMachineAuthResponse.sha_file', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='getlasterror', full_name='CMsgClientUpdateMachineAuthResponse.getlasterror', 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),
_descriptor.FieldDescriptor(
name='offset', full_name='CMsgClientUpdateMachineAuthResponse.offset', 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),
_descriptor.FieldDescriptor(
name='cubwrote', full_name='CMsgClientUpdateMachineAuthResponse.cubwrote', 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),
_descriptor.FieldDescriptor(
name='otp_type', full_name='CMsgClientUpdateMachineAuthResponse.otp_type', index=7,
number=8, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='otp_value', full_name='CMsgClientUpdateMachineAuthResponse.otp_value', 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),
_descriptor.FieldDescriptor(
name='otp_identifier', full_name='CMsgClientUpdateMachineAuthResponse.otp_identifier', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=6950,
serialized_end=7175,
)
_CMSGCLIENTREQUESTMACHINEAUTH = _descriptor.Descriptor(
name='CMsgClientRequestMachineAuth',
full_name='CMsgClientRequestMachineAuth',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='filename', full_name='CMsgClientRequestMachineAuth.filename', 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),
_descriptor.FieldDescriptor(
name='eresult_sentryfile', full_name='CMsgClientRequestMachineAuth.eresult_sentryfile', 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),
_descriptor.FieldDescriptor(
name='filesize', full_name='CMsgClientRequestMachineAuth.filesize', 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),
_descriptor.FieldDescriptor(
name='sha_sentryfile', full_name='CMsgClientRequestMachineAuth.sha_sentryfile', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='lock_account_action', full_name='CMsgClientRequestMachineAuth.lock_account_action', index=4,
number=6, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='otp_type', full_name='CMsgClientRequestMachineAuth.otp_type', index=5,
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),
_descriptor.FieldDescriptor(
name='otp_identifier', full_name='CMsgClientRequestMachineAuth.otp_identifier', index=6,
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),
_descriptor.FieldDescriptor(
name='otp_sharedsecret', full_name='CMsgClientRequestMachineAuth.otp_sharedsecret', index=7,
number=9, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='otp_value', full_name='CMsgClientRequestMachineAuth.otp_value', index=8,
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),
_descriptor.FieldDescriptor(
name='machine_name', full_name='CMsgClientRequestMachineAuth.machine_name', index=9,
number=11, 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),
_descriptor.FieldDescriptor(
name='machine_name_userchosen', full_name='CMsgClientRequestMachineAuth.machine_name_userchosen', index=10,
number=12, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7178,
serialized_end=7467,
)
_CMSGCLIENTREQUESTMACHINEAUTHRESPONSE = _descriptor.Descriptor(
name='CMsgClientRequestMachineAuthResponse',
full_name='CMsgClientRequestMachineAuthResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientRequestMachineAuthResponse.eresult', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7469,
serialized_end=7524,
)
_CMSGCLIENTREGISTERKEY = _descriptor.Descriptor(
name='CMsgClientRegisterKey',
full_name='CMsgClientRegisterKey',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='CMsgClientRegisterKey.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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7526,
serialized_end=7562,
)
_CMSGCLIENTPURCHASERESPONSE = _descriptor.Descriptor(
name='CMsgClientPurchaseResponse',
full_name='CMsgClientPurchaseResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientPurchaseResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='purchase_result_details', full_name='CMsgClientPurchaseResponse.purchase_result_details', index=1,
number=2, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='purchase_receipt_info', full_name='CMsgClientPurchaseResponse.purchase_receipt_info', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7564,
serialized_end=7676,
)
_CMSGCLIENTACTIVATEOEMLICENSE = _descriptor.Descriptor(
name='CMsgClientActivateOEMLicense',
full_name='CMsgClientActivateOEMLicense',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='bios_manufacturer', full_name='CMsgClientActivateOEMLicense.bios_manufacturer', 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),
_descriptor.FieldDescriptor(
name='bios_serialnumber', full_name='CMsgClientActivateOEMLicense.bios_serialnumber', 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),
_descriptor.FieldDescriptor(
name='license_file', full_name='CMsgClientActivateOEMLicense.license_file', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='mainboard_manufacturer', full_name='CMsgClientActivateOEMLicense.mainboard_manufacturer', 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),
_descriptor.FieldDescriptor(
name='mainboard_product', full_name='CMsgClientActivateOEMLicense.mainboard_product', 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),
_descriptor.FieldDescriptor(
name='mainboard_serialnumber', full_name='CMsgClientActivateOEMLicense.mainboard_serialnumber', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7679,
serialized_end=7876,
)
_CMSGCLIENTREGISTEROEMMACHINE = _descriptor.Descriptor(
name='CMsgClientRegisterOEMMachine',
full_name='CMsgClientRegisterOEMMachine',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='oem_register_file', full_name='CMsgClientRegisterOEMMachine.oem_register_file', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7878,
serialized_end=7935,
)
_CMSGCLIENTREGISTEROEMMACHINERESPONSE = _descriptor.Descriptor(
name='CMsgClientRegisterOEMMachineResponse',
full_name='CMsgClientRegisterOEMMachineResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientRegisterOEMMachineResponse.eresult', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7937,
serialized_end=7992,
)
_CMSGCLIENTPURCHASEWITHMACHINEID = _descriptor.Descriptor(
name='CMsgClientPurchaseWithMachineID',
full_name='CMsgClientPurchaseWithMachineID',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='package_id', full_name='CMsgClientPurchaseWithMachineID.package_id', 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),
_descriptor.FieldDescriptor(
name='machine_info', full_name='CMsgClientPurchaseWithMachineID.machine_info', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=7994,
serialized_end=8069,
)
_CMSGTRADING_INITIATETRADEREQUEST = _descriptor.Descriptor(
name='CMsgTrading_InitiateTradeRequest',
full_name='CMsgTrading_InitiateTradeRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='trade_request_id', full_name='CMsgTrading_InitiateTradeRequest.trade_request_id', 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),
_descriptor.FieldDescriptor(
name='other_steamid', full_name='CMsgTrading_InitiateTradeRequest.other_steamid', 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),
_descriptor.FieldDescriptor(
name='other_name', full_name='CMsgTrading_InitiateTradeRequest.other_name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8071,
serialized_end=8174,
)
_CMSGTRADING_INITIATETRADERESPONSE = _descriptor.Descriptor(
name='CMsgTrading_InitiateTradeResponse',
full_name='CMsgTrading_InitiateTradeResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='response', full_name='CMsgTrading_InitiateTradeResponse.response', 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),
_descriptor.FieldDescriptor(
name='trade_request_id', full_name='CMsgTrading_InitiateTradeResponse.trade_request_id', 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),
_descriptor.FieldDescriptor(
name='other_steamid', full_name='CMsgTrading_InitiateTradeResponse.other_steamid', index=2,
number=3, 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),
_descriptor.FieldDescriptor(
name='steamguard_required_days', full_name='CMsgTrading_InitiateTradeResponse.steamguard_required_days', 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),
_descriptor.FieldDescriptor(
name='new_device_cooldown_days', full_name='CMsgTrading_InitiateTradeResponse.new_device_cooldown_days', 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),
_descriptor.FieldDescriptor(
name='default_password_reset_probation_days', full_name='CMsgTrading_InitiateTradeResponse.default_password_reset_probation_days', 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),
_descriptor.FieldDescriptor(
name='password_reset_probation_days', full_name='CMsgTrading_InitiateTradeResponse.password_reset_probation_days', 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),
_descriptor.FieldDescriptor(
name='default_email_change_probation_days', full_name='CMsgTrading_InitiateTradeResponse.default_email_change_probation_days', 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),
_descriptor.FieldDescriptor(
name='email_change_probation_days', full_name='CMsgTrading_InitiateTradeResponse.email_change_probation_days', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8177,
serialized_end=8515,
)
_CMSGTRADING_CANCELTRADEREQUEST = _descriptor.Descriptor(
name='CMsgTrading_CancelTradeRequest',
full_name='CMsgTrading_CancelTradeRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='other_steamid', full_name='CMsgTrading_CancelTradeRequest.other_steamid', index=0,
number=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8517,
serialized_end=8572,
)
_CMSGTRADING_STARTSESSION = _descriptor.Descriptor(
name='CMsgTrading_StartSession',
full_name='CMsgTrading_StartSession',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='other_steamid', full_name='CMsgTrading_StartSession.other_steamid', index=0,
number=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8574,
serialized_end=8623,
)
_CMSGCLIENTGETCDNAUTHTOKEN = _descriptor.Descriptor(
name='CMsgClientGetCDNAuthToken',
full_name='CMsgClientGetCDNAuthToken',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='depot_id', full_name='CMsgClientGetCDNAuthToken.depot_id', 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),
_descriptor.FieldDescriptor(
name='host_name', full_name='CMsgClientGetCDNAuthToken.host_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),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientGetCDNAuthToken.app_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8625,
serialized_end=8705,
)
_CMSGCLIENTGETDEPOTDECRYPTIONKEY = _descriptor.Descriptor(
name='CMsgClientGetDepotDecryptionKey',
full_name='CMsgClientGetDepotDecryptionKey',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='depot_id', full_name='CMsgClientGetDepotDecryptionKey.depot_id', 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),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientGetDepotDecryptionKey.app_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8707,
serialized_end=8774,
)
_CMSGCLIENTGETDEPOTDECRYPTIONKEYRESPONSE = _descriptor.Descriptor(
name='CMsgClientGetDepotDecryptionKeyResponse',
full_name='CMsgClientGetDepotDecryptionKeyResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientGetDepotDecryptionKeyResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='depot_id', full_name='CMsgClientGetDepotDecryptionKeyResponse.depot_id', 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),
_descriptor.FieldDescriptor(
name='depot_encryption_key', full_name='CMsgClientGetDepotDecryptionKeyResponse.depot_encryption_key', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8776,
serialized_end=8885,
)
_CMSGCLIENTCHECKAPPBETAPASSWORD = _descriptor.Descriptor(
name='CMsgClientCheckAppBetaPassword',
full_name='CMsgClientCheckAppBetaPassword',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientCheckAppBetaPassword.app_id', 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),
_descriptor.FieldDescriptor(
name='betapassword', full_name='CMsgClientCheckAppBetaPassword.betapassword', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8887,
serialized_end=8957,
)
_CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE_BETAPASSWORD = _descriptor.Descriptor(
name='BetaPassword',
full_name='CMsgClientCheckAppBetaPasswordResponse.BetaPassword',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='betaname', full_name='CMsgClientCheckAppBetaPasswordResponse.BetaPassword.betaname', 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),
_descriptor.FieldDescriptor(
name='betapassword', full_name='CMsgClientCheckAppBetaPasswordResponse.BetaPassword.betapassword', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=9099,
serialized_end=9153,
)
_CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE = _descriptor.Descriptor(
name='CMsgClientCheckAppBetaPasswordResponse',
full_name='CMsgClientCheckAppBetaPasswordResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientCheckAppBetaPasswordResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='betapasswords', full_name='CMsgClientCheckAppBetaPasswordResponse.betapasswords', index=1,
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),
],
extensions=[
],
nested_types=[_CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE_BETAPASSWORD, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=8960,
serialized_end=9153,
)
_CMSGCLIENTUPDATEAPPJOBREPORT = _descriptor.Descriptor(
name='CMsgClientUpdateAppJobReport',
full_name='CMsgClientUpdateAppJobReport',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientUpdateAppJobReport.app_id', 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),
_descriptor.FieldDescriptor(
name='depot_ids', full_name='CMsgClientUpdateAppJobReport.depot_ids', index=1,
number=2, type=13, cpp_type=3, 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),
_descriptor.FieldDescriptor(
name='app_state', full_name='CMsgClientUpdateAppJobReport.app_state', 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),
_descriptor.FieldDescriptor(
name='job_app_error', full_name='CMsgClientUpdateAppJobReport.job_app_error', 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),
_descriptor.FieldDescriptor(
name='error_details', full_name='CMsgClientUpdateAppJobReport.error_details', 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),
_descriptor.FieldDescriptor(
name='job_duration', full_name='CMsgClientUpdateAppJobReport.job_duration', 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),
_descriptor.FieldDescriptor(
name='files_validation_failed', full_name='CMsgClientUpdateAppJobReport.files_validation_failed', 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),
_descriptor.FieldDescriptor(
name='job_bytes_downloaded', full_name='CMsgClientUpdateAppJobReport.job_bytes_downloaded', index=7,
number=8, 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),
_descriptor.FieldDescriptor(
name='job_bytes_staged', full_name='CMsgClientUpdateAppJobReport.job_bytes_staged', index=8,
number=9, 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),
_descriptor.FieldDescriptor(
name='bytes_comitted', full_name='CMsgClientUpdateAppJobReport.bytes_comitted', index=9,
number=10, 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),
_descriptor.FieldDescriptor(
name='start_app_state', full_name='CMsgClientUpdateAppJobReport.start_app_state', 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),
_descriptor.FieldDescriptor(
name='stats_machine_id', full_name='CMsgClientUpdateAppJobReport.stats_machine_id', index=11,
number=12, type=6, 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),
_descriptor.FieldDescriptor(
name='branch_name', full_name='CMsgClientUpdateAppJobReport.branch_name', index=12,
number=13, 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),
_descriptor.FieldDescriptor(
name='total_bytes_downloaded', full_name='CMsgClientUpdateAppJobReport.total_bytes_downloaded', index=13,
number=14, 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),
_descriptor.FieldDescriptor(
name='total_bytes_staged', full_name='CMsgClientUpdateAppJobReport.total_bytes_staged', index=14,
number=15, 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),
_descriptor.FieldDescriptor(
name='total_bytes_restored', full_name='CMsgClientUpdateAppJobReport.total_bytes_restored', index=15,
number=16, 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),
_descriptor.FieldDescriptor(
name='is_borrowed', full_name='CMsgClientUpdateAppJobReport.is_borrowed', index=16,
number=17, 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),
_descriptor.FieldDescriptor(
name='is_free_weekend', full_name='CMsgClientUpdateAppJobReport.is_free_weekend', index=17,
number=18, 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),
_descriptor.FieldDescriptor(
name='total_bytes_legacy', full_name='CMsgClientUpdateAppJobReport.total_bytes_legacy', index=18,
number=19, 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),
_descriptor.FieldDescriptor(
name='total_bytes_patched', full_name='CMsgClientUpdateAppJobReport.total_bytes_patched', index=19,
number=20, 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),
_descriptor.FieldDescriptor(
name='total_bytes_saved', full_name='CMsgClientUpdateAppJobReport.total_bytes_saved', index=20,
number=21, 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),
_descriptor.FieldDescriptor(
name='cell_id', full_name='CMsgClientUpdateAppJobReport.cell_id', index=21,
number=22, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=9156,
serialized_end=9730,
)
_CMSGCLIENTDPCONTENTSTATSREPORT = _descriptor.Descriptor(
name='CMsgClientDPContentStatsReport',
full_name='CMsgClientDPContentStatsReport',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stats_machine_id', full_name='CMsgClientDPContentStatsReport.stats_machine_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='country_code', full_name='CMsgClientDPContentStatsReport.country_code', 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),
_descriptor.FieldDescriptor(
name='os_type', full_name='CMsgClientDPContentStatsReport.os_type', index=2,
number=3, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='language', full_name='CMsgClientDPContentStatsReport.language', index=3,
number=4, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='num_install_folders', full_name='CMsgClientDPContentStatsReport.num_install_folders', 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),
_descriptor.FieldDescriptor(
name='num_installed_games', full_name='CMsgClientDPContentStatsReport.num_installed_games', 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),
_descriptor.FieldDescriptor(
name='size_installed_games', full_name='CMsgClientDPContentStatsReport.size_installed_games', index=6,
number=7, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=9733,
serialized_end=9936,
)
_CMSGCLIENTGETCDNAUTHTOKENRESPONSE = _descriptor.Descriptor(
name='CMsgClientGetCDNAuthTokenResponse',
full_name='CMsgClientGetCDNAuthTokenResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientGetCDNAuthTokenResponse.eresult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='token', full_name='CMsgClientGetCDNAuthTokenResponse.token', 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),
_descriptor.FieldDescriptor(
name='expiration_time', full_name='CMsgClientGetCDNAuthTokenResponse.expiration_time', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=9938,
serialized_end=10033,
)
_CMSGDOWNLOADRATESTATISTICS_STATSINFO = _descriptor.Descriptor(
name='StatsInfo',
full_name='CMsgDownloadRateStatistics.StatsInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='source_type', full_name='CMsgDownloadRateStatistics.StatsInfo.source_type', 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),
_descriptor.FieldDescriptor(
name='source_id', full_name='CMsgDownloadRateStatistics.StatsInfo.source_id', 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),
_descriptor.FieldDescriptor(
name='seconds', full_name='CMsgDownloadRateStatistics.StatsInfo.seconds', 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),
_descriptor.FieldDescriptor(
name='bytes', full_name='CMsgDownloadRateStatistics.StatsInfo.bytes', index=3,
number=4, 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),
_descriptor.FieldDescriptor(
name='host_name', full_name='CMsgDownloadRateStatistics.StatsInfo.host_name', 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),
_descriptor.FieldDescriptor(
name='microseconds', full_name='CMsgDownloadRateStatistics.StatsInfo.microseconds', index=5,
number=6, 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),
_descriptor.FieldDescriptor(
name='used_ipv6', full_name='CMsgDownloadRateStatistics.StatsInfo.used_ipv6', index=6,
number=7, 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),
_descriptor.FieldDescriptor(
name='proxied', full_name='CMsgDownloadRateStatistics.StatsInfo.proxied', index=7,
number=8, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10163,
serialized_end=10323,
)
_CMSGDOWNLOADRATESTATISTICS = _descriptor.Descriptor(
name='CMsgDownloadRateStatistics',
full_name='CMsgDownloadRateStatistics',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='cell_id', full_name='CMsgDownloadRateStatistics.cell_id', 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),
_descriptor.FieldDescriptor(
name='stats', full_name='CMsgDownloadRateStatistics.stats', 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),
_descriptor.FieldDescriptor(
name='throttling_kbps', full_name='CMsgDownloadRateStatistics.throttling_kbps', 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),
],
extensions=[
],
nested_types=[_CMSGDOWNLOADRATESTATISTICS_STATSINFO, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10036,
serialized_end=10323,
)
_CMSGCLIENTREQUESTACCOUNTDATA = _descriptor.Descriptor(
name='CMsgClientRequestAccountData',
full_name='CMsgClientRequestAccountData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='account_or_email', full_name='CMsgClientRequestAccountData.account_or_email', 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),
_descriptor.FieldDescriptor(
name='action', full_name='CMsgClientRequestAccountData.action', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10325,
serialized_end=10397,
)
_CMSGCLIENTREQUESTACCOUNTDATARESPONSE = _descriptor.Descriptor(
name='CMsgClientRequestAccountDataResponse',
full_name='CMsgClientRequestAccountDataResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='action', full_name='CMsgClientRequestAccountDataResponse.action', 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientRequestAccountDataResponse.eresult', 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),
_descriptor.FieldDescriptor(
name='account_name', full_name='CMsgClientRequestAccountDataResponse.account_name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='ct_matches', full_name='CMsgClientRequestAccountDataResponse.ct_matches', 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),
_descriptor.FieldDescriptor(
name='account_name_suggestion1', full_name='CMsgClientRequestAccountDataResponse.account_name_suggestion1', 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),
_descriptor.FieldDescriptor(
name='account_name_suggestion2', full_name='CMsgClientRequestAccountDataResponse.account_name_suggestion2', 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),
_descriptor.FieldDescriptor(
name='account_name_suggestion3', full_name='CMsgClientRequestAccountDataResponse.account_name_suggestion3', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10400,
serialized_end=10615,
)
_CMSGCLIENTUGSGETGLOBALSTATS = _descriptor.Descriptor(
name='CMsgClientUGSGetGlobalStats',
full_name='CMsgClientUGSGetGlobalStats',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='gameid', full_name='CMsgClientUGSGetGlobalStats.gameid', index=0,
number=1, 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),
_descriptor.FieldDescriptor(
name='history_days_requested', full_name='CMsgClientUGSGetGlobalStats.history_days_requested', 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),
_descriptor.FieldDescriptor(
name='time_last_requested', full_name='CMsgClientUGSGetGlobalStats.time_last_requested', index=2,
number=3, type=7, 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),
_descriptor.FieldDescriptor(
name='first_day_cached', full_name='CMsgClientUGSGetGlobalStats.first_day_cached', 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),
_descriptor.FieldDescriptor(
name='days_cached', full_name='CMsgClientUGSGetGlobalStats.days_cached', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10618,
serialized_end=10771,
)
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY_STAT = _descriptor.Descriptor(
name='Stat',
full_name='CMsgClientUGSGetGlobalStatsResponse.Day.Stat',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='stat_id', full_name='CMsgClientUGSGetGlobalStatsResponse.Day.Stat.stat_id', index=0,
number=1, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='data', full_name='CMsgClientUGSGetGlobalStatsResponse.Day.Stat.data', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11014,
serialized_end=11051,
)
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY = _descriptor.Descriptor(
name='Day',
full_name='CMsgClientUGSGetGlobalStatsResponse.Day',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='day_id', full_name='CMsgClientUGSGetGlobalStatsResponse.Day.day_id', 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),
_descriptor.FieldDescriptor(
name='stats', full_name='CMsgClientUGSGetGlobalStatsResponse.Day.stats', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY_STAT, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10929,
serialized_end=11051,
)
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE = _descriptor.Descriptor(
name='CMsgClientUGSGetGlobalStatsResponse',
full_name='CMsgClientUGSGetGlobalStatsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientUGSGetGlobalStatsResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='timestamp', full_name='CMsgClientUGSGetGlobalStatsResponse.timestamp', index=1,
number=2, type=7, 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),
_descriptor.FieldDescriptor(
name='day_current', full_name='CMsgClientUGSGetGlobalStatsResponse.day_current', index=2,
number=3, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='days', full_name='CMsgClientUGSGetGlobalStatsResponse.days', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=10774,
serialized_end=11051,
)
_CMSGGAMESERVERDATA_PLAYER = _descriptor.Descriptor(
name='Player',
full_name='CMsgGameServerData.Player',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id', full_name='CMsgGameServerData.Player.steam_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11548,
serialized_end=11574,
)
_CMSGGAMESERVERDATA = _descriptor.Descriptor(
name='CMsgGameServerData',
full_name='CMsgGameServerData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id_gs', full_name='CMsgGameServerData.steam_id_gs', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='deprecated_ip', full_name='CMsgGameServerData.deprecated_ip', 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),
_descriptor.FieldDescriptor(
name='query_port', full_name='CMsgGameServerData.query_port', 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),
_descriptor.FieldDescriptor(
name='game_port', full_name='CMsgGameServerData.game_port', 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),
_descriptor.FieldDescriptor(
name='sourcetv_port', full_name='CMsgGameServerData.sourcetv_port', 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),
_descriptor.FieldDescriptor(
name='name', full_name='CMsgGameServerData.name', index=5,
number=22, 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),
_descriptor.FieldDescriptor(
name='game_ip_address', full_name='CMsgGameServerData.game_ip_address', index=6,
number=23, 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),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgGameServerData.app_id', index=7,
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),
_descriptor.FieldDescriptor(
name='gamedir', full_name='CMsgGameServerData.gamedir', index=8,
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),
_descriptor.FieldDescriptor(
name='version', full_name='CMsgGameServerData.version', index=9,
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),
_descriptor.FieldDescriptor(
name='product', full_name='CMsgGameServerData.product', index=10,
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),
_descriptor.FieldDescriptor(
name='region', full_name='CMsgGameServerData.region', index=11,
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),
_descriptor.FieldDescriptor(
name='players', full_name='CMsgGameServerData.players', index=12,
number=11, 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),
_descriptor.FieldDescriptor(
name='max_players', full_name='CMsgGameServerData.max_players', index=13,
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),
_descriptor.FieldDescriptor(
name='bot_count', full_name='CMsgGameServerData.bot_count', index=14,
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),
_descriptor.FieldDescriptor(
name='password', full_name='CMsgGameServerData.password', index=15,
number=14, 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),
_descriptor.FieldDescriptor(
name='secure', full_name='CMsgGameServerData.secure', index=16,
number=15, 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),
_descriptor.FieldDescriptor(
name='dedicated', full_name='CMsgGameServerData.dedicated', index=17,
number=16, 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),
_descriptor.FieldDescriptor(
name='os', full_name='CMsgGameServerData.os', index=18,
number=17, 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),
_descriptor.FieldDescriptor(
name='game_data', full_name='CMsgGameServerData.game_data', index=19,
number=18, 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),
_descriptor.FieldDescriptor(
name='game_data_version', full_name='CMsgGameServerData.game_data_version', index=20,
number=19, 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),
_descriptor.FieldDescriptor(
name='game_type', full_name='CMsgGameServerData.game_type', index=21,
number=20, 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),
_descriptor.FieldDescriptor(
name='map', full_name='CMsgGameServerData.map', index=22,
number=21, 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),
],
extensions=[
],
nested_types=[_CMSGGAMESERVERDATA_PLAYER, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11054,
serialized_end=11574,
)
_CMSGGAMESERVERREMOVE = _descriptor.Descriptor(
name='CMsgGameServerRemove',
full_name='CMsgGameServerRemove',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id', full_name='CMsgGameServerRemove.steam_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='deprecated_ip', full_name='CMsgGameServerRemove.deprecated_ip', 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),
_descriptor.FieldDescriptor(
name='query_port', full_name='CMsgGameServerRemove.query_port', 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),
_descriptor.FieldDescriptor(
name='ip', full_name='CMsgGameServerRemove.ip', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11576,
serialized_end=11687,
)
_CMSGCLIENTGMSSERVERQUERY = _descriptor.Descriptor(
name='CMsgClientGMSServerQuery',
full_name='CMsgClientGMSServerQuery',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientGMSServerQuery.app_id', 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),
_descriptor.FieldDescriptor(
name='geo_location_ip', full_name='CMsgClientGMSServerQuery.geo_location_ip', 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),
_descriptor.FieldDescriptor(
name='region_code', full_name='CMsgClientGMSServerQuery.region_code', 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),
_descriptor.FieldDescriptor(
name='filter_text', full_name='CMsgClientGMSServerQuery.filter_text', 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),
_descriptor.FieldDescriptor(
name='max_servers', full_name='CMsgClientGMSServerQuery.max_servers', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11690,
serialized_end=11820,
)
_CMSGGMSCLIENTSERVERQUERYRESPONSE_SERVER = _descriptor.Descriptor(
name='Server',
full_name='CMsgGMSClientServerQueryResponse.Server',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='deprecated_server_ip', full_name='CMsgGMSClientServerQueryResponse.Server.deprecated_server_ip', 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),
_descriptor.FieldDescriptor(
name='server_port', full_name='CMsgGMSClientServerQueryResponse.Server.server_port', 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),
_descriptor.FieldDescriptor(
name='auth_players', full_name='CMsgGMSClientServerQueryResponse.Server.auth_players', 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),
_descriptor.FieldDescriptor(
name='server_ip', full_name='CMsgGMSClientServerQueryResponse.Server.server_ip', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11933,
serialized_end=12049,
)
_CMSGGMSCLIENTSERVERQUERYRESPONSE = _descriptor.Descriptor(
name='CMsgGMSClientServerQueryResponse',
full_name='CMsgGMSClientServerQueryResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='servers', full_name='CMsgGMSClientServerQueryResponse.servers', 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),
_descriptor.FieldDescriptor(
name='error', full_name='CMsgGMSClientServerQueryResponse.error', index=1,
number=2, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[_CMSGGMSCLIENTSERVERQUERYRESPONSE_SERVER, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=11823,
serialized_end=12049,
)
_CMSGGAMESERVEROUTOFDATE = _descriptor.Descriptor(
name='CMsgGameServerOutOfDate',
full_name='CMsgGameServerOutOfDate',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id_gs', full_name='CMsgGameServerOutOfDate.steam_id_gs', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='reject', full_name='CMsgGameServerOutOfDate.reject', 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),
_descriptor.FieldDescriptor(
name='message', full_name='CMsgGameServerOutOfDate.message', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12051,
serialized_end=12130,
)
_CMSGCLIENTREDEEMGUESTPASS = _descriptor.Descriptor(
name='CMsgClientRedeemGuestPass',
full_name='CMsgClientRedeemGuestPass',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='guest_pass_id', full_name='CMsgClientRedeemGuestPass.guest_pass_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12132,
serialized_end=12182,
)
_CMSGCLIENTREDEEMGUESTPASSRESPONSE = _descriptor.Descriptor(
name='CMsgClientRedeemGuestPassResponse',
full_name='CMsgClientRedeemGuestPassResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientRedeemGuestPassResponse.eresult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='package_id', full_name='CMsgClientRedeemGuestPassResponse.package_id', 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),
_descriptor.FieldDescriptor(
name='must_own_appid', full_name='CMsgClientRedeemGuestPassResponse.must_own_appid', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12184,
serialized_end=12283,
)
_CMSGCLIENTGETCLANACTIVITYCOUNTS = _descriptor.Descriptor(
name='CMsgClientGetClanActivityCounts',
full_name='CMsgClientGetClanActivityCounts',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steamid_clans', full_name='CMsgClientGetClanActivityCounts.steamid_clans', index=0,
number=1, type=4, cpp_type=4, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12285,
serialized_end=12341,
)
_CMSGCLIENTGETCLANACTIVITYCOUNTSRESPONSE = _descriptor.Descriptor(
name='CMsgClientGetClanActivityCountsResponse',
full_name='CMsgClientGetClanActivityCountsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientGetClanActivityCountsResponse.eresult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12343,
serialized_end=12404,
)
_CMSGCLIENTOGSREPORTSTRING = _descriptor.Descriptor(
name='CMsgClientOGSReportString',
full_name='CMsgClientOGSReportString',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='accumulated', full_name='CMsgClientOGSReportString.accumulated', index=0,
number=1, 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),
_descriptor.FieldDescriptor(
name='sessionid', full_name='CMsgClientOGSReportString.sessionid', 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),
_descriptor.FieldDescriptor(
name='severity', full_name='CMsgClientOGSReportString.severity', index=2,
number=3, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='formatter', full_name='CMsgClientOGSReportString.formatter', 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),
_descriptor.FieldDescriptor(
name='varargs', full_name='CMsgClientOGSReportString.varargs', index=4,
number=5, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12406,
serialized_end=12527,
)
_CMSGCLIENTOGSREPORTBUG = _descriptor.Descriptor(
name='CMsgClientOGSReportBug',
full_name='CMsgClientOGSReportBug',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='sessionid', full_name='CMsgClientOGSReportBug.sessionid', index=0,
number=1, 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),
_descriptor.FieldDescriptor(
name='bugtext', full_name='CMsgClientOGSReportBug.bugtext', 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),
_descriptor.FieldDescriptor(
name='screenshot', full_name='CMsgClientOGSReportBug.screenshot', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12529,
serialized_end=12609,
)
_CMSGGSASSOCIATEWITHCLAN = _descriptor.Descriptor(
name='CMsgGSAssociateWithClan',
full_name='CMsgGSAssociateWithClan',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id_clan', full_name='CMsgGSAssociateWithClan.steam_id_clan', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12611,
serialized_end=12659,
)
_CMSGGSASSOCIATEWITHCLANRESPONSE = _descriptor.Descriptor(
name='CMsgGSAssociateWithClanResponse',
full_name='CMsgGSAssociateWithClanResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id_clan', full_name='CMsgGSAssociateWithClanResponse.steam_id_clan', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgGSAssociateWithClanResponse.eresult', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12661,
serialized_end=12737,
)
_CMSGGSCOMPUTENEWPLAYERCOMPATIBILITY = _descriptor.Descriptor(
name='CMsgGSComputeNewPlayerCompatibility',
full_name='CMsgGSComputeNewPlayerCompatibility',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id_candidate', full_name='CMsgGSComputeNewPlayerCompatibility.steam_id_candidate', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12739,
serialized_end=12804,
)
_CMSGGSCOMPUTENEWPLAYERCOMPATIBILITYRESPONSE = _descriptor.Descriptor(
name='CMsgGSComputeNewPlayerCompatibilityResponse',
full_name='CMsgGSComputeNewPlayerCompatibilityResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id_candidate', full_name='CMsgGSComputeNewPlayerCompatibilityResponse.steam_id_candidate', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgGSComputeNewPlayerCompatibilityResponse.eresult', index=1,
number=2, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='is_clan_member', full_name='CMsgGSComputeNewPlayerCompatibilityResponse.is_clan_member', index=2,
number=3, 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),
_descriptor.FieldDescriptor(
name='ct_dont_like_you', full_name='CMsgGSComputeNewPlayerCompatibilityResponse.ct_dont_like_you', index=3,
number=4, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='ct_you_dont_like', full_name='CMsgGSComputeNewPlayerCompatibilityResponse.ct_you_dont_like', index=4,
number=5, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='ct_clanmembers_dont_like_you', full_name='CMsgGSComputeNewPlayerCompatibilityResponse.ct_clanmembers_dont_like_you', index=5,
number=6, type=5, cpp_type=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=12807,
serialized_end=13014,
)
_CMSGCLIENTSENTLOGS = _descriptor.Descriptor(
name='CMsgClientSentLogs',
full_name='CMsgClientSentLogs',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13016,
serialized_end=13036,
)
_CMSGGCCLIENT = _descriptor.Descriptor(
name='CMsgGCClient',
full_name='CMsgGCClient',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgGCClient.appid', 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),
_descriptor.FieldDescriptor(
name='msgtype', full_name='CMsgGCClient.msgtype', 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),
_descriptor.FieldDescriptor(
name='payload', full_name='CMsgGCClient.payload', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='steamid', full_name='CMsgGCClient.steamid', index=3,
number=4, type=6, 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),
_descriptor.FieldDescriptor(
name='gcname', full_name='CMsgGCClient.gcname', 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),
_descriptor.FieldDescriptor(
name='ip', full_name='CMsgGCClient.ip', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13038,
serialized_end=13146,
)
_CMSGCLIENTREQUESTFREELICENSE = _descriptor.Descriptor(
name='CMsgClientRequestFreeLicense',
full_name='CMsgClientRequestFreeLicense',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='appids', full_name='CMsgClientRequestFreeLicense.appids', index=0,
number=2, type=13, cpp_type=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13148,
serialized_end=13194,
)
_CMSGCLIENTREQUESTFREELICENSERESPONSE = _descriptor.Descriptor(
name='CMsgClientRequestFreeLicenseResponse',
full_name='CMsgClientRequestFreeLicenseResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientRequestFreeLicenseResponse.eresult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='granted_packageids', full_name='CMsgClientRequestFreeLicenseResponse.granted_packageids', index=1,
number=2, type=13, cpp_type=3, 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),
_descriptor.FieldDescriptor(
name='granted_appids', full_name='CMsgClientRequestFreeLicenseResponse.granted_appids', index=2,
number=3, type=13, cpp_type=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13196,
serialized_end=13306,
)
_CMSGDRMDOWNLOADREQUESTWITHCRASHDATA = _descriptor.Descriptor(
name='CMsgDRMDownloadRequestWithCrashData',
full_name='CMsgDRMDownloadRequestWithCrashData',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='download_flags', full_name='CMsgDRMDownloadRequestWithCrashData.download_flags', 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),
_descriptor.FieldDescriptor(
name='download_types_known', full_name='CMsgDRMDownloadRequestWithCrashData.download_types_known', 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),
_descriptor.FieldDescriptor(
name='guid_drm', full_name='CMsgDRMDownloadRequestWithCrashData.guid_drm', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='guid_split', full_name='CMsgDRMDownloadRequestWithCrashData.guid_split', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='guid_merge', full_name='CMsgDRMDownloadRequestWithCrashData.guid_merge', index=4,
number=5, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='module_name', full_name='CMsgDRMDownloadRequestWithCrashData.module_name', 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),
_descriptor.FieldDescriptor(
name='module_path', full_name='CMsgDRMDownloadRequestWithCrashData.module_path', 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),
_descriptor.FieldDescriptor(
name='crash_data', full_name='CMsgDRMDownloadRequestWithCrashData.crash_data', index=7,
number=8, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13309,
serialized_end=13520,
)
_CMSGDRMDOWNLOADRESPONSE = _descriptor.Descriptor(
name='CMsgDRMDownloadResponse',
full_name='CMsgDRMDownloadResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgDRMDownloadResponse.eresult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgDRMDownloadResponse.app_id', 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),
_descriptor.FieldDescriptor(
name='blob_download_type', full_name='CMsgDRMDownloadResponse.blob_download_type', 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),
_descriptor.FieldDescriptor(
name='merge_guid', full_name='CMsgDRMDownloadResponse.merge_guid', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='download_file_dfs_ip', full_name='CMsgDRMDownloadResponse.download_file_dfs_ip', 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),
_descriptor.FieldDescriptor(
name='download_file_dfs_port', full_name='CMsgDRMDownloadResponse.download_file_dfs_port', 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),
_descriptor.FieldDescriptor(
name='download_file_url', full_name='CMsgDRMDownloadResponse.download_file_url', 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),
_descriptor.FieldDescriptor(
name='module_path', full_name='CMsgDRMDownloadResponse.module_path', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13523,
serialized_end=13742,
)
_CMSGDRMFINALRESULT = _descriptor.Descriptor(
name='CMsgDRMFinalResult',
full_name='CMsgDRMFinalResult',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eResult', full_name='CMsgDRMFinalResult.eResult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgDRMFinalResult.app_id', 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),
_descriptor.FieldDescriptor(
name='blob_download_type', full_name='CMsgDRMFinalResult.blob_download_type', 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),
_descriptor.FieldDescriptor(
name='error_detail', full_name='CMsgDRMFinalResult.error_detail', 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),
_descriptor.FieldDescriptor(
name='merge_guid', full_name='CMsgDRMFinalResult.merge_guid', index=4,
number=5, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='download_file_dfs_ip', full_name='CMsgDRMFinalResult.download_file_dfs_ip', 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),
_descriptor.FieldDescriptor(
name='download_file_dfs_port', full_name='CMsgDRMFinalResult.download_file_dfs_port', 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),
_descriptor.FieldDescriptor(
name='download_file_url', full_name='CMsgDRMFinalResult.download_file_url', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13745,
serialized_end=13960,
)
_CMSGCLIENTDPCHECKSPECIALSURVEY = _descriptor.Descriptor(
name='CMsgClientDPCheckSpecialSurvey',
full_name='CMsgClientDPCheckSpecialSurvey',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='survey_id', full_name='CMsgClientDPCheckSpecialSurvey.survey_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=13962,
serialized_end=14013,
)
_CMSGCLIENTDPCHECKSPECIALSURVEYRESPONSE = _descriptor.Descriptor(
name='CMsgClientDPCheckSpecialSurveyResponse',
full_name='CMsgClientDPCheckSpecialSurveyResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eResult', full_name='CMsgClientDPCheckSpecialSurveyResponse.eResult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='state', full_name='CMsgClientDPCheckSpecialSurveyResponse.state', 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),
_descriptor.FieldDescriptor(
name='name', full_name='CMsgClientDPCheckSpecialSurveyResponse.name', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='custom_url', full_name='CMsgClientDPCheckSpecialSurveyResponse.custom_url', 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),
_descriptor.FieldDescriptor(
name='include_software', full_name='CMsgClientDPCheckSpecialSurveyResponse.include_software', index=4,
number=5, 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),
_descriptor.FieldDescriptor(
name='token', full_name='CMsgClientDPCheckSpecialSurveyResponse.token', index=5,
number=6, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14016,
serialized_end=14166,
)
_CMSGCLIENTDPSENDSPECIALSURVEYRESPONSE = _descriptor.Descriptor(
name='CMsgClientDPSendSpecialSurveyResponse',
full_name='CMsgClientDPSendSpecialSurveyResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='survey_id', full_name='CMsgClientDPSendSpecialSurveyResponse.survey_id', 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),
_descriptor.FieldDescriptor(
name='data', full_name='CMsgClientDPSendSpecialSurveyResponse.data', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14168,
serialized_end=14240,
)
_CMSGCLIENTDPSENDSPECIALSURVEYRESPONSEREPLY = _descriptor.Descriptor(
name='CMsgClientDPSendSpecialSurveyResponseReply',
full_name='CMsgClientDPSendSpecialSurveyResponseReply',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eResult', full_name='CMsgClientDPSendSpecialSurveyResponseReply.eResult', index=0,
number=1, type=13, cpp_type=3, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='token', full_name='CMsgClientDPSendSpecialSurveyResponseReply.token', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14242,
serialized_end=14321,
)
_CMSGCLIENTREQUESTFORGOTTENPASSWORDEMAIL = _descriptor.Descriptor(
name='CMsgClientRequestForgottenPasswordEmail',
full_name='CMsgClientRequestForgottenPasswordEmail',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='account_name', full_name='CMsgClientRequestForgottenPasswordEmail.account_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),
_descriptor.FieldDescriptor(
name='password_tried', full_name='CMsgClientRequestForgottenPasswordEmail.password_tried', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14323,
serialized_end=14410,
)
_CMSGCLIENTREQUESTFORGOTTENPASSWORDEMAILRESPONSE = _descriptor.Descriptor(
name='CMsgClientRequestForgottenPasswordEmailResponse',
full_name='CMsgClientRequestForgottenPasswordEmailResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eResult', full_name='CMsgClientRequestForgottenPasswordEmailResponse.eResult', 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),
_descriptor.FieldDescriptor(
name='use_secret_question', full_name='CMsgClientRequestForgottenPasswordEmailResponse.use_secret_question', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14412,
serialized_end=14507,
)
_CMSGCLIENTITEMANNOUNCEMENTS_UNSEENITEM = _descriptor.Descriptor(
name='UnseenItem',
full_name='CMsgClientItemAnnouncements.UnseenItem',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgClientItemAnnouncements.UnseenItem.appid', 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),
_descriptor.FieldDescriptor(
name='context_id', full_name='CMsgClientItemAnnouncements.UnseenItem.context_id', 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),
_descriptor.FieldDescriptor(
name='asset_id', full_name='CMsgClientItemAnnouncements.UnseenItem.asset_id', index=2,
number=3, 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),
_descriptor.FieldDescriptor(
name='amount', full_name='CMsgClientItemAnnouncements.UnseenItem.amount', index=3,
number=4, 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),
_descriptor.FieldDescriptor(
name='rtime32_gained', full_name='CMsgClientItemAnnouncements.UnseenItem.rtime32_gained', index=4,
number=5, type=7, 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),
_descriptor.FieldDescriptor(
name='source_appid', full_name='CMsgClientItemAnnouncements.UnseenItem.source_appid', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14629,
serialized_end=14756,
)
_CMSGCLIENTITEMANNOUNCEMENTS = _descriptor.Descriptor(
name='CMsgClientItemAnnouncements',
full_name='CMsgClientItemAnnouncements',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='count_new_items', full_name='CMsgClientItemAnnouncements.count_new_items', 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),
_descriptor.FieldDescriptor(
name='unseen_items', full_name='CMsgClientItemAnnouncements.unseen_items', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTITEMANNOUNCEMENTS_UNSEENITEM, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14510,
serialized_end=14756,
)
_CMSGCLIENTREQUESTITEMANNOUNCEMENTS = _descriptor.Descriptor(
name='CMsgClientRequestItemAnnouncements',
full_name='CMsgClientRequestItemAnnouncements',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14758,
serialized_end=14794,
)
_CMSGCLIENTUSERNOTIFICATIONS_NOTIFICATION = _descriptor.Descriptor(
name='Notification',
full_name='CMsgClientUserNotifications.Notification',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='user_notification_type', full_name='CMsgClientUserNotifications.Notification.user_notification_type', 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),
_descriptor.FieldDescriptor(
name='count', full_name='CMsgClientUserNotifications.Notification.count', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14894,
serialized_end=14955,
)
_CMSGCLIENTUSERNOTIFICATIONS = _descriptor.Descriptor(
name='CMsgClientUserNotifications',
full_name='CMsgClientUserNotifications',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='notifications', full_name='CMsgClientUserNotifications.notifications', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUSERNOTIFICATIONS_NOTIFICATION, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14797,
serialized_end=14955,
)
_CMSGCLIENTCOMMENTNOTIFICATIONS = _descriptor.Descriptor(
name='CMsgClientCommentNotifications',
full_name='CMsgClientCommentNotifications',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='count_new_comments', full_name='CMsgClientCommentNotifications.count_new_comments', 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),
_descriptor.FieldDescriptor(
name='count_new_comments_owner', full_name='CMsgClientCommentNotifications.count_new_comments_owner', 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),
_descriptor.FieldDescriptor(
name='count_new_comments_subscriptions', full_name='CMsgClientCommentNotifications.count_new_comments_subscriptions', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=14958,
serialized_end=15094,
)
_CMSGCLIENTREQUESTCOMMENTNOTIFICATIONS = _descriptor.Descriptor(
name='CMsgClientRequestCommentNotifications',
full_name='CMsgClientRequestCommentNotifications',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15096,
serialized_end=15135,
)
_CMSGCLIENTOFFLINEMESSAGENOTIFICATION = _descriptor.Descriptor(
name='CMsgClientOfflineMessageNotification',
full_name='CMsgClientOfflineMessageNotification',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='offline_messages', full_name='CMsgClientOfflineMessageNotification.offline_messages', 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),
_descriptor.FieldDescriptor(
name='friends_with_offline_messages', full_name='CMsgClientOfflineMessageNotification.friends_with_offline_messages', index=1,
number=2, type=13, cpp_type=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15137,
serialized_end=15240,
)
_CMSGCLIENTREQUESTOFFLINEMESSAGECOUNT = _descriptor.Descriptor(
name='CMsgClientRequestOfflineMessageCount',
full_name='CMsgClientRequestOfflineMessageCount',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15242,
serialized_end=15280,
)
_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORY = _descriptor.Descriptor(
name='CMsgClientChatGetFriendMessageHistory',
full_name='CMsgClientChatGetFriendMessageHistory',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steamid', full_name='CMsgClientChatGetFriendMessageHistory.steamid', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15282,
serialized_end=15338,
)
_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE_FRIENDMESSAGE = _descriptor.Descriptor(
name='FriendMessage',
full_name='CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='accountid', full_name='CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage.accountid', 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),
_descriptor.FieldDescriptor(
name='timestamp', full_name='CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage.timestamp', 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),
_descriptor.FieldDescriptor(
name='message', full_name='CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage.message', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='unread', full_name='CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage.unread', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15504,
serialized_end=15590,
)
_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE = _descriptor.Descriptor(
name='CMsgClientChatGetFriendMessageHistoryResponse',
full_name='CMsgClientChatGetFriendMessageHistoryResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steamid', full_name='CMsgClientChatGetFriendMessageHistoryResponse.steamid', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='success', full_name='CMsgClientChatGetFriendMessageHistoryResponse.success', 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),
_descriptor.FieldDescriptor(
name='messages', full_name='CMsgClientChatGetFriendMessageHistoryResponse.messages', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE_FRIENDMESSAGE, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15341,
serialized_end=15590,
)
_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYFOROFFLINEMESSAGES = _descriptor.Descriptor(
name='CMsgClientChatGetFriendMessageHistoryForOfflineMessages',
full_name='CMsgClientChatGetFriendMessageHistoryForOfflineMessages',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15592,
serialized_end=15649,
)
_CMSGCLIENTFSGETFRIENDSSTEAMLEVELS = _descriptor.Descriptor(
name='CMsgClientFSGetFriendsSteamLevels',
full_name='CMsgClientFSGetFriendsSteamLevels',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='accountids', full_name='CMsgClientFSGetFriendsSteamLevels.accountids', index=0,
number=1, type=13, cpp_type=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15651,
serialized_end=15706,
)
_CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE_FRIEND = _descriptor.Descriptor(
name='Friend',
full_name='CMsgClientFSGetFriendsSteamLevelsResponse.Friend',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='accountid', full_name='CMsgClientFSGetFriendsSteamLevelsResponse.Friend.accountid', 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),
_descriptor.FieldDescriptor(
name='level', full_name='CMsgClientFSGetFriendsSteamLevelsResponse.Friend.level', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15822,
serialized_end=15864,
)
_CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE = _descriptor.Descriptor(
name='CMsgClientFSGetFriendsSteamLevelsResponse',
full_name='CMsgClientFSGetFriendsSteamLevelsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='friends', full_name='CMsgClientFSGetFriendsSteamLevelsResponse.friends', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE_FRIEND, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15709,
serialized_end=15864,
)
_CMSGCLIENTEMAILADDRINFO = _descriptor.Descriptor(
name='CMsgClientEmailAddrInfo',
full_name='CMsgClientEmailAddrInfo',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='email_address', full_name='CMsgClientEmailAddrInfo.email_address', 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),
_descriptor.FieldDescriptor(
name='email_is_validated', full_name='CMsgClientEmailAddrInfo.email_is_validated', 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),
_descriptor.FieldDescriptor(
name='email_validation_changed', full_name='CMsgClientEmailAddrInfo.email_validation_changed', index=2,
number=3, 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),
_descriptor.FieldDescriptor(
name='credential_change_requires_code', full_name='CMsgClientEmailAddrInfo.credential_change_requires_code', 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),
_descriptor.FieldDescriptor(
name='password_or_secretqa_change_requires_code', full_name='CMsgClientEmailAddrInfo.password_or_secretqa_change_requires_code', index=4,
number=5, 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),
_descriptor.FieldDescriptor(
name='remind_user_about_email', full_name='CMsgClientEmailAddrInfo.remind_user_about_email', index=5,
number=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=15867,
serialized_end=16102,
)
_CMSGCREITEMVOTESUMMARY_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgCREItemVoteSummary.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgCREItemVoteSummary.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2704,
serialized_end=2748,
)
_CMSGCREITEMVOTESUMMARY = _descriptor.Descriptor(
name='CMsgCREItemVoteSummary',
full_name='CMsgCREItemVoteSummary',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_ids', full_name='CMsgCREItemVoteSummary.published_file_ids', 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),
],
extensions=[
],
nested_types=[_CMSGCREITEMVOTESUMMARY_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16105,
serialized_end=16244,
)
_CMSGCREITEMVOTESUMMARYRESPONSE_ITEMVOTESUMMARY = _descriptor.Descriptor(
name='ItemVoteSummary',
full_name='CMsgCREItemVoteSummaryResponse.ItemVoteSummary',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgCREItemVoteSummaryResponse.ItemVoteSummary.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='votes_for', full_name='CMsgCREItemVoteSummaryResponse.ItemVoteSummary.votes_for', index=1,
number=2, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='votes_against', full_name='CMsgCREItemVoteSummaryResponse.ItemVoteSummary.votes_against', index=2,
number=3, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='reports', full_name='CMsgCREItemVoteSummaryResponse.ItemVoteSummary.reports', index=3,
number=4, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='score', full_name='CMsgCREItemVoteSummaryResponse.ItemVoteSummary.score', index=4,
number=5, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16379,
serialized_end=16497,
)
_CMSGCREITEMVOTESUMMARYRESPONSE = _descriptor.Descriptor(
name='CMsgCREItemVoteSummaryResponse',
full_name='CMsgCREItemVoteSummaryResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgCREItemVoteSummaryResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='item_vote_summaries', full_name='CMsgCREItemVoteSummaryResponse.item_vote_summaries', 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),
],
extensions=[
],
nested_types=[_CMSGCREITEMVOTESUMMARYRESPONSE_ITEMVOTESUMMARY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16247,
serialized_end=16497,
)
_CMSGCREUPDATEUSERPUBLISHEDITEMVOTE = _descriptor.Descriptor(
name='CMsgCREUpdateUserPublishedItemVote',
full_name='CMsgCREUpdateUserPublishedItemVote',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgCREUpdateUserPublishedItemVote.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='vote_up', full_name='CMsgCREUpdateUserPublishedItemVote.vote_up', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16499,
serialized_end=16579,
)
_CMSGCREUPDATEUSERPUBLISHEDITEMVOTERESPONSE = _descriptor.Descriptor(
name='CMsgCREUpdateUserPublishedItemVoteResponse',
full_name='CMsgCREUpdateUserPublishedItemVoteResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgCREUpdateUserPublishedItemVoteResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16581,
serialized_end=16645,
)
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS_PUBLISHEDFILEID = _descriptor.Descriptor(
name='PublishedFileId',
full_name='CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId.published_file_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=2704,
serialized_end=2748,
)
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS = _descriptor.Descriptor(
name='CMsgCREGetUserPublishedItemVoteDetails',
full_name='CMsgCREGetUserPublishedItemVoteDetails',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_ids', full_name='CMsgCREGetUserPublishedItemVoteDetails.published_file_ids', 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),
],
extensions=[
],
nested_types=[_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS_PUBLISHEDFILEID, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16648,
serialized_end=16819,
)
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE_USERITEMVOTEDETAIL = _descriptor.Descriptor(
name='UserItemVoteDetail',
full_name='CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='published_file_id', full_name='CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail.published_file_id', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='vote', full_name='CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail.vote', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16992,
serialized_end=17056,
)
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE = _descriptor.Descriptor(
name='CMsgCREGetUserPublishedItemVoteDetailsResponse',
full_name='CMsgCREGetUserPublishedItemVoteDetailsResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgCREGetUserPublishedItemVoteDetailsResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='user_item_vote_details', full_name='CMsgCREGetUserPublishedItemVoteDetailsResponse.user_item_vote_details', 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),
],
extensions=[
],
nested_types=[_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE_USERITEMVOTEDETAIL, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=16822,
serialized_end=17056,
)
_CMSGGAMESERVERPINGSAMPLE_SAMPLE = _descriptor.Descriptor(
name='Sample',
full_name='CMsgGameServerPingSample.Sample',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='ip', full_name='CMsgGameServerPingSample.Sample.ip', index=0,
number=1, type=7, 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),
_descriptor.FieldDescriptor(
name='avg_ping_ms', full_name='CMsgGameServerPingSample.Sample.avg_ping_ms', 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),
_descriptor.FieldDescriptor(
name='stddev_ping_ms_x10', full_name='CMsgGameServerPingSample.Sample.stddev_ping_ms_x10', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17175,
serialized_end=17244,
)
_CMSGGAMESERVERPINGSAMPLE = _descriptor.Descriptor(
name='CMsgGameServerPingSample',
full_name='CMsgGameServerPingSample',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='my_ip', full_name='CMsgGameServerPingSample.my_ip', index=0,
number=1, type=7, 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),
_descriptor.FieldDescriptor(
name='gs_app_id', full_name='CMsgGameServerPingSample.gs_app_id', index=1,
number=2, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='gs_samples', full_name='CMsgGameServerPingSample.gs_samples', 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),
],
extensions=[
],
nested_types=[_CMSGGAMESERVERPINGSAMPLE_SAMPLE, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17059,
serialized_end=17244,
)
_CMSGFSGETFOLLOWERCOUNT = _descriptor.Descriptor(
name='CMsgFSGetFollowerCount',
full_name='CMsgFSGetFollowerCount',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id', full_name='CMsgFSGetFollowerCount.steam_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17246,
serialized_end=17288,
)
_CMSGFSGETFOLLOWERCOUNTRESPONSE = _descriptor.Descriptor(
name='CMsgFSGetFollowerCountResponse',
full_name='CMsgFSGetFollowerCountResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgFSGetFollowerCountResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='count', full_name='CMsgFSGetFollowerCountResponse.count', index=1,
number=2, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17290,
serialized_end=17360,
)
_CMSGFSGETISFOLLOWING = _descriptor.Descriptor(
name='CMsgFSGetIsFollowing',
full_name='CMsgFSGetIsFollowing',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='steam_id', full_name='CMsgFSGetIsFollowing.steam_id', index=0,
number=1, type=6, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17362,
serialized_end=17402,
)
_CMSGFSGETISFOLLOWINGRESPONSE = _descriptor.Descriptor(
name='CMsgFSGetIsFollowingResponse',
full_name='CMsgFSGetIsFollowingResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgFSGetIsFollowingResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='is_following', full_name='CMsgFSGetIsFollowingResponse.is_following', index=1,
number=2, type=8, cpp_type=7, label=1,
has_default_value=True, default_value=False,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17404,
serialized_end=17483,
)
_CMSGFSENUMERATEFOLLOWINGLIST = _descriptor.Descriptor(
name='CMsgFSEnumerateFollowingList',
full_name='CMsgFSEnumerateFollowingList',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='start_index', full_name='CMsgFSEnumerateFollowingList.start_index', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17485,
serialized_end=17536,
)
_CMSGFSENUMERATEFOLLOWINGLISTRESPONSE = _descriptor.Descriptor(
name='CMsgFSEnumerateFollowingListResponse',
full_name='CMsgFSEnumerateFollowingListResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgFSEnumerateFollowingListResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='total_results', full_name='CMsgFSEnumerateFollowingListResponse.total_results', index=1,
number=2, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='steam_ids', full_name='CMsgFSEnumerateFollowingListResponse.steam_ids', index=2,
number=3, type=6, cpp_type=4, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17538,
serialized_end=17638,
)
_CMSGDPGETNUMBEROFCURRENTPLAYERS = _descriptor.Descriptor(
name='CMsgDPGetNumberOfCurrentPlayers',
full_name='CMsgDPGetNumberOfCurrentPlayers',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgDPGetNumberOfCurrentPlayers.appid', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17640,
serialized_end=17688,
)
_CMSGDPGETNUMBEROFCURRENTPLAYERSRESPONSE = _descriptor.Descriptor(
name='CMsgDPGetNumberOfCurrentPlayersResponse',
full_name='CMsgDPGetNumberOfCurrentPlayersResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgDPGetNumberOfCurrentPlayersResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='player_count', full_name='CMsgDPGetNumberOfCurrentPlayersResponse.player_count', index=1,
number=2, type=5, cpp_type=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17690,
serialized_end=17773,
)
_CMSGCLIENTFRIENDUSERSTATUSPUBLISHED = _descriptor.Descriptor(
name='CMsgClientFriendUserStatusPublished',
full_name='CMsgClientFriendUserStatusPublished',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='friend_steamid', full_name='CMsgClientFriendUserStatusPublished.friend_steamid', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgClientFriendUserStatusPublished.appid', 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),
_descriptor.FieldDescriptor(
name='status_text', full_name='CMsgClientFriendUserStatusPublished.status_text', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17775,
serialized_end=17872,
)
_CMSGCLIENTSERVICEMETHODLEGACY = _descriptor.Descriptor(
name='CMsgClientServiceMethodLegacy',
full_name='CMsgClientServiceMethodLegacy',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='method_name', full_name='CMsgClientServiceMethodLegacy.method_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),
_descriptor.FieldDescriptor(
name='serialized_method', full_name='CMsgClientServiceMethodLegacy.serialized_method', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='is_notification', full_name='CMsgClientServiceMethodLegacy.is_notification', index=2,
number=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17874,
serialized_end=17978,
)
_CMSGCLIENTSERVICEMETHODLEGACYRESPONSE = _descriptor.Descriptor(
name='CMsgClientServiceMethodLegacyResponse',
full_name='CMsgClientServiceMethodLegacyResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='method_name', full_name='CMsgClientServiceMethodLegacyResponse.method_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),
_descriptor.FieldDescriptor(
name='serialized_method_response', full_name='CMsgClientServiceMethodLegacyResponse.serialized_method_response', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=17980,
serialized_end=18076,
)
_CMSGCLIENTUIMODE = _descriptor.Descriptor(
name='CMsgClientUIMode',
full_name='CMsgClientUIMode',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='uimode', full_name='CMsgClientUIMode.uimode', 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),
_descriptor.FieldDescriptor(
name='chat_mode', full_name='CMsgClientUIMode.chat_mode', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18078,
serialized_end=18131,
)
_CMSGCLIENTVANITYURLCHANGEDNOTIFICATION = _descriptor.Descriptor(
name='CMsgClientVanityURLChangedNotification',
full_name='CMsgClientVanityURLChangedNotification',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='vanity_url', full_name='CMsgClientVanityURLChangedNotification.vanity_url', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18133,
serialized_end=18193,
)
_CMSGCLIENTAUTHORIZELOCALDEVICEREQUEST = _descriptor.Descriptor(
name='CMsgClientAuthorizeLocalDeviceRequest',
full_name='CMsgClientAuthorizeLocalDeviceRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='device_description', full_name='CMsgClientAuthorizeLocalDeviceRequest.device_description', 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),
_descriptor.FieldDescriptor(
name='owner_account_id', full_name='CMsgClientAuthorizeLocalDeviceRequest.owner_account_id', 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),
_descriptor.FieldDescriptor(
name='local_device_token', full_name='CMsgClientAuthorizeLocalDeviceRequest.local_device_token', index=2,
number=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18195,
serialized_end=18316,
)
_CMSGCLIENTAUTHORIZELOCALDEVICE = _descriptor.Descriptor(
name='CMsgClientAuthorizeLocalDevice',
full_name='CMsgClientAuthorizeLocalDevice',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientAuthorizeLocalDevice.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='owner_account_id', full_name='CMsgClientAuthorizeLocalDevice.owner_account_id', 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),
_descriptor.FieldDescriptor(
name='authed_device_token', full_name='CMsgClientAuthorizeLocalDevice.authed_device_token', index=2,
number=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18318,
serialized_end=18425,
)
_CMSGCLIENTAUTHORIZELOCALDEVICENOTIFICATION = _descriptor.Descriptor(
name='CMsgClientAuthorizeLocalDeviceNotification',
full_name='CMsgClientAuthorizeLocalDeviceNotification',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientAuthorizeLocalDeviceNotification.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='owner_account_id', full_name='CMsgClientAuthorizeLocalDeviceNotification.owner_account_id', 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),
_descriptor.FieldDescriptor(
name='local_device_token', full_name='CMsgClientAuthorizeLocalDeviceNotification.local_device_token', index=2,
number=3, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18427,
serialized_end=18545,
)
_CMSGCLIENTDEAUTHORIZEDEVICEREQUEST = _descriptor.Descriptor(
name='CMsgClientDeauthorizeDeviceRequest',
full_name='CMsgClientDeauthorizeDeviceRequest',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='deauthorization_account_id', full_name='CMsgClientDeauthorizeDeviceRequest.deauthorization_account_id', 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),
_descriptor.FieldDescriptor(
name='deauthorization_device_token', full_name='CMsgClientDeauthorizeDeviceRequest.deauthorization_device_token', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18547,
serialized_end=18657,
)
_CMSGCLIENTDEAUTHORIZEDEVICE = _descriptor.Descriptor(
name='CMsgClientDeauthorizeDevice',
full_name='CMsgClientDeauthorizeDevice',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientDeauthorizeDevice.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='deauthorization_account_id', full_name='CMsgClientDeauthorizeDevice.deauthorization_account_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18659,
serialized_end=18744,
)
_CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS_DEVICETOKEN = _descriptor.Descriptor(
name='DeviceToken',
full_name='CMsgClientUseLocalDeviceAuthorizations.DeviceToken',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='owner_account_id', full_name='CMsgClientUseLocalDeviceAuthorizations.DeviceToken.owner_account_id', 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),
_descriptor.FieldDescriptor(
name='token_id', full_name='CMsgClientUseLocalDeviceAuthorizations.DeviceToken.token_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18899,
serialized_end=18956,
)
_CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS = _descriptor.Descriptor(
name='CMsgClientUseLocalDeviceAuthorizations',
full_name='CMsgClientUseLocalDeviceAuthorizations',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='authorization_account_id', full_name='CMsgClientUseLocalDeviceAuthorizations.authorization_account_id', index=0,
number=1, type=13, cpp_type=3, 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),
_descriptor.FieldDescriptor(
name='device_tokens', full_name='CMsgClientUseLocalDeviceAuthorizations.device_tokens', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS_DEVICETOKEN, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18747,
serialized_end=18956,
)
_CMSGCLIENTGETAUTHORIZEDDEVICES = _descriptor.Descriptor(
name='CMsgClientGetAuthorizedDevices',
full_name='CMsgClientGetAuthorizedDevices',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18958,
serialized_end=18990,
)
_CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE_AUTHORIZEDDEVICE = _descriptor.Descriptor(
name='AuthorizedDevice',
full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='auth_device_token', full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice.auth_device_token', index=0,
number=1, 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),
_descriptor.FieldDescriptor(
name='device_name', full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice.device_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),
_descriptor.FieldDescriptor(
name='last_access_time', full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice.last_access_time', 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),
_descriptor.FieldDescriptor(
name='borrower_id', full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice.borrower_id', 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),
_descriptor.FieldDescriptor(
name='is_pending', full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice.is_pending', index=4,
number=5, 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),
_descriptor.FieldDescriptor(
name='app_played', full_name='CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice.app_played', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19141,
serialized_end=19294,
)
_CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE = _descriptor.Descriptor(
name='CMsgClientGetAuthorizedDevicesResponse',
full_name='CMsgClientGetAuthorizedDevicesResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientGetAuthorizedDevicesResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='authorized_device', full_name='CMsgClientGetAuthorizedDevicesResponse.authorized_device', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE_AUTHORIZEDDEVICE, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=18993,
serialized_end=19294,
)
_CMSGCLIENTSHAREDLIBRARYLOCKSTATUS_LOCKEDLIBRARY = _descriptor.Descriptor(
name='LockedLibrary',
full_name='CMsgClientSharedLibraryLockStatus.LockedLibrary',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='owner_id', full_name='CMsgClientSharedLibraryLockStatus.LockedLibrary.owner_id', 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),
_descriptor.FieldDescriptor(
name='locked_by', full_name='CMsgClientSharedLibraryLockStatus.LockedLibrary.locked_by', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19439,
serialized_end=19491,
)
_CMSGCLIENTSHAREDLIBRARYLOCKSTATUS = _descriptor.Descriptor(
name='CMsgClientSharedLibraryLockStatus',
full_name='CMsgClientSharedLibraryLockStatus',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='locked_library', full_name='CMsgClientSharedLibraryLockStatus.locked_library', 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),
_descriptor.FieldDescriptor(
name='own_library_locked_by', full_name='CMsgClientSharedLibraryLockStatus.own_library_locked_by', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTSHAREDLIBRARYLOCKSTATUS_LOCKEDLIBRARY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19297,
serialized_end=19491,
)
_CMSGCLIENTSHAREDLIBRARYSTOPPLAYING_STOPAPP = _descriptor.Descriptor(
name='StopApp',
full_name='CMsgClientSharedLibraryStopPlaying.StopApp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='app_id', full_name='CMsgClientSharedLibraryStopPlaying.StopApp.app_id', 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),
_descriptor.FieldDescriptor(
name='owner_id', full_name='CMsgClientSharedLibraryStopPlaying.StopApp.owner_id', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19618,
serialized_end=19661,
)
_CMSGCLIENTSHAREDLIBRARYSTOPPLAYING = _descriptor.Descriptor(
name='CMsgClientSharedLibraryStopPlaying',
full_name='CMsgClientSharedLibraryStopPlaying',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='seconds_left', full_name='CMsgClientSharedLibraryStopPlaying.seconds_left', index=0,
number=1, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='stop_apps', full_name='CMsgClientSharedLibraryStopPlaying.stop_apps', 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),
],
extensions=[
],
nested_types=[_CMSGCLIENTSHAREDLIBRARYSTOPPLAYING_STOPAPP, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19494,
serialized_end=19661,
)
_CMSGCLIENTSERVICECALL = _descriptor.Descriptor(
name='CMsgClientServiceCall',
full_name='CMsgClientServiceCall',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='sysid_routing', full_name='CMsgClientServiceCall.sysid_routing', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='call_handle', full_name='CMsgClientServiceCall.call_handle', 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),
_descriptor.FieldDescriptor(
name='module_crc', full_name='CMsgClientServiceCall.module_crc', 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),
_descriptor.FieldDescriptor(
name='module_hash', full_name='CMsgClientServiceCall.module_hash', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='function_id', full_name='CMsgClientServiceCall.function_id', 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),
_descriptor.FieldDescriptor(
name='cub_output_max', full_name='CMsgClientServiceCall.cub_output_max', 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),
_descriptor.FieldDescriptor(
name='flags', full_name='CMsgClientServiceCall.flags', 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),
_descriptor.FieldDescriptor(
name='callparameter', full_name='CMsgClientServiceCall.callparameter', index=7,
number=8, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='ping_only', full_name='CMsgClientServiceCall.ping_only', 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),
_descriptor.FieldDescriptor(
name='max_outstanding_calls', full_name='CMsgClientServiceCall.max_outstanding_calls', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19664,
serialized_end=19905,
)
_CMSGCLIENTSERVICEMODULE = _descriptor.Descriptor(
name='CMsgClientServiceModule',
full_name='CMsgClientServiceModule',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='module_crc', full_name='CMsgClientServiceModule.module_crc', 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),
_descriptor.FieldDescriptor(
name='module_hash', full_name='CMsgClientServiceModule.module_hash', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='module_content', full_name='CMsgClientServiceModule.module_content', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=19907,
serialized_end=19997,
)
_CMSGCLIENTSERVICECALLRESPONSE = _descriptor.Descriptor(
name='CMsgClientServiceCallResponse',
full_name='CMsgClientServiceCallResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='sysid_routing', full_name='CMsgClientServiceCallResponse.sysid_routing', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='call_handle', full_name='CMsgClientServiceCallResponse.call_handle', 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),
_descriptor.FieldDescriptor(
name='module_crc', full_name='CMsgClientServiceCallResponse.module_crc', 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),
_descriptor.FieldDescriptor(
name='module_hash', full_name='CMsgClientServiceCallResponse.module_hash', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='ecallresult', full_name='CMsgClientServiceCallResponse.ecallresult', 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),
_descriptor.FieldDescriptor(
name='result_content', full_name='CMsgClientServiceCallResponse.result_content', index=5,
number=6, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='os_version_info', full_name='CMsgClientServiceCallResponse.os_version_info', index=6,
number=7, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='system_info', full_name='CMsgClientServiceCallResponse.system_info', index=7,
number=8, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='load_address', full_name='CMsgClientServiceCallResponse.load_address', index=8,
number=9, type=6, 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),
_descriptor.FieldDescriptor(
name='exception_record', full_name='CMsgClientServiceCallResponse.exception_record', index=9,
number=10, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='portable_os_version_info', full_name='CMsgClientServiceCallResponse.portable_os_version_info', index=10,
number=11, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='portable_system_info', full_name='CMsgClientServiceCallResponse.portable_system_info', index=11,
number=12, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='was_converted', full_name='CMsgClientServiceCallResponse.was_converted', index=12,
number=13, 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),
_descriptor.FieldDescriptor(
name='internal_result', full_name='CMsgClientServiceCallResponse.internal_result', 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),
_descriptor.FieldDescriptor(
name='current_count', full_name='CMsgClientServiceCallResponse.current_count', index=14,
number=15, 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),
_descriptor.FieldDescriptor(
name='last_call_handle', full_name='CMsgClientServiceCallResponse.last_call_handle', index=15,
number=16, 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),
_descriptor.FieldDescriptor(
name='last_call_module_crc', full_name='CMsgClientServiceCallResponse.last_call_module_crc', index=16,
number=17, 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),
_descriptor.FieldDescriptor(
name='last_call_sysid_routing', full_name='CMsgClientServiceCallResponse.last_call_sysid_routing', index=17,
number=18, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='last_ecallresult', full_name='CMsgClientServiceCallResponse.last_ecallresult', index=18,
number=19, 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),
_descriptor.FieldDescriptor(
name='last_callissue_delta', full_name='CMsgClientServiceCallResponse.last_callissue_delta', index=19,
number=20, 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),
_descriptor.FieldDescriptor(
name='last_callcomplete_delta', full_name='CMsgClientServiceCallResponse.last_callcomplete_delta', index=20,
number=21, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20000,
serialized_end=20568,
)
_CMSGAMUNLOCKSTREAMING = _descriptor.Descriptor(
name='CMsgAMUnlockStreaming',
full_name='CMsgAMUnlockStreaming',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20570,
serialized_end=20593,
)
_CMSGAMUNLOCKSTREAMINGRESPONSE = _descriptor.Descriptor(
name='CMsgAMUnlockStreamingResponse',
full_name='CMsgAMUnlockStreamingResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgAMUnlockStreamingResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='encryption_key', full_name='CMsgAMUnlockStreamingResponse.encryption_key', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20595,
serialized_end=20670,
)
_CMSGAMUNLOCKHEVC = _descriptor.Descriptor(
name='CMsgAMUnlockHEVC',
full_name='CMsgAMUnlockHEVC',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20672,
serialized_end=20690,
)
_CMSGAMUNLOCKHEVCRESPONSE = _descriptor.Descriptor(
name='CMsgAMUnlockHEVCResponse',
full_name='CMsgAMUnlockHEVCResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgAMUnlockHEVCResponse.eresult', index=0,
number=1, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20692,
serialized_end=20738,
)
_CMSGCLIENTPLAYINGSESSIONSTATE = _descriptor.Descriptor(
name='CMsgClientPlayingSessionState',
full_name='CMsgClientPlayingSessionState',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='playing_blocked', full_name='CMsgClientPlayingSessionState.playing_blocked', index=0,
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),
_descriptor.FieldDescriptor(
name='playing_app', full_name='CMsgClientPlayingSessionState.playing_app', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20740,
serialized_end=20817,
)
_CMSGCLIENTKICKPLAYINGSESSION = _descriptor.Descriptor(
name='CMsgClientKickPlayingSession',
full_name='CMsgClientKickPlayingSession',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='only_stop_game', full_name='CMsgClientKickPlayingSession.only_stop_game', index=0,
number=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20819,
serialized_end=20873,
)
_CMSGCLIENTVOICECALLPREAUTHORIZE = _descriptor.Descriptor(
name='CMsgClientVoiceCallPreAuthorize',
full_name='CMsgClientVoiceCallPreAuthorize',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='caller_steamid', full_name='CMsgClientVoiceCallPreAuthorize.caller_steamid', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='receiver_steamid', full_name='CMsgClientVoiceCallPreAuthorize.receiver_steamid', index=1,
number=2, type=6, 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),
_descriptor.FieldDescriptor(
name='caller_id', full_name='CMsgClientVoiceCallPreAuthorize.caller_id', index=2,
number=3, type=5, cpp_type=1, 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),
_descriptor.FieldDescriptor(
name='hangup', full_name='CMsgClientVoiceCallPreAuthorize.hangup', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20875,
serialized_end=20993,
)
_CMSGCLIENTVOICECALLPREAUTHORIZERESPONSE = _descriptor.Descriptor(
name='CMsgClientVoiceCallPreAuthorizeResponse',
full_name='CMsgClientVoiceCallPreAuthorizeResponse',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='caller_steamid', full_name='CMsgClientVoiceCallPreAuthorizeResponse.caller_steamid', index=0,
number=1, type=6, 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),
_descriptor.FieldDescriptor(
name='receiver_steamid', full_name='CMsgClientVoiceCallPreAuthorizeResponse.receiver_steamid', index=1,
number=2, type=6, 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),
_descriptor.FieldDescriptor(
name='eresult', full_name='CMsgClientVoiceCallPreAuthorizeResponse.eresult', index=2,
number=3, type=5, cpp_type=1, label=1,
has_default_value=True, default_value=2,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='caller_id', full_name='CMsgClientVoiceCallPreAuthorizeResponse.caller_id', index=3,
number=4, type=5, cpp_type=1, 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=20996,
serialized_end=21126,
)
_CMSGBADGECRAFTEDNOTIFICATION = _descriptor.Descriptor(
name='CMsgBadgeCraftedNotification',
full_name='CMsgBadgeCraftedNotification',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='appid', full_name='CMsgBadgeCraftedNotification.appid', 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),
_descriptor.FieldDescriptor(
name='badge_level', full_name='CMsgBadgeCraftedNotification.badge_level', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto2',
extension_ranges=[],
oneofs=[
],
serialized_start=21128,
serialized_end=21194,
)
_CMSGCLIENTUCMADDSCREENSHOT_TAG.containing_type = _CMSGCLIENTUCMADDSCREENSHOT
_CMSGCLIENTUCMADDSCREENSHOT.fields_by_name['tag'].message_type = _CMSGCLIENTUCMADDSCREENSHOT_TAG
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE_KEYVALUETAG.containing_type = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE_ADDITIONALPREVIEW.containing_type = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE.fields_by_name['kvtags'].message_type = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE_KEYVALUETAG
_CMSGCLIENTUCMUPDATEPUBLISHEDFILE.fields_by_name['previews'].message_type = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE_ADDITIONALPREVIEW
_CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE_PUBLISHEDFILEID.containing_type = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE
_CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE.fields_by_name['published_files'].message_type = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE_PUBLISHEDFILEID
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE_PUBLISHEDFILEID.containing_type = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE.fields_by_name['subscribed_files'].message_type = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE_PUBLISHEDFILEID
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE_PUBLISHEDFILEID.containing_type = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE
_CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE.fields_by_name['subscribed_files'].message_type = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE_PUBLISHEDFILEID
_CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE_WORKSHOPITEMINFO.containing_type = _CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE
_CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE.fields_by_name['workshop_items'].message_type = _CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE_WORKSHOPITEMINFO
_CMSGCLIENTWORKSHOPITEMINFOREQUEST_WORKSHOPITEM.containing_type = _CMSGCLIENTWORKSHOPITEMINFOREQUEST
_CMSGCLIENTWORKSHOPITEMINFOREQUEST.fields_by_name['workshop_items'].message_type = _CMSGCLIENTWORKSHOPITEMINFOREQUEST_WORKSHOPITEM
_CMSGCLIENTWORKSHOPITEMINFORESPONSE_WORKSHOPITEMINFO.containing_type = _CMSGCLIENTWORKSHOPITEMINFORESPONSE
_CMSGCLIENTWORKSHOPITEMINFORESPONSE.fields_by_name['workshop_items'].message_type = _CMSGCLIENTWORKSHOPITEMINFORESPONSE_WORKSHOPITEMINFO
_CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE_PUBLISHEDFILEID.containing_type = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE
_CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE.fields_by_name['published_files'].message_type = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE_PUBLISHEDFILEID
_CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE_PUBLISHEDFILEID.containing_type = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE
_CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE.fields_by_name['published_files'].message_type = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE_PUBLISHEDFILEID
_CMSGCLIENTRICHPRESENCEINFO_RICHPRESENCE.containing_type = _CMSGCLIENTRICHPRESENCEINFO
_CMSGCLIENTRICHPRESENCEINFO.fields_by_name['rich_presence'].message_type = _CMSGCLIENTRICHPRESENCEINFO_RICHPRESENCE
_CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE_BETAPASSWORD.containing_type = _CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE
_CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE.fields_by_name['betapasswords'].message_type = _CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE_BETAPASSWORD
_CMSGDOWNLOADRATESTATISTICS_STATSINFO.containing_type = _CMSGDOWNLOADRATESTATISTICS
_CMSGDOWNLOADRATESTATISTICS.fields_by_name['stats'].message_type = _CMSGDOWNLOADRATESTATISTICS_STATSINFO
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY_STAT.containing_type = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY.fields_by_name['stats'].message_type = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY_STAT
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY.containing_type = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE
_CMSGCLIENTUGSGETGLOBALSTATSRESPONSE.fields_by_name['days'].message_type = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY
_CMSGGAMESERVERDATA_PLAYER.containing_type = _CMSGGAMESERVERDATA
_CMSGGAMESERVERDATA.fields_by_name['game_ip_address'].message_type = steammessages__base__pb2._CMSGIPADDRESS
_CMSGGAMESERVERDATA.fields_by_name['players'].message_type = _CMSGGAMESERVERDATA_PLAYER
_CMSGGAMESERVERREMOVE.fields_by_name['ip'].message_type = steammessages__base__pb2._CMSGIPADDRESS
_CMSGGMSCLIENTSERVERQUERYRESPONSE_SERVER.fields_by_name['server_ip'].message_type = steammessages__base__pb2._CMSGIPADDRESS
_CMSGGMSCLIENTSERVERQUERYRESPONSE_SERVER.containing_type = _CMSGGMSCLIENTSERVERQUERYRESPONSE
_CMSGGMSCLIENTSERVERQUERYRESPONSE.fields_by_name['servers'].message_type = _CMSGGMSCLIENTSERVERQUERYRESPONSE_SERVER
_CMSGCLIENTITEMANNOUNCEMENTS_UNSEENITEM.containing_type = _CMSGCLIENTITEMANNOUNCEMENTS
_CMSGCLIENTITEMANNOUNCEMENTS.fields_by_name['unseen_items'].message_type = _CMSGCLIENTITEMANNOUNCEMENTS_UNSEENITEM
_CMSGCLIENTUSERNOTIFICATIONS_NOTIFICATION.containing_type = _CMSGCLIENTUSERNOTIFICATIONS
_CMSGCLIENTUSERNOTIFICATIONS.fields_by_name['notifications'].message_type = _CMSGCLIENTUSERNOTIFICATIONS_NOTIFICATION
_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE_FRIENDMESSAGE.containing_type = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE
_CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE.fields_by_name['messages'].message_type = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE_FRIENDMESSAGE
_CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE_FRIEND.containing_type = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE
_CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE.fields_by_name['friends'].message_type = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE_FRIEND
_CMSGCREITEMVOTESUMMARY_PUBLISHEDFILEID.containing_type = _CMSGCREITEMVOTESUMMARY
_CMSGCREITEMVOTESUMMARY.fields_by_name['published_file_ids'].message_type = _CMSGCREITEMVOTESUMMARY_PUBLISHEDFILEID
_CMSGCREITEMVOTESUMMARYRESPONSE_ITEMVOTESUMMARY.containing_type = _CMSGCREITEMVOTESUMMARYRESPONSE
_CMSGCREITEMVOTESUMMARYRESPONSE.fields_by_name['item_vote_summaries'].message_type = _CMSGCREITEMVOTESUMMARYRESPONSE_ITEMVOTESUMMARY
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS_PUBLISHEDFILEID.containing_type = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS.fields_by_name['published_file_ids'].message_type = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS_PUBLISHEDFILEID
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE_USERITEMVOTEDETAIL.containing_type = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE
_CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE.fields_by_name['user_item_vote_details'].message_type = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE_USERITEMVOTEDETAIL
_CMSGGAMESERVERPINGSAMPLE_SAMPLE.containing_type = _CMSGGAMESERVERPINGSAMPLE
_CMSGGAMESERVERPINGSAMPLE.fields_by_name['gs_samples'].message_type = _CMSGGAMESERVERPINGSAMPLE_SAMPLE
_CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS_DEVICETOKEN.containing_type = _CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS
_CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS.fields_by_name['device_tokens'].message_type = _CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS_DEVICETOKEN
_CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE_AUTHORIZEDDEVICE.containing_type = _CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE
_CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE.fields_by_name['authorized_device'].message_type = _CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE_AUTHORIZEDDEVICE
_CMSGCLIENTSHAREDLIBRARYLOCKSTATUS_LOCKEDLIBRARY.containing_type = _CMSGCLIENTSHAREDLIBRARYLOCKSTATUS
_CMSGCLIENTSHAREDLIBRARYLOCKSTATUS.fields_by_name['locked_library'].message_type = _CMSGCLIENTSHAREDLIBRARYLOCKSTATUS_LOCKEDLIBRARY
_CMSGCLIENTSHAREDLIBRARYSTOPPLAYING_STOPAPP.containing_type = _CMSGCLIENTSHAREDLIBRARYSTOPPLAYING
_CMSGCLIENTSHAREDLIBRARYSTOPPLAYING.fields_by_name['stop_apps'].message_type = _CMSGCLIENTSHAREDLIBRARYSTOPPLAYING_STOPAPP
DESCRIPTOR.message_types_by_name['CMsgClientUCMAddScreenshot'] = _CMSGCLIENTUCMADDSCREENSHOT
DESCRIPTOR.message_types_by_name['CMsgClientUCMAddScreenshotResponse'] = _CMSGCLIENTUCMADDSCREENSHOTRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMDeleteScreenshot'] = _CMSGCLIENTUCMDELETESCREENSHOT
DESCRIPTOR.message_types_by_name['CMsgClientUCMDeleteScreenshotResponse'] = _CMSGCLIENTUCMDELETESCREENSHOTRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMPublishFile'] = _CMSGCLIENTUCMPUBLISHFILE
DESCRIPTOR.message_types_by_name['CMsgClientUCMPublishFileResponse'] = _CMSGCLIENTUCMPUBLISHFILERESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMUpdatePublishedFile'] = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE
DESCRIPTOR.message_types_by_name['CMsgClientUCMUpdatePublishedFileResponse'] = _CMSGCLIENTUCMUPDATEPUBLISHEDFILERESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMDeletePublishedFile'] = _CMSGCLIENTUCMDELETEPUBLISHEDFILE
DESCRIPTOR.message_types_by_name['CMsgClientUCMDeletePublishedFileResponse'] = _CMSGCLIENTUCMDELETEPUBLISHEDFILERESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumerateUserPublishedFiles'] = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILES
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumerateUserPublishedFilesResponse'] = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumerateUserSubscribedFiles'] = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILES
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumerateUserSubscribedFilesResponse'] = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates'] = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATES
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse'] = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMPublishedFileUpdated'] = _CMSGCLIENTUCMPUBLISHEDFILEUPDATED
DESCRIPTOR.message_types_by_name['CMsgClientWorkshopItemChangesRequest'] = _CMSGCLIENTWORKSHOPITEMCHANGESREQUEST
DESCRIPTOR.message_types_by_name['CMsgClientWorkshopItemChangesResponse'] = _CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientWorkshopItemInfoRequest'] = _CMSGCLIENTWORKSHOPITEMINFOREQUEST
DESCRIPTOR.message_types_by_name['CMsgClientWorkshopItemInfoResponse'] = _CMSGCLIENTWORKSHOPITEMINFORESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMGetPublishedFilesForUser'] = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSER
DESCRIPTOR.message_types_by_name['CMsgClientUCMGetPublishedFilesForUserResponse'] = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMSetUserPublishedFileAction'] = _CMSGCLIENTUCMSETUSERPUBLISHEDFILEACTION
DESCRIPTOR.message_types_by_name['CMsgClientUCMSetUserPublishedFileActionResponse'] = _CMSGCLIENTUCMSETUSERPUBLISHEDFILEACTIONRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumeratePublishedFilesByUserAction'] = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTION
DESCRIPTOR.message_types_by_name['CMsgClientUCMEnumeratePublishedFilesByUserActionResponse'] = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientScreenshotsChanged'] = _CMSGCLIENTSCREENSHOTSCHANGED
DESCRIPTOR.message_types_by_name['CMsgClientUpdateUserGameInfo'] = _CMSGCLIENTUPDATEUSERGAMEINFO
DESCRIPTOR.message_types_by_name['CMsgClientRichPresenceUpload'] = _CMSGCLIENTRICHPRESENCEUPLOAD
DESCRIPTOR.message_types_by_name['CMsgClientRichPresenceRequest'] = _CMSGCLIENTRICHPRESENCEREQUEST
DESCRIPTOR.message_types_by_name['CMsgClientRichPresenceInfo'] = _CMSGCLIENTRICHPRESENCEINFO
DESCRIPTOR.message_types_by_name['CMsgClientCheckFileSignature'] = _CMSGCLIENTCHECKFILESIGNATURE
DESCRIPTOR.message_types_by_name['CMsgClientCheckFileSignatureResponse'] = _CMSGCLIENTCHECKFILESIGNATURERESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientReadMachineAuth'] = _CMSGCLIENTREADMACHINEAUTH
DESCRIPTOR.message_types_by_name['CMsgClientReadMachineAuthResponse'] = _CMSGCLIENTREADMACHINEAUTHRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUpdateMachineAuth'] = _CMSGCLIENTUPDATEMACHINEAUTH
DESCRIPTOR.message_types_by_name['CMsgClientUpdateMachineAuthResponse'] = _CMSGCLIENTUPDATEMACHINEAUTHRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientRequestMachineAuth'] = _CMSGCLIENTREQUESTMACHINEAUTH
DESCRIPTOR.message_types_by_name['CMsgClientRequestMachineAuthResponse'] = _CMSGCLIENTREQUESTMACHINEAUTHRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientRegisterKey'] = _CMSGCLIENTREGISTERKEY
DESCRIPTOR.message_types_by_name['CMsgClientPurchaseResponse'] = _CMSGCLIENTPURCHASERESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientActivateOEMLicense'] = _CMSGCLIENTACTIVATEOEMLICENSE
DESCRIPTOR.message_types_by_name['CMsgClientRegisterOEMMachine'] = _CMSGCLIENTREGISTEROEMMACHINE
DESCRIPTOR.message_types_by_name['CMsgClientRegisterOEMMachineResponse'] = _CMSGCLIENTREGISTEROEMMACHINERESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientPurchaseWithMachineID'] = _CMSGCLIENTPURCHASEWITHMACHINEID
DESCRIPTOR.message_types_by_name['CMsgTrading_InitiateTradeRequest'] = _CMSGTRADING_INITIATETRADEREQUEST
DESCRIPTOR.message_types_by_name['CMsgTrading_InitiateTradeResponse'] = _CMSGTRADING_INITIATETRADERESPONSE
DESCRIPTOR.message_types_by_name['CMsgTrading_CancelTradeRequest'] = _CMSGTRADING_CANCELTRADEREQUEST
DESCRIPTOR.message_types_by_name['CMsgTrading_StartSession'] = _CMSGTRADING_STARTSESSION
DESCRIPTOR.message_types_by_name['CMsgClientGetCDNAuthToken'] = _CMSGCLIENTGETCDNAUTHTOKEN
DESCRIPTOR.message_types_by_name['CMsgClientGetDepotDecryptionKey'] = _CMSGCLIENTGETDEPOTDECRYPTIONKEY
DESCRIPTOR.message_types_by_name['CMsgClientGetDepotDecryptionKeyResponse'] = _CMSGCLIENTGETDEPOTDECRYPTIONKEYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientCheckAppBetaPassword'] = _CMSGCLIENTCHECKAPPBETAPASSWORD
DESCRIPTOR.message_types_by_name['CMsgClientCheckAppBetaPasswordResponse'] = _CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUpdateAppJobReport'] = _CMSGCLIENTUPDATEAPPJOBREPORT
DESCRIPTOR.message_types_by_name['CMsgClientDPContentStatsReport'] = _CMSGCLIENTDPCONTENTSTATSREPORT
DESCRIPTOR.message_types_by_name['CMsgClientGetCDNAuthTokenResponse'] = _CMSGCLIENTGETCDNAUTHTOKENRESPONSE
DESCRIPTOR.message_types_by_name['CMsgDownloadRateStatistics'] = _CMSGDOWNLOADRATESTATISTICS
DESCRIPTOR.message_types_by_name['CMsgClientRequestAccountData'] = _CMSGCLIENTREQUESTACCOUNTDATA
DESCRIPTOR.message_types_by_name['CMsgClientRequestAccountDataResponse'] = _CMSGCLIENTREQUESTACCOUNTDATARESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUGSGetGlobalStats'] = _CMSGCLIENTUGSGETGLOBALSTATS
DESCRIPTOR.message_types_by_name['CMsgClientUGSGetGlobalStatsResponse'] = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE
DESCRIPTOR.message_types_by_name['CMsgGameServerData'] = _CMSGGAMESERVERDATA
DESCRIPTOR.message_types_by_name['CMsgGameServerRemove'] = _CMSGGAMESERVERREMOVE
DESCRIPTOR.message_types_by_name['CMsgClientGMSServerQuery'] = _CMSGCLIENTGMSSERVERQUERY
DESCRIPTOR.message_types_by_name['CMsgGMSClientServerQueryResponse'] = _CMSGGMSCLIENTSERVERQUERYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgGameServerOutOfDate'] = _CMSGGAMESERVEROUTOFDATE
DESCRIPTOR.message_types_by_name['CMsgClientRedeemGuestPass'] = _CMSGCLIENTREDEEMGUESTPASS
DESCRIPTOR.message_types_by_name['CMsgClientRedeemGuestPassResponse'] = _CMSGCLIENTREDEEMGUESTPASSRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientGetClanActivityCounts'] = _CMSGCLIENTGETCLANACTIVITYCOUNTS
DESCRIPTOR.message_types_by_name['CMsgClientGetClanActivityCountsResponse'] = _CMSGCLIENTGETCLANACTIVITYCOUNTSRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientOGSReportString'] = _CMSGCLIENTOGSREPORTSTRING
DESCRIPTOR.message_types_by_name['CMsgClientOGSReportBug'] = _CMSGCLIENTOGSREPORTBUG
DESCRIPTOR.message_types_by_name['CMsgGSAssociateWithClan'] = _CMSGGSASSOCIATEWITHCLAN
DESCRIPTOR.message_types_by_name['CMsgGSAssociateWithClanResponse'] = _CMSGGSASSOCIATEWITHCLANRESPONSE
DESCRIPTOR.message_types_by_name['CMsgGSComputeNewPlayerCompatibility'] = _CMSGGSCOMPUTENEWPLAYERCOMPATIBILITY
DESCRIPTOR.message_types_by_name['CMsgGSComputeNewPlayerCompatibilityResponse'] = _CMSGGSCOMPUTENEWPLAYERCOMPATIBILITYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientSentLogs'] = _CMSGCLIENTSENTLOGS
DESCRIPTOR.message_types_by_name['CMsgGCClient'] = _CMSGGCCLIENT
DESCRIPTOR.message_types_by_name['CMsgClientRequestFreeLicense'] = _CMSGCLIENTREQUESTFREELICENSE
DESCRIPTOR.message_types_by_name['CMsgClientRequestFreeLicenseResponse'] = _CMSGCLIENTREQUESTFREELICENSERESPONSE
DESCRIPTOR.message_types_by_name['CMsgDRMDownloadRequestWithCrashData'] = _CMSGDRMDOWNLOADREQUESTWITHCRASHDATA
DESCRIPTOR.message_types_by_name['CMsgDRMDownloadResponse'] = _CMSGDRMDOWNLOADRESPONSE
DESCRIPTOR.message_types_by_name['CMsgDRMFinalResult'] = _CMSGDRMFINALRESULT
DESCRIPTOR.message_types_by_name['CMsgClientDPCheckSpecialSurvey'] = _CMSGCLIENTDPCHECKSPECIALSURVEY
DESCRIPTOR.message_types_by_name['CMsgClientDPCheckSpecialSurveyResponse'] = _CMSGCLIENTDPCHECKSPECIALSURVEYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientDPSendSpecialSurveyResponse'] = _CMSGCLIENTDPSENDSPECIALSURVEYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientDPSendSpecialSurveyResponseReply'] = _CMSGCLIENTDPSENDSPECIALSURVEYRESPONSEREPLY
DESCRIPTOR.message_types_by_name['CMsgClientRequestForgottenPasswordEmail'] = _CMSGCLIENTREQUESTFORGOTTENPASSWORDEMAIL
DESCRIPTOR.message_types_by_name['CMsgClientRequestForgottenPasswordEmailResponse'] = _CMSGCLIENTREQUESTFORGOTTENPASSWORDEMAILRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientItemAnnouncements'] = _CMSGCLIENTITEMANNOUNCEMENTS
DESCRIPTOR.message_types_by_name['CMsgClientRequestItemAnnouncements'] = _CMSGCLIENTREQUESTITEMANNOUNCEMENTS
DESCRIPTOR.message_types_by_name['CMsgClientUserNotifications'] = _CMSGCLIENTUSERNOTIFICATIONS
DESCRIPTOR.message_types_by_name['CMsgClientCommentNotifications'] = _CMSGCLIENTCOMMENTNOTIFICATIONS
DESCRIPTOR.message_types_by_name['CMsgClientRequestCommentNotifications'] = _CMSGCLIENTREQUESTCOMMENTNOTIFICATIONS
DESCRIPTOR.message_types_by_name['CMsgClientOfflineMessageNotification'] = _CMSGCLIENTOFFLINEMESSAGENOTIFICATION
DESCRIPTOR.message_types_by_name['CMsgClientRequestOfflineMessageCount'] = _CMSGCLIENTREQUESTOFFLINEMESSAGECOUNT
DESCRIPTOR.message_types_by_name['CMsgClientChatGetFriendMessageHistory'] = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORY
DESCRIPTOR.message_types_by_name['CMsgClientChatGetFriendMessageHistoryResponse'] = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientChatGetFriendMessageHistoryForOfflineMessages'] = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYFOROFFLINEMESSAGES
DESCRIPTOR.message_types_by_name['CMsgClientFSGetFriendsSteamLevels'] = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELS
DESCRIPTOR.message_types_by_name['CMsgClientFSGetFriendsSteamLevelsResponse'] = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientEmailAddrInfo'] = _CMSGCLIENTEMAILADDRINFO
DESCRIPTOR.message_types_by_name['CMsgCREItemVoteSummary'] = _CMSGCREITEMVOTESUMMARY
DESCRIPTOR.message_types_by_name['CMsgCREItemVoteSummaryResponse'] = _CMSGCREITEMVOTESUMMARYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgCREUpdateUserPublishedItemVote'] = _CMSGCREUPDATEUSERPUBLISHEDITEMVOTE
DESCRIPTOR.message_types_by_name['CMsgCREUpdateUserPublishedItemVoteResponse'] = _CMSGCREUPDATEUSERPUBLISHEDITEMVOTERESPONSE
DESCRIPTOR.message_types_by_name['CMsgCREGetUserPublishedItemVoteDetails'] = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS
DESCRIPTOR.message_types_by_name['CMsgCREGetUserPublishedItemVoteDetailsResponse'] = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE
DESCRIPTOR.message_types_by_name['CMsgGameServerPingSample'] = _CMSGGAMESERVERPINGSAMPLE
DESCRIPTOR.message_types_by_name['CMsgFSGetFollowerCount'] = _CMSGFSGETFOLLOWERCOUNT
DESCRIPTOR.message_types_by_name['CMsgFSGetFollowerCountResponse'] = _CMSGFSGETFOLLOWERCOUNTRESPONSE
DESCRIPTOR.message_types_by_name['CMsgFSGetIsFollowing'] = _CMSGFSGETISFOLLOWING
DESCRIPTOR.message_types_by_name['CMsgFSGetIsFollowingResponse'] = _CMSGFSGETISFOLLOWINGRESPONSE
DESCRIPTOR.message_types_by_name['CMsgFSEnumerateFollowingList'] = _CMSGFSENUMERATEFOLLOWINGLIST
DESCRIPTOR.message_types_by_name['CMsgFSEnumerateFollowingListResponse'] = _CMSGFSENUMERATEFOLLOWINGLISTRESPONSE
DESCRIPTOR.message_types_by_name['CMsgDPGetNumberOfCurrentPlayers'] = _CMSGDPGETNUMBEROFCURRENTPLAYERS
DESCRIPTOR.message_types_by_name['CMsgDPGetNumberOfCurrentPlayersResponse'] = _CMSGDPGETNUMBEROFCURRENTPLAYERSRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientFriendUserStatusPublished'] = _CMSGCLIENTFRIENDUSERSTATUSPUBLISHED
DESCRIPTOR.message_types_by_name['CMsgClientServiceMethodLegacy'] = _CMSGCLIENTSERVICEMETHODLEGACY
DESCRIPTOR.message_types_by_name['CMsgClientServiceMethodLegacyResponse'] = _CMSGCLIENTSERVICEMETHODLEGACYRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientUIMode'] = _CMSGCLIENTUIMODE
DESCRIPTOR.message_types_by_name['CMsgClientVanityURLChangedNotification'] = _CMSGCLIENTVANITYURLCHANGEDNOTIFICATION
DESCRIPTOR.message_types_by_name['CMsgClientAuthorizeLocalDeviceRequest'] = _CMSGCLIENTAUTHORIZELOCALDEVICEREQUEST
DESCRIPTOR.message_types_by_name['CMsgClientAuthorizeLocalDevice'] = _CMSGCLIENTAUTHORIZELOCALDEVICE
DESCRIPTOR.message_types_by_name['CMsgClientAuthorizeLocalDeviceNotification'] = _CMSGCLIENTAUTHORIZELOCALDEVICENOTIFICATION
DESCRIPTOR.message_types_by_name['CMsgClientDeauthorizeDeviceRequest'] = _CMSGCLIENTDEAUTHORIZEDEVICEREQUEST
DESCRIPTOR.message_types_by_name['CMsgClientDeauthorizeDevice'] = _CMSGCLIENTDEAUTHORIZEDEVICE
DESCRIPTOR.message_types_by_name['CMsgClientUseLocalDeviceAuthorizations'] = _CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS
DESCRIPTOR.message_types_by_name['CMsgClientGetAuthorizedDevices'] = _CMSGCLIENTGETAUTHORIZEDDEVICES
DESCRIPTOR.message_types_by_name['CMsgClientGetAuthorizedDevicesResponse'] = _CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientSharedLibraryLockStatus'] = _CMSGCLIENTSHAREDLIBRARYLOCKSTATUS
DESCRIPTOR.message_types_by_name['CMsgClientSharedLibraryStopPlaying'] = _CMSGCLIENTSHAREDLIBRARYSTOPPLAYING
DESCRIPTOR.message_types_by_name['CMsgClientServiceCall'] = _CMSGCLIENTSERVICECALL
DESCRIPTOR.message_types_by_name['CMsgClientServiceModule'] = _CMSGCLIENTSERVICEMODULE
DESCRIPTOR.message_types_by_name['CMsgClientServiceCallResponse'] = _CMSGCLIENTSERVICECALLRESPONSE
DESCRIPTOR.message_types_by_name['CMsgAMUnlockStreaming'] = _CMSGAMUNLOCKSTREAMING
DESCRIPTOR.message_types_by_name['CMsgAMUnlockStreamingResponse'] = _CMSGAMUNLOCKSTREAMINGRESPONSE
DESCRIPTOR.message_types_by_name['CMsgAMUnlockHEVC'] = _CMSGAMUNLOCKHEVC
DESCRIPTOR.message_types_by_name['CMsgAMUnlockHEVCResponse'] = _CMSGAMUNLOCKHEVCRESPONSE
DESCRIPTOR.message_types_by_name['CMsgClientPlayingSessionState'] = _CMSGCLIENTPLAYINGSESSIONSTATE
DESCRIPTOR.message_types_by_name['CMsgClientKickPlayingSession'] = _CMSGCLIENTKICKPLAYINGSESSION
DESCRIPTOR.message_types_by_name['CMsgClientVoiceCallPreAuthorize'] = _CMSGCLIENTVOICECALLPREAUTHORIZE
DESCRIPTOR.message_types_by_name['CMsgClientVoiceCallPreAuthorizeResponse'] = _CMSGCLIENTVOICECALLPREAUTHORIZERESPONSE
DESCRIPTOR.message_types_by_name['CMsgBadgeCraftedNotification'] = _CMSGBADGECRAFTEDNOTIFICATION
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
CMsgClientUCMAddScreenshot = _reflection.GeneratedProtocolMessageType('CMsgClientUCMAddScreenshot', (_message.Message,), dict(
Tag = _reflection.GeneratedProtocolMessageType('Tag', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMADDSCREENSHOT_TAG,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMAddScreenshot.Tag)
))
,
DESCRIPTOR = _CMSGCLIENTUCMADDSCREENSHOT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMAddScreenshot)
))
_sym_db.RegisterMessage(CMsgClientUCMAddScreenshot)
_sym_db.RegisterMessage(CMsgClientUCMAddScreenshot.Tag)
CMsgClientUCMAddScreenshotResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMAddScreenshotResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMADDSCREENSHOTRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMAddScreenshotResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMAddScreenshotResponse)
CMsgClientUCMDeleteScreenshot = _reflection.GeneratedProtocolMessageType('CMsgClientUCMDeleteScreenshot', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMDELETESCREENSHOT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMDeleteScreenshot)
))
_sym_db.RegisterMessage(CMsgClientUCMDeleteScreenshot)
CMsgClientUCMDeleteScreenshotResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMDeleteScreenshotResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMDELETESCREENSHOTRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMDeleteScreenshotResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMDeleteScreenshotResponse)
CMsgClientUCMPublishFile = _reflection.GeneratedProtocolMessageType('CMsgClientUCMPublishFile', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMPUBLISHFILE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMPublishFile)
))
_sym_db.RegisterMessage(CMsgClientUCMPublishFile)
CMsgClientUCMPublishFileResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMPublishFileResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMPUBLISHFILERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMPublishFileResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMPublishFileResponse)
CMsgClientUCMUpdatePublishedFile = _reflection.GeneratedProtocolMessageType('CMsgClientUCMUpdatePublishedFile', (_message.Message,), dict(
KeyValueTag = _reflection.GeneratedProtocolMessageType('KeyValueTag', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE_KEYVALUETAG,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMUpdatePublishedFile.KeyValueTag)
))
,
AdditionalPreview = _reflection.GeneratedProtocolMessageType('AdditionalPreview', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE_ADDITIONALPREVIEW,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMUpdatePublishedFile.AdditionalPreview)
))
,
DESCRIPTOR = _CMSGCLIENTUCMUPDATEPUBLISHEDFILE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMUpdatePublishedFile)
))
_sym_db.RegisterMessage(CMsgClientUCMUpdatePublishedFile)
_sym_db.RegisterMessage(CMsgClientUCMUpdatePublishedFile.KeyValueTag)
_sym_db.RegisterMessage(CMsgClientUCMUpdatePublishedFile.AdditionalPreview)
CMsgClientUCMUpdatePublishedFileResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMUpdatePublishedFileResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMUPDATEPUBLISHEDFILERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMUpdatePublishedFileResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMUpdatePublishedFileResponse)
CMsgClientUCMDeletePublishedFile = _reflection.GeneratedProtocolMessageType('CMsgClientUCMDeletePublishedFile', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMDELETEPUBLISHEDFILE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMDeletePublishedFile)
))
_sym_db.RegisterMessage(CMsgClientUCMDeletePublishedFile)
CMsgClientUCMDeletePublishedFileResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMDeletePublishedFileResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMDELETEPUBLISHEDFILERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMDeletePublishedFileResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMDeletePublishedFileResponse)
CMsgClientUCMEnumerateUserPublishedFiles = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumerateUserPublishedFiles', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILES,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserPublishedFiles)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserPublishedFiles)
CMsgClientUCMEnumerateUserPublishedFilesResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumerateUserPublishedFilesResponse', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserPublishedFilesResponse.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERPUBLISHEDFILESRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserPublishedFilesResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserPublishedFilesResponse)
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserPublishedFilesResponse.PublishedFileId)
CMsgClientUCMEnumerateUserSubscribedFiles = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumerateUserSubscribedFiles', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILES,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserSubscribedFiles)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserSubscribedFiles)
CMsgClientUCMEnumerateUserSubscribedFilesResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumerateUserSubscribedFilesResponse', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserSubscribedFilesResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserSubscribedFilesResponse)
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserSubscribedFilesResponse.PublishedFileId)
CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATES,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserSubscribedFilesWithUpdates)
CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEUSERSUBSCRIBEDFILESWITHUPDATESRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse)
_sym_db.RegisterMessage(CMsgClientUCMEnumerateUserSubscribedFilesWithUpdatesResponse.PublishedFileId)
CMsgClientUCMPublishedFileUpdated = _reflection.GeneratedProtocolMessageType('CMsgClientUCMPublishedFileUpdated', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMPUBLISHEDFILEUPDATED,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMPublishedFileUpdated)
))
_sym_db.RegisterMessage(CMsgClientUCMPublishedFileUpdated)
CMsgClientWorkshopItemChangesRequest = _reflection.GeneratedProtocolMessageType('CMsgClientWorkshopItemChangesRequest', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMCHANGESREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemChangesRequest)
))
_sym_db.RegisterMessage(CMsgClientWorkshopItemChangesRequest)
CMsgClientWorkshopItemChangesResponse = _reflection.GeneratedProtocolMessageType('CMsgClientWorkshopItemChangesResponse', (_message.Message,), dict(
WorkshopItemInfo = _reflection.GeneratedProtocolMessageType('WorkshopItemInfo', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE_WORKSHOPITEMINFO,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo)
))
,
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMCHANGESRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemChangesResponse)
))
_sym_db.RegisterMessage(CMsgClientWorkshopItemChangesResponse)
_sym_db.RegisterMessage(CMsgClientWorkshopItemChangesResponse.WorkshopItemInfo)
CMsgClientWorkshopItemInfoRequest = _reflection.GeneratedProtocolMessageType('CMsgClientWorkshopItemInfoRequest', (_message.Message,), dict(
WorkshopItem = _reflection.GeneratedProtocolMessageType('WorkshopItem', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMINFOREQUEST_WORKSHOPITEM,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemInfoRequest.WorkshopItem)
))
,
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMINFOREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemInfoRequest)
))
_sym_db.RegisterMessage(CMsgClientWorkshopItemInfoRequest)
_sym_db.RegisterMessage(CMsgClientWorkshopItemInfoRequest.WorkshopItem)
CMsgClientWorkshopItemInfoResponse = _reflection.GeneratedProtocolMessageType('CMsgClientWorkshopItemInfoResponse', (_message.Message,), dict(
WorkshopItemInfo = _reflection.GeneratedProtocolMessageType('WorkshopItemInfo', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMINFORESPONSE_WORKSHOPITEMINFO,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo)
))
,
DESCRIPTOR = _CMSGCLIENTWORKSHOPITEMINFORESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientWorkshopItemInfoResponse)
))
_sym_db.RegisterMessage(CMsgClientWorkshopItemInfoResponse)
_sym_db.RegisterMessage(CMsgClientWorkshopItemInfoResponse.WorkshopItemInfo)
CMsgClientUCMGetPublishedFilesForUser = _reflection.GeneratedProtocolMessageType('CMsgClientUCMGetPublishedFilesForUser', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSER,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMGetPublishedFilesForUser)
))
_sym_db.RegisterMessage(CMsgClientUCMGetPublishedFilesForUser)
CMsgClientUCMGetPublishedFilesForUserResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMGetPublishedFilesForUserResponse', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMGetPublishedFilesForUserResponse.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCLIENTUCMGETPUBLISHEDFILESFORUSERRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMGetPublishedFilesForUserResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMGetPublishedFilesForUserResponse)
_sym_db.RegisterMessage(CMsgClientUCMGetPublishedFilesForUserResponse.PublishedFileId)
CMsgClientUCMSetUserPublishedFileAction = _reflection.GeneratedProtocolMessageType('CMsgClientUCMSetUserPublishedFileAction', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMSETUSERPUBLISHEDFILEACTION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMSetUserPublishedFileAction)
))
_sym_db.RegisterMessage(CMsgClientUCMSetUserPublishedFileAction)
CMsgClientUCMSetUserPublishedFileActionResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMSetUserPublishedFileActionResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMSETUSERPUBLISHEDFILEACTIONRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMSetUserPublishedFileActionResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMSetUserPublishedFileActionResponse)
CMsgClientUCMEnumeratePublishedFilesByUserAction = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumeratePublishedFilesByUserAction', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumeratePublishedFilesByUserAction)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumeratePublishedFilesByUserAction)
CMsgClientUCMEnumeratePublishedFilesByUserActionResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUCMEnumeratePublishedFilesByUserActionResponse', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCLIENTUCMENUMERATEPUBLISHEDFILESBYUSERACTIONRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUCMEnumeratePublishedFilesByUserActionResponse)
))
_sym_db.RegisterMessage(CMsgClientUCMEnumeratePublishedFilesByUserActionResponse)
_sym_db.RegisterMessage(CMsgClientUCMEnumeratePublishedFilesByUserActionResponse.PublishedFileId)
CMsgClientScreenshotsChanged = _reflection.GeneratedProtocolMessageType('CMsgClientScreenshotsChanged', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSCREENSHOTSCHANGED,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientScreenshotsChanged)
))
_sym_db.RegisterMessage(CMsgClientScreenshotsChanged)
CMsgClientUpdateUserGameInfo = _reflection.GeneratedProtocolMessageType('CMsgClientUpdateUserGameInfo', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUPDATEUSERGAMEINFO,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUpdateUserGameInfo)
))
_sym_db.RegisterMessage(CMsgClientUpdateUserGameInfo)
CMsgClientRichPresenceUpload = _reflection.GeneratedProtocolMessageType('CMsgClientRichPresenceUpload', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTRICHPRESENCEUPLOAD,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRichPresenceUpload)
))
_sym_db.RegisterMessage(CMsgClientRichPresenceUpload)
CMsgClientRichPresenceRequest = _reflection.GeneratedProtocolMessageType('CMsgClientRichPresenceRequest', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTRICHPRESENCEREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRichPresenceRequest)
))
_sym_db.RegisterMessage(CMsgClientRichPresenceRequest)
CMsgClientRichPresenceInfo = _reflection.GeneratedProtocolMessageType('CMsgClientRichPresenceInfo', (_message.Message,), dict(
RichPresence = _reflection.GeneratedProtocolMessageType('RichPresence', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTRICHPRESENCEINFO_RICHPRESENCE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRichPresenceInfo.RichPresence)
))
,
DESCRIPTOR = _CMSGCLIENTRICHPRESENCEINFO,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRichPresenceInfo)
))
_sym_db.RegisterMessage(CMsgClientRichPresenceInfo)
_sym_db.RegisterMessage(CMsgClientRichPresenceInfo.RichPresence)
CMsgClientCheckFileSignature = _reflection.GeneratedProtocolMessageType('CMsgClientCheckFileSignature', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHECKFILESIGNATURE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientCheckFileSignature)
))
_sym_db.RegisterMessage(CMsgClientCheckFileSignature)
CMsgClientCheckFileSignatureResponse = _reflection.GeneratedProtocolMessageType('CMsgClientCheckFileSignatureResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHECKFILESIGNATURERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientCheckFileSignatureResponse)
))
_sym_db.RegisterMessage(CMsgClientCheckFileSignatureResponse)
CMsgClientReadMachineAuth = _reflection.GeneratedProtocolMessageType('CMsgClientReadMachineAuth', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREADMACHINEAUTH,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientReadMachineAuth)
))
_sym_db.RegisterMessage(CMsgClientReadMachineAuth)
CMsgClientReadMachineAuthResponse = _reflection.GeneratedProtocolMessageType('CMsgClientReadMachineAuthResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREADMACHINEAUTHRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientReadMachineAuthResponse)
))
_sym_db.RegisterMessage(CMsgClientReadMachineAuthResponse)
CMsgClientUpdateMachineAuth = _reflection.GeneratedProtocolMessageType('CMsgClientUpdateMachineAuth', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUPDATEMACHINEAUTH,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUpdateMachineAuth)
))
_sym_db.RegisterMessage(CMsgClientUpdateMachineAuth)
CMsgClientUpdateMachineAuthResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUpdateMachineAuthResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUPDATEMACHINEAUTHRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUpdateMachineAuthResponse)
))
_sym_db.RegisterMessage(CMsgClientUpdateMachineAuthResponse)
CMsgClientRequestMachineAuth = _reflection.GeneratedProtocolMessageType('CMsgClientRequestMachineAuth', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTMACHINEAUTH,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestMachineAuth)
))
_sym_db.RegisterMessage(CMsgClientRequestMachineAuth)
CMsgClientRequestMachineAuthResponse = _reflection.GeneratedProtocolMessageType('CMsgClientRequestMachineAuthResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTMACHINEAUTHRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestMachineAuthResponse)
))
_sym_db.RegisterMessage(CMsgClientRequestMachineAuthResponse)
CMsgClientRegisterKey = _reflection.GeneratedProtocolMessageType('CMsgClientRegisterKey', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREGISTERKEY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRegisterKey)
))
_sym_db.RegisterMessage(CMsgClientRegisterKey)
CMsgClientPurchaseResponse = _reflection.GeneratedProtocolMessageType('CMsgClientPurchaseResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTPURCHASERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientPurchaseResponse)
))
_sym_db.RegisterMessage(CMsgClientPurchaseResponse)
CMsgClientActivateOEMLicense = _reflection.GeneratedProtocolMessageType('CMsgClientActivateOEMLicense', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTACTIVATEOEMLICENSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientActivateOEMLicense)
))
_sym_db.RegisterMessage(CMsgClientActivateOEMLicense)
CMsgClientRegisterOEMMachine = _reflection.GeneratedProtocolMessageType('CMsgClientRegisterOEMMachine', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREGISTEROEMMACHINE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRegisterOEMMachine)
))
_sym_db.RegisterMessage(CMsgClientRegisterOEMMachine)
CMsgClientRegisterOEMMachineResponse = _reflection.GeneratedProtocolMessageType('CMsgClientRegisterOEMMachineResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREGISTEROEMMACHINERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRegisterOEMMachineResponse)
))
_sym_db.RegisterMessage(CMsgClientRegisterOEMMachineResponse)
CMsgClientPurchaseWithMachineID = _reflection.GeneratedProtocolMessageType('CMsgClientPurchaseWithMachineID', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTPURCHASEWITHMACHINEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientPurchaseWithMachineID)
))
_sym_db.RegisterMessage(CMsgClientPurchaseWithMachineID)
CMsgTrading_InitiateTradeRequest = _reflection.GeneratedProtocolMessageType('CMsgTrading_InitiateTradeRequest', (_message.Message,), dict(
DESCRIPTOR = _CMSGTRADING_INITIATETRADEREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgTrading_InitiateTradeRequest)
))
_sym_db.RegisterMessage(CMsgTrading_InitiateTradeRequest)
CMsgTrading_InitiateTradeResponse = _reflection.GeneratedProtocolMessageType('CMsgTrading_InitiateTradeResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGTRADING_INITIATETRADERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgTrading_InitiateTradeResponse)
))
_sym_db.RegisterMessage(CMsgTrading_InitiateTradeResponse)
CMsgTrading_CancelTradeRequest = _reflection.GeneratedProtocolMessageType('CMsgTrading_CancelTradeRequest', (_message.Message,), dict(
DESCRIPTOR = _CMSGTRADING_CANCELTRADEREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgTrading_CancelTradeRequest)
))
_sym_db.RegisterMessage(CMsgTrading_CancelTradeRequest)
CMsgTrading_StartSession = _reflection.GeneratedProtocolMessageType('CMsgTrading_StartSession', (_message.Message,), dict(
DESCRIPTOR = _CMSGTRADING_STARTSESSION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgTrading_StartSession)
))
_sym_db.RegisterMessage(CMsgTrading_StartSession)
CMsgClientGetCDNAuthToken = _reflection.GeneratedProtocolMessageType('CMsgClientGetCDNAuthToken', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETCDNAUTHTOKEN,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetCDNAuthToken)
))
_sym_db.RegisterMessage(CMsgClientGetCDNAuthToken)
CMsgClientGetDepotDecryptionKey = _reflection.GeneratedProtocolMessageType('CMsgClientGetDepotDecryptionKey', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETDEPOTDECRYPTIONKEY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetDepotDecryptionKey)
))
_sym_db.RegisterMessage(CMsgClientGetDepotDecryptionKey)
CMsgClientGetDepotDecryptionKeyResponse = _reflection.GeneratedProtocolMessageType('CMsgClientGetDepotDecryptionKeyResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETDEPOTDECRYPTIONKEYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetDepotDecryptionKeyResponse)
))
_sym_db.RegisterMessage(CMsgClientGetDepotDecryptionKeyResponse)
CMsgClientCheckAppBetaPassword = _reflection.GeneratedProtocolMessageType('CMsgClientCheckAppBetaPassword', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHECKAPPBETAPASSWORD,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientCheckAppBetaPassword)
))
_sym_db.RegisterMessage(CMsgClientCheckAppBetaPassword)
CMsgClientCheckAppBetaPasswordResponse = _reflection.GeneratedProtocolMessageType('CMsgClientCheckAppBetaPasswordResponse', (_message.Message,), dict(
BetaPassword = _reflection.GeneratedProtocolMessageType('BetaPassword', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE_BETAPASSWORD,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientCheckAppBetaPasswordResponse.BetaPassword)
))
,
DESCRIPTOR = _CMSGCLIENTCHECKAPPBETAPASSWORDRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientCheckAppBetaPasswordResponse)
))
_sym_db.RegisterMessage(CMsgClientCheckAppBetaPasswordResponse)
_sym_db.RegisterMessage(CMsgClientCheckAppBetaPasswordResponse.BetaPassword)
CMsgClientUpdateAppJobReport = _reflection.GeneratedProtocolMessageType('CMsgClientUpdateAppJobReport', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUPDATEAPPJOBREPORT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUpdateAppJobReport)
))
_sym_db.RegisterMessage(CMsgClientUpdateAppJobReport)
CMsgClientDPContentStatsReport = _reflection.GeneratedProtocolMessageType('CMsgClientDPContentStatsReport', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDPCONTENTSTATSREPORT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDPContentStatsReport)
))
_sym_db.RegisterMessage(CMsgClientDPContentStatsReport)
CMsgClientGetCDNAuthTokenResponse = _reflection.GeneratedProtocolMessageType('CMsgClientGetCDNAuthTokenResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETCDNAUTHTOKENRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetCDNAuthTokenResponse)
))
_sym_db.RegisterMessage(CMsgClientGetCDNAuthTokenResponse)
CMsgDownloadRateStatistics = _reflection.GeneratedProtocolMessageType('CMsgDownloadRateStatistics', (_message.Message,), dict(
StatsInfo = _reflection.GeneratedProtocolMessageType('StatsInfo', (_message.Message,), dict(
DESCRIPTOR = _CMSGDOWNLOADRATESTATISTICS_STATSINFO,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDownloadRateStatistics.StatsInfo)
))
,
DESCRIPTOR = _CMSGDOWNLOADRATESTATISTICS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDownloadRateStatistics)
))
_sym_db.RegisterMessage(CMsgDownloadRateStatistics)
_sym_db.RegisterMessage(CMsgDownloadRateStatistics.StatsInfo)
CMsgClientRequestAccountData = _reflection.GeneratedProtocolMessageType('CMsgClientRequestAccountData', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTACCOUNTDATA,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestAccountData)
))
_sym_db.RegisterMessage(CMsgClientRequestAccountData)
CMsgClientRequestAccountDataResponse = _reflection.GeneratedProtocolMessageType('CMsgClientRequestAccountDataResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTACCOUNTDATARESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestAccountDataResponse)
))
_sym_db.RegisterMessage(CMsgClientRequestAccountDataResponse)
CMsgClientUGSGetGlobalStats = _reflection.GeneratedProtocolMessageType('CMsgClientUGSGetGlobalStats', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUGSGETGLOBALSTATS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUGSGetGlobalStats)
))
_sym_db.RegisterMessage(CMsgClientUGSGetGlobalStats)
CMsgClientUGSGetGlobalStatsResponse = _reflection.GeneratedProtocolMessageType('CMsgClientUGSGetGlobalStatsResponse', (_message.Message,), dict(
Day = _reflection.GeneratedProtocolMessageType('Day', (_message.Message,), dict(
Stat = _reflection.GeneratedProtocolMessageType('Stat', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY_STAT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUGSGetGlobalStatsResponse.Day.Stat)
))
,
DESCRIPTOR = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE_DAY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUGSGetGlobalStatsResponse.Day)
))
,
DESCRIPTOR = _CMSGCLIENTUGSGETGLOBALSTATSRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUGSGetGlobalStatsResponse)
))
_sym_db.RegisterMessage(CMsgClientUGSGetGlobalStatsResponse)
_sym_db.RegisterMessage(CMsgClientUGSGetGlobalStatsResponse.Day)
_sym_db.RegisterMessage(CMsgClientUGSGetGlobalStatsResponse.Day.Stat)
CMsgGameServerData = _reflection.GeneratedProtocolMessageType('CMsgGameServerData', (_message.Message,), dict(
Player = _reflection.GeneratedProtocolMessageType('Player', (_message.Message,), dict(
DESCRIPTOR = _CMSGGAMESERVERDATA_PLAYER,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGameServerData.Player)
))
,
DESCRIPTOR = _CMSGGAMESERVERDATA,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGameServerData)
))
_sym_db.RegisterMessage(CMsgGameServerData)
_sym_db.RegisterMessage(CMsgGameServerData.Player)
CMsgGameServerRemove = _reflection.GeneratedProtocolMessageType('CMsgGameServerRemove', (_message.Message,), dict(
DESCRIPTOR = _CMSGGAMESERVERREMOVE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGameServerRemove)
))
_sym_db.RegisterMessage(CMsgGameServerRemove)
CMsgClientGMSServerQuery = _reflection.GeneratedProtocolMessageType('CMsgClientGMSServerQuery', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGMSSERVERQUERY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGMSServerQuery)
))
_sym_db.RegisterMessage(CMsgClientGMSServerQuery)
CMsgGMSClientServerQueryResponse = _reflection.GeneratedProtocolMessageType('CMsgGMSClientServerQueryResponse', (_message.Message,), dict(
Server = _reflection.GeneratedProtocolMessageType('Server', (_message.Message,), dict(
DESCRIPTOR = _CMSGGMSCLIENTSERVERQUERYRESPONSE_SERVER,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGMSClientServerQueryResponse.Server)
))
,
DESCRIPTOR = _CMSGGMSCLIENTSERVERQUERYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGMSClientServerQueryResponse)
))
_sym_db.RegisterMessage(CMsgGMSClientServerQueryResponse)
_sym_db.RegisterMessage(CMsgGMSClientServerQueryResponse.Server)
CMsgGameServerOutOfDate = _reflection.GeneratedProtocolMessageType('CMsgGameServerOutOfDate', (_message.Message,), dict(
DESCRIPTOR = _CMSGGAMESERVEROUTOFDATE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGameServerOutOfDate)
))
_sym_db.RegisterMessage(CMsgGameServerOutOfDate)
CMsgClientRedeemGuestPass = _reflection.GeneratedProtocolMessageType('CMsgClientRedeemGuestPass', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREDEEMGUESTPASS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRedeemGuestPass)
))
_sym_db.RegisterMessage(CMsgClientRedeemGuestPass)
CMsgClientRedeemGuestPassResponse = _reflection.GeneratedProtocolMessageType('CMsgClientRedeemGuestPassResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREDEEMGUESTPASSRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRedeemGuestPassResponse)
))
_sym_db.RegisterMessage(CMsgClientRedeemGuestPassResponse)
CMsgClientGetClanActivityCounts = _reflection.GeneratedProtocolMessageType('CMsgClientGetClanActivityCounts', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETCLANACTIVITYCOUNTS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetClanActivityCounts)
))
_sym_db.RegisterMessage(CMsgClientGetClanActivityCounts)
CMsgClientGetClanActivityCountsResponse = _reflection.GeneratedProtocolMessageType('CMsgClientGetClanActivityCountsResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETCLANACTIVITYCOUNTSRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetClanActivityCountsResponse)
))
_sym_db.RegisterMessage(CMsgClientGetClanActivityCountsResponse)
CMsgClientOGSReportString = _reflection.GeneratedProtocolMessageType('CMsgClientOGSReportString', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTOGSREPORTSTRING,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientOGSReportString)
))
_sym_db.RegisterMessage(CMsgClientOGSReportString)
CMsgClientOGSReportBug = _reflection.GeneratedProtocolMessageType('CMsgClientOGSReportBug', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTOGSREPORTBUG,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientOGSReportBug)
))
_sym_db.RegisterMessage(CMsgClientOGSReportBug)
CMsgGSAssociateWithClan = _reflection.GeneratedProtocolMessageType('CMsgGSAssociateWithClan', (_message.Message,), dict(
DESCRIPTOR = _CMSGGSASSOCIATEWITHCLAN,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGSAssociateWithClan)
))
_sym_db.RegisterMessage(CMsgGSAssociateWithClan)
CMsgGSAssociateWithClanResponse = _reflection.GeneratedProtocolMessageType('CMsgGSAssociateWithClanResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGGSASSOCIATEWITHCLANRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGSAssociateWithClanResponse)
))
_sym_db.RegisterMessage(CMsgGSAssociateWithClanResponse)
CMsgGSComputeNewPlayerCompatibility = _reflection.GeneratedProtocolMessageType('CMsgGSComputeNewPlayerCompatibility', (_message.Message,), dict(
DESCRIPTOR = _CMSGGSCOMPUTENEWPLAYERCOMPATIBILITY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGSComputeNewPlayerCompatibility)
))
_sym_db.RegisterMessage(CMsgGSComputeNewPlayerCompatibility)
CMsgGSComputeNewPlayerCompatibilityResponse = _reflection.GeneratedProtocolMessageType('CMsgGSComputeNewPlayerCompatibilityResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGGSCOMPUTENEWPLAYERCOMPATIBILITYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGSComputeNewPlayerCompatibilityResponse)
))
_sym_db.RegisterMessage(CMsgGSComputeNewPlayerCompatibilityResponse)
CMsgClientSentLogs = _reflection.GeneratedProtocolMessageType('CMsgClientSentLogs', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSENTLOGS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientSentLogs)
))
_sym_db.RegisterMessage(CMsgClientSentLogs)
CMsgGCClient = _reflection.GeneratedProtocolMessageType('CMsgGCClient', (_message.Message,), dict(
DESCRIPTOR = _CMSGGCCLIENT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGCClient)
))
_sym_db.RegisterMessage(CMsgGCClient)
CMsgClientRequestFreeLicense = _reflection.GeneratedProtocolMessageType('CMsgClientRequestFreeLicense', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTFREELICENSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestFreeLicense)
))
_sym_db.RegisterMessage(CMsgClientRequestFreeLicense)
CMsgClientRequestFreeLicenseResponse = _reflection.GeneratedProtocolMessageType('CMsgClientRequestFreeLicenseResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTFREELICENSERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestFreeLicenseResponse)
))
_sym_db.RegisterMessage(CMsgClientRequestFreeLicenseResponse)
CMsgDRMDownloadRequestWithCrashData = _reflection.GeneratedProtocolMessageType('CMsgDRMDownloadRequestWithCrashData', (_message.Message,), dict(
DESCRIPTOR = _CMSGDRMDOWNLOADREQUESTWITHCRASHDATA,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDRMDownloadRequestWithCrashData)
))
_sym_db.RegisterMessage(CMsgDRMDownloadRequestWithCrashData)
CMsgDRMDownloadResponse = _reflection.GeneratedProtocolMessageType('CMsgDRMDownloadResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGDRMDOWNLOADRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDRMDownloadResponse)
))
_sym_db.RegisterMessage(CMsgDRMDownloadResponse)
CMsgDRMFinalResult = _reflection.GeneratedProtocolMessageType('CMsgDRMFinalResult', (_message.Message,), dict(
DESCRIPTOR = _CMSGDRMFINALRESULT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDRMFinalResult)
))
_sym_db.RegisterMessage(CMsgDRMFinalResult)
CMsgClientDPCheckSpecialSurvey = _reflection.GeneratedProtocolMessageType('CMsgClientDPCheckSpecialSurvey', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDPCHECKSPECIALSURVEY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDPCheckSpecialSurvey)
))
_sym_db.RegisterMessage(CMsgClientDPCheckSpecialSurvey)
CMsgClientDPCheckSpecialSurveyResponse = _reflection.GeneratedProtocolMessageType('CMsgClientDPCheckSpecialSurveyResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDPCHECKSPECIALSURVEYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDPCheckSpecialSurveyResponse)
))
_sym_db.RegisterMessage(CMsgClientDPCheckSpecialSurveyResponse)
CMsgClientDPSendSpecialSurveyResponse = _reflection.GeneratedProtocolMessageType('CMsgClientDPSendSpecialSurveyResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDPSENDSPECIALSURVEYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDPSendSpecialSurveyResponse)
))
_sym_db.RegisterMessage(CMsgClientDPSendSpecialSurveyResponse)
CMsgClientDPSendSpecialSurveyResponseReply = _reflection.GeneratedProtocolMessageType('CMsgClientDPSendSpecialSurveyResponseReply', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDPSENDSPECIALSURVEYRESPONSEREPLY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDPSendSpecialSurveyResponseReply)
))
_sym_db.RegisterMessage(CMsgClientDPSendSpecialSurveyResponseReply)
CMsgClientRequestForgottenPasswordEmail = _reflection.GeneratedProtocolMessageType('CMsgClientRequestForgottenPasswordEmail', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTFORGOTTENPASSWORDEMAIL,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestForgottenPasswordEmail)
))
_sym_db.RegisterMessage(CMsgClientRequestForgottenPasswordEmail)
CMsgClientRequestForgottenPasswordEmailResponse = _reflection.GeneratedProtocolMessageType('CMsgClientRequestForgottenPasswordEmailResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTFORGOTTENPASSWORDEMAILRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestForgottenPasswordEmailResponse)
))
_sym_db.RegisterMessage(CMsgClientRequestForgottenPasswordEmailResponse)
CMsgClientItemAnnouncements = _reflection.GeneratedProtocolMessageType('CMsgClientItemAnnouncements', (_message.Message,), dict(
UnseenItem = _reflection.GeneratedProtocolMessageType('UnseenItem', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTITEMANNOUNCEMENTS_UNSEENITEM,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientItemAnnouncements.UnseenItem)
))
,
DESCRIPTOR = _CMSGCLIENTITEMANNOUNCEMENTS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientItemAnnouncements)
))
_sym_db.RegisterMessage(CMsgClientItemAnnouncements)
_sym_db.RegisterMessage(CMsgClientItemAnnouncements.UnseenItem)
CMsgClientRequestItemAnnouncements = _reflection.GeneratedProtocolMessageType('CMsgClientRequestItemAnnouncements', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTITEMANNOUNCEMENTS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestItemAnnouncements)
))
_sym_db.RegisterMessage(CMsgClientRequestItemAnnouncements)
CMsgClientUserNotifications = _reflection.GeneratedProtocolMessageType('CMsgClientUserNotifications', (_message.Message,), dict(
Notification = _reflection.GeneratedProtocolMessageType('Notification', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUSERNOTIFICATIONS_NOTIFICATION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUserNotifications.Notification)
))
,
DESCRIPTOR = _CMSGCLIENTUSERNOTIFICATIONS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUserNotifications)
))
_sym_db.RegisterMessage(CMsgClientUserNotifications)
_sym_db.RegisterMessage(CMsgClientUserNotifications.Notification)
CMsgClientCommentNotifications = _reflection.GeneratedProtocolMessageType('CMsgClientCommentNotifications', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCOMMENTNOTIFICATIONS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientCommentNotifications)
))
_sym_db.RegisterMessage(CMsgClientCommentNotifications)
CMsgClientRequestCommentNotifications = _reflection.GeneratedProtocolMessageType('CMsgClientRequestCommentNotifications', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTCOMMENTNOTIFICATIONS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestCommentNotifications)
))
_sym_db.RegisterMessage(CMsgClientRequestCommentNotifications)
CMsgClientOfflineMessageNotification = _reflection.GeneratedProtocolMessageType('CMsgClientOfflineMessageNotification', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTOFFLINEMESSAGENOTIFICATION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientOfflineMessageNotification)
))
_sym_db.RegisterMessage(CMsgClientOfflineMessageNotification)
CMsgClientRequestOfflineMessageCount = _reflection.GeneratedProtocolMessageType('CMsgClientRequestOfflineMessageCount', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTREQUESTOFFLINEMESSAGECOUNT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientRequestOfflineMessageCount)
))
_sym_db.RegisterMessage(CMsgClientRequestOfflineMessageCount)
CMsgClientChatGetFriendMessageHistory = _reflection.GeneratedProtocolMessageType('CMsgClientChatGetFriendMessageHistory', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientChatGetFriendMessageHistory)
))
_sym_db.RegisterMessage(CMsgClientChatGetFriendMessageHistory)
CMsgClientChatGetFriendMessageHistoryResponse = _reflection.GeneratedProtocolMessageType('CMsgClientChatGetFriendMessageHistoryResponse', (_message.Message,), dict(
FriendMessage = _reflection.GeneratedProtocolMessageType('FriendMessage', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE_FRIENDMESSAGE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage)
))
,
DESCRIPTOR = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientChatGetFriendMessageHistoryResponse)
))
_sym_db.RegisterMessage(CMsgClientChatGetFriendMessageHistoryResponse)
_sym_db.RegisterMessage(CMsgClientChatGetFriendMessageHistoryResponse.FriendMessage)
CMsgClientChatGetFriendMessageHistoryForOfflineMessages = _reflection.GeneratedProtocolMessageType('CMsgClientChatGetFriendMessageHistoryForOfflineMessages', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTCHATGETFRIENDMESSAGEHISTORYFOROFFLINEMESSAGES,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientChatGetFriendMessageHistoryForOfflineMessages)
))
_sym_db.RegisterMessage(CMsgClientChatGetFriendMessageHistoryForOfflineMessages)
CMsgClientFSGetFriendsSteamLevels = _reflection.GeneratedProtocolMessageType('CMsgClientFSGetFriendsSteamLevels', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientFSGetFriendsSteamLevels)
))
_sym_db.RegisterMessage(CMsgClientFSGetFriendsSteamLevels)
CMsgClientFSGetFriendsSteamLevelsResponse = _reflection.GeneratedProtocolMessageType('CMsgClientFSGetFriendsSteamLevelsResponse', (_message.Message,), dict(
Friend = _reflection.GeneratedProtocolMessageType('Friend', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE_FRIEND,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientFSGetFriendsSteamLevelsResponse.Friend)
))
,
DESCRIPTOR = _CMSGCLIENTFSGETFRIENDSSTEAMLEVELSRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientFSGetFriendsSteamLevelsResponse)
))
_sym_db.RegisterMessage(CMsgClientFSGetFriendsSteamLevelsResponse)
_sym_db.RegisterMessage(CMsgClientFSGetFriendsSteamLevelsResponse.Friend)
CMsgClientEmailAddrInfo = _reflection.GeneratedProtocolMessageType('CMsgClientEmailAddrInfo', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTEMAILADDRINFO,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientEmailAddrInfo)
))
_sym_db.RegisterMessage(CMsgClientEmailAddrInfo)
CMsgCREItemVoteSummary = _reflection.GeneratedProtocolMessageType('CMsgCREItemVoteSummary', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCREITEMVOTESUMMARY_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREItemVoteSummary.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCREITEMVOTESUMMARY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREItemVoteSummary)
))
_sym_db.RegisterMessage(CMsgCREItemVoteSummary)
_sym_db.RegisterMessage(CMsgCREItemVoteSummary.PublishedFileId)
CMsgCREItemVoteSummaryResponse = _reflection.GeneratedProtocolMessageType('CMsgCREItemVoteSummaryResponse', (_message.Message,), dict(
ItemVoteSummary = _reflection.GeneratedProtocolMessageType('ItemVoteSummary', (_message.Message,), dict(
DESCRIPTOR = _CMSGCREITEMVOTESUMMARYRESPONSE_ITEMVOTESUMMARY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREItemVoteSummaryResponse.ItemVoteSummary)
))
,
DESCRIPTOR = _CMSGCREITEMVOTESUMMARYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREItemVoteSummaryResponse)
))
_sym_db.RegisterMessage(CMsgCREItemVoteSummaryResponse)
_sym_db.RegisterMessage(CMsgCREItemVoteSummaryResponse.ItemVoteSummary)
CMsgCREUpdateUserPublishedItemVote = _reflection.GeneratedProtocolMessageType('CMsgCREUpdateUserPublishedItemVote', (_message.Message,), dict(
DESCRIPTOR = _CMSGCREUPDATEUSERPUBLISHEDITEMVOTE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREUpdateUserPublishedItemVote)
))
_sym_db.RegisterMessage(CMsgCREUpdateUserPublishedItemVote)
CMsgCREUpdateUserPublishedItemVoteResponse = _reflection.GeneratedProtocolMessageType('CMsgCREUpdateUserPublishedItemVoteResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCREUPDATEUSERPUBLISHEDITEMVOTERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREUpdateUserPublishedItemVoteResponse)
))
_sym_db.RegisterMessage(CMsgCREUpdateUserPublishedItemVoteResponse)
CMsgCREGetUserPublishedItemVoteDetails = _reflection.GeneratedProtocolMessageType('CMsgCREGetUserPublishedItemVoteDetails', (_message.Message,), dict(
PublishedFileId = _reflection.GeneratedProtocolMessageType('PublishedFileId', (_message.Message,), dict(
DESCRIPTOR = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS_PUBLISHEDFILEID,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId)
))
,
DESCRIPTOR = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREGetUserPublishedItemVoteDetails)
))
_sym_db.RegisterMessage(CMsgCREGetUserPublishedItemVoteDetails)
_sym_db.RegisterMessage(CMsgCREGetUserPublishedItemVoteDetails.PublishedFileId)
CMsgCREGetUserPublishedItemVoteDetailsResponse = _reflection.GeneratedProtocolMessageType('CMsgCREGetUserPublishedItemVoteDetailsResponse', (_message.Message,), dict(
UserItemVoteDetail = _reflection.GeneratedProtocolMessageType('UserItemVoteDetail', (_message.Message,), dict(
DESCRIPTOR = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE_USERITEMVOTEDETAIL,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail)
))
,
DESCRIPTOR = _CMSGCREGETUSERPUBLISHEDITEMVOTEDETAILSRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgCREGetUserPublishedItemVoteDetailsResponse)
))
_sym_db.RegisterMessage(CMsgCREGetUserPublishedItemVoteDetailsResponse)
_sym_db.RegisterMessage(CMsgCREGetUserPublishedItemVoteDetailsResponse.UserItemVoteDetail)
CMsgGameServerPingSample = _reflection.GeneratedProtocolMessageType('CMsgGameServerPingSample', (_message.Message,), dict(
Sample = _reflection.GeneratedProtocolMessageType('Sample', (_message.Message,), dict(
DESCRIPTOR = _CMSGGAMESERVERPINGSAMPLE_SAMPLE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGameServerPingSample.Sample)
))
,
DESCRIPTOR = _CMSGGAMESERVERPINGSAMPLE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgGameServerPingSample)
))
_sym_db.RegisterMessage(CMsgGameServerPingSample)
_sym_db.RegisterMessage(CMsgGameServerPingSample.Sample)
CMsgFSGetFollowerCount = _reflection.GeneratedProtocolMessageType('CMsgFSGetFollowerCount', (_message.Message,), dict(
DESCRIPTOR = _CMSGFSGETFOLLOWERCOUNT,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgFSGetFollowerCount)
))
_sym_db.RegisterMessage(CMsgFSGetFollowerCount)
CMsgFSGetFollowerCountResponse = _reflection.GeneratedProtocolMessageType('CMsgFSGetFollowerCountResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGFSGETFOLLOWERCOUNTRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgFSGetFollowerCountResponse)
))
_sym_db.RegisterMessage(CMsgFSGetFollowerCountResponse)
CMsgFSGetIsFollowing = _reflection.GeneratedProtocolMessageType('CMsgFSGetIsFollowing', (_message.Message,), dict(
DESCRIPTOR = _CMSGFSGETISFOLLOWING,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgFSGetIsFollowing)
))
_sym_db.RegisterMessage(CMsgFSGetIsFollowing)
CMsgFSGetIsFollowingResponse = _reflection.GeneratedProtocolMessageType('CMsgFSGetIsFollowingResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGFSGETISFOLLOWINGRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgFSGetIsFollowingResponse)
))
_sym_db.RegisterMessage(CMsgFSGetIsFollowingResponse)
CMsgFSEnumerateFollowingList = _reflection.GeneratedProtocolMessageType('CMsgFSEnumerateFollowingList', (_message.Message,), dict(
DESCRIPTOR = _CMSGFSENUMERATEFOLLOWINGLIST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgFSEnumerateFollowingList)
))
_sym_db.RegisterMessage(CMsgFSEnumerateFollowingList)
CMsgFSEnumerateFollowingListResponse = _reflection.GeneratedProtocolMessageType('CMsgFSEnumerateFollowingListResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGFSENUMERATEFOLLOWINGLISTRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgFSEnumerateFollowingListResponse)
))
_sym_db.RegisterMessage(CMsgFSEnumerateFollowingListResponse)
CMsgDPGetNumberOfCurrentPlayers = _reflection.GeneratedProtocolMessageType('CMsgDPGetNumberOfCurrentPlayers', (_message.Message,), dict(
DESCRIPTOR = _CMSGDPGETNUMBEROFCURRENTPLAYERS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDPGetNumberOfCurrentPlayers)
))
_sym_db.RegisterMessage(CMsgDPGetNumberOfCurrentPlayers)
CMsgDPGetNumberOfCurrentPlayersResponse = _reflection.GeneratedProtocolMessageType('CMsgDPGetNumberOfCurrentPlayersResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGDPGETNUMBEROFCURRENTPLAYERSRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgDPGetNumberOfCurrentPlayersResponse)
))
_sym_db.RegisterMessage(CMsgDPGetNumberOfCurrentPlayersResponse)
CMsgClientFriendUserStatusPublished = _reflection.GeneratedProtocolMessageType('CMsgClientFriendUserStatusPublished', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTFRIENDUSERSTATUSPUBLISHED,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientFriendUserStatusPublished)
))
_sym_db.RegisterMessage(CMsgClientFriendUserStatusPublished)
CMsgClientServiceMethodLegacy = _reflection.GeneratedProtocolMessageType('CMsgClientServiceMethodLegacy', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSERVICEMETHODLEGACY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientServiceMethodLegacy)
))
_sym_db.RegisterMessage(CMsgClientServiceMethodLegacy)
CMsgClientServiceMethodLegacyResponse = _reflection.GeneratedProtocolMessageType('CMsgClientServiceMethodLegacyResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSERVICEMETHODLEGACYRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientServiceMethodLegacyResponse)
))
_sym_db.RegisterMessage(CMsgClientServiceMethodLegacyResponse)
CMsgClientUIMode = _reflection.GeneratedProtocolMessageType('CMsgClientUIMode', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUIMODE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUIMode)
))
_sym_db.RegisterMessage(CMsgClientUIMode)
CMsgClientVanityURLChangedNotification = _reflection.GeneratedProtocolMessageType('CMsgClientVanityURLChangedNotification', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTVANITYURLCHANGEDNOTIFICATION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientVanityURLChangedNotification)
))
_sym_db.RegisterMessage(CMsgClientVanityURLChangedNotification)
CMsgClientAuthorizeLocalDeviceRequest = _reflection.GeneratedProtocolMessageType('CMsgClientAuthorizeLocalDeviceRequest', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTAUTHORIZELOCALDEVICEREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientAuthorizeLocalDeviceRequest)
))
_sym_db.RegisterMessage(CMsgClientAuthorizeLocalDeviceRequest)
CMsgClientAuthorizeLocalDevice = _reflection.GeneratedProtocolMessageType('CMsgClientAuthorizeLocalDevice', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTAUTHORIZELOCALDEVICE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientAuthorizeLocalDevice)
))
_sym_db.RegisterMessage(CMsgClientAuthorizeLocalDevice)
CMsgClientAuthorizeLocalDeviceNotification = _reflection.GeneratedProtocolMessageType('CMsgClientAuthorizeLocalDeviceNotification', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTAUTHORIZELOCALDEVICENOTIFICATION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientAuthorizeLocalDeviceNotification)
))
_sym_db.RegisterMessage(CMsgClientAuthorizeLocalDeviceNotification)
CMsgClientDeauthorizeDeviceRequest = _reflection.GeneratedProtocolMessageType('CMsgClientDeauthorizeDeviceRequest', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDEAUTHORIZEDEVICEREQUEST,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDeauthorizeDeviceRequest)
))
_sym_db.RegisterMessage(CMsgClientDeauthorizeDeviceRequest)
CMsgClientDeauthorizeDevice = _reflection.GeneratedProtocolMessageType('CMsgClientDeauthorizeDevice', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTDEAUTHORIZEDEVICE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientDeauthorizeDevice)
))
_sym_db.RegisterMessage(CMsgClientDeauthorizeDevice)
CMsgClientUseLocalDeviceAuthorizations = _reflection.GeneratedProtocolMessageType('CMsgClientUseLocalDeviceAuthorizations', (_message.Message,), dict(
DeviceToken = _reflection.GeneratedProtocolMessageType('DeviceToken', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS_DEVICETOKEN,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUseLocalDeviceAuthorizations.DeviceToken)
))
,
DESCRIPTOR = _CMSGCLIENTUSELOCALDEVICEAUTHORIZATIONS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientUseLocalDeviceAuthorizations)
))
_sym_db.RegisterMessage(CMsgClientUseLocalDeviceAuthorizations)
_sym_db.RegisterMessage(CMsgClientUseLocalDeviceAuthorizations.DeviceToken)
CMsgClientGetAuthorizedDevices = _reflection.GeneratedProtocolMessageType('CMsgClientGetAuthorizedDevices', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETAUTHORIZEDDEVICES,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetAuthorizedDevices)
))
_sym_db.RegisterMessage(CMsgClientGetAuthorizedDevices)
CMsgClientGetAuthorizedDevicesResponse = _reflection.GeneratedProtocolMessageType('CMsgClientGetAuthorizedDevicesResponse', (_message.Message,), dict(
AuthorizedDevice = _reflection.GeneratedProtocolMessageType('AuthorizedDevice', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE_AUTHORIZEDDEVICE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice)
))
,
DESCRIPTOR = _CMSGCLIENTGETAUTHORIZEDDEVICESRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientGetAuthorizedDevicesResponse)
))
_sym_db.RegisterMessage(CMsgClientGetAuthorizedDevicesResponse)
_sym_db.RegisterMessage(CMsgClientGetAuthorizedDevicesResponse.AuthorizedDevice)
CMsgClientSharedLibraryLockStatus = _reflection.GeneratedProtocolMessageType('CMsgClientSharedLibraryLockStatus', (_message.Message,), dict(
LockedLibrary = _reflection.GeneratedProtocolMessageType('LockedLibrary', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSHAREDLIBRARYLOCKSTATUS_LOCKEDLIBRARY,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientSharedLibraryLockStatus.LockedLibrary)
))
,
DESCRIPTOR = _CMSGCLIENTSHAREDLIBRARYLOCKSTATUS,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientSharedLibraryLockStatus)
))
_sym_db.RegisterMessage(CMsgClientSharedLibraryLockStatus)
_sym_db.RegisterMessage(CMsgClientSharedLibraryLockStatus.LockedLibrary)
CMsgClientSharedLibraryStopPlaying = _reflection.GeneratedProtocolMessageType('CMsgClientSharedLibraryStopPlaying', (_message.Message,), dict(
StopApp = _reflection.GeneratedProtocolMessageType('StopApp', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSHAREDLIBRARYSTOPPLAYING_STOPAPP,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientSharedLibraryStopPlaying.StopApp)
))
,
DESCRIPTOR = _CMSGCLIENTSHAREDLIBRARYSTOPPLAYING,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientSharedLibraryStopPlaying)
))
_sym_db.RegisterMessage(CMsgClientSharedLibraryStopPlaying)
_sym_db.RegisterMessage(CMsgClientSharedLibraryStopPlaying.StopApp)
CMsgClientServiceCall = _reflection.GeneratedProtocolMessageType('CMsgClientServiceCall', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSERVICECALL,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientServiceCall)
))
_sym_db.RegisterMessage(CMsgClientServiceCall)
CMsgClientServiceModule = _reflection.GeneratedProtocolMessageType('CMsgClientServiceModule', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSERVICEMODULE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientServiceModule)
))
_sym_db.RegisterMessage(CMsgClientServiceModule)
CMsgClientServiceCallResponse = _reflection.GeneratedProtocolMessageType('CMsgClientServiceCallResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTSERVICECALLRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientServiceCallResponse)
))
_sym_db.RegisterMessage(CMsgClientServiceCallResponse)
CMsgAMUnlockStreaming = _reflection.GeneratedProtocolMessageType('CMsgAMUnlockStreaming', (_message.Message,), dict(
DESCRIPTOR = _CMSGAMUNLOCKSTREAMING,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgAMUnlockStreaming)
))
_sym_db.RegisterMessage(CMsgAMUnlockStreaming)
CMsgAMUnlockStreamingResponse = _reflection.GeneratedProtocolMessageType('CMsgAMUnlockStreamingResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGAMUNLOCKSTREAMINGRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgAMUnlockStreamingResponse)
))
_sym_db.RegisterMessage(CMsgAMUnlockStreamingResponse)
CMsgAMUnlockHEVC = _reflection.GeneratedProtocolMessageType('CMsgAMUnlockHEVC', (_message.Message,), dict(
DESCRIPTOR = _CMSGAMUNLOCKHEVC,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgAMUnlockHEVC)
))
_sym_db.RegisterMessage(CMsgAMUnlockHEVC)
CMsgAMUnlockHEVCResponse = _reflection.GeneratedProtocolMessageType('CMsgAMUnlockHEVCResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGAMUNLOCKHEVCRESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgAMUnlockHEVCResponse)
))
_sym_db.RegisterMessage(CMsgAMUnlockHEVCResponse)
CMsgClientPlayingSessionState = _reflection.GeneratedProtocolMessageType('CMsgClientPlayingSessionState', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTPLAYINGSESSIONSTATE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientPlayingSessionState)
))
_sym_db.RegisterMessage(CMsgClientPlayingSessionState)
CMsgClientKickPlayingSession = _reflection.GeneratedProtocolMessageType('CMsgClientKickPlayingSession', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTKICKPLAYINGSESSION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientKickPlayingSession)
))
_sym_db.RegisterMessage(CMsgClientKickPlayingSession)
CMsgClientVoiceCallPreAuthorize = _reflection.GeneratedProtocolMessageType('CMsgClientVoiceCallPreAuthorize', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTVOICECALLPREAUTHORIZE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientVoiceCallPreAuthorize)
))
_sym_db.RegisterMessage(CMsgClientVoiceCallPreAuthorize)
CMsgClientVoiceCallPreAuthorizeResponse = _reflection.GeneratedProtocolMessageType('CMsgClientVoiceCallPreAuthorizeResponse', (_message.Message,), dict(
DESCRIPTOR = _CMSGCLIENTVOICECALLPREAUTHORIZERESPONSE,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgClientVoiceCallPreAuthorizeResponse)
))
_sym_db.RegisterMessage(CMsgClientVoiceCallPreAuthorizeResponse)
CMsgBadgeCraftedNotification = _reflection.GeneratedProtocolMessageType('CMsgBadgeCraftedNotification', (_message.Message,), dict(
DESCRIPTOR = _CMSGBADGECRAFTEDNOTIFICATION,
__module__ = 'steammessages_clientserver_2_pb2'
# @@protoc_insertion_point(class_scope:CMsgBadgeCraftedNotification)
))
_sym_db.RegisterMessage(CMsgBadgeCraftedNotification)
DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
| 44.556333 | 36,343 | 0.773075 | 49,122 | 445,697 | 6.708176 | 0.031473 | 0.048726 | 0.04299 | 0.035172 | 0.637083 | 0.590725 | 0.582106 | 0.574334 | 0.569715 | 0.56638 | 0 | 0.037768 | 0.117741 | 445,697 | 10,002 | 36,344 | 44.560788 | 0.800234 | 0.02987 | 0 | 0.733161 | 1 | 0.004834 | 0.20984 | 0.185599 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.00752 | 0.000645 | 0 | 0.000645 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
b43452b5e6767e9c734eb29331af5af02aa6f92a | 3,889 | py | Python | crealityWS/crealityWS/settings.py | augu1352/Creality | a1dc3e17f29ebd9c80c6ed476d752552fd8f32e1 | [
"MIT"
] | null | null | null | crealityWS/crealityWS/settings.py | augu1352/Creality | a1dc3e17f29ebd9c80c6ed476d752552fd8f32e1 | [
"MIT"
] | null | null | null | crealityWS/crealityWS/settings.py | augu1352/Creality | a1dc3e17f29ebd9c80c6ed476d752552fd8f32e1 | [
"MIT"
] | null | null | null | """
Django settings for crealityWS project.
Generated by 'django-admin startproject' using Django 2.1.1.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
import psycopg2
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# DB_DIR = 'root/var/lib/postgresql/10/main'
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = '0r=wo05g$(@^)wd2v5en(9mn)-n&ipt#^u)oh2g)h*1jz6g+p$'
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
ALLOWED_HOSTS = ["*"]
#HTTPS:
# SECURE_SSL_REDIRECT = True
#
# SESSION_COOKIE_SECURE =True
#
# CSRF_COOKIE_SECURE = True
#
# SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# Application definition
INSTALLED_APPS = [
'crealityAPP',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'rest_framework',
'crispy_forms',
]
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'crealityWS.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'crealityWS.wsgi.application'
# Database
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
},
'postgresDB': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'crealitydb',
'USER': 'postgres',
'PASSWORD': 'postgres',
'HOST': '127.0.0.1',
'PORT': '5432',
}
}
# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = '/static/'
# DB_FILES = {"db_table": "images", "fname_column": "img_fname", "blob_column": "binary_data", }
#
# DATABASE_ODBC_DRIVER = "PostgreSQL Unicode"
# DATABASE_NAME = "crealityDB"
# DATABASE_USER ="postgres"
# DATABASE_PASSWORD = "120204Aj"
# DATABASE_HOST = "localhost"
| 25.754967 | 96 | 0.686038 | 433 | 3,889 | 6.027714 | 0.43649 | 0.074713 | 0.059004 | 0.06705 | 0.187356 | 0.162069 | 0.102299 | 0.102299 | 0.045977 | 0 | 0 | 0.01676 | 0.171509 | 3,889 | 150 | 97 | 25.926667 | 0.793296 | 0.368989 | 0 | 0 | 1 | 0.012987 | 0.554037 | 0.44058 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.077922 | 0.025974 | 0 | 0.025974 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
b4451cb314c33494422baad7ec624c5661b6d060 | 235 | py | Python | nautobot_ssot_servicenow/urls.py | nautobot/nautobot-plugin-ssot-servicenow | 9c87f40e173cf2accdcae63da5a515199ab28aaa | [
"Apache-2.0"
] | 2 | 2022-01-25T18:37:15.000Z | 2022-03-15T14:48:02.000Z | nautobot_ssot_servicenow/urls.py | nautobot/nautobot-plugin-ssot-servicenow | 9c87f40e173cf2accdcae63da5a515199ab28aaa | [
"Apache-2.0"
] | 1 | 2022-01-14T17:21:18.000Z | 2022-01-14T17:21:18.000Z | nautobot_ssot_servicenow/urls.py | nautobot/nautobot-plugin-ssot-servicenow | 9c87f40e173cf2accdcae63da5a515199ab28aaa | [
"Apache-2.0"
] | 1 | 2022-03-15T14:48:03.000Z | 2022-03-15T14:48:03.000Z | """URL patterns for nautobot-ssot-servicenow."""
from django.urls import path
from . import views
app_name = "nautobot_ssot_servicenow"
urlpatterns = [
path("config/", views.SSOTServiceNowConfigView.as_view(), name="config"),
]
| 21.363636 | 77 | 0.740426 | 28 | 235 | 6.071429 | 0.678571 | 0.141176 | 0.258824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123404 | 235 | 10 | 78 | 23.5 | 0.825243 | 0.178723 | 0 | 0 | 0 | 0 | 0.197861 | 0.128342 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
b4584fceb3463ad973710cb22cf6bd7e88a6cad9 | 26,511 | py | Python | src/encoded/tests/fixtures/schemas/experiment.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 102 | 2015-05-20T01:17:43.000Z | 2022-03-07T06:03:55.000Z | src/encoded/tests/fixtures/schemas/experiment.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 901 | 2015-01-07T23:11:57.000Z | 2022-03-18T13:56:12.000Z | src/encoded/tests/fixtures/schemas/experiment.py | procha2/encoded | e9f122362b71f3b8641023b8d2d5ad531d3484b7 | [
"MIT"
] | 65 | 2015-02-06T23:00:26.000Z | 2022-01-22T07:58:44.000Z | import pytest
@pytest.fixture
def experiment_chip_control(testapp, lab, award, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-10-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'control_type': 'input library'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_chip_H3K4me3(testapp, lab, award, target_H3K4me3, ileum, experiment_chip_control):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-10-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K4me3['uuid'],
'possible_controls': [experiment_chip_control['@id']]
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_chip_H3K27me3(testapp, lab, award, target_H3K27me3, experiment_chip_control, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K27me3['uuid'],
'possible_controls': [experiment_chip_control['uuid']]
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_chip_CTCF(testapp, lab, award, target_CTCF, k562):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-10-08',
'biosample_ontology': k562['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_CTCF['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_rna(testapp, lab, award, h1):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-10-08',
'assay_term_name': 'RNA-seq',
'biosample_ontology': h1['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_dnase(testapp, lab, award, heart):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-10-08',
'assay_term_name': 'DNase-seq',
'biosample_ontology': heart['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def ctrl_experiment(testapp, lab, award, cell_free):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'biosample_ontology': cell_free['uuid'],
'status': 'in progress',
'assay_term_name': 'ChIP-seq'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_no_read_length(
testapp,
experiment,
bam_file,
file_fastq_no_read_length,
replicate_1_1,
base_library,
analysis_step_bam,
analysis_step_version_bam,
analysis_step_run_bam,
encode_lab,
):
testapp.patch_json(replicate_1_1['@id'], {'experiment': experiment['@id'],
'library': base_library['@id'],
})
testapp.patch_json(file_fastq_no_read_length['@id'], {'dataset': experiment['@id'],
'replicate':replicate_1_1['@id'],
})
testapp.patch_json(bam_file['@id'], {'dataset': experiment['@id'],
'step_run': analysis_step_run_bam['@id'],
'assembly': 'GRCh38',
'lab': encode_lab['@id'],
'derived_from': [file_fastq_no_read_length['@id']],
})
testapp.patch_json(experiment['@id'], {'status': 'released',
'date_released': '2016-01-01',
'assay_term_name': 'long read RNA-seq',
})
return testapp.get(experiment['@id'] + '@@index-data')
@pytest.fixture
def file_exp(lab, award, testapp, experiment, ileum):
item = {
'lab': lab['uuid'],
'award': award['uuid'],
'assay_term_name': 'RAMPAGE',
'biosample_ontology': ileum['uuid'],
'possible_controls': [experiment['uuid']],
'status': 'released',
'date_released': '2016-01-01'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def file_exp2(lab, award, testapp, ileum):
item = {
'lab': lab['uuid'],
'award': award['uuid'],
'assay_term_name': 'RAMPAGE',
'biosample_ontology': ileum['uuid'],
'status': 'released',
'date_released': '2016-01-01'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_RNA_seq(testapp, lab, award, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'RNA-seq'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_RRBS(testapp, lab, award, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'assay_term_name': 'RRBS',
'biosample_ontology': ileum['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_WGBS(testapp, lab, award, ileum):
item = {
'award': award['uuid'],
'biosample_ontology': ileum['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'assay_term_name': 'whole-genome shotgun bisulfite sequencing'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_control(testapp, lab, award, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'control_type': 'control'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_H3K27me3(testapp, lab, award, target_H3K27me3, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K27me3['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_H3K36me3(testapp, lab, award, target_H3K36me3, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K36me3['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_H3K4me1(testapp, lab, award, target_H3K4me1, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K4me1['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_H3K4me3(testapp, lab, award, target_H3K4me3, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K4me3['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_H3K27ac(testapp, lab, award, target_H3K27ac, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K27ac['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def reference_experiment_chip_seq_H3K9me3(testapp, lab, award, target_H3K9me3, ileum):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'status': 'released',
'date_released': '2019-01-08',
'biosample_ontology': ileum['uuid'],
'assay_term_name': 'ChIP-seq',
'target': target_H3K9me3['uuid']
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_pipeline_error(testapp, lab, award, cell_free):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'ChIP-seq',
'biosample_ontology': cell_free['uuid'],
'internal_status': 'pipeline error',
}
return item
@pytest.fixture
def experiment_no_error(testapp, lab, award, cell_free):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'ChIP-seq',
'biosample_ontology': cell_free['uuid'],
'internal_status': 'release ready',
}
return item
@pytest.fixture
def experiment_1(testapp, lab, award, cell_free):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'RNA-seq',
'biosample_ontology': cell_free['uuid'],
'status': 'in progress'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_2(testapp, lab, award, cell_free):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'RNA-seq',
'biosample_ontology': cell_free['uuid'],
'status': 'in progress'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def base_experiment_submitted(testapp, lab, award, cell_free):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'RNA-seq',
'biosample_ontology': cell_free['uuid'],
'status': 'submitted',
'date_submitted': '2015-07-23',
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_1_0(root, experiment, file, file_ucsc_browser_composite):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
assert root.get_by_uuid(
file['uuid']).properties['dataset'] == str(item.uuid)
assert root.get_by_uuid(
file_ucsc_browser_composite['uuid']).properties['dataset'] != str(item.uuid)
properties.update({
'schema_version': '1',
'files': [file['uuid'], file_ucsc_browser_composite['uuid']]
})
return properties
@pytest.fixture
def experiment_2_0():
return {
'schema_version': '2',
'encode2_dbxrefs': ['wgEncodeEH002945'],
'geo_dbxrefs': ['GSM99494'],
}
@pytest.fixture
def experiment_3():
return {
'schema_version': '3',
'status': "DELETED",
}
@pytest.fixture
def experiment_6():
return {
'schema_version': '6',
'dataset_type': 'experiment',
}
@pytest.fixture
def experiment_7(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '7',
'dbxrefs': ['UCSC-ENCODE-cv:K562', 'UCSC-ENCODE-cv:K562'],
'aliases': ['testing:123', 'testing:123']
})
return properties
@pytest.fixture
def experiment_10(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '10',
'status': 'in progress',
'aliases': [
'andrew-fire:my_experiment',
'j-michael-cherry:Lib:XZ:20100107:11--ChIP:XZ:20100104:09:AdiposeNuclei:H3K4Me3',
'roadmap-epigenomics:Bisulfite-Seq analysis of ucsf-4* stem cell line from UCSF-4||Tue Apr 16 16:10:36 -0500 2013||85822',
'encode:[this is]_qu#ite:bad" ',
'manuel-garber:10% DMSO for 2 hours',
'UCSC_encode_db:Illumina_HiSeq_2000',
'encode:Illumina_HiSeq_2000'
]
})
return properties
@pytest.fixture
def experiment_13(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '13',
'status': 'proposed',
})
return properties
@pytest.fixture
def experiment_14(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '14',
'biosample_type': 'in vitro sample',
})
return properties
@pytest.fixture
def experiment_15(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '15',
'biosample_type': 'immortalized cell line'
})
return properties
@pytest.fixture
def experiment_16(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '16',
'biosample_type': 'immortalized cell line',
'status': 'ready for review'
})
return properties
@pytest.fixture
def experiment_17(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '17',
'biosample_type': 'immortalized cell line',
'status': 'started'
})
return properties
@pytest.fixture
def experiment_21(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '21',
'biosample_type': 'induced pluripotent stem cell line',
'status': 'started'
})
return properties
@pytest.fixture
def experiment_22(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '22',
'biosample_type': 'primary cell',
'biosample_term_id': 'CL:0000765',
'biosample_term_name': 'erythroblast',
'internal_tags': ['cre_inputv10', 'cre_inputv11', 'ENCYCLOPEDIAv3'],
'status': 'started'
})
return properties
@pytest.fixture
def experiment_25(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '25',
'assay_term_name': 'ISO-seq'
})
return properties
@pytest.fixture
def experiment_26(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '26',
'assay_term_name': 'single-nuclei ATAC-seq'
})
return properties
@pytest.fixture
def experiment_27(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '27',
'experiment_classification': ['functional genomics assay']
})
return properties
@pytest.fixture
def experiment(testapp, lab, award, cell_free):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'RNA-seq',
'biosample_ontology': cell_free['uuid']
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def base_experiment(testapp, lab, award, heart):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'RNA-seq',
'biosample_ontology': heart['uuid'],
'status': 'in progress'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_with_RNA_library(
testapp,
base_experiment,
base_replicate,
base_library,
):
testapp.patch_json(base_library['@id'], {'nucleic_acid_term_name': 'RNA'})
testapp.patch_json(base_replicate['@id'], {'library': base_library['@id']})
return testapp.get(base_experiment['@id'] + '@@index-data')
@pytest.fixture
def ChIP_experiment(testapp, lab, award, cell_free, target, base_matched_set):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'ChIP-seq',
'biosample_ontology': cell_free['uuid'],
'target': target['@id'],
'possible_controls': [
base_matched_set['@id']]
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def micro_rna_experiment(
testapp,
base_experiment,
replicate_1_1,
replicate_2_1,
library_1,
library_2,
biosample_1,
biosample_2,
mouse_donor_1_6,
file_fastq_3,
file_fastq_4,
file_bam_1_1,
file_bam_2_1,
file_tsv_1_1,
file_tsv_1_2,
spearman_correlation_quality_metric,
micro_rna_quantification_quality_metric_1_2,
micro_rna_mapping_quality_metric_2_1,
analysis_step_run_bam,
analysis_step_version_bam,
analysis_step_bam,
pipeline_bam,
):
testapp.patch_json(file_fastq_3['@id'], {'read_length': 20})
testapp.patch_json(file_fastq_4['@id'], {'read_length': 100})
testapp.patch_json(
file_bam_1_1['@id'],
{'step_run': analysis_step_run_bam['@id'], 'assembly': 'mm10'}
)
testapp.patch_json(
file_bam_2_1['@id'],
{'step_run': analysis_step_run_bam['@id'], 'assembly': 'mm10'}
)
testapp.patch_json(
pipeline_bam['@id'],
{'title': 'microRNA-seq pipeline'}
)
testapp.patch_json(
spearman_correlation_quality_metric['@id'],
{'quality_metric_of': [file_tsv_1_1['@id'], file_tsv_1_2['@id']]}
)
testapp.patch_json(biosample_1['@id'], {'donor': mouse_donor_1_6['@id']})
testapp.patch_json(biosample_2['@id'], {'donor': mouse_donor_1_6['@id']})
testapp.patch_json(biosample_1['@id'], {'organism': '/organisms/mouse/'})
testapp.patch_json(biosample_2['@id'], {'organism': '/organisms/mouse/'})
testapp.patch_json(biosample_1['@id'], {'model_organism_sex': 'mixed'})
testapp.patch_json(biosample_2['@id'], {'model_organism_sex': 'mixed'})
testapp.patch_json(library_1['@id'], {'biosample': biosample_1['@id']})
testapp.patch_json(library_2['@id'], {'biosample': biosample_2['@id']})
testapp.patch_json(replicate_1_1['@id'], {'library': library_1['@id']})
testapp.patch_json(replicate_2_1['@id'], {'library': library_2['@id']})
testapp.patch_json(file_tsv_1_1['@id'], {'output_type': 'microRNA quantifications'})
testapp.patch_json(file_tsv_1_2['@id'], {'output_type': 'microRNA quantifications'})
testapp.patch_json(
base_experiment['@id'],
{'status': 'released', 'date_released': '2016-01-01', 'assay_term_name': 'microRNA-seq'}
)
return testapp.get(base_experiment['@id'] + '@@index-data')
@pytest.fixture
def experiment_with_analysis(testapp, lab, award, heart, analysis_1):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'ChIP-seq',
'status': 'in progress',
'biosample_ontology': heart['uuid'],
'analyses': [analysis_1['@id']]
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_with_analysis_2(testapp, lab, award, heart, analysis_2):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'ChIP-seq',
'status': 'in progress',
'biosample_ontology': heart['uuid'],
'analyses': [analysis_2['@id']]
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_28(testapp, lab, award, heart):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'Mint-ChIP-seq',
'biosample_ontology': heart['uuid'],
'status': 'in progress'
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_v28(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '28',
'internal_status': 'pipeline error',
'pipeline_error_detail': 'The pipeline didn\'t work for reasons',
'notes': 'Insert essential details here'
})
return properties
@pytest.fixture
def ATAC_experiment(testapp, lab, award, cell_free):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'ATAC-seq',
'biosample_ontology': cell_free['uuid']
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def experiment_29(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '29',
'assay_term_name': 'single cell isolation followed by RNA-seq'
})
return properties
@pytest.fixture
def experiment_mint_chip(testapp, lab, award, heart, target_H3K27me3, experiment_chip_control):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'Mint-ChIP-seq',
'biosample_ontology': heart['uuid'],
'status': 'in progress',
'target': target_H3K27me3['uuid'],
'possible_controls': [experiment_chip_control['uuid']]
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def ATAC_experiment_replicated(testapp, lab, award, heart):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'ATAC-seq',
'biosample_ontology': heart['uuid']
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def experiment_30(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '30',
'analyses': [
{
'files': ['/files/ENCFF881NAX/', '/files/ENCFF674HJF/']
},
{
'files': ['/files/ENCFF282TIA/', '/files/ENCFF910JDS/']
},
],
'notes': 'Previous notes.'
})
return properties
@pytest.fixture
def ChIA_PET_experiment(testapp, lab, encode4_award, heart):
item = {
'lab': lab['@id'],
'award': encode4_award['@id'],
'assay_term_name': 'ChIA-PET',
'biosample_ontology': heart['uuid']
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def experiment_31(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '31',
'assay_term_name': 'single-nucleus RNA-seq'
})
return properties
@pytest.fixture
def BruChase_2h(testapp, lab, award, heart):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'BruChase',
'biosample_ontology': heart['uuid']
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def BruChase_6h(testapp, lab, award, heart):
item = {
'lab': lab['@id'],
'award': award['@id'],
'assay_term_name': 'BruChase',
'biosample_ontology': heart['uuid']
}
return testapp.post_json('/experiment', item).json['@graph'][0]
@pytest.fixture
def single_cell_ATAC_experiment(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '32',
'assay_term_name': 'single-cell ATAC-seq'
})
return properties
@pytest.fixture
def experiment_33(root, experiment, analysis_released):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '33',
'analysis_objects': [analysis_released['uuid']]
})
return properties
@pytest.fixture
def base_single_cell_experiment_submitted(testapp, lab, award, heart):
item = {
'award': award['uuid'],
'lab': lab['uuid'],
'assay_term_name': 'single-cell RNA sequencing assay',
'biosample_ontology': heart['uuid'],
'status': 'submitted',
'date_submitted': '2015-07-23',
}
return testapp.post_json('/experiment', item, status=201).json['@graph'][0]
@pytest.fixture
def experiment_34(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '34',
'internal_tags': ['RegulomeDB']
})
return properties
@pytest.fixture
def experiment_35(root, experiment):
item = root.get_by_uuid(experiment['uuid'])
properties = item.properties.copy()
properties.update({
'schema_version': '35',
'assay_term_name': 'Capture Hi-C'
})
return properties
| 30.091941 | 134 | 0.604391 | 2,974 | 26,511 | 5.16308 | 0.090787 | 0.054184 | 0.066688 | 0.06773 | 0.801824 | 0.75858 | 0.695409 | 0.66506 | 0.628199 | 0.622859 | 0 | 0.032602 | 0.231753 | 26,511 | 880 | 135 | 30.126136 | 0.721314 | 0 | 0 | 0.638814 | 0 | 0.002695 | 0.254347 | 0.009958 | 0 | 0 | 0 | 0 | 0.002695 | 1 | 0.086253 | false | 0 | 0.001348 | 0.004043 | 0.173854 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b45d40200f29a502282da356feff14ba69526f79 | 435 | py | Python | dash/admin.py | CMPUT404W17T00/CMPUT404-project | 870e1844885906f8b48eac9a888e4874d28b3745 | [
"Apache-2.0"
] | 2 | 2017-03-02T01:46:36.000Z | 2018-11-01T20:36:58.000Z | dash/admin.py | CMPUT404W17T00/CMPUT404-project | 870e1844885906f8b48eac9a888e4874d28b3745 | [
"Apache-2.0"
] | 47 | 2017-01-23T00:00:17.000Z | 2017-04-12T21:22:23.000Z | dash/admin.py | CMPUT404W17T00/CMPUT404-project | 870e1844885906f8b48eac9a888e4874d28b3745 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Post, Comment, Author, Category, CanSee, FriendRequest, \
Follow, RemoteCommentAuthor
# Register your models here.
admin.site.register(Author)
admin.site.register(RemoteCommentAuthor)
admin.site.register(Post)
admin.site.register(Comment)
admin.site.register(Category)
admin.site.register(CanSee)
admin.site.register(FriendRequest)
admin.site.register(Follow)
| 29 | 77 | 0.781609 | 52 | 435 | 6.538462 | 0.346154 | 0.211765 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 435 | 14 | 78 | 31.071429 | 0.885417 | 0.05977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.181818 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
b45de14e4eb97993aa51725263d3f456292a817d | 289 | py | Python | risktool/risktool/form.py | vijaybabu4589/risk_table_analysys | 16c8387db266728c2aab3b90dc543cc46f949b03 | [
"MIT"
] | null | null | null | risktool/risktool/form.py | vijaybabu4589/risk_table_analysys | 16c8387db266728c2aab3b90dc543cc46f949b03 | [
"MIT"
] | null | null | null | risktool/risktool/form.py | vijaybabu4589/risk_table_analysys | 16c8387db266728c2aab3b90dc543cc46f949b03 | [
"MIT"
] | null | null | null | from django import forms
class mainform(forms.Form):
risk=forms.CharField()#required=False
riskdesc = forms.CharField()
risksol = forms.CharField()
consequence = forms.IntegerField()
likelihood = forms.IntegerField()
def changed_risk(self):
pass | 26.272727 | 42 | 0.67474 | 30 | 289 | 6.466667 | 0.666667 | 0.216495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224913 | 289 | 11 | 43 | 26.272727 | 0.866071 | 0.048443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0.111111 | 0.111111 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
b4835d1aca5630f3f909264447a8ac061c891bb7 | 602 | py | Python | flatpaksync/structs/permissionlist.py | jeteokeeffe/flatpak-sync | 44e894371272a21264343244b444a464d8c206b9 | [
"MIT"
] | 8 | 2020-04-23T01:19:10.000Z | 2022-03-29T05:12:01.000Z | flatpaksync/structs/permissionlist.py | jeteokeeffe/flatpak-sync | 44e894371272a21264343244b444a464d8c206b9 | [
"MIT"
] | 1 | 2020-05-05T16:54:53.000Z | 2020-05-05T16:54:53.000Z | flatpaksync/structs/permissionlist.py | jeteokeeffe/flatpak-sync | 44e894371272a21264343244b444a464d8c206b9 | [
"MIT"
] | 1 | 2020-04-28T18:36:32.000Z | 2020-04-28T18:36:32.000Z | from flatpaksync.structs.permission import permission
class permissionlist():
"""
list of flatpak permissions for a specific app
"""
def __init__(self):
self.permlist = []
self.count = 0
def getAll(self):
return self.permlist
def get(self, name: str):
return self.permlist[name]
def getCount(self) -> int:
return self.count
def add(self, perm) -> bool:
self.permlist.append(perm)
self.count = self.count + 1
return True
def exists(self, perm: permission) -> bool:
return False
| 18.242424 | 53 | 0.593023 | 70 | 602 | 5.042857 | 0.514286 | 0.135977 | 0.101983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004808 | 0.30897 | 602 | 32 | 54 | 18.8125 | 0.84375 | 0.076412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.352941 | false | 0 | 0.058824 | 0.235294 | 0.764706 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c303ea606471720a370e687a58dea8f223272dc0 | 74,583 | py | Python | release/stubs.min/System/Windows/Forms/__init___parts/ListView.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 182 | 2017-06-27T02:26:15.000Z | 2022-03-30T18:53:43.000Z | release/stubs.min/System/Windows/Forms/__init___parts/ListView.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 28 | 2017-06-27T13:38:23.000Z | 2022-03-15T11:19:44.000Z | release/stubs.min/System/Windows/Forms/__init___parts/ListView.py | htlcnn/ironpython-stubs | 780d829e2104b2789d5f4d6f32b0ec9f2930ca03 | [
"MIT"
] | 67 | 2017-06-28T09:43:59.000Z | 2022-03-20T21:17:10.000Z | class ListView(Control,IComponent,IDisposable,IOleControl,IOleObject,IOleInPlaceObject,IOleInPlaceActiveObject,IOleWindow,IViewObject,IViewObject2,IPersist,IPersistStreamInit,IPersistPropertyBag,IPersistStorage,IQuickActivate,ISupportOleDropSource,IDropTarget,ISynchronizeInvoke,IWin32Window,IArrangedElement,IBindableComponent):
"""
Represents a Windows list view control,which displays a collection of items that can be displayed using one of four different views.
ListView()
"""
def AccessibilityNotifyClients(self,*args):
"""
AccessibilityNotifyClients(self: Control,accEvent: AccessibleEvents,objectID: int,childID: int)
Notifies the accessibility client applications of the specified
System.Windows.Forms.AccessibleEvents for the specified child control .
accEvent: The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of.
objectID: The identifier of the System.Windows.Forms.AccessibleObject.
childID: The child System.Windows.Forms.Control to notify of the accessible event.
AccessibilityNotifyClients(self: Control,accEvent: AccessibleEvents,childID: int)
Notifies the accessibility client applications of the specified
System.Windows.Forms.AccessibleEvents for the specified child control.
accEvent: The System.Windows.Forms.AccessibleEvents to notify the accessibility client applications of.
childID: The child System.Windows.Forms.Control to notify of the accessible event.
"""
pass
def ArrangeIcons(self,value=None):
"""
ArrangeIcons(self: ListView)
Arranges items in the control when they are displayed as icons based on the value of the
System.Windows.Forms.ListView.Alignment property.
ArrangeIcons(self: ListView,value: ListViewAlignment)
Arranges items in the control when they are displayed as icons with a specified alignment
setting.
value: One of the System.Windows.Forms.ListViewAlignment values.
"""
pass
def AutoResizeColumn(self,columnIndex,headerAutoResize):
"""
AutoResizeColumn(self: ListView,columnIndex: int,headerAutoResize: ColumnHeaderAutoResizeStyle)
Resizes the width of the given column as indicated by the resize style.
columnIndex: The zero-based index of the column to resize.
headerAutoResize: One of the System.Windows.Forms.ColumnHeaderAutoResizeStyle values.
"""
pass
def AutoResizeColumns(self,headerAutoResize):
"""
AutoResizeColumns(self: ListView,headerAutoResize: ColumnHeaderAutoResizeStyle)
Resizes the width of the columns as indicated by the resize style.
headerAutoResize: One of the System.Windows.Forms.ColumnHeaderAutoResizeStyle values.
"""
pass
def BeginUpdate(self):
"""
BeginUpdate(self: ListView)
Prevents the control from drawing until the System.Windows.Forms.ListView.EndUpdate method is
called.
"""
pass
def Clear(self):
"""
Clear(self: ListView)
Removes all items and columns from the control.
"""
pass
def CreateAccessibilityInstance(self,*args):
"""
CreateAccessibilityInstance(self: Control) -> AccessibleObject
Creates a new accessibility object for the control.
Returns: A new System.Windows.Forms.AccessibleObject for the control.
"""
pass
def CreateControlsInstance(self,*args):
"""
CreateControlsInstance(self: Control) -> ControlCollection
Creates a new instance of the control collection for the control.
Returns: A new instance of System.Windows.Forms.Control.ControlCollection assigned to the control.
"""
pass
def CreateHandle(self,*args):
""" CreateHandle(self: ListView) """
pass
def DefWndProc(self,*args):
"""
DefWndProc(self: Control,m: Message) -> Message
Sends the specified message to the default window procedure.
m: The Windows System.Windows.Forms.Message to process.
"""
pass
def DestroyHandle(self,*args):
"""
DestroyHandle(self: Control)
Destroys the handle associated with the control.
"""
pass
def Dispose(self):
"""
Dispose(self: ListView,disposing: bool)
Releases the unmanaged resources used by the System.Windows.Forms.ListView and optionally
releases the managed resources.
disposing: true to release both managed and unmanaged resources; false to release only unmanaged resources.
"""
pass
def EndUpdate(self):
"""
EndUpdate(self: ListView)
Resumes drawing of the list view control after drawing is suspended by the
System.Windows.Forms.ListView.BeginUpdate method.
"""
pass
def EnsureVisible(self,index):
"""
EnsureVisible(self: ListView,index: int)
Ensures that the specified item is visible within the control,scrolling the contents of the
control if necessary.
index: The zero-based index of the item to scroll into view.
"""
pass
def FindItemWithText(self,text,includeSubItemsInSearch=None,startIndex=None,isPrefixSearch=None):
"""
FindItemWithText(self: ListView,text: str,includeSubItemsInSearch: bool,startIndex: int,isPrefixSearch: bool) -> ListViewItem
Finds the first System.Windows.Forms.ListViewItem or
System.Windows.Forms.ListViewItem.ListViewSubItem,if indicated,that begins with the specified
text value. The search starts at the specified index.
text: The text to search for.
includeSubItemsInSearch: true to include subitems in the search; otherwise,false.
startIndex: The index of the item at which to start the search.
isPrefixSearch: true to allow partial matches; otherwise,false.
Returns: The first System.Windows.Forms.ListViewItem that begins with the specified text value.
FindItemWithText(self: ListView,text: str,includeSubItemsInSearch: bool,startIndex: int) -> ListViewItem
Finds the first System.Windows.Forms.ListViewItem or
System.Windows.Forms.ListViewItem.ListViewSubItem,if indicated,that begins with the specified
text value. The search starts at the specified index.
text: The text to search for.
includeSubItemsInSearch: true to include subitems in the search; otherwise,false.
startIndex: The index of the item at which to start the search.
Returns: The first System.Windows.Forms.ListViewItem that begins with the specified text value.
FindItemWithText(self: ListView,text: str) -> ListViewItem
Finds the first System.Windows.Forms.ListViewItem that begins with the specified text value.
text: The text to search for.
Returns: The first System.Windows.Forms.ListViewItem that begins with the specified text value.
"""
pass
def FindNearestItem(self,*__args):
"""
FindNearestItem(self: ListView,searchDirection: SearchDirectionHint,x: int,y: int) -> ListViewItem
Finds the next item from the given x- and y-coordinates,searching in the specified direction.
searchDirection: One of the System.Windows.Forms.SearchDirectionHint values.
x: The x-coordinate for the point at which to begin searching.
y: The y-coordinate for the point at which to begin searching.
Returns: The System.Windows.Forms.ListViewItem that is closest to the given coordinates,searching in the
specified direction.
FindNearestItem(self: ListView,dir: SearchDirectionHint,point: Point) -> ListViewItem
Finds the next item from the given point,searching in the specified direction
dir: One of the System.Windows.Forms.SearchDirectionHint values.
point: The point at which to begin searching.
Returns: The System.Windows.Forms.ListViewItem that is closest to the given point,searching in the
specified direction.
"""
pass
def GetAccessibilityObjectById(self,*args):
"""
GetAccessibilityObjectById(self: Control,objectId: int) -> AccessibleObject
Retrieves the specified System.Windows.Forms.AccessibleObject.
objectId: An Int32 that identifies the System.Windows.Forms.AccessibleObject to retrieve.
Returns: An System.Windows.Forms.AccessibleObject.
"""
pass
def GetAutoSizeMode(self,*args):
"""
GetAutoSizeMode(self: Control) -> AutoSizeMode
Retrieves a value indicating how a control will behave when its
System.Windows.Forms.Control.AutoSize property is enabled.
Returns: One of the System.Windows.Forms.AutoSizeMode values.
"""
pass
def GetItemAt(self,x,y):
"""
GetItemAt(self: ListView,x: int,y: int) -> ListViewItem
Retrieves the item at the specified location.
x: The x-coordinate of the location to search for an item (expressed in client coordinates).
y: The y-coordinate of the location to search for an item (expressed in client coordinates).
Returns: A System.Windows.Forms.ListViewItem that represents the item at the specified position. If there
is no item at the specified location,the method returns null.
"""
pass
def GetItemRect(self,index,portion=None):
"""
GetItemRect(self: ListView,index: int,portion: ItemBoundsPortion) -> Rectangle
Retrieves the specified portion of the bounding rectangle for a specific item within the list
view control.
index: The zero-based index of the item within the System.Windows.Forms.ListView.ListViewItemCollection
whose bounding rectangle you want to return.
portion: One of the System.Windows.Forms.ItemBoundsPortion values that represents a portion of the
System.Windows.Forms.ListViewItem for which to retrieve the bounding rectangle.
Returns: A System.Drawing.Rectangle that represents the bounding rectangle for the specified portion of
the specified System.Windows.Forms.ListViewItem.
GetItemRect(self: ListView,index: int) -> Rectangle
Retrieves the bounding rectangle for a specific item within the list view control.
index: The zero-based index of the item within the System.Windows.Forms.ListView.ListViewItemCollection
whose bounding rectangle you want to return.
Returns: A System.Drawing.Rectangle that represents the bounding rectangle of the specified
System.Windows.Forms.ListViewItem.
"""
pass
def GetScaledBounds(self,*args):
"""
GetScaledBounds(self: Control,bounds: Rectangle,factor: SizeF,specified: BoundsSpecified) -> Rectangle
Retrieves the bounds within which the control is scaled.
bounds: A System.Drawing.Rectangle that specifies the area for which to retrieve the display bounds.
factor: The height and width of the control's bounds.
specified: One of the values of System.Windows.Forms.BoundsSpecified that specifies the bounds of the
control to use when defining its size and position.
Returns: A System.Drawing.Rectangle representing the bounds within which the control is scaled.
"""
pass
def GetService(self,*args):
"""
GetService(self: Component,service: Type) -> object
Returns an object that represents a service provided by the System.ComponentModel.Component or
by its System.ComponentModel.Container.
service: A service provided by the System.ComponentModel.Component.
Returns: An System.Object that represents a service provided by the System.ComponentModel.Component,or
null if the System.ComponentModel.Component does not provide the specified service.
"""
pass
def GetStyle(self,*args):
"""
GetStyle(self: Control,flag: ControlStyles) -> bool
Retrieves the value of the specified control style bit for the control.
flag: The System.Windows.Forms.ControlStyles bit to return the value from.
Returns: true if the specified control style bit is set to true; otherwise,false.
"""
pass
def GetTopLevel(self,*args):
"""
GetTopLevel(self: Control) -> bool
Determines if the control is a top-level control.
Returns: true if the control is a top-level control; otherwise,false.
"""
pass
def HitTest(self,*__args):
"""
HitTest(self: ListView,x: int,y: int) -> ListViewHitTestInfo
Provides item information,given x- and y-coordinates.
x: The x-coordinate at which to retrieve the item information. The coordinate is relative to the
upper-left corner of the control.
y: The y-coordinate at which to retrieve the item information. The coordinate is relative to the
upper-left corner of the control.
Returns: A System.Windows.Forms.ListViewHitTestInfo.
HitTest(self: ListView,point: Point) -> ListViewHitTestInfo
Provides item information,given a point.
point: The System.Drawing.Point at which to retrieve the item information. The coordinates are relative
to the upper-left corner of the control.
Returns: A System.Windows.Forms.ListViewHitTestInfo.
"""
pass
def InitLayout(self,*args):
"""
InitLayout(self: Control)
Called after the control has been added to another container.
"""
pass
def InvokeGotFocus(self,*args):
"""
InvokeGotFocus(self: Control,toInvoke: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.GotFocus event for the specified control.
toInvoke: The System.Windows.Forms.Control to assign the event to.
e: An System.EventArgs that contains the event data.
"""
pass
def InvokeLostFocus(self,*args):
"""
InvokeLostFocus(self: Control,toInvoke: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.LostFocus event for the specified control.
toInvoke: The System.Windows.Forms.Control to assign the event to.
e: An System.EventArgs that contains the event data.
"""
pass
def InvokeOnClick(self,*args):
"""
InvokeOnClick(self: Control,toInvoke: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.Click event for the specified control.
toInvoke: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Click event to.
e: An System.EventArgs that contains the event data.
"""
pass
def InvokePaint(self,*args):
"""
InvokePaint(self: Control,c: Control,e: PaintEventArgs)
Raises the System.Windows.Forms.Control.Paint event for the specified control.
c: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Paint event to.
e: An System.Windows.Forms.PaintEventArgs that contains the event data.
"""
pass
def InvokePaintBackground(self,*args):
"""
InvokePaintBackground(self: Control,c: Control,e: PaintEventArgs)
Raises the PaintBackground event for the specified control.
c: The System.Windows.Forms.Control to assign the System.Windows.Forms.Control.Paint event to.
e: An System.Windows.Forms.PaintEventArgs that contains the event data.
"""
pass
def IsInputChar(self,*args):
"""
IsInputChar(self: Control,charCode: Char) -> bool
Determines if a character is an input character that the control recognizes.
charCode: The character to test.
Returns: true if the character should be sent directly to the control and not preprocessed; otherwise,
false.
"""
pass
def IsInputKey(self,*args):
"""
IsInputKey(self: ListView,keyData: Keys) -> bool
keyData: One of the System.Windows.Forms.Keys values.
Returns: true if the specified key is a regular input key; otherwise,false.
"""
pass
def MemberwiseClone(self,*args):
"""
MemberwiseClone(self: MarshalByRefObject,cloneIdentity: bool) -> MarshalByRefObject
Creates a shallow copy of the current System.MarshalByRefObject object.
cloneIdentity: false to delete the current System.MarshalByRefObject object's identity,which will cause the
object to be assigned a new identity when it is marshaled across a remoting boundary. A value of
false is usually appropriate. true to copy the current System.MarshalByRefObject object's
identity to its clone,which will cause remoting client calls to be routed to the remote server
object.
Returns: A shallow copy of the current System.MarshalByRefObject object.
MemberwiseClone(self: object) -> object
Creates a shallow copy of the current System.Object.
Returns: A shallow copy of the current System.Object.
"""
pass
def NotifyInvalidate(self,*args):
"""
NotifyInvalidate(self: Control,invalidatedArea: Rectangle)
Raises the System.Windows.Forms.Control.Invalidated event with a specified region of the control
to invalidate.
invalidatedArea: A System.Drawing.Rectangle representing the area to invalidate.
"""
pass
def OnAfterLabelEdit(self,*args):
"""
OnAfterLabelEdit(self: ListView,e: LabelEditEventArgs)
Raises the System.Windows.Forms.ListView.AfterLabelEdit event.
e: A System.Windows.Forms.LabelEditEventArgs that contains the event data.
"""
pass
def OnAutoSizeChanged(self,*args):
"""
OnAutoSizeChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.AutoSizeChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnBackColorChanged(self,*args):
"""
OnBackColorChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.BackColorChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnBackgroundImageChanged(self,*args):
"""
OnBackgroundImageChanged(self: ListView,e: EventArgs)
Raises the System.Windows.Forms.Control.BackgroundImageChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnBackgroundImageLayoutChanged(self,*args):
"""
OnBackgroundImageLayoutChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.BackgroundImageLayoutChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnBeforeLabelEdit(self,*args):
"""
OnBeforeLabelEdit(self: ListView,e: LabelEditEventArgs)
Raises the System.Windows.Forms.ListView.BeforeLabelEdit event.
e: A System.Windows.Forms.LabelEditEventArgs that contains the event data.
"""
pass
def OnBindingContextChanged(self,*args):
"""
OnBindingContextChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.BindingContextChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnCacheVirtualItems(self,*args):
"""
OnCacheVirtualItems(self: ListView,e: CacheVirtualItemsEventArgs)
Raises the System.Windows.Forms.ListView.CacheVirtualItems event.
e: A System.Windows.Forms.CacheVirtualItemsEventArgs that contains the event data.
"""
pass
def OnCausesValidationChanged(self,*args):
"""
OnCausesValidationChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.CausesValidationChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnChangeUICues(self,*args):
"""
OnChangeUICues(self: Control,e: UICuesEventArgs)
Raises the System.Windows.Forms.Control.ChangeUICues event.
e: A System.Windows.Forms.UICuesEventArgs that contains the event data.
"""
pass
def OnClick(self,*args):
"""
OnClick(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.Click event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnClientSizeChanged(self,*args):
"""
OnClientSizeChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.ClientSizeChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnColumnClick(self,*args):
"""
OnColumnClick(self: ListView,e: ColumnClickEventArgs)
Raises the System.Windows.Forms.ListView.ColumnClick event.
e: A System.Windows.Forms.ColumnClickEventArgs that contains the event data.
"""
pass
def OnColumnReordered(self,*args):
"""
OnColumnReordered(self: ListView,e: ColumnReorderedEventArgs)
Raises the System.Windows.Forms.ListView.ColumnReordered event.
e: The System.Windows.Forms.ColumnReorderedEventArgs that contains the event data.
"""
pass
def OnColumnWidthChanged(self,*args):
"""
OnColumnWidthChanged(self: ListView,e: ColumnWidthChangedEventArgs)
Raises the System.Windows.Forms.ListView.ColumnWidthChanged event.
e: A System.Windows.Forms.ColumnWidthChangedEventArgs that contains the event data.
"""
pass
def OnColumnWidthChanging(self,*args):
"""
OnColumnWidthChanging(self: ListView,e: ColumnWidthChangingEventArgs)
Raises the System.Windows.Forms.ListView.ColumnWidthChanging event.
e: A System.Windows.Forms.ColumnWidthChangingEventArgs that contains the event data.
"""
pass
def OnContextMenuChanged(self,*args):
"""
OnContextMenuChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.ContextMenuChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnContextMenuStripChanged(self,*args):
"""
OnContextMenuStripChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.ContextMenuStripChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnControlAdded(self,*args):
"""
OnControlAdded(self: Control,e: ControlEventArgs)
Raises the System.Windows.Forms.Control.ControlAdded event.
e: A System.Windows.Forms.ControlEventArgs that contains the event data.
"""
pass
def OnControlRemoved(self,*args):
"""
OnControlRemoved(self: Control,e: ControlEventArgs)
Raises the System.Windows.Forms.Control.ControlRemoved event.
e: A System.Windows.Forms.ControlEventArgs that contains the event data.
"""
pass
def OnCreateControl(self,*args):
"""
OnCreateControl(self: Control)
Raises the System.Windows.Forms.Control.CreateControl method.
"""
pass
def OnCursorChanged(self,*args):
"""
OnCursorChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.CursorChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnDockChanged(self,*args):
"""
OnDockChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.DockChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnDoubleClick(self,*args):
"""
OnDoubleClick(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.DoubleClick event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnDpiChangedAfterParent(self,*args):
""" OnDpiChangedAfterParent(self: Control,e: EventArgs) """
pass
def OnDpiChangedBeforeParent(self,*args):
""" OnDpiChangedBeforeParent(self: Control,e: EventArgs) """
pass
def OnDragDrop(self,*args):
"""
OnDragDrop(self: Control,drgevent: DragEventArgs)
Raises the System.Windows.Forms.Control.DragDrop event.
drgevent: A System.Windows.Forms.DragEventArgs that contains the event data.
"""
pass
def OnDragEnter(self,*args):
"""
OnDragEnter(self: Control,drgevent: DragEventArgs)
Raises the System.Windows.Forms.Control.DragEnter event.
drgevent: A System.Windows.Forms.DragEventArgs that contains the event data.
"""
pass
def OnDragLeave(self,*args):
"""
OnDragLeave(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.DragLeave event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnDragOver(self,*args):
"""
OnDragOver(self: Control,drgevent: DragEventArgs)
Raises the System.Windows.Forms.Control.DragOver event.
drgevent: A System.Windows.Forms.DragEventArgs that contains the event data.
"""
pass
def OnDrawColumnHeader(self,*args):
"""
OnDrawColumnHeader(self: ListView,e: DrawListViewColumnHeaderEventArgs)
Raises the System.Windows.Forms.ListView.DrawColumnHeader event.
e: A System.Windows.Forms.DrawListViewColumnHeaderEventArgs that contains the event data.
"""
pass
def OnDrawItem(self,*args):
"""
OnDrawItem(self: ListView,e: DrawListViewItemEventArgs)
Raises the System.Windows.Forms.ListView.DrawItem event.
e: A System.Windows.Forms.DrawListViewItemEventArgs that contains the event data.
"""
pass
def OnDrawSubItem(self,*args):
"""
OnDrawSubItem(self: ListView,e: DrawListViewSubItemEventArgs)
Raises the System.Windows.Forms.ListView.DrawSubItem event.
e: A System.Windows.Forms.DrawListViewSubItemEventArgs that contains the event data.
"""
pass
def OnEnabledChanged(self,*args):
"""
OnEnabledChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.EnabledChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnEnter(self,*args):
"""
OnEnter(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.Enter event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnFontChanged(self,*args):
"""
OnFontChanged(self: ListView,e: EventArgs)
Raises the FontChanged event.
e: The System.EventArgs that contains the event data.
"""
pass
def OnForeColorChanged(self,*args):
"""
OnForeColorChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.ForeColorChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnGiveFeedback(self,*args):
"""
OnGiveFeedback(self: Control,gfbevent: GiveFeedbackEventArgs)
Raises the System.Windows.Forms.Control.GiveFeedback event.
gfbevent: A System.Windows.Forms.GiveFeedbackEventArgs that contains the event data.
"""
pass
def OnGotFocus(self,*args):
"""
OnGotFocus(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.GotFocus event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnHandleCreated(self,*args):
"""
OnHandleCreated(self: ListView,e: EventArgs)
e: An System.EventArgs that contains the event data.
"""
pass
def OnHandleDestroyed(self,*args):
"""
OnHandleDestroyed(self: ListView,e: EventArgs)
e: An System.EventArgs that contains the event data.
"""
pass
def OnHelpRequested(self,*args):
"""
OnHelpRequested(self: Control,hevent: HelpEventArgs)
Raises the System.Windows.Forms.Control.HelpRequested event.
hevent: A System.Windows.Forms.HelpEventArgs that contains the event data.
"""
pass
def OnImeModeChanged(self,*args):
"""
OnImeModeChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.ImeModeChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnInvalidated(self,*args):
"""
OnInvalidated(self: Control,e: InvalidateEventArgs)
Raises the System.Windows.Forms.Control.Invalidated event.
e: An System.Windows.Forms.InvalidateEventArgs that contains the event data.
"""
pass
def OnItemActivate(self,*args):
"""
OnItemActivate(self: ListView,e: EventArgs)
Raises the System.Windows.Forms.ListView.ItemActivate event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnItemCheck(self,*args):
"""
OnItemCheck(self: ListView,ice: ItemCheckEventArgs)
Raises the System.Windows.Forms.ListView.ItemCheck event.
ice: An System.Windows.Forms.ItemCheckEventArgs that contains the event data.
"""
pass
def OnItemChecked(self,*args):
"""
OnItemChecked(self: ListView,e: ItemCheckedEventArgs)
Raises the System.Windows.Forms.ListView.ItemChecked event.
e: An System.Windows.Forms.ItemCheckedEventArgs that contains the event data.
"""
pass
def OnItemDrag(self,*args):
"""
OnItemDrag(self: ListView,e: ItemDragEventArgs)
Raises the System.Windows.Forms.ListView.ItemDrag event.
e: An System.Windows.Forms.ItemDragEventArgs that contains the event data.
"""
pass
def OnItemMouseHover(self,*args):
"""
OnItemMouseHover(self: ListView,e: ListViewItemMouseHoverEventArgs)
Raises the System.Windows.Forms.ListView.ItemMouseHover event.
e: A System.Windows.Forms.ListViewItemMouseHoverEventArgs that contains the event data.
"""
pass
def OnItemSelectionChanged(self,*args):
"""
OnItemSelectionChanged(self: ListView,e: ListViewItemSelectionChangedEventArgs)
Raises the System.Windows.Forms.ListView.ItemSelectionChanged event.
e: A System.Windows.Forms.ListViewItemSelectionChangedEventArgs that contains the event data.
"""
pass
def OnKeyDown(self,*args):
"""
OnKeyDown(self: Control,e: KeyEventArgs)
Raises the System.Windows.Forms.Control.KeyDown event.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
"""
pass
def OnKeyPress(self,*args):
"""
OnKeyPress(self: Control,e: KeyPressEventArgs)
Raises the System.Windows.Forms.Control.KeyPress event.
e: A System.Windows.Forms.KeyPressEventArgs that contains the event data.
"""
pass
def OnKeyUp(self,*args):
"""
OnKeyUp(self: Control,e: KeyEventArgs)
Raises the System.Windows.Forms.Control.KeyUp event.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
"""
pass
def OnLayout(self,*args):
"""
OnLayout(self: Control,levent: LayoutEventArgs)
Raises the System.Windows.Forms.Control.Layout event.
levent: A System.Windows.Forms.LayoutEventArgs that contains the event data.
"""
pass
def OnLeave(self,*args):
"""
OnLeave(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.Leave event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnLocationChanged(self,*args):
"""
OnLocationChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.LocationChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnLostFocus(self,*args):
"""
OnLostFocus(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.LostFocus event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnMarginChanged(self,*args):
"""
OnMarginChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.MarginChanged event.
e: A System.EventArgs that contains the event data.
"""
pass
def OnMouseCaptureChanged(self,*args):
"""
OnMouseCaptureChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.MouseCaptureChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnMouseClick(self,*args):
"""
OnMouseClick(self: Control,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseClick event.
e: An System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def OnMouseDoubleClick(self,*args):
"""
OnMouseDoubleClick(self: Control,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseDoubleClick event.
e: An System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def OnMouseDown(self,*args):
"""
OnMouseDown(self: Control,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseDown event.
e: A System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def OnMouseEnter(self,*args):
"""
OnMouseEnter(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.MouseEnter event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnMouseHover(self,*args):
"""
OnMouseHover(self: ListView,e: EventArgs)
Raises the System.Windows.Forms.Control.MouseHover event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnMouseLeave(self,*args):
"""
OnMouseLeave(self: ListView,e: EventArgs)
e: An System.EventArgs that contains the event data.
"""
pass
def OnMouseMove(self,*args):
"""
OnMouseMove(self: Control,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseMove event.
e: A System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def OnMouseUp(self,*args):
"""
OnMouseUp(self: Control,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseUp event.
e: A System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def OnMouseWheel(self,*args):
"""
OnMouseWheel(self: Control,e: MouseEventArgs)
Raises the System.Windows.Forms.Control.MouseWheel event.
e: A System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def OnMove(self,*args):
"""
OnMove(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.Move event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnNotifyMessage(self,*args):
"""
OnNotifyMessage(self: Control,m: Message)
Notifies the control of Windows messages.
m: A System.Windows.Forms.Message that represents the Windows message.
"""
pass
def OnPaddingChanged(self,*args):
"""
OnPaddingChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.PaddingChanged event.
e: A System.EventArgs that contains the event data.
"""
pass
def OnPaint(self,*args):
"""
OnPaint(self: Control,e: PaintEventArgs)
Raises the System.Windows.Forms.Control.Paint event.
e: A System.Windows.Forms.PaintEventArgs that contains the event data.
"""
pass
def OnPaintBackground(self,*args):
"""
OnPaintBackground(self: Control,pevent: PaintEventArgs)
Paints the background of the control.
pevent: A System.Windows.Forms.PaintEventArgs that contains information about the control to paint.
"""
pass
def OnParentBackColorChanged(self,*args):
"""
OnParentBackColorChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.BackColorChanged event when the
System.Windows.Forms.Control.BackColor property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentBackgroundImageChanged(self,*args):
"""
OnParentBackgroundImageChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.BackgroundImageChanged event when the
System.Windows.Forms.Control.BackgroundImage property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentBindingContextChanged(self,*args):
"""
OnParentBindingContextChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.BindingContextChanged event when the
System.Windows.Forms.Control.BindingContext property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentChanged(self,*args):
"""
OnParentChanged(self: ListView,e: EventArgs)
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentCursorChanged(self,*args):
"""
OnParentCursorChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.CursorChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentEnabledChanged(self,*args):
"""
OnParentEnabledChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.EnabledChanged event when the
System.Windows.Forms.Control.Enabled property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentFontChanged(self,*args):
"""
OnParentFontChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.FontChanged event when the
System.Windows.Forms.Control.Font property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentForeColorChanged(self,*args):
"""
OnParentForeColorChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.ForeColorChanged event when the
System.Windows.Forms.Control.ForeColor property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentRightToLeftChanged(self,*args):
"""
OnParentRightToLeftChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.RightToLeftChanged event when the
System.Windows.Forms.Control.RightToLeft property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnParentVisibleChanged(self,*args):
"""
OnParentVisibleChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.VisibleChanged event when the
System.Windows.Forms.Control.Visible property value of the control's container changes.
e: An System.EventArgs that contains the event data.
"""
pass
def OnPreviewKeyDown(self,*args):
"""
OnPreviewKeyDown(self: Control,e: PreviewKeyDownEventArgs)
Raises the System.Windows.Forms.Control.PreviewKeyDown event.
e: A System.Windows.Forms.PreviewKeyDownEventArgs that contains the event data.
"""
pass
def OnPrint(self,*args):
"""
OnPrint(self: Control,e: PaintEventArgs)
Raises the System.Windows.Forms.Control.Paint event.
e: A System.Windows.Forms.PaintEventArgs that contains the event data.
"""
pass
def OnQueryContinueDrag(self,*args):
"""
OnQueryContinueDrag(self: Control,qcdevent: QueryContinueDragEventArgs)
Raises the System.Windows.Forms.Control.QueryContinueDrag event.
qcdevent: A System.Windows.Forms.QueryContinueDragEventArgs that contains the event data.
"""
pass
def OnRegionChanged(self,*args):
"""
OnRegionChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.RegionChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnResize(self,*args):
"""
OnResize(self: ListView,e: EventArgs)
e: An System.EventArgs that contains the event data.
"""
pass
def OnRetrieveVirtualItem(self,*args):
"""
OnRetrieveVirtualItem(self: ListView,e: RetrieveVirtualItemEventArgs)
Raises the System.Windows.Forms.ListView.RetrieveVirtualItem event.
e: A System.Windows.Forms.RetrieveVirtualItemEventArgs that contains the event data.
"""
pass
def OnRightToLeftChanged(self,*args):
"""
OnRightToLeftChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.RightToLeftChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnRightToLeftLayoutChanged(self,*args):
"""
OnRightToLeftLayoutChanged(self: ListView,e: EventArgs)
Raises the System.Windows.Forms.ListView.RightToLeftLayoutChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnSearchForVirtualItem(self,*args):
"""
OnSearchForVirtualItem(self: ListView,e: SearchForVirtualItemEventArgs)
Raises the System.Windows.Forms.ListView.SearchForVirtualItem event.
e: A System.Windows.Forms.SearchForVirtualItemEventArgs that contains the event data.
"""
pass
def OnSelectedIndexChanged(self,*args):
"""
OnSelectedIndexChanged(self: ListView,e: EventArgs)
Raises the System.Windows.Forms.ListView.SelectedIndexChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnSizeChanged(self,*args):
"""
OnSizeChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.SizeChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnStyleChanged(self,*args):
"""
OnStyleChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.StyleChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnSystemColorsChanged(self,*args):
"""
OnSystemColorsChanged(self: ListView,e: EventArgs)
e: An System.EventArgs that contains the event data.
"""
pass
def OnTabIndexChanged(self,*args):
"""
OnTabIndexChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.TabIndexChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnTabStopChanged(self,*args):
"""
OnTabStopChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.TabStopChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnTextChanged(self,*args):
"""
OnTextChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.TextChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnValidated(self,*args):
"""
OnValidated(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.Validated event.
e: An System.EventArgs that contains the event data.
"""
pass
def OnValidating(self,*args):
"""
OnValidating(self: Control,e: CancelEventArgs)
Raises the System.Windows.Forms.Control.Validating event.
e: A System.ComponentModel.CancelEventArgs that contains the event data.
"""
pass
def OnVirtualItemsSelectionRangeChanged(self,*args):
"""
OnVirtualItemsSelectionRangeChanged(self: ListView,e: ListViewVirtualItemsSelectionRangeChangedEventArgs)
Raises the System.Windows.Forms.ListView.VirtualItemsSelectionRangeChanged event.
e: A System.Windows.Forms.ListViewVirtualItemsSelectionRangeChangedEventArgs that contains the
event data.
"""
pass
def OnVisibleChanged(self,*args):
"""
OnVisibleChanged(self: Control,e: EventArgs)
Raises the System.Windows.Forms.Control.VisibleChanged event.
e: An System.EventArgs that contains the event data.
"""
pass
def ProcessCmdKey(self,*args):
"""
ProcessCmdKey(self: Control,msg: Message,keyData: Keys) -> (bool,Message)
Processes a command key.
msg: A System.Windows.Forms.Message,passed by reference,that represents the window message to
process.
keyData: One of the System.Windows.Forms.Keys values that represents the key to process.
Returns: true if the character was processed by the control; otherwise,false.
"""
pass
def ProcessDialogChar(self,*args):
"""
ProcessDialogChar(self: Control,charCode: Char) -> bool
Processes a dialog character.
charCode: The character to process.
Returns: true if the character was processed by the control; otherwise,false.
"""
pass
def ProcessDialogKey(self,*args):
"""
ProcessDialogKey(self: Control,keyData: Keys) -> bool
Processes a dialog key.
keyData: One of the System.Windows.Forms.Keys values that represents the key to process.
Returns: true if the key was processed by the control; otherwise,false.
"""
pass
def ProcessKeyEventArgs(self,*args):
"""
ProcessKeyEventArgs(self: Control,m: Message) -> (bool,Message)
Processes a key message and generates the appropriate control events.
m: A System.Windows.Forms.Message,passed by reference,that represents the window message to
process.
Returns: true if the message was processed by the control; otherwise,false.
"""
pass
def ProcessKeyMessage(self,*args):
"""
ProcessKeyMessage(self: Control,m: Message) -> (bool,Message)
Processes a keyboard message.
m: A System.Windows.Forms.Message,passed by reference,that represents the window message to
process.
Returns: true if the message was processed by the control; otherwise,false.
"""
pass
def ProcessKeyPreview(self,*args):
"""
ProcessKeyPreview(self: Control,m: Message) -> (bool,Message)
Previews a keyboard message.
m: A System.Windows.Forms.Message,passed by reference,that represents the window message to
process.
Returns: true if the message was processed by the control; otherwise,false.
"""
pass
def ProcessMnemonic(self,*args):
"""
ProcessMnemonic(self: Control,charCode: Char) -> bool
Processes a mnemonic character.
charCode: The character to process.
Returns: true if the character was processed as a mnemonic by the control; otherwise,false.
"""
pass
def RaiseDragEvent(self,*args):
"""
RaiseDragEvent(self: Control,key: object,e: DragEventArgs)
Raises the appropriate drag event.
key: The event to raise.
e: A System.Windows.Forms.DragEventArgs that contains the event data.
"""
pass
def RaiseKeyEvent(self,*args):
"""
RaiseKeyEvent(self: Control,key: object,e: KeyEventArgs)
Raises the appropriate key event.
key: The event to raise.
e: A System.Windows.Forms.KeyEventArgs that contains the event data.
"""
pass
def RaiseMouseEvent(self,*args):
"""
RaiseMouseEvent(self: Control,key: object,e: MouseEventArgs)
Raises the appropriate mouse event.
key: The event to raise.
e: A System.Windows.Forms.MouseEventArgs that contains the event data.
"""
pass
def RaisePaintEvent(self,*args):
"""
RaisePaintEvent(self: Control,key: object,e: PaintEventArgs)
Raises the appropriate paint event.
key: The event to raise.
e: A System.Windows.Forms.PaintEventArgs that contains the event data.
"""
pass
def RealizeProperties(self,*args):
"""
RealizeProperties(self: ListView)
Initializes the properties of the System.Windows.Forms.ListView control that manage the
appearance of the control.
"""
pass
def RecreateHandle(self,*args):
"""
RecreateHandle(self: Control)
Forces the re-creation of the handle for the control.
"""
pass
def RedrawItems(self,startIndex,endIndex,invalidateOnly):
"""
RedrawItems(self: ListView,startIndex: int,endIndex: int,invalidateOnly: bool)
Forces a range of System.Windows.Forms.ListViewItem objects to be redrawn.
startIndex: The index for the first item in the range to be redrawn.
endIndex: The index for the last item of the range to be redrawn.
invalidateOnly: true to invalidate the range of items; false to invalidate and repaint the items.
"""
pass
def RescaleConstantsForDpi(self,*args):
""" RescaleConstantsForDpi(self: Control,deviceDpiOld: int,deviceDpiNew: int) """
pass
def ResetMouseEventArgs(self,*args):
"""
ResetMouseEventArgs(self: Control)
Resets the control to handle the System.Windows.Forms.Control.MouseLeave event.
"""
pass
def RtlTranslateAlignment(self,*args):
"""
RtlTranslateAlignment(self: Control,align: ContentAlignment) -> ContentAlignment
Converts the specified System.Drawing.ContentAlignment to the appropriate
System.Drawing.ContentAlignment to support right-to-left text.
align: One of the System.Drawing.ContentAlignment values.
Returns: One of the System.Drawing.ContentAlignment values.
RtlTranslateAlignment(self: Control,align: LeftRightAlignment) -> LeftRightAlignment
Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate
System.Windows.Forms.LeftRightAlignment to support right-to-left text.
align: One of the System.Windows.Forms.LeftRightAlignment values.
Returns: One of the System.Windows.Forms.LeftRightAlignment values.
RtlTranslateAlignment(self: Control,align: HorizontalAlignment) -> HorizontalAlignment
Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate
System.Windows.Forms.HorizontalAlignment to support right-to-left text.
align: One of the System.Windows.Forms.HorizontalAlignment values.
Returns: One of the System.Windows.Forms.HorizontalAlignment values.
"""
pass
def RtlTranslateContent(self,*args):
"""
RtlTranslateContent(self: Control,align: ContentAlignment) -> ContentAlignment
Converts the specified System.Drawing.ContentAlignment to the appropriate
System.Drawing.ContentAlignment to support right-to-left text.
align: One of the System.Drawing.ContentAlignment values.
Returns: One of the System.Drawing.ContentAlignment values.
"""
pass
def RtlTranslateHorizontal(self,*args):
"""
RtlTranslateHorizontal(self: Control,align: HorizontalAlignment) -> HorizontalAlignment
Converts the specified System.Windows.Forms.HorizontalAlignment to the appropriate
System.Windows.Forms.HorizontalAlignment to support right-to-left text.
align: One of the System.Windows.Forms.HorizontalAlignment values.
Returns: One of the System.Windows.Forms.HorizontalAlignment values.
"""
pass
def RtlTranslateLeftRight(self,*args):
"""
RtlTranslateLeftRight(self: Control,align: LeftRightAlignment) -> LeftRightAlignment
Converts the specified System.Windows.Forms.LeftRightAlignment to the appropriate
System.Windows.Forms.LeftRightAlignment to support right-to-left text.
align: One of the System.Windows.Forms.LeftRightAlignment values.
Returns: One of the System.Windows.Forms.LeftRightAlignment values.
"""
pass
def ScaleControl(self,*args):
"""
ScaleControl(self: Control,factor: SizeF,specified: BoundsSpecified)
Scales a control's location,size,padding and margin.
factor: The factor by which the height and width of the control will be scaled.
specified: A System.Windows.Forms.BoundsSpecified value that specifies the bounds of the control to use
when defining its size and position.
"""
pass
def ScaleCore(self,*args):
"""
ScaleCore(self: Control,dx: Single,dy: Single)
This method is not relevant for this class.
dx: The horizontal scaling factor.
dy: The vertical scaling factor.
"""
pass
def Select(self):
"""
Select(self: Control,directed: bool,forward: bool)
Activates a child control. Optionally specifies the direction in the tab order to select the
control from.
directed: true to specify the direction of the control to select; otherwise,false.
forward: true to move forward in the tab order; false to move backward in the tab order.
"""
pass
def SetAutoSizeMode(self,*args):
"""
SetAutoSizeMode(self: Control,mode: AutoSizeMode)
Sets a value indicating how a control will behave when its System.Windows.Forms.Control.AutoSize
property is enabled.
mode: One of the System.Windows.Forms.AutoSizeMode values.
"""
pass
def SetBoundsCore(self,*args):
"""
SetBoundsCore(self: Control,x: int,y: int,width: int,height: int,specified: BoundsSpecified)
Performs the work of setting the specified bounds of this control.
x: The new System.Windows.Forms.Control.Left property value of the control.
y: The new System.Windows.Forms.Control.Top property value of the control.
width: The new System.Windows.Forms.Control.Width property value of the control.
height: The new System.Windows.Forms.Control.Height property value of the control.
specified: A bitwise combination of the System.Windows.Forms.BoundsSpecified values.
"""
pass
def SetClientSizeCore(self,*args):
"""
SetClientSizeCore(self: Control,x: int,y: int)
Sets the size of the client area of the control.
x: The client area width,in pixels.
y: The client area height,in pixels.
"""
pass
def SetStyle(self,*args):
"""
SetStyle(self: Control,flag: ControlStyles,value: bool)
Sets a specified System.Windows.Forms.ControlStyles flag to either true or false.
flag: The System.Windows.Forms.ControlStyles bit to set.
value: true to apply the specified style to the control; otherwise,false.
"""
pass
def SetTopLevel(self,*args):
"""
SetTopLevel(self: Control,value: bool)
Sets the control as the top-level control.
value: true to set the control as the top-level control; otherwise,false.
"""
pass
def SetVisibleCore(self,*args):
"""
SetVisibleCore(self: Control,value: bool)
Sets the control to the specified visible state.
value: true to make the control visible; otherwise,false.
"""
pass
def SizeFromClientSize(self,*args):
"""
SizeFromClientSize(self: Control,clientSize: Size) -> Size
Determines the size of the entire control from the height and width of its client area.
clientSize: A System.Drawing.Size value representing the height and width of the control's client area.
Returns: A System.Drawing.Size value representing the height and width of the entire control.
"""
pass
def Sort(self):
"""
Sort(self: ListView)
Sorts the items of the list view.
"""
pass
def ToString(self):
"""
ToString(self: ListView) -> str
Returns a string representation of the System.Windows.Forms.ListView control.
Returns: A string that states the control type,the count of items in the System.Windows.Forms.ListView
control,and the type of the first item in the System.Windows.Forms.ListView,if the count is
not 0.
"""
pass
def UpdateBounds(self,*args):
"""
UpdateBounds(self: Control,x: int,y: int,width: int,height: int,clientWidth: int,clientHeight: int)
Updates the bounds of the control with the specified size,location,and client size.
x: The System.Drawing.Point.X coordinate of the control.
y: The System.Drawing.Point.Y coordinate of the control.
width: The System.Drawing.Size.Width of the control.
height: The System.Drawing.Size.Height of the control.
clientWidth: The client System.Drawing.Size.Width of the control.
clientHeight: The client System.Drawing.Size.Height of the control.
UpdateBounds(self: Control,x: int,y: int,width: int,height: int)
Updates the bounds of the control with the specified size and location.
x: The System.Drawing.Point.X coordinate of the control.
y: The System.Drawing.Point.Y coordinate of the control.
width: The System.Drawing.Size.Width of the control.
height: The System.Drawing.Size.Height of the control.
UpdateBounds(self: Control)
Updates the bounds of the control with the current size and location.
"""
pass
def UpdateExtendedStyles(self,*args):
"""
UpdateExtendedStyles(self: ListView)
Updates the extended styles applied to the list view control.
"""
pass
def UpdateStyles(self,*args):
"""
UpdateStyles(self: Control)
Forces the assigned styles to be reapplied to the control.
"""
pass
def UpdateZOrder(self,*args):
"""
UpdateZOrder(self: Control)
Updates the control in its parent's z-order.
"""
pass
def WndProc(self,*args):
"""
WndProc(self: ListView,m: Message) -> Message
Overrides System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message@).
m: The Windows System.Windows.Forms.Message to process.
"""
pass
def __enter__(self,*args):
"""
__enter__(self: IDisposable) -> object
Provides the implementation of __enter__ for objects which implement IDisposable.
"""
pass
def __exit__(self,*args):
"""
__exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object)
Provides the implementation of __exit__ for objects which implement IDisposable.
"""
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __str__(self,*args):
pass
Activation=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the type of action the user must take to activate an item.
Get: Activation(self: ListView) -> ItemActivation
Set: Activation(self: ListView)=value
"""
Alignment=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the alignment of items in the control.
Get: Alignment(self: ListView) -> ListViewAlignment
Set: Alignment(self: ListView)=value
"""
AllowColumnReorder=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the user can drag column headers to reorder columns in the control.
Get: AllowColumnReorder(self: ListView) -> bool
Set: AllowColumnReorder(self: ListView)=value
"""
AutoArrange=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets whether icons are automatically kept arranged.
Get: AutoArrange(self: ListView) -> bool
Set: AutoArrange(self: ListView)=value
"""
BackColor=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the background color.
Get: BackColor(self: ListView) -> Color
Set: BackColor(self: ListView)=value
"""
BackgroundImageLayout=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets an System.Windows.Forms.ImageLayout value.
Get: BackgroundImageLayout(self: ListView) -> ImageLayout
Set: BackgroundImageLayout(self: ListView)=value
"""
BackgroundImageTiled=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the background image of the System.Windows.Forms.ListView should be tiled.
Get: BackgroundImageTiled(self: ListView) -> bool
Set: BackgroundImageTiled(self: ListView)=value
"""
BorderStyle=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the border style of the control.
Get: BorderStyle(self: ListView) -> BorderStyle
Set: BorderStyle(self: ListView)=value
"""
CanEnableIme=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the System.Windows.Forms.Control.ImeMode property can be set to an active value,to enable IME support.
"""
CanRaiseEvents=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Determines if events can be raised on the control.
"""
CheckBoxes=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether a check box appears next to each item in the control.
Get: CheckBoxes(self: ListView) -> bool
Set: CheckBoxes(self: ListView)=value
"""
CheckedIndices=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the indexes of the currently checked items in the control.
Get: CheckedIndices(self: ListView) -> CheckedIndexCollection
"""
CheckedItems=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the currently checked items in the control.
Get: CheckedItems(self: ListView) -> CheckedListViewItemCollection
"""
Columns=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the collection of all column headers that appear in the control.
Get: Columns(self: ListView) -> ColumnHeaderCollection
"""
CreateParams=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""This property is not relevant for this class.
"""
DefaultCursor=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the default cursor for the control.
"""
DefaultImeMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the default Input Method Editor (IME) mode supported by the control.
"""
DefaultMargin=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the space,in pixels,that is specified by default between controls.
"""
DefaultMaximumSize=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the length and height,in pixels,that is specified as the default maximum size of a control.
"""
DefaultMinimumSize=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the length and height,in pixels,that is specified as the default minimum size of a control.
"""
DefaultPadding=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the internal spacing,in pixels,of the contents of a control.
"""
DefaultSize=property(lambda self: object(),lambda self,v: None,lambda self: None)
DesignMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.
"""
DoubleBuffered=property(lambda self: object(),lambda self,v: None,lambda self: None)
Events=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the list of event handlers that are attached to this System.ComponentModel.Component.
"""
FocusedItem=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the item in the control that currently has focus.
Get: FocusedItem(self: ListView) -> ListViewItem
Set: FocusedItem(self: ListView)=value
"""
FontHeight=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the height of the font of the control.
"""
ForeColor=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the foreground color.
Get: ForeColor(self: ListView) -> Color
Set: ForeColor(self: ListView)=value
"""
FullRowSelect=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether clicking an item selects all its subitems.
Get: FullRowSelect(self: ListView) -> bool
Set: FullRowSelect(self: ListView)=value
"""
GridLines=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether grid lines appear between the rows and columns containing the items and subitems in the control.
Get: GridLines(self: ListView) -> bool
Set: GridLines(self: ListView)=value
"""
Groups=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the collection of System.Windows.Forms.ListViewGroup objects assigned to the control.
Get: Groups(self: ListView) -> ListViewGroupCollection
"""
HeaderStyle=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the column header style.
Get: HeaderStyle(self: ListView) -> ColumnHeaderStyle
Set: HeaderStyle(self: ListView)=value
"""
HideSelection=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the selected item in the control remains highlighted when the control loses focus.
Get: HideSelection(self: ListView) -> bool
Set: HideSelection(self: ListView)=value
"""
HotTracking=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the text of an item or subitem has the appearance of a hyperlink when the mouse pointer passes over it.
Get: HotTracking(self: ListView) -> bool
Set: HotTracking(self: ListView)=value
"""
HoverSelection=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether an item is automatically selected when the mouse pointer remains over the item for a few seconds.
Get: HoverSelection(self: ListView) -> bool
Set: HoverSelection(self: ListView)=value
"""
ImeModeBase=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the IME mode of a control.
"""
InsertionMark=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets an object used to indicate the expected drop location when an item is dragged within a System.Windows.Forms.ListView control.
Get: InsertionMark(self: ListView) -> ListViewInsertionMark
"""
Items=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a collection containing all items in the control.
Get: Items(self: ListView) -> ListViewItemCollection
"""
LabelEdit=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the user can edit the labels of items in the control.
Get: LabelEdit(self: ListView) -> bool
Set: LabelEdit(self: ListView)=value
"""
LabelWrap=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether item labels wrap when items are displayed in the control as icons.
Get: LabelWrap(self: ListView) -> bool
Set: LabelWrap(self: ListView)=value
"""
LargeImageList=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the System.Windows.Forms.ImageList to use when displaying items as large icons in the control.
Get: LargeImageList(self: ListView) -> ImageList
Set: LargeImageList(self: ListView)=value
"""
ListViewItemSorter=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the sorting comparer for the control.
Get: ListViewItemSorter(self: ListView) -> IComparer
Set: ListViewItemSorter(self: ListView)=value
"""
MultiSelect=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether multiple items can be selected.
Get: MultiSelect(self: ListView) -> bool
Set: MultiSelect(self: ListView)=value
"""
OwnerDraw=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the System.Windows.Forms.ListView control is drawn by the operating system or by code that you provide.
Get: OwnerDraw(self: ListView) -> bool
Set: OwnerDraw(self: ListView)=value
"""
Padding=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the space between the System.Windows.Forms.ListView control and its contents.
Get: Padding(self: ListView) -> Padding
Set: Padding(self: ListView)=value
"""
RenderRightToLeft=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""This property is now obsolete.
"""
ResizeRedraw=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the control redraws itself when resized.
"""
RightToLeftLayout=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the control is laid out from right to left.
Get: RightToLeftLayout(self: ListView) -> bool
Set: RightToLeftLayout(self: ListView)=value
"""
ScaleChildren=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value that determines the scaling of child controls.
"""
Scrollable=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether a scroll bar is added to the control when there is not enough room to display all items.
Get: Scrollable(self: ListView) -> bool
Set: Scrollable(self: ListView)=value
"""
SelectedIndices=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the indexes of the selected items in the control.
Get: SelectedIndices(self: ListView) -> SelectedIndexCollection
"""
SelectedItems=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets the items that are selected in the control.
Get: SelectedItems(self: ListView) -> SelectedListViewItemCollection
"""
ShowFocusCues=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the control should display focus rectangles.
"""
ShowGroups=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether items are displayed in groups.
Get: ShowGroups(self: ListView) -> bool
Set: ShowGroups(self: ListView)=value
"""
ShowItemToolTips=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether ToolTips are shown for the System.Windows.Forms.ListViewItem objects contained in the System.Windows.Forms.ListView.
Get: ShowItemToolTips(self: ListView) -> bool
Set: ShowItemToolTips(self: ListView)=value
"""
ShowKeyboardCues=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
"""
SmallImageList=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the System.Windows.Forms.ImageList to use when displaying items as small icons in the control.
Get: SmallImageList(self: ListView) -> ImageList
Set: SmallImageList(self: ListView)=value
"""
Sorting=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the sort order for items in the control.
Get: Sorting(self: ListView) -> SortOrder
Set: Sorting(self: ListView)=value
"""
StateImageList=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the System.Windows.Forms.ImageList associated with application-defined states in the control.
Get: StateImageList(self: ListView) -> ImageList
Set: StateImageList(self: ListView)=value
"""
Text=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""This property is not relevant for this class.
Get: Text(self: ListView) -> str
Set: Text(self: ListView)=value
"""
TileSize=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the size of the tiles shown in tile view.
Get: TileSize(self: ListView) -> Size
Set: TileSize(self: ListView)=value
"""
TopItem=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the first visible item in the control.
Get: TopItem(self: ListView) -> ListViewItem
Set: TopItem(self: ListView)=value
"""
UseCompatibleStateImageBehavior=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether the System.Windows.Forms.ListView uses state image behavior that is compatible with the .NET Framework 1.1 or the .NET Framework 2.0.
Get: UseCompatibleStateImageBehavior(self: ListView) -> bool
Set: UseCompatibleStateImageBehavior(self: ListView)=value
"""
View=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets how items are displayed in the control.
Get: View(self: ListView) -> View
Set: View(self: ListView)=value
"""
VirtualListSize=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets the number of System.Windows.Forms.ListViewItem objects contained in the list when in virtual mode.
Get: VirtualListSize(self: ListView) -> int
Set: VirtualListSize(self: ListView)=value
"""
VirtualMode=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Gets or sets a value indicating whether you have provided your own data-management operations for the System.Windows.Forms.ListView control.
Get: VirtualMode(self: ListView) -> bool
Set: VirtualMode(self: ListView)=value
"""
AfterLabelEdit=None
BackgroundImageLayoutChanged=None
BeforeLabelEdit=None
CacheVirtualItems=None
CheckedIndexCollection=None
CheckedListViewItemCollection=None
ColumnClick=None
ColumnHeaderCollection=None
ColumnReordered=None
ColumnWidthChanged=None
ColumnWidthChanging=None
DrawColumnHeader=None
DrawItem=None
DrawSubItem=None
ItemActivate=None
ItemCheck=None
ItemChecked=None
ItemDrag=None
ItemMouseHover=None
ItemSelectionChanged=None
ListViewItemCollection=None
PaddingChanged=None
Paint=None
RetrieveVirtualItem=None
RightToLeftLayoutChanged=None
SearchForVirtualItem=None
SelectedIndexChanged=None
SelectedIndexCollection=None
SelectedListViewItemCollection=None
TextChanged=None
VirtualItemsSelectionRangeChanged=None
| 24.074564 | 330 | 0.70622 | 8,890 | 74,583 | 5.916423 | 0.100675 | 0.065251 | 0.090347 | 0.065878 | 0.572751 | 0.542198 | 0.49518 | 0.457669 | 0.435557 | 0.426621 | 0 | 0.000169 | 0.204551 | 74,583 | 3,097 | 331 | 24.082338 | 0.886392 | 0.583136 | 0 | 0.392544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.392544 | false | 0.392544 | 0 | 0 | 0.607456 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c3040ff250b54464e6d8c36455f67284f37da5b8 | 3,515 | py | Python | python/parse_packet.py | animeshpatcha/automation | bebc234fa79b03185239abe80dfd31e0780eecca | [
"MIT"
] | null | null | null | python/parse_packet.py | animeshpatcha/automation | bebc234fa79b03185239abe80dfd31e0780eecca | [
"MIT"
] | null | null | null | python/parse_packet.py | animeshpatcha/automation | bebc234fa79b03185239abe80dfd31e0780eecca | [
"MIT"
] | null | null | null | import logging
import sys
import logging.handlers
from scapy.all import *
import pprint
import json
def print_packets(pcap):
# For each packet in the pcap process the contents
# Print out the timestamp in UTC
pkt_structure = {}
pcap_dict = {}
pkt_counter = 0
for pkt in pcap:
pkt_structure[pkt_counter] = {}
if pkt.haslayer(Ether):
pkt_structure[pkt_counter]['src_mac'] = str(pkt.getlayer(Ether).src)
pkt_structure[pkt_counter]['dst_mac'] = str(pkt.getlayer(Ether).dst)
pkt_structure[pkt_counter]['ethtype'] = str(hex(pkt.getlayer(Ether).type))
if pkt.haslayer(Dot1Q):
pkt_structure[pkt_counter]['outer_vlan_id'] = int(pkt[Dot1Q:1].vlan)
try:
if pkt[Dot1Q:3].vlan:
pkt_structure[pkt_counter]['inner_most_vlan_id'] = int(pkt[Dot1Q:3].vlan)
except:
log.info('Third VLAN does not exist')
try:
if pkt[Dot1Q:2].vlan:
pkt_structure[pkt_counter]['inner_vlan_id'] = int(pkt[Dot1Q:2].vlan)
except:
log.info('Second VLAN does not exist')
if pkt.haslayer(IP):
log.info('This is an IP Packet')
ip = pkt.payload
pkt_structure[pkt_counter]['src_ip'] = str(ip.src)
pkt_structure[pkt_counter]['dst_ip'] = str(ip.dst)
pkt_structure[pkt_counter]['pkt_ttl'] = int(ip.ttl)
pkt_structure[pkt_counter]['tos'] = str(ip.tos)
if ip.proto == 1:
log.info('This is an ICMP Packet')
icmp = ip.payload
pkt_structure[pkt_counter]['ip_proto'] = 'ICMP'
pkt_structure[pkt_counter]['type'] = int(icmp.type)
pkt_structure[pkt_counter]['code'] = int(icmp.code)
pkt_structure[pkt_counter]['checksum'] = hex(icmp.chksum)
if ip.proto == 6:
log.info('This is an TCP Packet')
tcp = ip.payload
pkt_structure[pkt_counter]['ip_proto'] = 'TCP'
pkt_structure[pkt_counter]['src_port'] = int(tcp.sport)
pkt_structure[pkt_counter]['dst_port'] = int(tcp.dport)
pkt_structure[pkt_counter]['checksum'] = hex(tcp.chksum)
pkt_structure[pkt_counter]['tcp_window'] = int(tcp.window)
if ip.proto == 17:
log.info('This is an UDP Packet')
udp = ip.payload
pkt_structure[pkt_counter]['ip_proto'] = 'UDP'
pkt_structure[pkt_counter]['src_port'] = int(udp.sport)
pkt_structure[pkt_counter]['dst_port'] = int(udp.dport)
pkt_structure[pkt_counter]['checksum'] = hex(udp.chksum)
pkt_counter = pkt_counter + 1
return pkt_structure
def test(pcap_file):
packets = rdpcap(pcap_file)
json_data = json.dumps(print_packets(packets))
print json_data
def usage():
print "\n Usage: python parse_packet.py <FILENAME>"
if __name__ == '__main__':
log = logging.getLogger(__name__)
log.setLevel(logging.INFO)
handler = logging.handlers.SysLogHandler(address = '/dev/log')
formatter = logging.Formatter('%(module)s.%(funcName)s: %(message)s')
handler.setFormatter(formatter)
log.addHandler(handler)
if (len(sys.argv) == 2):
test(sys.argv[1])
else:
usage()
sys.exit()
| 40.402299 | 97 | 0.572973 | 434 | 3,515 | 4.426267 | 0.251152 | 0.140552 | 0.187402 | 0.274857 | 0.385737 | 0.249349 | 0.170744 | 0.097866 | 0 | 0 | 0 | 0.007765 | 0.303841 | 3,515 | 86 | 98 | 40.872093 | 0.777278 | 0.022475 | 0 | 0.051948 | 0 | 0 | 0.123798 | 0.006991 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.077922 | null | null | 0.064935 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c334a9d35a363b67aa983abc4908ddfac5c035a7 | 735 | py | Python | ndl/scheduler.py | DianCh/numpy-deep-learning | 46544730520f17f172eecbd5be3dc00ed714b252 | [
"MIT"
] | null | null | null | ndl/scheduler.py | DianCh/numpy-deep-learning | 46544730520f17f172eecbd5be3dc00ed714b252 | [
"MIT"
] | null | null | null | ndl/scheduler.py | DianCh/numpy-deep-learning | 46544730520f17f172eecbd5be3dc00ed714b252 | [
"MIT"
] | null | null | null | """Implements learning rate schedulers."""
from abc import ABC, abstractmethod
class Scheduler(ABC):
"""Generic scheduler."""
@abstractmethod
def step(self):
"""Make one step to adjust the learning rate."""
pass
class StepLR(Scheduler):
"""Exponentially decrease the optimizer's learning rate every fixed
number of steps.
"""
def __init__(self, optimizer, step_size, gamma=0.1, last_epoch=-1):
pass
def step(self):
pass
class MultiStepLR(Scheduler):
"""Exponetially decrease the optimizer's learning rate at specified
steps.
"""
def __init__(self, optimizer, milestones, gamma=0.1, last_epoch=-1):
pass
def step(self):
pass
| 20.416667 | 72 | 0.644898 | 88 | 735 | 5.261364 | 0.477273 | 0.103672 | 0.071274 | 0.090713 | 0.406048 | 0.298056 | 0.155508 | 0.155508 | 0.155508 | 0.155508 | 0 | 0.01085 | 0.247619 | 735 | 35 | 73 | 21 | 0.826401 | 0.342857 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0.066667 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c3371db4f7752adc91704cd98a52de15cb9d5ab7 | 114 | py | Python | src/Attendance_System/reschedule_management/apps.py | Sameer-Arora/Attendance_System | 1a9a86c944ba6c14851664547ccd6226d42114d4 | [
"MIT"
] | null | null | null | src/Attendance_System/reschedule_management/apps.py | Sameer-Arora/Attendance_System | 1a9a86c944ba6c14851664547ccd6226d42114d4 | [
"MIT"
] | 1 | 2021-05-27T08:22:27.000Z | 2021-05-27T08:22:27.000Z | src/Attendance_System/reschedule_management/apps.py | Sameer-Arora/Attendance_System | 1a9a86c944ba6c14851664547ccd6226d42114d4 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RescheduleManagemetConfig(AppConfig):
name = 'reschedule_managemet'
| 19 | 43 | 0.807018 | 11 | 114 | 8.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 5 | 44 | 22.8 | 0.919192 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c33c98300528ce2d90bd73cf18b4883c1829550f | 428 | py | Python | nbest.py | markvanheeswijk/kryptos | 1f560f10246ea1f1c8af6439f52eac74973bcf26 | [
"MIT"
] | null | null | null | nbest.py | markvanheeswijk/kryptos | 1f560f10246ea1f1c8af6439f52eac74973bcf26 | [
"MIT"
] | null | null | null | nbest.py | markvanheeswijk/kryptos | 1f560f10246ea1f1c8af6439f52eac74973bcf26 | [
"MIT"
] | null | null | null | # keep a list of the N best things we have seen, discard anything else
class nbest(object):
def __init__(self,N=1000):
self.store = []
self.N = N
def add(self,item):
self.store.append(item)
self.store.sort(reverse=True)
self.store = self.store[:self.N]
def __getitem__(self,k):
return self.store[k]
def __len__(self):
return len(self.store)
| 25.176471 | 70 | 0.588785 | 61 | 428 | 3.934426 | 0.52459 | 0.2625 | 0.1625 | 0.116667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013289 | 0.296729 | 428 | 16 | 71 | 26.75 | 0.784053 | 0.158879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
c37075c84bf47e1453feffa10c027ffbd36d21d4 | 21,963 | py | Python | tests/test_postcode_parser.py | WintersDeep/wintersdeep_postcode | b5f53484d2209d48919a4db663f05c9d39a396fa | [
"MIT"
] | 2 | 2021-12-03T11:41:05.000Z | 2022-01-31T13:33:29.000Z | tests/test_postcode_parser.py | WintersDeep/wintersdeep_postcode | b5f53484d2209d48919a4db663f05c9d39a396fa | [
"MIT"
] | null | null | null | tests/test_postcode_parser.py | WintersDeep/wintersdeep_postcode | b5f53484d2209d48919a4db663f05c9d39a396fa | [
"MIT"
] | null | null | null | # python3 imports
from os.path import abspath, dirname, join
from sys import path as python_path
from unittest import TestCase
from re import compile
# determine where we are running (needed to patch PYTHON_PATH)
TEST_CASE_PATH = abspath( __file__ )
TEST_CASE_DIRECTORY = dirname( TEST_CASE_PATH )
PROJECT_ROOT_DIRECTORY = abspath( join( TEST_CASE_DIRECTORY, ".." ) )
# patch up PYTHON_PATH if required.
if not PROJECT_ROOT_DIRECTORY in python_path:
python_path.insert(0, PROJECT_ROOT_DIRECTORY)
# project imports
from wintersdeep_postcode.postcode_parser import PostcodeParser
## Unit Test class for PostcodeParser
class TestPostcodeParser(TestCase):
## test that we throw an error if excess / unrecognised keywords are recevied.
def test__PostcodeParser_ctor_excess_keywords(self):
self.assertRaises(TypeError, PostcodeParser, unused="value")
self.assertRaises(TypeError, PostcodeParser, whitespace="tolerant", unused="value")
## tests that the PostcodeParser::_get_whitespace_pattern raises an exception when
# unrecognised type strings are provided to the method.
def test__PostcodeParser_get_whitespace_pattern__unsupported(self):
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, 'unsupported')
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, 'TOLERANT')
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, 'tolerant ')
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, '')
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, False)
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, None)
self.assertRaises(ValueError, PostcodeParser._get_whitespace_pattern, 1)
## tests that the PostcodeParser::_get_whitespace_pattern creates a suitable pattern
# when created with the 'strict' keyword.
def test__PostcodeParser_get_whitespace_pattern__strict(self):
whitespace_pattern = PostcodeParser._get_whitespace_pattern('strict')
test_regex = compile(f"^{whitespace_pattern}$")
self.assertTrue( test_regex.match(" ") )
self.assertFalse( test_regex.match("") )
self.assertFalse( test_regex.match(" ") )
self.assertFalse( test_regex.match("\t") )
self.assertFalse( test_regex.match("\t ") )
self.assertFalse( test_regex.match(" \t ") )
self.assertFalse( test_regex.match("-") )
self.assertFalse( test_regex.match("TEXT") )
## tests that the PostcodeParser::_get_whitespace_pattern creates a suitable pattern
# when created with the 'tolerant' keyword.
def test__PostcodeParser_get_whitespace_pattern__tolerant(self):
whitespace_pattern = PostcodeParser._get_whitespace_pattern('tolerant')
test_regex = compile(f"^{whitespace_pattern}$")
self.assertTrue( test_regex.match(" ") )
self.assertTrue( test_regex.match("") )
self.assertFalse( test_regex.match(" ") )
self.assertFalse( test_regex.match("\t") )
self.assertFalse( test_regex.match("\t ") )
self.assertFalse( test_regex.match(" \t ") )
self.assertFalse( test_regex.match("-") )
self.assertFalse( test_regex.match("TEXT") )
## tests that the PostcodeParser::_get_whitespace_pattern creates a suitable pattern
# when created with the 'lenient' keyword.
def test__PostcodeParser_get_whitespace_pattern__lenient(self):
whitespace_pattern = PostcodeParser._get_whitespace_pattern('lenient')
test_regex = compile(f"^{whitespace_pattern}$")
self.assertTrue( test_regex.match(" ") )
self.assertTrue( test_regex.match("") )
self.assertTrue( test_regex.match(" ") )
self.assertTrue( test_regex.match("\t") )
self.assertTrue( test_regex.match("\t ") )
self.assertTrue( test_regex.match(" \t ") )
self.assertFalse( test_regex.match("-") )
self.assertFalse( test_regex.match("TEXT") )
## tests that the PostcodeParser::_build_input_translater method creates functions
# that perform the expected actions - no operation pipeline
def test__PostcodeParser_build_input_translator__nop(self):
pipeline = PostcodeParser._build_input_translater(trim=False, uppercase=False)
self.assertEqual( pipeline("NO CHANGE"), "NO CHANGE" )
self.assertEqual( pipeline(" TRIM TEST\t "), " TRIM TEST\t " )
self.assertEqual( pipeline("Uppercase Test"), "Uppercase Test" )
## tests that the PostcodeParser::_build_input_translater method creates functions
# that perform the expected actions - trim only pipeline
def test__PostcodeParser_build_input_translator__trim(self):
pipeline = PostcodeParser._build_input_translater(trim=True, uppercase=False)
self.assertEqual( pipeline("NO CHANGE"), "NO CHANGE" )
self.assertEqual( pipeline(" TRIM TEST\t "), "TRIM TEST" )
self.assertEqual( pipeline("Uppercase Test"), "Uppercase Test" )
## tests that the PostcodeParser::_build_input_translater method creates functions
# that perform the expected actions - uppercase only pipeline
def test__PostcodeParser_build_input_translator__uppercase(self):
pipeline = PostcodeParser._build_input_translater(trim=False, uppercase=True)
self.assertEqual( pipeline("NO CHANGE"), "NO CHANGE" )
self.assertEqual( pipeline(" TRIM TEST\t "), " TRIM TEST\t " )
self.assertEqual( pipeline("Uppercase Test"), "UPPERCASE TEST" )
## tests that the PostcodeParser::_build_input_translater method creates functions
# that perform the expected actions - full pipeline
def test__PostcodeParser_build_input_translator__full(self):
pipeline = PostcodeParser._build_input_translater(trim=True, uppercase=True)
self.assertEqual( pipeline("NO CHANGE"), "NO CHANGE" )
self.assertEqual( pipeline(" TRIM TEST\t "), "TRIM TEST" )
self.assertEqual( pipeline("Uppercase Test"), "UPPERCASE TEST" )
## This test to make sure we throw if we try and create a parser with an unknown
# method of handling whitespace in a predicable manner
def test__PostcodeParser_ctor__with_bad_whitespace_handler(self):
from wintersdeep_postcode.exceptions import ParseError
self.assertRaises( ValueError, PostcodeParser,
trim_whitespace=False,
force_case=False,
whitespace='error'
)
## This test is for the parser in its most strict configuration - strict whitepace
# handling, and no input translation. This is to ensure that in this mode, only
# well formed postcodes are parsed.
def test__PostcodeParser_parse__with_no_translation(self):
from wintersdeep_postcode.exceptions import ParseError
postcode_parser = PostcodeParser(trim_whitespace=False, force_case=False, whitespace='strict', validate=False)
self.assertRaises(ParseError, postcode_parser, "aa1 1aa")
self.assertRaises(ParseError, postcode_parser, "AA11AA")
self.assertRaises(ParseError, postcode_parser, "AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t 1AA")
self.assertRaises(ParseError, postcode_parser, " AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1 1AA ")
self.assertRaises(ParseError, postcode_parser, " AA1 1AA ")
self.assertRaises(ParseError, postcode_parser, 1)
self.assertRaises(ParseError, postcode_parser, False)
self.assertIsNotNone( postcode_parser("A1 1AA") )
self.assertIsNotNone( postcode_parser("A11 1AA") )
self.assertIsNotNone( postcode_parser("A1A 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA11 1AA") )
self.assertIsNotNone( postcode_parser("AA1A 1AA") )
## This test is for the parser in a strict configuration - strict whitepace
# handling, and only case correction enabled. This is to ensure that in
# this mode, well formed postcodes of any case are parsed.
def test__PostcodeParser_parse__with_caps_correction(self):
from wintersdeep_postcode.exceptions import ParseError
postcode_parser = PostcodeParser(trim_whitespace=False, force_case=True, whitespace='strict', validate=False)
self.assertIsNotNone( postcode_parser("aa1 1aa") )
self.assertRaises(ParseError, postcode_parser, "AA11AA")
self.assertRaises(ParseError, postcode_parser, "AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t 1AA")
self.assertRaises(ParseError, postcode_parser, " AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1 1AA ")
self.assertRaises(ParseError, postcode_parser, " AA1 1AA ")
self.assertRaises(ParseError, postcode_parser, 1)
self.assertRaises(ParseError, postcode_parser, False)
self.assertIsNotNone( postcode_parser("A1 1AA") )
self.assertIsNotNone( postcode_parser("A11 1AA") )
self.assertIsNotNone( postcode_parser("A1A 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA11 1AA") )
self.assertIsNotNone( postcode_parser("AA1A 1AA") )
## This test is for the parser in a strict configuration - strict whitepace
# handling, and ony whitepace trimming enabled. This is to ensure that in this
# mode, well formed postcodes with whitespace padding are parsed correctly.
def test__PostcodeParser_parse__with_trimmed_whitespace(self):
from wintersdeep_postcode.exceptions import ParseError
postcode_parser = PostcodeParser(trim_whitespace=True, force_case=False, whitespace='strict', validate=False)
self.assertRaises(ParseError, postcode_parser, "aa1 1aa")
self.assertRaises(ParseError, postcode_parser, "AA11AA")
self.assertRaises(ParseError, postcode_parser, "AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t 1AA")
self.assertIsNotNone( postcode_parser(" AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA ") )
self.assertIsNotNone( postcode_parser(" AA1 1AA ") )
self.assertRaises(ParseError, postcode_parser, 1)
self.assertRaises(ParseError, postcode_parser, False)
self.assertIsNotNone( postcode_parser("A1 1AA") )
self.assertIsNotNone( postcode_parser("A11 1AA") )
self.assertIsNotNone( postcode_parser("A1A 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA11 1AA") )
self.assertIsNotNone( postcode_parser("AA1A 1AA") )
## This test is for the parser in a severe configuration - strict whitepace
# handling, but full pre-processing enabled. This is to ensure that in this
# mode, well formed postcodes which may be slightly "dirty" are parsed.
def test__PostcodeParser_parse__with_full_translation(self):
from wintersdeep_postcode.exceptions import ParseError
postcode_parser = PostcodeParser(trim_whitespace=True, force_case=True, whitespace='strict', validate=False)
self.assertIsNotNone( postcode_parser("aa1 1aa") )
self.assertRaises(ParseError, postcode_parser, "AA11AA")
self.assertRaises(ParseError, postcode_parser, "AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t 1AA")
self.assertIsNotNone( postcode_parser(" AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA ") )
self.assertIsNotNone( postcode_parser(" AA1 1AA ") )
self.assertRaises(ParseError, postcode_parser, 1)
self.assertRaises(ParseError, postcode_parser, False)
self.assertIsNotNone( postcode_parser("A1 1AA") )
self.assertIsNotNone( postcode_parser("A11 1AA") )
self.assertIsNotNone( postcode_parser("A1A 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA11 1AA") )
self.assertIsNotNone( postcode_parser("AA1A 1AA") )
## This test is for the parser in a tolerant configuration - tolerant whitepace
# handling, and full pre-processing enabled. This is to ensure that in this
# mode, well formed postcodes which may be slightly "dirty" are parsed.
def test__PostcodeParser_parse__tolerant(self):
from wintersdeep_postcode.exceptions import ParseError
postcode_parser = PostcodeParser(trim_whitespace=True, force_case=True, whitespace='tolerant', validate=False)
self.assertIsNotNone( postcode_parser("aa1 1aa") )
self.assertIsNotNone( postcode_parser("AA11AA") )
self.assertRaises(ParseError, postcode_parser, "AA1 1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t1AA")
self.assertRaises(ParseError, postcode_parser, "AA1\t 1AA")
self.assertIsNotNone( postcode_parser(" AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA ") )
self.assertIsNotNone( postcode_parser(" AA1 1AA ") )
self.assertRaises(ParseError, postcode_parser, 1)
self.assertRaises(ParseError, postcode_parser, False)
self.assertIsNotNone( postcode_parser("A1 1AA") )
self.assertIsNotNone( postcode_parser("A11 1AA") )
self.assertIsNotNone( postcode_parser("A1A 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA11 1AA") )
self.assertIsNotNone( postcode_parser("AA1A 1AA") )
## This test is for the parser in a lenient configuration - lenient whitepace
# handling, and full pre-processing enabled. This is to ensure that in this
# mode, well formed postcodes which may be slightly "dirty" are parsed.
def test__PostcodeParser_parse__lenient(self):
from wintersdeep_postcode.exceptions import ParseError
postcode_parser = PostcodeParser(trim_whitespace=True, force_case=True, whitespace='lenient', validate=False)
self.assertIsNotNone( postcode_parser("aa1 1aa") )
self.assertIsNotNone( postcode_parser("AA11AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA1\t1AA") )
self.assertIsNotNone( postcode_parser("AA1\t 1AA") )
self.assertIsNotNone( postcode_parser(" AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA ") )
self.assertIsNotNone( postcode_parser(" AA1 1AA ") )
self.assertRaises(ParseError, postcode_parser, 1)
self.assertRaises(ParseError, postcode_parser, False)
self.assertIsNotNone( postcode_parser("A1 1AA") )
self.assertIsNotNone( postcode_parser("A11 1AA") )
self.assertIsNotNone( postcode_parser("A1A 1AA") )
self.assertIsNotNone( postcode_parser("AA1 1AA") )
self.assertIsNotNone( postcode_parser("AA11 1AA") )
self.assertIsNotNone( postcode_parser("AA1A 1AA") )
## tests that the _get_parser_regex_list throws as expected when given bad params
def test__PostcodeParser_get_parser_regex_list__bad_args(self):
self.assertRaises(ValueError, PostcodeParser._get_parser_regex_list, type_list=[])
## tests that when we ask for the default parser (passing None, or ommiting) we
# get back a parser that loads all postcode types.
def test__PostcodeParser_get_parser_regex_list__all_types(self):
from re import compile
from wintersdeep_postcode.postcode_types import postcode_type_objects
parser_list = PostcodeParser._get_parser_regex_list(type_list=None)
compile_regex_type = compile("^$").__class__
# make sure it appears we loaded all types (basic count check only)
self.assertEqual( len(postcode_type_objects), len(parser_list) )
# and that the returned list appears usable
for regex, factory in parser_list:
self.assertIsInstance(regex, compile_regex_type)
self.assertTrue( callable(factory) )
# and that the default list, is still the same as the None call.
self.assertListEqual( parser_list, PostcodeParser._get_parser_regex_list() )
## tests that when we ask for a selective parser (passing a specific list) we
# get back a parser that is loaded correctly
def test__PostcodeParser_get_parser_regex_list__specific_type(self):
from wintersdeep_postcode.postcode_types import postcode_type_objects
test_type = postcode_type_objects[0]
parser_list = PostcodeParser._get_parser_regex_list(
type_list=[ test_type.PostcodeType ]
)
# make sure it appears we loaded all types (basic count check only)
self.assertEqual( len(parser_list), 1 )
self.assertIs( parser_list[0][1], test_type)
## tests that the postcode parser respects the validate keyword argument
def test__PostcodeParser_ctor__validate_keyword(self):
from wintersdeep_postcode.postcode_types import StandardPostcode
from wintersdeep_postcode.exceptions import ParseError, ValidationError
# one postcode to check that validation errors are thrown, and another for parser errors
postcode_invalid = "LL9 2XX"
postcode_valid = "LL20 2XX"
postcode_malformed = "LL20 XXX"
postcode_parser = PostcodeParser(validate=True)
self.assertRaises(ParseError, postcode_parser.parse, postcode_malformed)
self.assertRaises(ValidationError, postcode_parser.parse, postcode_invalid)
postcode = postcode_parser.parse(postcode_valid)
self.assertIsInstance(postcode, StandardPostcode)
self.assertFalse(postcode.validation_faults)
self.assertTrue(postcode.is_validated)
postcode_parser = PostcodeParser(validate=False)
self.assertRaises(ParseError, postcode_parser.parse, postcode_malformed)
postcode = postcode_parser.parse(postcode_invalid)
self.assertIsInstance(postcode, StandardPostcode)
self.assertFalse(postcode.validation_faults)
self.assertFalse(postcode.is_validated)
## tests that the ignore faults keyword allows people to mask postcode faults they
# wish to supress (future troubleshooting, errors, or to be more forgiving)
def test__PostcodeParser_ctor__ignore_faults(self):
from wintersdeep_postcode.postcode_types import StandardPostcode
from wintersdeep_postcode.exceptions import ParseError, ValidationError
# one postcode to check that validation errors are thrown, and another for parser errors
postcode_invalid_but_ignored = "LL9 2XX"
postcode_invalid_not_ignored = "HX10 2XX"
postcode_valid = "LL20 2XX"
postcode_malformed = "LL20 XXX"
supress_error = StandardPostcode.ExpectedDoubleDigitDistrict
for test_error in [ supress_error, int(supress_error) ]:
postcode_parser = PostcodeParser(validate=True, ignored_faults=[ test_error ])
self.assertRaises(ParseError, postcode_parser.parse, postcode_malformed)
postcode = postcode_parser.parse(postcode_valid)
self.assertIsInstance(postcode, StandardPostcode)
self.assertFalse(postcode.validation_faults)
self.assertTrue(postcode.is_validated)
postcode = postcode_parser.parse(postcode_invalid_but_ignored)
self.assertIsInstance(postcode, StandardPostcode)
self.assertEqual( len(postcode.validation_faults), 1)
self.assertTrue(postcode.is_validated)
try:
postcode_parser.parse(postcode_invalid_not_ignored)
self.fail(f"Parsing '{postcode_invalid_not_ignored}' was expected to trigger an exception.")
except ValidationError as ex:
self.assertTrue( int(StandardPostcode.ExpectedSingleDigitDistrict) in ex.postcode.validation_faults)
self.assertEqual( len(ex.postcode.validation_faults), 1)
self.assertFalse(ex.postcode.is_validated)
## attempts to parse every postcode in the UK to check we are good.
# @remarks will only do this if the relevant file is available.
def test_parse_all_current_uk_postcodes__if_available(self):
from os.path import exists
root_relative_file_path = join("reference", "current-uk-postcodes.txt")
file_path = join(PROJECT_ROOT_DIRECTORY, root_relative_file_path)
if not exists(file_path):
error_major = f"Can't run test without {root_relative_file_path}"
error_minor = "this may not be checked-in/available for licencing or file size reasons."
self.skipTest(f"{error_major}; {error_minor}")
from wintersdeep_postcode.exceptions import ParseError
with open(file_path, 'r') as file_handle:
parser = PostcodeParser()
postcode_string = file_handle.readline()
while postcode_string:
try:
postcode = parser(postcode_string)
self.assertTrue(postcode.is_validated)
except ParseError as ex:
print(str(ex))
postcode_string = file_handle.readline()
if __name__ == "__main__":
##
## if this file is the main entry point, run the contained tests.
##
from unittest import main as unit_test_entry_point
unit_test_entry_point() | 50.258581 | 118 | 0.709056 | 2,456 | 21,963 | 6.114007 | 0.114821 | 0.109084 | 0.102491 | 0.125266 | 0.772043 | 0.740943 | 0.722296 | 0.648375 | 0.631526 | 0.595964 | 0 | 0.012178 | 0.207394 | 21,963 | 437 | 119 | 50.258581 | 0.850414 | 0.176388 | 0 | 0.618375 | 0 | 0 | 0.081658 | 0.008166 | 0 | 0 | 0 | 0 | 0.597173 | 1 | 0.077739 | false | 0 | 0.077739 | 0 | 0.159011 | 0.003534 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c37af07242b189f52e47b75db87ce9b6ed0717b4 | 429 | py | Python | code/socialDistribution/models/__init__.py | CMPUT404F21TEAM/social-distribution | c6775bfa3bf93025d426bc4601431128a51d4c48 | [
"W3C-20150513"
] | null | null | null | code/socialDistribution/models/__init__.py | CMPUT404F21TEAM/social-distribution | c6775bfa3bf93025d426bc4601431128a51d4c48 | [
"W3C-20150513"
] | 173 | 2021-09-30T00:12:03.000Z | 2021-12-09T00:32:46.000Z | code/socialDistribution/models/__init__.py | CMPUT404F21TEAM/social-distribution | c6775bfa3bf93025d426bc4601431128a51d4c48 | [
"W3C-20150513"
] | 3 | 2021-12-09T01:27:49.000Z | 2022-03-11T06:04:16.000Z | """ Module for all models in socialDistribution app. """
# Django Software Foundation, "Organizing models in a package", 2021-10-30
# https://docs.djangoproject.com/en/3.2/topics/db/models/#organizing-models-in-a-package
from .author import Author, LocalAuthor
from .post import LocalPost, InboxPost
from .category import Category
from .comment import Comment
from .like import PostLike, CommentLike
from .follow import Follow
| 35.75 | 88 | 0.787879 | 60 | 429 | 5.633333 | 0.633333 | 0.071006 | 0.106509 | 0.112426 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026385 | 0.11655 | 429 | 11 | 89 | 39 | 0.865435 | 0.487179 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 3 |
c380d5e5840c9e9f6caa14e6b365d894bb10ea36 | 2,205 | py | Python | Codefights/interview-practice/arrays/rotateImage/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codefights/interview-practice/arrays/rotateImage/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codefights/interview-practice/arrays/rotateImage/Python/test.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python3
from solution1 import rotateImage as f
qa = [
([[1,2,3],
[4,5,6],
[7,8,9]],
[[7,4,1],
[8,5,2],
[9,6,3]]),
([[1]],
[[1]]),
([[10,9,6,3,7],
[6,10,2,9,7],
[7,6,3,8,2],
[8,9,7,9,9],
[6,8,6,8,2]],
[[6,8,7,6,10],
[8,9,6,10,9],
[6,7,3,2,6],
[8,9,8,9,3],
[2,9,2,7,7]]),
([[40,12,15,37,33,11,45,13,25,3],
[37,35,15,43,23,12,22,29,46,43],
[44,19,15,12,30,2,45,7,47,6],
[48,4,40,10,16,22,18,36,27,48],
[45,17,36,28,47,46,8,4,17,3],
[14,9,33,1,6,31,7,38,25,17],
[31,9,17,11,29,42,38,10,48,6],
[12,13,42,3,47,24,28,22,3,47],
[38,23,26,3,23,27,14,40,15,22],
[8,46,20,21,35,4,36,18,32,3]],
[[8,38,12,31,14,45,48,44,37,40],
[46,23,13,9,9,17,4,19,35,12],
[20,26,42,17,33,36,40,15,15,15],
[21,3,3,11,1,28,10,12,43,37],
[35,23,47,29,6,47,16,30,23,33],
[4,27,24,42,31,46,22,2,12,11],
[36,14,28,38,7,8,18,45,22,45],
[18,40,22,10,38,4,36,7,29,13],
[32,15,3,48,25,17,27,47,46,25],
[3,22,47,6,17,3,48,6,43,3]]),
([[33,35,8,24,19,1,3,1,4,5],
[25,27,40,25,17,35,20,3,19,3],
[9,1,9,30,9,25,32,12,15,22],
[30,47,25,10,18,1,19,17,43,17],
[40,46,42,34,18,48,29,40,31,39],
[37,42,37,19,45,1,4,46,48,13],
[8,26,31,46,44,24,34,29,12,25],
[45,48,36,12,33,12,4,45,22,37],
[33,15,34,25,34,8,50,48,30,28],
[18,19,22,29,15,43,38,30,8,47]],
[[18,33,45,8,37,40,30,9,25,33],
[19,15,48,26,42,46,47,1,27,35],
[22,34,36,31,37,42,25,9,40,8],
[29,25,12,46,19,34,10,30,25,24],
[15,34,33,44,45,18,18,9,17,19],
[43,8,12,24,1,48,1,25,35,1],
[38,50,4,34,4,29,19,32,20,3],
[30,48,45,29,46,40,17,12,3,1],
[8,30,22,12,48,31,43,15,19,4],
[47,28,37,25,13,39,17,22,3,5]])
]
for *q, a in qa:
for i, e in enumerate(q):
print('input{0}: {1}'.format(i + 1, e))
ans = f(*q)
if ans != a:
print(' [failed]')
print(' output:', ans)
print(' expected:', a)
else:
print(' [ok]')
print(' output:', ans)
print()
| 28.269231 | 47 | 0.437642 | 518 | 2,205 | 1.862934 | 0.142857 | 0.010363 | 0.006218 | 0.039378 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.48693 | 0.253968 | 2,205 | 77 | 48 | 28.636364 | 0.099696 | 0.003175 | 0 | 0.027397 | 0 | 0 | 0.029144 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.013699 | 0 | 0.013699 | 0.09589 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6f34a7a661949da15518c4c322b5e167027efa31 | 10,844 | py | Python | pubnub/pubnub_core.py | rado0x54/python | c2ddecc122105d66712dd6b0c12d94b29286bc73 | [
"MIT"
] | null | null | null | pubnub/pubnub_core.py | rado0x54/python | c2ddecc122105d66712dd6b0c12d94b29286bc73 | [
"MIT"
] | null | null | null | pubnub/pubnub_core.py | rado0x54/python | c2ddecc122105d66712dd6b0c12d94b29286bc73 | [
"MIT"
] | null | null | null | import logging
import time
from abc import ABCMeta, abstractmethod
from .endpoints.objects_v2.uuid.set_uuid import SetUuid
from .endpoints.objects_v2.channel.get_all_channels import GetAllChannels
from .endpoints.objects_v2.channel.get_channel import GetChannel
from .endpoints.objects_v2.channel.remove_channel import RemoveChannel
from .endpoints.objects_v2.channel.set_channel import SetChannel
from .endpoints.objects_v2.members.get_channel_members import GetChannelMembers
from .endpoints.objects_v2.members.manage_channel_members import ManageChannelMembers
from .endpoints.objects_v2.members.remove_channel_members import RemoveChannelMembers
from .endpoints.objects_v2.members.set_channel_members import SetChannelMembers
from .endpoints.objects_v2.memberships.get_memberships import GetMemberships
from .endpoints.objects_v2.memberships.manage_memberships import ManageMemberships
from .endpoints.objects_v2.memberships.remove_memberships import RemoveMemberships
from .endpoints.objects_v2.memberships.set_memberships import SetMemberships
from .endpoints.objects_v2.uuid.get_all_uuid import GetAllUuid
from .endpoints.objects_v2.uuid.get_uuid import GetUuid
from .endpoints.objects_v2.uuid.remove_uuid import RemoveUuid
from .managers import BasePathManager, TokenManager, TokenManagerProperties
from .builders import SubscribeBuilder
from .builders import UnsubscribeBuilder
from .endpoints.time import Time
from .endpoints.history import History
from .endpoints.access.audit import Audit
from .endpoints.access.grant import Grant
from .endpoints.access.grant_token import GrantToken
from .endpoints.access.revoke import Revoke
from .endpoints.channel_groups.add_channel_to_channel_group import AddChannelToChannelGroup
from .endpoints.channel_groups.list_channels_in_channel_group import ListChannelsInChannelGroup
from .endpoints.channel_groups.remove_channel_from_channel_group import RemoveChannelFromChannelGroup
from .endpoints.channel_groups.remove_channel_group import RemoveChannelGroup
from .endpoints.presence.get_state import GetState
from .endpoints.presence.heartbeat import Heartbeat
from .endpoints.presence.set_state import SetState
from .endpoints.pubsub.publish import Publish
from .endpoints.pubsub.fire import Fire
from .endpoints.presence.here_now import HereNow
from .endpoints.presence.where_now import WhereNow
from .endpoints.history_delete import HistoryDelete
from .endpoints.message_count import MessageCount
from .endpoints.signal import Signal
from .endpoints.fetch_messages import FetchMessages
from .endpoints.message_actions.add_message_action import AddMessageAction
from .endpoints.message_actions.get_message_actions import GetMessageActions
from .endpoints.message_actions.remove_message_action import RemoveMessageAction
from .endpoints.file_operations.list_files import ListFiles
from .endpoints.file_operations.delete_file import DeleteFile
from .endpoints.file_operations.get_file_url import GetFileDownloadUrl
from .endpoints.file_operations.fetch_upload_details import FetchFileUploadS3Data
from .endpoints.file_operations.send_file import SendFileNative
from .endpoints.file_operations.download_file import DownloadFileNative
from .endpoints.file_operations.publish_file_message import PublishFileMessage
from .endpoints.push.add_channels_to_push import AddChannelsToPush
from .endpoints.push.remove_channels_from_push import RemoveChannelsFromPush
from .endpoints.push.remove_device import RemoveDeviceFromPush
from .endpoints.push.list_push_provisions import ListPushProvisions
from .managers import TelemetryManager
logger = logging.getLogger("pubnub")
class PubNubCore:
"""A base class for PubNub Python API implementations"""
SDK_VERSION = "5.0.1"
SDK_NAME = "PubNub-Python"
TIMESTAMP_DIVIDER = 1000
MAX_SEQUENCE = 65535
__metaclass__ = ABCMeta
def __init__(self, config):
self.config = config
self.config.validate()
self.headers = {
'User-Agent': self.sdk_name
}
self._subscription_manager = None
self._publish_sequence_manager = None
self._telemetry_manager = TelemetryManager()
self._base_path_manager = BasePathManager(config)
self._token_manager = TokenManager()
@property
def base_origin(self):
return self._base_path_manager.get_base_path()
@property
def sdk_name(self):
return "%s%s/%s" % (PubNubCore.SDK_NAME, self.sdk_platform(), PubNubCore.SDK_VERSION)
@abstractmethod
def sdk_platform(self):
pass
@property
def uuid(self):
return self.config.uuid
def add_listener(self, listener):
self._validate_subscribe_manager_enabled()
return self._subscription_manager.add_listener(listener)
def remove_listener(self, listener):
self._validate_subscribe_manager_enabled()
return self._subscription_manager.remove_listener(listener)
def get_subscribed_channels(self):
self._validate_subscribe_manager_enabled()
return self._subscription_manager.get_subscribed_channels()
def get_subscribed_channel_groups(self):
self._validate_subscribe_manager_enabled()
return self._subscription_manager.get_subscribed_channel_groups()
def add_channel_to_channel_group(self):
return AddChannelToChannelGroup(self)
def remove_channel_from_channel_group(self):
return RemoveChannelFromChannelGroup(self)
def list_channels_in_channel_group(self):
return ListChannelsInChannelGroup(self)
def remove_channel_group(self):
return RemoveChannelGroup(self)
def subscribe(self):
return SubscribeBuilder(self._subscription_manager)
def unsubscribe(self):
return UnsubscribeBuilder(self._subscription_manager)
def unsubscribe_all(self):
return self._subscription_manager.unsubscribe_all()
def reconnect(self):
return self._subscription_manager.reconnect()
def heartbeat(self):
return Heartbeat(self)
def set_state(self):
return SetState(self, self._subscription_manager)
def get_state(self):
return GetState(self)
def here_now(self):
return HereNow(self)
def where_now(self):
return WhereNow(self)
def publish(self):
return Publish(self)
def grant(self):
return Grant(self)
def grant_token(self):
return GrantToken(self)
def revoke(self):
return Revoke(self)
def audit(self):
return Audit(self)
# Push Related methods
def list_push_channels(self):
return ListPushProvisions(self)
def add_channels_to_push(self):
return AddChannelsToPush(self)
def remove_channels_from_push(self):
return RemoveChannelsFromPush(self)
def remove_device_from_push(self):
return RemoveDeviceFromPush(self)
def history(self):
return History(self)
def message_counts(self):
return MessageCount(self)
def fire(self):
return Fire(self)
def signal(self):
return Signal(self)
def set_uuid_metadata(self):
return SetUuid(self)
def get_uuid_metadata(self):
return GetUuid(self)
def remove_uuid_metadata(self):
return RemoveUuid(self)
def get_all_uuid_metadata(self):
return GetAllUuid(self)
def set_channel_metadata(self):
return SetChannel(self)
def get_channel_metadata(self):
return GetChannel(self)
def remove_channel_metadata(self):
return RemoveChannel(self)
def get_all_channel_metadata(self):
return GetAllChannels(self)
def set_channel_members(self):
return SetChannelMembers(self)
def get_channel_members(self):
return GetChannelMembers(self)
def remove_channel_members(self):
return RemoveChannelMembers(self)
def manage_channel_members(self):
return ManageChannelMembers(self)
def set_memberships(self):
return SetMemberships(self)
def get_memberships(self):
return GetMemberships(self)
def remove_memberships(self):
return RemoveMemberships(self)
def manage_memberships(self):
return ManageMemberships(self)
def fetch_messages(self):
return FetchMessages(self)
def add_message_action(self):
return AddMessageAction(self)
def get_message_actions(self):
return GetMessageActions(self)
def remove_message_action(self):
return RemoveMessageAction(self)
def time(self):
return Time(self)
def delete_messages(self):
return HistoryDelete(self)
def set_token(self, token):
self._token_manager.set_token(token)
def set_tokens(self, tokens):
self._token_manager.set_tokens(tokens)
def get_token(self, tms_properties):
return self._token_manager.get_token(tms_properties)
def get_token_by_resource(self, resource_id, resource_type):
return self._token_manager.get_token(TokenManagerProperties(
resource_id=resource_id,
resource_type=resource_type
))
def get_tokens(self):
return self._token_manager.get_tokens()
def get_tokens_by_resource(self, resource_type):
return self._token_manager.get_tokens_by_resource(resource_type)
def send_file(self):
if not self.sdk_platform():
return SendFileNative(self)
elif "Asyncio" in self.sdk_platform():
from .endpoints.file_operations.send_file_asyncio import AsyncioSendFile
return AsyncioSendFile(self)
else:
raise NotImplementedError
def download_file(self):
if not self.sdk_platform():
return DownloadFileNative(self)
elif "Asyncio" in self.sdk_platform():
from .endpoints.file_operations.download_file_asyncio import DownloadFileAsyncio
return DownloadFileAsyncio(self)
else:
raise NotImplementedError
def list_files(self):
return ListFiles(self)
def get_file_url(self):
return GetFileDownloadUrl(self)
def delete_file(self):
return DeleteFile(self)
def _fetch_file_upload_s3_data(self):
return FetchFileUploadS3Data(self)
def publish_file_message(self):
return PublishFileMessage(self)
def decrypt(self, cipher_key, file):
return self.config.file_crypto.decrypt(cipher_key, file)
def encrypt(self, cipher_key, file):
return self.config.file_crypto.encrypt(cipher_key, file)
@staticmethod
def timestamp():
return int(time.time())
def _validate_subscribe_manager_enabled(self):
if self._subscription_manager is None:
raise Exception("Subscription manager is not enabled for this instance")
| 32.178042 | 101 | 0.753228 | 1,255 | 10,844 | 6.246215 | 0.152988 | 0.072713 | 0.040822 | 0.044904 | 0.223881 | 0.132925 | 0.086235 | 0.076796 | 0.068121 | 0.05715 | 0 | 0.003488 | 0.180468 | 10,844 | 336 | 102 | 32.27381 | 0.878587 | 0.00664 | 0 | 0.060729 | 0 | 0 | 0.010032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.299595 | false | 0.004049 | 0.242915 | 0.255061 | 0.854251 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6f37b45e5d5ea05fe3349a063ccdf92af8553797 | 231 | py | Python | notebooks/1.hello_world.py | shameeriqbal/pandas-tutorial | 66f14310ea65a326283d01b720ad553d636800a3 | [
"MIT"
] | null | null | null | notebooks/1.hello_world.py | shameeriqbal/pandas-tutorial | 66f14310ea65a326283d01b720ad553d636800a3 | [
"MIT"
] | null | null | null | notebooks/1.hello_world.py | shameeriqbal/pandas-tutorial | 66f14310ea65a326283d01b720ad553d636800a3 | [
"MIT"
] | null | null | null |
# coding: utf-8
# IPython (or Jupyter) notebooks are good for illustrative purposes. It allows to document the process and save the results which are easy to publish.
#
# ### Hello World Example
# In[1]:
print "Hello World!"
| 19.25 | 150 | 0.718615 | 35 | 231 | 4.742857 | 0.857143 | 0.120482 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.194805 | 231 | 11 | 151 | 21 | 0.88172 | 0.82684 | 0 | 0 | 0 | 0 | 0.413793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
6f3a7613ca57b0b8edadab0babf7227f1ef3dbf3 | 165 | py | Python | python_3/test_import_funs/module_A/add_num.py | duttashi/valet | 25b57db860d5c1abce9f1d8b45b73bc8e8743025 | [
"MIT"
] | null | null | null | python_3/test_import_funs/module_A/add_num.py | duttashi/valet | 25b57db860d5c1abce9f1d8b45b73bc8e8743025 | [
"MIT"
] | 39 | 2020-10-11T06:57:35.000Z | 2021-11-02T08:57:01.000Z | python_3/test_import_funs/module_A/add_num.py | duttashi/valet | 25b57db860d5c1abce9f1d8b45b73bc8e8743025 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Sun Oct 11 10:18:56 2020
@author: Ashish
"""
def add_num(num1, num2):
print("In module A")
return num1+num2 | 16.5 | 36 | 0.575758 | 26 | 165 | 3.615385 | 0.923077 | 0.170213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138211 | 0.254545 | 165 | 10 | 37 | 16.5 | 0.626016 | 0.454545 | 0 | 0 | 0 | 0 | 0.148649 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6f77b3d204b503a9a5cb2b15fbb77f5d02a267d7 | 131 | py | Python | setup.py | exalearn/design-tutorial | 4571d08c8ae462414853fe8bd24082aaece053aa | [
"Apache-2.0"
] | null | null | null | setup.py | exalearn/design-tutorial | 4571d08c8ae462414853fe8bd24082aaece053aa | [
"Apache-2.0"
] | null | null | null | setup.py | exalearn/design-tutorial | 4571d08c8ae462414853fe8bd24082aaece053aa | [
"Apache-2.0"
] | 2 | 2020-02-11T17:03:24.000Z | 2020-07-27T09:48:06.000Z | from setuptools import setup
setup(
name='graphsage',
version='0.0.1',
install_requires=['networkx','ase','pandas']
)
| 16.375 | 48 | 0.656489 | 16 | 131 | 5.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0.167939 | 131 | 7 | 49 | 18.714286 | 0.752294 | 0 | 0 | 0 | 0 | 0 | 0.236641 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
48a748fb5d40ced7cc42f5d088e93584337820f3 | 75 | py | Python | bondules/__init__.py | mathfour/python-packages | 83814bea721b52a813d524fe8b802158a71b097d | [
"MIT"
] | null | null | null | bondules/__init__.py | mathfour/python-packages | 83814bea721b52a813d524fe8b802158a71b097d | [
"MIT"
] | null | null | null | bondules/__init__.py | mathfour/python-packages | 83814bea721b52a813d524fe8b802158a71b097d | [
"MIT"
] | null | null | null | name = "bondules"
__version__ = "1.0.1"
import bondules.the_bon_library | 18.75 | 31 | 0.733333 | 11 | 75 | 4.454545 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 0.146667 | 75 | 4 | 31 | 18.75 | 0.71875 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
48a8b368195f6ee7bbfe48f928ff134ba0c09b2a | 173 | py | Python | Wardo/comments/urls.py | WillArevalo/Wardo | 6b10f302f7010a593a64bbc3971b5fe883792684 | [
"Apache-2.0"
] | null | null | null | Wardo/comments/urls.py | WillArevalo/Wardo | 6b10f302f7010a593a64bbc3971b5fe883792684 | [
"Apache-2.0"
] | 8 | 2020-06-05T17:07:39.000Z | 2022-03-11T23:14:26.000Z | Wardo/comments/urls.py | WillArevalo/Wardo | 6b10f302f7010a593a64bbc3971b5fe883792684 | [
"Apache-2.0"
] | null | null | null | from comments.views import create_comment
from django.urls import path
app_name = "comments"
urlpatterns = [
path('createcomment', create_comment, name="createcomment")
] | 21.625 | 60 | 0.786127 | 21 | 173 | 6.333333 | 0.619048 | 0.195489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 8 | 61 | 21.625 | 0.869281 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
48e2edde6404f6cec08ef7011ac9544a65038465 | 138 | py | Python | baekjoon/math/1297-tv-easy/tv.py | honux77/algorithm | 2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee | [
"MIT"
] | 2 | 2019-02-08T01:23:07.000Z | 2020-11-19T12:23:52.000Z | baekjoon/math/1297-tv-easy/tv.py | honux77/algorithm | 2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee | [
"MIT"
] | null | null | null | baekjoon/math/1297-tv-easy/tv.py | honux77/algorithm | 2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee | [
"MIT"
] | null | null | null | import math
rr, x, y = list(map(int, input().split()))
r = math.sqrt(x * x + y * y)
print(math.ceil(rr * x // r), math.ceil(rr * y // r)) | 27.6 | 53 | 0.550725 | 28 | 138 | 2.714286 | 0.5 | 0.078947 | 0.263158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 138 | 5 | 53 | 27.6 | 0.684685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
48e3c0e202b618b2bef7e2d84a24954a9cfe9601 | 6,733 | py | Python | entities.py | IaroslavLisniak/StochasticCorrelationModeling | b82756a80a0cc9242dc1d2755925a65e0e6329cd | [
"MIT"
] | null | null | null | entities.py | IaroslavLisniak/StochasticCorrelationModeling | b82756a80a0cc9242dc1d2755925a65e0e6329cd | [
"MIT"
] | null | null | null | entities.py | IaroslavLisniak/StochasticCorrelationModeling | b82756a80a0cc9242dc1d2755925a65e0e6329cd | [
"MIT"
] | null | null | null | import numpy as np
import finmath_calculations
# MATHEMATICAL FUNCTIONS ###############################################################################################
class coef_function1d(object):
'''
1-dimensional coeffitient function. It depends on only 1 argument.
Contains its value, first and second derivatives in point x.
'''
def __init__(self, value, FirstDerivative, SecondDerivative):
self.value = value
self.dx = FirstDerivative
self.dxdx = SecondDerivative
def ReturnValue(self, x):
return self.value(x)
def dx(self, x):
return self.FirstDerivative(x)
def dxdx(self, x):
return self.SecondDerivative(x)
class coef_function2d(object):
'''
2-dimensional coefficient function. Usually takes
time-moment and process value as arguments. Both are real numbers.
'''
def __init__(self, value, Dt, Dx, DxDx):
self.value = value
self.Dt = Dt
self.Dx = Dx
self.DxDx = Dxdx
def value(self, t, x):
return value(t, x)
def dt(self, t, x):
return self.Dt(t, x)
def dx(self, t, x):
return self.Dx(t, x)
def dxdx(self, t, x):
return self.DxDx(t, x)
class coef_function3d(object):
'''
3-dimensional coefficient function. Logic remains the same.
'''
def __init__(self, value, Dt, Dx, Dy, DxDy, DxDx, DyDy):
self.value = value
self.Dt = Dt
self.Dx = Dx
self.Dy = Dy
self.DxDy = Dxdy
self.DxDx = Dxdx
self.DyDy = Dydy
def value(self, t, x, y):
return self.value(t, x, y)
def dt(self, t, x, y):
return self.Dt(t, x, y)
def dx(self, t, x, y):
return self.Dx(t, x, y)
def dy(self, t, x, y):
return self.Dy(t, x, y)
def dxdy(self, t, x, y):
return self.DxDy(t, x, y)
def dxdx(self, t, x, y):
return self.DxDx(t, x, y)
def dydy(self, t, x, y):
return self.DyDy(t, x, y)
class mean_reversion(object):
'''
Class for correlation mean-reverted drift function.
It depends on N+1 arguments: nu1, ... , nuN, rho.
'''
def __init__(self, value, gradient, hessian):
self.value = value
self.gradient = gradient
self.hessian = hessian
def dx(self, NuVector, rho, coordinate):
return self.gradient[coordinate](NuVector, rho)
def dxdx(self, NuVector, rho, i, j):
return self.gessian[i][j](NuVector, rho)
########################################################################################################################
# SDE PROCESSES ########################################################################################################
class ParticleProcess(object):
'''
This process describes the behaviour of the asset price.
The process can be described by an SDE:
dS = drift_coef(t, S)dt + diffusion_coef(t, S, Nu)dWt, where Nu is the volatility process.
NOT IMPLEMENTED YET
PARAMS:
S0: the initial value of our diffusion. A number or a vector of numbers.
drift_coef: 2d function, depends on time and process value.
diffusion_coef: 3d function, depends on time, process value and volatility value.
'''
def __init__(self, S0, drift_coef, diffusion_coef):
self.S0 = S0
self.drift_coef = drift_coef
self.diffusion_coef = diffusion_coef
class VolatilityProcess(object):
'''
This process describes the behaviour of the asset price.
The process can be described by an SDE:
dNu = drift_coef(t, Nu)dt + diffusion_coef(t, Nu)dBt, where Nu is the volatility process.
NOT IMPLEMENTED YET
PARAMS:
Nu0: the initial value of our diffusion. A number or a vector of numbers.
drift_coef: 2d function, depends on time and volatility value.
diffusion_coef: 2d function, depends on time, and volatility value.
'''
def __init__(self, Nu0, drift_coef, diffusion_coef):
self.Nu0 = Nu0
self.drift_coef = drift_coef
self.diffusion_coef = diffusion_coef
class CorrelationProcess(object):
'''
This process describes the behaviour of the asset price.
The process can be described by an SDE:
dNu = drift_coef(t, Nu)dt + diffusion_coef(t, Nu)dBt, where Nu is the volatility process.
NOT IMPLEMENTED YET
PARAMS:
rho0: the initial value of our process. A number or a vector of numbers.
mean_reversion: Psy(Nu1, ... , NuN) - rho_t.
diffusion_coef: 1d function, depends only on correlation value.
'''
def __init__(self, rho0, alpha, mean_reversion, diffustion_coef):
self.rho0 = rho0
self.alpha = alpha
self.drift_coef = self.alpha * mean_reversion
self.diffusion_coef = diffusion_coef
########################################################################################################################
# STOCHASTIC CORRELATION MODEL #########################################################################################
class StochasticCorrModel(object):
def __init__(Particles, Vols, Corr_Process, VolCorrMatrix, ParticleVolCorrMatrix, rho_skew):
'''
Attributes:
Particles -- the N-dimensional vector-process that describes asset prices.
Vols -- the N-dimensional vector-process that descrives volatilities.
Corr_Process -- the 1-d process that describes the correlation between brownian motions.
GeneralCorrMatrix -- matrix of size 2N+1 x 2N+1 that contains all the correlations.
'''
self.particles = Particles
self.vols = vols
self.corr_process = Corr_Process
self.N = len(Particles)
self.VolCorrMatrix = VolCorrMatrix
self.ParticleVolCorrMatrix = ParticleVolCorrMatrix
def GeneralCorrMatrix(self, cur_rho):
'''
This method returns the current value of the General stochastic correlation matrix.
RETURNS: np.array of size 2N+1x2N+1.
'''
return CalculateGeneralCorrMatrix(cur_rho, self.rho_skew,
self.ParticleVolCorrMatrix, self.VolCorrMatrix, self.N)
########################################################################################################################
| 31.909953 | 120 | 0.538987 | 756 | 6,733 | 4.699735 | 0.21164 | 0.012384 | 0.011821 | 0.013791 | 0.400225 | 0.334365 | 0.260343 | 0.253307 | 0.253307 | 0.23642 | 0 | 0.007525 | 0.28947 | 6,733 | 210 | 121 | 32.061905 | 0.735159 | 0.334918 | 0 | 0.174419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290698 | false | 0 | 0.023256 | 0.186047 | 0.604651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
48f0f5ebad92be98c07ce3521a1658a6b97678b6 | 1,005 | py | Python | app/domains/student/models.py | Renanrbsc/Event_Manager_System | 32b54b2db5c1f86184ab763d45d0c78dfddd594b | [
"MIT"
] | 1 | 2021-02-25T16:16:18.000Z | 2021-02-25T16:16:18.000Z | app/domains/student/models.py | Renanrbsc/Event_Manager_System | 32b54b2db5c1f86184ab763d45d0c78dfddd594b | [
"MIT"
] | null | null | null | app/domains/student/models.py | Renanrbsc/Event_Manager_System | 32b54b2db5c1f86184ab763d45d0c78dfddd594b | [
"MIT"
] | null | null | null | from random import randint
class Student:
_id = str()
_name = str()
_lastname = str()
def __init__(self, id: int = None, name: str = "", lastname: str = ""):
self.setId(id)
self.setName(name)
self.setLastname(lastname)
def setId(self, id: int) -> None:
if id:
self._id = '%04d' % id
else:
self._id = '%04d' % randint(0, 9999)
def getId(self) -> str:
return self._id
def setLastname(self, lastname: str) -> None:
self._lastname = lastname
def getLastname(self) -> str:
return self._lastname
def setName(self, name: str) -> None:
self._name = name
def getName(self) -> str:
return self._name
def serialize(self) -> dict:
return {"id": self.getId(),
"name": self.getName(),
"lastname": self.getLastname()}
def __str__(self) -> str:
return f"{self.getId()},{self.getName()},{self.getLastname()}\n"
| 23.928571 | 75 | 0.539303 | 116 | 1,005 | 4.517241 | 0.267241 | 0.057252 | 0.099237 | 0.097328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013062 | 0.314428 | 1,005 | 41 | 76 | 24.512195 | 0.74746 | 0 | 0 | 0 | 0 | 0 | 0.075622 | 0.053731 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.033333 | 0.166667 | 0.633333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
48fa4715381baf7256b45ea36bd95f5c665576ec | 960 | py | Python | evm/p2p/exceptions.py | vaporyco/py-evm | c66c5f289f83c71af3b5c499875de8d36ec196ce | [
"MIT"
] | null | null | null | evm/p2p/exceptions.py | vaporyco/py-evm | c66c5f289f83c71af3b5c499875de8d36ec196ce | [
"MIT"
] | null | null | null | evm/p2p/exceptions.py | vaporyco/py-evm | c66c5f289f83c71af3b5c499875de8d36ec196ce | [
"MIT"
] | null | null | null | from typing import TYPE_CHECKING
# Workaround for import cycles caused by type annotations:
# http://mypy.readthedocs.io/en/latest/common_issues.html#import-cycles
if TYPE_CHECKING:
from evm.p2p.p2p_proto import DisconnectReason # noqa: F401
class AuthenticationError(Exception):
pass
class DecryptionError(Exception):
pass
class PeerConnectionLost(Exception):
pass
class PeerDisconnected(Exception):
pass
class UnknownProtocolCommand(Exception):
pass
class UselessPeer(Exception):
pass
class UnreachablePeer(Exception):
pass
class EmptyGetBlockHeadersReply(Exception):
pass
class LESAnnouncementProcessingError(Exception):
pass
class TooManyTimeouts(Exception):
pass
class StopRequested(Exception):
pass
class HandshakeFailure(Exception):
def __init__(self, reason: 'DisconnectReason') -> None:
self.reason = reason
def __str__(self):
return self.reason.name
| 16 | 71 | 0.746875 | 99 | 960 | 7.121212 | 0.505051 | 0.202837 | 0.280851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006345 | 0.179167 | 960 | 59 | 72 | 16.271186 | 0.888325 | 0.141667 | 0 | 0.366667 | 0 | 0 | 0.019536 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0.366667 | 0.066667 | 0.033333 | 0.566667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
5b09c68507258761a2f0f6f48e80b5aaf0774337 | 7,514 | py | Python | coffee/expression.py | coneoproject/COFFEE | 70c1e66a4e4e39d3bf75274505a16901af110751 | [
"BSD-3-Clause"
] | 12 | 2015-03-28T12:44:05.000Z | 2020-08-10T17:00:32.000Z | coffee/expression.py | coneoproject/COFFEE | 70c1e66a4e4e39d3bf75274505a16901af110751 | [
"BSD-3-Clause"
] | 89 | 2015-01-05T13:30:30.000Z | 2019-09-11T18:49:20.000Z | coffee/expression.py | coneoproject/COFFEE | 70c1e66a4e4e39d3bf75274505a16901af110751 | [
"BSD-3-Clause"
] | 7 | 2015-01-23T13:37:50.000Z | 2018-09-10T07:46:02.000Z | # This file is part of COFFEE
#
# COFFEE is Copyright (c) 2014, Imperial College London.
# Please see the AUTHORS file in the main source directory for
# a full list of copyright holders. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * The name of Imperial College London or that of other
# contributors may not be used to endorse or promote products
# derived from this software without specific prior written
# permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTERS
# ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
# COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
# INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
# STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
# OF THE POSSIBILITY OF SUCH DAMAGE.
from __future__ import absolute_import, print_function, division
from six.moves import zip
from .utils import *
from collections import OrderedDict
class MetaExpr(object):
"""Metadata container for a compute-intensive expression."""
def __init__(self, type, parent, loops_info, mode=0):
"""Initialize the MetaExpr.
:param type: the C type of the expression.
:param parent: the node in which the expression is embedded.
:param loops_info: an iterator of 2-tuples; each tuple represents a loop
enclosing the expression (first entry) and its parent (second entry).
:param mode: the suggested rewrite mode.
"""
self._type = type
self._parent = parent
self._loops_info = list(loops_info)
self._mode = mode
@property
def type(self):
return self._type
@property
def dims(self):
return tuple(l.dim for l in self.loops)
@property
def linear_dims(self):
return tuple(l.dim for l in self.linear_loops)
@property
def out_linear_dims(self):
return tuple(d for d in self.dims if d not in self.linear_dims)
@property
def reduction_dims(self):
return tuple(l.dim for l in self.reduction_loops)
@property
def loops(self):
return list(zip(*self._loops_info))[0]
@property
def loops_from_dims(self):
return OrderedDict(zip(self.dims, self.loops))
@property
def loops_parents(self):
return list(zip(*self._loops_info))[1]
@property
def loops_info(self):
return self._loops_info
@property
def linear_loops(self):
return tuple([l for l in self.loops if l.is_linear])
@property
def linear_loops_parents(self):
return tuple([p for l, p in self._loops_info if l.is_linear])
@property
def linear_loops_info(self):
return tuple([(l, p) for l, p in self._loops_info if l.is_linear])
@property
def out_linear_loops(self):
return tuple([l for l in self.loops if l not in self.linear_loops])
@property
def out_linear_loops_parents(self):
return tuple([p for p in self.loops_parents if p not in self.linear_loops_parents])
@property
def out_linear_loops_info(self):
return tuple([i for i in self.loops_info if i not in self.linear_loops_info])
@property
def reduction_loops(self):
stmts = Find((Writer, Incr)).visit(self.parent)
if stmts[Incr]:
writers = flatten(stmts.values())
return tuple(l for l in self.loops
if all(l.dim not in i.lvalue.rank for i in writers))
else:
return ()
@property
def reduction_loops_parents(self):
retval = self.reduction_loops_info
return zip(*retval)[1] if retval else ()
@property
def reduction_loops_info(self):
return tuple((l, p) for l, p in self.loops_info if l in self.reduction_loops)
@property
def perfect_loops(self):
"""Return the loops in a perfect loop nest for the expression."""
return [l for l in self.loops if is_perfect_loop(l)]
@property
def parent(self):
return self._parent
@property
def outermost_loop(self):
return self.loops[0] if len(self.loops) > 0 else None
@property
def outermost_parent(self):
return self.loops_parents[0] if len(self.loops_parents) > 0 else None
@property
def outermost_linear_loop(self):
return self.linear_loops[0] if len(self.linear_loops) > 0 else None
@property
def outermost_linear_loop_parent(self):
return self.linear_loops_parents[0] if len(self.linear_loops_parents) > 0 else None
@property
def innermost_loop(self):
return self.loops[-1] if len(self.loops) > 0 else None
@property
def innermost_parent(self):
return self.loops_parents[-1] if len(self.loops_parents) > 0 else None
@property
def innermost_linear_loop(self):
return self.linear_loops[-1] if len(self.linear_loops) > 0 else None
@property
def innermost_linear_loop_parent(self):
return self.linear_loops_parents[-1] if len(self.linear_loops_parents) > 0 else None
@property
def dimension(self):
return len(self.linear_dims) if not self.is_scalar else 0
@property
def is_scalar(self):
return all([isinstance(i, int) for i in self.linear_dims])
@property
def is_tensor(self):
return not self.is_scalar
@property
def is_linear(self):
return self.dimension == 1
@property
def is_bilinear(self):
return self.dimension == 2
@property
def mode(self):
return self._mode
@mode.setter
def mode(self, value):
self._mode = value
def copy_metaexpr(expr_info, **kwargs):
"""Given a ``MetaExpr``, return a plain new ``MetaExpr`` starting from a
copy of ``expr_info``, and replaces some attributes as specified in
``kwargs``. ``kwargs`` accepts the following keys: parent, loops_info,
mode."""
parent = kwargs.get('parent', expr_info.parent)
mode = kwargs.get('mode', expr_info.mode)
new_loops_info, old_loops_info = [], expr_info.loops_info
to_replace_loops_info = kwargs.get('loops_info', [])
to_replace_loops_info = dict(zip([l.dim for l, p in to_replace_loops_info],
to_replace_loops_info))
for loop_info in old_loops_info:
loop_dim = loop_info[0].dim
if loop_dim in to_replace_loops_info:
new_loops_info.append(to_replace_loops_info[loop_dim])
else:
new_loops_info.append(loop_info)
return MetaExpr(expr_info.type, parent, new_loops_info, mode)
| 32.812227 | 92 | 0.680197 | 1,076 | 7,514 | 4.599442 | 0.217472 | 0.075571 | 0.039604 | 0.02748 | 0.369165 | 0.321883 | 0.274399 | 0.233583 | 0.188725 | 0.149727 | 0 | 0.005074 | 0.23942 | 7,514 | 228 | 93 | 32.95614 | 0.860892 | 0.308092 | 0 | 0.264706 | 0 | 0 | 0.003932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272059 | false | 0 | 0.029412 | 0.227941 | 0.573529 | 0.007353 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5b1ad204384f520532a95c1d25bab1f4b5001bd8 | 168 | py | Python | cses/intro/missing_number.py | alexandru-dinu/competitive-programming | 4515d221a649b3ab8bc012d01f38b9e4659e2e76 | [
"MIT"
] | null | null | null | cses/intro/missing_number.py | alexandru-dinu/competitive-programming | 4515d221a649b3ab8bc012d01f38b9e4659e2e76 | [
"MIT"
] | 6 | 2021-10-12T09:14:30.000Z | 2021-10-16T19:29:08.000Z | cses/intro/missing_number.py | alexandru-dinu/competitive-programming | 4515d221a649b3ab8bc012d01f38b9e4659e2e76 | [
"MIT"
] | null | null | null | from functools import reduce
from operator import xor
input()
xs = list(map(int, input().strip().split()))
print(reduce(xor, xs) ^ reduce(xor, range(1, len(xs) + 2)))
| 24 | 59 | 0.684524 | 27 | 168 | 4.259259 | 0.666667 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.130952 | 168 | 6 | 60 | 28 | 0.773973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d295a31d81a72980eedcb108c2e48d1cf29f9cac | 6,841 | py | Python | src/expression.py | IbraheemWazirUK/NDVerifier | 56d3fb5f09c481db193ec8f90b6d581d47550646 | [
"MIT"
] | null | null | null | src/expression.py | IbraheemWazirUK/NDVerifier | 56d3fb5f09c481db193ec8f90b6d581d47550646 | [
"MIT"
] | null | null | null | src/expression.py | IbraheemWazirUK/NDVerifier | 56d3fb5f09c481db193ec8f90b6d581d47550646 | [
"MIT"
] | null | null | null | from .helper import find_mutual, delete_mutual, print_list, append_no_dupl
class Exp():
def __init__(self):
pass
def eliminate(self, e, c):
pass
def introduction(self, e, c):
return False
# returns all expressions x such that self -> x
def implications(self, cur_true_exps):
res = []
for e in cur_true_exps:
if type(e) is Implies:
if e.fst == self:
append_no_dupl(e.snd, res)
return res
def __eq__(self, other):
return type(self) == type(other)
class BinOpExp(Exp):
def __init__(self, fst ,snd):
self.fst = fst
self.snd = snd
def __eq__(self, other):
return (type(self) == type(other)) and \
([self.fst, self.snd] == [other.fst, other.snd] or [self.fst, self.snd] == [other.snd, other.fst])
class UnOpExp(Exp):
def __init__(self, fst):
self.fst = fst
def __eq__(self, other):
return type(self) == type(other) and self.fst == other.fst
class And(BinOpExp):
# declares fst to be true and snd to be true
def eliminate(self, env, cur_true_exps):
for operand in [self.fst, self.snd]:
append_to_env(operand, env, cur_true_exps)
append_no_dupl(operand, cur_true_exps)
# returns true if fst is true and snd is true
def introduction(self, env, cur_true_exps):
if (self.fst in cur_true_exps) and (self.snd in cur_true_exps):
append_to_env(self, env, cur_true_exps)
append_no_dupl(self, cur_true_exps)
return True
return False
def __str__(self):
return '(' + self.fst.__str__() + ' and ' + self.snd.__str__() + ')'
class Or(BinOpExp):
# a -> c and b -> c and a v b |- c
def eliminate(self, env, cur_true_exps):
fst = self.fst.implications(cur_true_exps)
snd = self.snd.implications(cur_true_exps)
for mutual in find_mutual(fst, snd):
append_to_env(mutual, env, cur_true_exps)
append_no_dupl(mutual, cur_true_exps)
# returns true if fst is true or snd is true
def introduction(self, env, cur_true_exps):
if (self.fst in cur_true_exps) or (self.snd in cur_true_exps):
append_to_env(self, env, cur_true_exps)
append_no_dupl(self, cur_true_exps)
return True
return False
def __str__(self):
return '(' + self.fst.__str__() + ' or ' + self.snd.__str__() + ')'
class Not(UnOpExp):
# not not A |- A
# A, not A |- false
def eliminate(self, env, cur_true_exps):
if type(self.fst) is Not:
append_to_env(self.fst.fst, env, cur_true_exps)
append_no_dupl(self.fst.fst, cur_true_exps)
if self.fst in cur_true_exps:
append_to_env(F(), env, cur_true_exps)
append_no_dupl(F(), cur_true_exps)
# returns true if fst -> false is true
def introduction(self, env, cur_true_exps):
if len(env) > 1 and env[-1] and self.fst == env[-1][0]:
if F() in env[-1]:
delete_mutual(env[-1], cur_true_exps)
env.pop()
append_to_env(self, env, cur_true_exps)
append_no_dupl(self, cur_true_exps)
return True
return False
def __str__(self):
return '(' + 'not ' + self.fst.__str__() + ')'
class Implies(BinOpExp):
# p, p -> q |- q
# p or q, p -> a, q -> a |- a
def eliminate(self, env, cur_true_exps):
if self.fst in cur_true_exps:
append_to_env(self.snd, env, cur_true_exps)
append_no_dupl(self.snd, cur_true_exps)
if len(find_mutual(find_ifs(self.snd, cur_true_exps), find_ors(self.fst, cur_true_exps))) > 0:
append_to_env(self.snd, env, cur_true_exps)
append_no_dupl(self.snd, cur_true_exps)
# returns true if fst is assumed and snd is derived to be true
def introduction(self, env, cur_true_exps):
if len(env) > 1 and env[-1] and self.fst == env[-1][0]:
if self.snd in env[-1]:
delete_mutual(env[-1], cur_true_exps)
env.pop()
append_to_env(self, env, cur_true_exps)
append_no_dupl(self, cur_true_exps)
return True
return False;
def __str__(self):
return '(' + self.fst.__str__() + ' -> ' + self.snd.__str__() + ')'
def __eq__(self, other):
return type(self) == type(other) and [self.fst, self.snd] == [other.fst, other.snd]
# p <-> q treated as p -> q and q -> p
class Iff(Exp):
def eliminate(self, env, cur_true_exps):
if self.fst in cur_true_exps:
append_no_dupl(self.snd, env[-1])
append_no_dupl(self.snd, cur_true_exps)
elif self.snd in cur_true_exps:
append_no_dupl(self.fst, env[-1])
append_no_dupl(self.fst, cur_true_exps)
if len(find_mutual(find_ifs(self.snd, cur_true_exps), find_ors(self.fst, cur_true_exps))) > 0:
append_to_env(self.snd, env, cur_true_exps)
append_no_dupl(self.snd, cur_true_exps)
elif len(find_mutual(find_ifs(self.fst, cur_true_exps), find_ors(self.snd, cur_true_exps))) > 0:
append_to_env(self.fst, env, cur_true_exps)
append_no_dupl(self.fst, cur_true_exps)
def introduction(self, env, cur_true_exps):
return Implies(self.fst, self.snd) in cur_true_exps and Implies(self.snd, self.fst) in cur_true_exps;
def __str__(self):
return '(' + self.fst.__str__() + ' <-> ' + self.snd.__str__() + ')'
class Var(UnOpExp):
def __str__(self):
return self.fst.__str__()
class T(Exp):
def __str__(self):
return 'true'
class F(Exp):
# A, not A |- false
def introduction(self, env, cur_true_exps):
for exp in find_nots(cur_true_exps):
if exp in cur_true_exps:
append_to_env(self, env, cur_true_exps)
append_no_dupl(self, cur_true_exps)
return True
return False
def __str__(self):
return 'false'
# finds all expressions x such that not x is true
def find_nots(cur_true_exps):
res = []
for exp in cur_true_exps:
if type(exp) is Not:
append_no_dupl(exp.fst, res)
return res
# if false has been derived then any expression in the block is true
def check_false(exp, env, cur_true_exps):
if F() in cur_true_exps:
append_to_env(exp, env, cur_true_exps)
append_no_dupl(exp, cur_true_exps)
return True
return False
# finds all expressions x such that x -> exp
def find_ifs(exp, cur_true_exps):
res = []
for e in cur_true_exps:
if type(e) is Implies:
if e.snd == exp:
append_no_dupl(e.fst, res)
if type(e) is Iff:
if exp == e.fst:
append_no_dupl(e.snd, res)
elif exp == e.snd:
append_no_dupl(e.fst, res)
return res
# finds all expressions x such that x or exp is true
def find_ors(exp, cur_true_exps):
res = []
for e in cur_true_exps:
if type(e) is Or:
if e.fst == exp:
append_no_dupl(e.snd, res)
elif e.snd == exp:
append_no_dupl(e.fst, res)
return res
# returns true if there exists an expression x such that x is true and x -> exp
def check_ifs(exp, env, cur_true_exps):
for e in find_ifs(exp, cur_true_exps):
if e in cur_true_exps:
append_to_env(exp, env, cur_true_exps)
append_no_dupl(exp, cur_true_exps)
return True
return False
def append_to_env(exp, env, cur_true_exps):
if exp not in cur_true_exps:
append_no_dupl(exp, env[-1])
def final_check(exp, env, cur_true_exps):
return check_false(exp, env, cur_true_exps) or check_ifs(exp,env, cur_true_exps)
| 28.743697 | 103 | 0.695512 | 1,217 | 6,841 | 3.598192 | 0.073131 | 0.132679 | 0.208495 | 0.102306 | 0.763873 | 0.71272 | 0.673898 | 0.566111 | 0.501941 | 0.458095 | 0 | 0.003211 | 0.180675 | 6,841 | 238 | 104 | 28.743697 | 0.778055 | 0.105832 | 0 | 0.534091 | 0 | 0 | 0.006722 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.204545 | false | 0.011364 | 0.005682 | 0.085227 | 0.460227 | 0.005682 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d2a099fa3a08d9eb49498b2610baf18a19c20c10 | 858 | py | Python | src/xml_editors/IDLocators.py | rdok/cyberpunk2077-r6-config-editor | d4149e91bbeeb641c7e8f85be468085b251c6ae7 | [
"MIT"
] | 1 | 2021-01-03T21:15:14.000Z | 2021-01-03T21:15:14.000Z | src/xml_editors/IDLocators.py | rdok/cyberpunk2077-r6-config-editor | d4149e91bbeeb641c7e8f85be468085b251c6ae7 | [
"MIT"
] | 8 | 2020-12-25T18:32:12.000Z | 2021-11-05T20:48:14.000Z | src/xml_editors/IDLocators.py | rdok/cyberpunk2077-r6-config-editor | d4149e91bbeeb641c7e8f85be468085b251c6ae7 | [
"MIT"
] | null | null | null | from xml.etree import ElementTree
class IDLocators:
def back(self, root: ElementTree):
xpath = './/mapping[@name="LeftY_Axis"]' \
'//button[@overridableUI="back"]'
element = root.find(xpath)
return element.get('id')
def forward(self, root):
xpath = './/mapping[@name="LeftY_Axis"]' \
'//button[@overridableUI="forward"]'
element = root.find(xpath)
return element.get('id')
def left(self, root):
xpath = './/mapping[@name="LeftX_Axis"]' \
'//button[@overridableUI="left"]'
element = root.find(xpath)
return element.get('id')
def right(self, root):
xpath = './/mapping[@name="LeftX_Axis"]' \
'//button[@overridableUI="right"]'
element = root.find(xpath)
return element.get('id')
| 30.642857 | 52 | 0.548951 | 88 | 858 | 5.306818 | 0.306818 | 0.068522 | 0.137045 | 0.171306 | 0.773019 | 0.755889 | 0.755889 | 0.567452 | 0.486081 | 0 | 0 | 0 | 0.27972 | 858 | 27 | 53 | 31.777778 | 0.755663 | 0 | 0 | 0.545455 | 0 | 0 | 0.298368 | 0.289044 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.045455 | 0 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d2af8e00bed1c53b592845891938f68ff164b628 | 344 | py | Python | Task/Pragmatic-directives/Python/pragmatic-directives-1.py | LaudateCorpus1/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:38.000Z | 2018-11-09T22:08:38.000Z | Task/Pragmatic-directives/Python/pragmatic-directives-1.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | null | null | null | Task/Pragmatic-directives/Python/pragmatic-directives-1.py | seanwallawalla-forks/RosettaCodeData | 9ad63ea473a958506c041077f1d810c0c7c8c18d | [
"Info-ZIP"
] | 1 | 2018-11-09T22:08:40.000Z | 2018-11-09T22:08:40.000Z | Python 3.2 (r32:88445, Feb 20 2011, 21:30:00) [MSC v.1500 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> import __future__
>>> __future__.all_feature_names
['nested_scopes', 'generators', 'division', 'absolute_import', 'with_statement', 'print_function', 'unicode_literals', 'barry_as_FLUFL']
>>>
| 49.142857 | 136 | 0.726744 | 48 | 344 | 4.854167 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.100649 | 0.104651 | 344 | 6 | 137 | 57.333333 | 0.655844 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.166667 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d2ccf032e46ef7d62b6249533417a52bdb433455 | 280 | py | Python | tests/unit/plugins/filter/test_foo.py | pedrohdz-scrap/ansible-collection-devenv | 4287d596f7928e08779d70f4f7435ef1fca4c5c9 | [
"Apache-2.0"
] | null | null | null | tests/unit/plugins/filter/test_foo.py | pedrohdz-scrap/ansible-collection-devenv | 4287d596f7928e08779d70f4f7435ef1fca4c5c9 | [
"Apache-2.0"
] | null | null | null | tests/unit/plugins/filter/test_foo.py | pedrohdz-scrap/ansible-collection-devenv | 4287d596f7928e08779d70f4f7435ef1fca4c5c9 | [
"Apache-2.0"
] | 1 | 2021-09-11T12:58:36.000Z | 2021-09-11T12:58:36.000Z | from __future__ import absolute_import, division, print_function
__metaclass__ = type
import pytest
from plugins.filter.normalize_pyvenv_apps import convert_string
def test_convert_string():
assert convert_string('foo') == {'name': 'foo'}
def test_foo():
assert True
| 20 | 64 | 0.775 | 36 | 280 | 5.555556 | 0.638889 | 0.195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139286 | 280 | 13 | 65 | 21.538462 | 0.829876 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.625 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d2fba40b75351d8b7d27a9d1439cdfb7e1c3567a | 2,895 | py | Python | pythran/tests/test_numpy_linalg.py | rfiischer/pythran | a580245b1b45e5eb0df01c518e442041b89afa21 | [
"BSD-3-Clause"
] | 1 | 2020-07-21T10:01:20.000Z | 2020-07-21T10:01:20.000Z | pythran/tests/test_numpy_linalg.py | lsix/pythran | dc2b0544c49a8f9fc278fc91de32b0cc97a3ef40 | [
"BSD-3-Clause"
] | null | null | null | pythran/tests/test_numpy_linalg.py | lsix/pythran | dc2b0544c49a8f9fc278fc91de32b0cc97a3ef40 | [
"BSD-3-Clause"
] | null | null | null | import unittest
from pythran.tests import TestEnv
import numpy
from pythran.typing import NDArray
@TestEnv.module
class TestNumpyLinalg(TestEnv):
def test_linalg_norm0(self):
self.run_test("def linalg_norm0(x): from numpy.linalg import norm ; return norm(x)", numpy.arange(6.), linalg_norm0=[NDArray[float,:]])
def test_linalg_norm1(self):
self.run_test("def linalg_norm1(x): from numpy.linalg import norm ; return norm(x)", numpy.arange(6.).reshape(2,3), linalg_norm1=[NDArray[float,:,:]])
def test_linalg_norm2(self):
self.run_test("def linalg_norm2(x): from numpy.linalg import norm ; from numpy import inf ; return norm(x, inf)", numpy.arange(6.), linalg_norm2=[NDArray[float,:]])
def test_linalg_norm3(self):
self.run_test("def linalg_norm3(x): from numpy.linalg import norm ; from numpy import inf ; return norm(x, -inf)", numpy.arange(6.), linalg_norm3=[NDArray[float,:]])
def test_linalg_norm4(self):
self.run_test("def linalg_norm4(x): from numpy.linalg import norm ; from numpy import inf ; return norm(x, 0)", numpy.arange(6.), linalg_norm4=[NDArray[float,:]])
def test_linalg_norm5(self):
self.run_test("def linalg_norm5(x): from numpy.linalg import norm ; from numpy import inf ; return norm(x, ord=inf, axis=1)", (numpy.arange(9) - 4).reshape((3,3)), linalg_norm5=[NDArray[int,:,:]])
def test_linalg_norm6(self):
self.run_test("def linalg_norm6(x): from numpy.linalg import norm ; from numpy import inf ; return norm(x, ord=5, axis=(0,))", (numpy.arange(9) - 4).reshape((3,3)), linalg_norm6=[NDArray[int,:,:]])
def test_linalg_norm7(self):
self.run_test("def linalg_norm7(x): from numpy.linalg import norm ; return norm(x)", numpy.arange(6).reshape(2,3), linalg_norm7=[NDArray[int,:,:]])
def test_linalg_norm_pydoc(self):
self.run_test('''
def linalg_norm_pydoc(x):
import numpy as np
from numpy import linalg as LA
a = np.arange(9) - x
b = a.reshape((3, 3))
c = np.array([[ 1, 2, 3], [-1, 1, x]])
return (LA.norm(a), LA.norm(b),
LA.norm(a, np.Inf), #LA.norm(b, np.inf),
LA.norm(a, -np.inf), #LA.norm(b, -np.inf),
LA.norm(a, 1), #LA.norm(b, 1),
LA.norm(a, -1), #LA.norm(b, -1),
LA.norm(a, 2), #LA.norm(b, 2),
LA.norm(a, -2), #LA.norm(b, -2),
LA.norm(a, 3), LA.norm(a, -3),
LA.norm(c, axis=0),
LA.norm(c, axis=1),
LA.norm(c, ord=1, axis=1),
)''',
10, linalg_norm_pydoc=[int])
| 52.636364 | 205 | 0.557168 | 412 | 2,895 | 3.798544 | 0.126214 | 0.072843 | 0.07476 | 0.086262 | 0.702875 | 0.578914 | 0.43131 | 0.43131 | 0.395527 | 0.395527 | 0 | 0.033981 | 0.288428 | 2,895 | 54 | 206 | 53.611111 | 0.725728 | 0 | 0 | 0 | 0 | 0.162791 | 0.577548 | 0.007254 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0 | 0.325581 | 0 | 0.581395 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
d2ffcd3bc5b6787cfb95abe4beab1b1f2dc44f87 | 167 | py | Python | tests/test_client.py | jdewinne/pyspinnaker | 6ba610dc518217e0750b46cd0aeebbdee75b5a9d | [
"MIT"
] | null | null | null | tests/test_client.py | jdewinne/pyspinnaker | 6ba610dc518217e0750b46cd0aeebbdee75b5a9d | [
"MIT"
] | 1 | 2021-06-01T22:58:18.000Z | 2021-06-01T22:58:18.000Z | tests/test_client.py | jdewinne/pyspinnaker | 6ba610dc518217e0750b46cd0aeebbdee75b5a9d | [
"MIT"
] | 1 | 2019-06-04T02:25:50.000Z | 2019-06-04T02:25:50.000Z | from spinnaker import SpinnakerClient
class TestClient(object):
def test_init(self):
x = SpinnakerClient("http://localhost")
assert x is not None
| 23.857143 | 47 | 0.694611 | 20 | 167 | 5.75 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221557 | 167 | 6 | 48 | 27.833333 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0.095808 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
960565c4907c1ca6487881e0b2340b54f7fb2b99 | 1,446 | py | Python | service/User/service.py | mackness33/Twitter-Tracker | dc1709df40332dfe3ff23f4da326d855277398cb | [
"MIT"
] | 1 | 2021-11-25T14:35:01.000Z | 2021-11-25T14:35:01.000Z | service/User/service.py | mackness33/Twitter-Tracker | dc1709df40332dfe3ff23f4da326d855277398cb | [
"MIT"
] | null | null | null | service/User/service.py | mackness33/Twitter-Tracker | dc1709df40332dfe3ff23f4da326d855277398cb | [
"MIT"
] | null | null | null | from ..core_model import Service
from database.models.odm_user_mongo import user
from .user import User
from flask import flash
from werkzeug.security import generate_password_hash, check_password_hash
class UsersService(Service):
__model__ = user
__return_class__ = User
__collection__ = "user"
def __init__(self):
self._active_users = []
def authentication(self, user, psw):
usr = None
try:
usr = self.find_one(EMAIL = user)
except Exception as e:
flash('Wrong username or password')
print('Wrong username or password')
return None
# if user doesn't exist or password is wrong, reload the page
if usr is None:
flash('Wrong username or password')
print('{} not found'.format(user))
return None
# if the above check passes, then we know the user has the right credentials
if not check_password_hash(usr["PASSWORD"], psw) or usr["PASSWORD"] == "":
flash('Wrong username or password')
print('Wrong password from {}'.format(user))
return None
return usr['SECOND_KEY']
def add_user(self, user_id):
_active_users.append(User(user_id, ""))
def del_user(self, user):
_active_users.remove(user)
def print_users(self):
for u in self._active_users:
print("USERNAME: {}".format(u._id))
| 29.510204 | 84 | 0.625173 | 183 | 1,446 | 4.710383 | 0.393443 | 0.058005 | 0.069606 | 0.106729 | 0.12645 | 0.12645 | 0.088167 | 0 | 0 | 0 | 0 | 0 | 0.284924 | 1,446 | 48 | 85 | 30.125 | 0.833656 | 0.092669 | 0 | 0.171429 | 1 | 0 | 0.13751 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.2 | 0.142857 | 0 | 0.514286 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
9613afd635936be89fc56e9cc269418e0f539deb | 902 | py | Python | python/simplepvr/simple_pvr/pvr_initializer.py | olefriis/simplepvr | 8047d0f0de8caafcea89fbc42337273e34ed101c | [
"WTFPL"
] | 5 | 2015-01-27T01:11:36.000Z | 2022-03-22T20:54:55.000Z | python/simplepvr/simple_pvr/pvr_initializer.py | olefriis/simplepvr | 8047d0f0de8caafcea89fbc42337273e34ed101c | [
"WTFPL"
] | null | null | null | python/simplepvr/simple_pvr/pvr_initializer.py | olefriis/simplepvr | 8047d0f0de8caafcea89fbc42337273e34ed101c | [
"WTFPL"
] | null | null | null | # -*- coding: <utf-8> -*-
from .config import config
from datetime import timedelta
import os
from time import sleep
from .master_import import HDHomeRun
from .master_import import RecordingManager
from .master_import import Scheduler
from .server import app
_config_recordings_path = config.get('SimplePVR', 'recordings_path')
__hdhomerun = HDHomeRun()
recordings_path = _config_recordings_path
__recording_manager = RecordingManager(recordings_directory=recordings_path)
__scheduler = Scheduler()
def scheduler():
return __scheduler
def recording_manager():
return __recording_manager
def hdhomerun():
return __hdhomerun
def setup():
from .master_import import Channel
__scheduler.setDaemon(True)
__scheduler.start()
if not Channel.query.all():
__hdhomerun.scan_for_channels()
def sleep_forever():
forever = timedelta(days=6000)
sleep(forever) | 21.47619 | 76 | 0.768293 | 104 | 902 | 6.298077 | 0.394231 | 0.10687 | 0.09771 | 0.134351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006536 | 0.151885 | 902 | 42 | 77 | 21.47619 | 0.849673 | 0.025499 | 0 | 0 | 0 | 0 | 0.027335 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.178571 | false | 0 | 0.321429 | 0.107143 | 0.607143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
961d785d817363756add300541bad4dcaab09751 | 407 | py | Python | utils/context.py | rompdodger/RompDodger | 9c8b481d9f69e05c15f01271f6c18e09ab2723e6 | [
"MIT"
] | null | null | null | utils/context.py | rompdodger/RompDodger | 9c8b481d9f69e05c15f01271f6c18e09ab2723e6 | [
"MIT"
] | null | null | null | utils/context.py | rompdodger/RompDodger | 9c8b481d9f69e05c15f01271f6c18e09ab2723e6 | [
"MIT"
] | null | null | null | import discord
from discord.ext import commands
class Context(commands.Context):
"""Custom context"""
def __init__(self, **kwargs):
super().__init__(**kwargs)
@property
def session(self):
return self.bot.session
@property
def db(self):
return self.bot.db
def green_tick(self):
return "<:greenTick:699877218779660338>"
def red_tick(self):
return "<:redTick:699877187758588024>" | 19.380952 | 42 | 0.714988 | 50 | 407 | 5.62 | 0.5 | 0.142349 | 0.099644 | 0.120996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104348 | 0.152334 | 407 | 21 | 43 | 19.380952 | 0.710145 | 0.034398 | 0 | 0.133333 | 0 | 0 | 0.154639 | 0.154639 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.133333 | 0.266667 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
82657dfefdc6cc6b96d89ad990bde80ff0c4fecb | 738 | py | Python | ImageData.py | FrieAT/MD_CompressedWavelet | 82bd10edd611485cd5f0b81da744e07a3b7c98eb | [
"MIT"
] | 2 | 2020-03-28T11:50:45.000Z | 2020-12-08T13:36:26.000Z | ImageData.py | FrieAT/MD_CompressedWavelet | 82bd10edd611485cd5f0b81da744e07a3b7c98eb | [
"MIT"
] | 2 | 2020-04-20T11:12:59.000Z | 2020-05-11T05:37:36.000Z | ImageData.py | FrieAT/MD_CompressedWavelet | 82bd10edd611485cd5f0b81da744e07a3b7c98eb | [
"MIT"
] | null | null | null | from OrigPic import OrigPic
from WaveletPic import WaveletPic
from StationaryWaveletPic import StationaryWaveletPic
from FVExtraction import FVExtraction
from ScanAssets import ScanAssets
from PipelineManager import PipelineManager
from LOOCV import LOOCV
from EuclideanDistance import EuclideanDistance
from kNearestNeighbour import kNearestNeighbour
from DTCWaveletPic import DTCWaveletPic
from CachedFile import CachedFile
from CropImageByClass import CropImageByClass
from SavePic import SavePic
from TargetCompressedByType import TargetCompressedByType
from ConvertFormat import ConvertFormat
from NIQE import NIQE
from BIQAA import BIQAA
from EncodeToFileList import EncodeToFileList
from IProcess import CachedFileLoadedException
| 35.142857 | 57 | 0.895664 | 76 | 738 | 8.697368 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104336 | 738 | 20 | 58 | 36.9 | 1 | 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 | 0 | 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 | 3 |
826de85c29ed45f5e379200f14cee2abd73bdc3d | 310 | py | Python | cogs/Watchafaboulas.py | Ree23/Discord-bot | 312994df2f146ae4bc2c55ad6aefb4fb33b63b0f | [
"MIT"
] | null | null | null | cogs/Watchafaboulas.py | Ree23/Discord-bot | 312994df2f146ae4bc2c55ad6aefb4fb33b63b0f | [
"MIT"
] | null | null | null | cogs/Watchafaboulas.py | Ree23/Discord-bot | 312994df2f146ae4bc2c55ad6aefb4fb33b63b0f | [
"MIT"
] | null | null | null | from discord.ext import commands
class Watchafaboulas:
def __init__(self, Human_Boi):
self.Human_Boi = Human_Boi
@commands.command(name="ping")
async def ping(self, ctx):
await ctx.send("pong")
def setup(Human_Boi):
Human_Boi.add_cog(Watchafaboulas(Human_Boi))
| 22.142857 | 49 | 0.667742 | 41 | 310 | 4.780488 | 0.560976 | 0.244898 | 0.122449 | 0.163265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229032 | 310 | 13 | 50 | 23.846154 | 0.820084 | 0 | 0 | 0 | 0 | 0 | 0.026936 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
828762659c703b698d4c008a37cf7c76040628a5 | 21,130 | py | Python | stubs.min/Autodesk/Revit/DB/Structure/__init___parts/RebarContainerItem.py | ricardyn/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | 1 | 2021-02-02T13:39:16.000Z | 2021-02-02T13:39:16.000Z | stubs.min/Autodesk/Revit/DB/Structure/__init___parts/RebarContainerItem.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | stubs.min/Autodesk/Revit/DB/Structure/__init___parts/RebarContainerItem.py | hdm-dt-fb/ironpython-stubs | 4d2b405eda3ceed186e8adca55dd97c332c6f49d | [
"MIT"
] | null | null | null | class RebarContainerItem(object,IDisposable):
""" Provides implementation for Rebar stored in RebarContainer. """
def CanApplyPresentationMode(self,dBView):
"""
CanApplyPresentationMode(self: RebarContainerItem,dBView: View) -> bool
Checks if a presentation mode can be applied for this rebar in the given view.
dBView: The view in which presentation mode will be applied.
Returns: True if presentation mode can be applied for this view,false otherwise.
"""
pass
def CanUseHookType(self,proposedHookId):
"""
CanUseHookType(self: RebarContainerItem,proposedHookId: ElementId) -> bool
Checks if the specified RebarHookType id is of a valid RebarHookType for the
Rebar's RebarBarType
proposedHookId: The Id of the RebarHookType
Returns: Returns true if the id is of a valid RebarHookType for the Rebar element.
"""
pass
def ClearPresentationMode(self,dBView):
"""
ClearPresentationMode(self: RebarContainerItem,dBView: View)
Sets the presentation mode for this rebar set to the default (either for a
single view,or for all views).
dBView: The view where the presentation mode will be cleared. NULL for all views
"""
pass
def ComputeDrivingCurves(self):
"""
ComputeDrivingCurves(self: RebarContainerItem) -> IList[Curve]
Compute the driving curves.
Returns: Returns an empty array if an error is encountered.
"""
pass
def Dispose(self):
""" Dispose(self: RebarContainerItem) """
pass
def DoesBarExistAtPosition(self,barPosition):
"""
DoesBarExistAtPosition(self: RebarContainerItem,barPosition: int) -> bool
Checks whether a bar exists at the specified position.
barPosition: A bar position index between 0 and NumberOfBarPositions-1.
"""
pass
def FindMatchingPredefinedPresentationMode(self,dBView):
"""
FindMatchingPredefinedPresentationMode(self: RebarContainerItem,dBView: View) -> RebarPresentationMode
Determines if there is a matching RebarPresentationMode for the current set of
selected hidden and unhidden bars assigned to the given view.
dBView: The view.
Returns: The presentation mode that matches the current set of selected hidden and
unhidden bars.
If there is no better match,this returns
RebarPresentationMode.Select.
"""
pass
def GetBarPositionTransform(self,barPositionIndex):
"""
GetBarPositionTransform(self: RebarContainerItem,barPositionIndex: int) -> Transform
Return a transform representing the relative position of any
individual bar
in the set.
barPositionIndex: An index between 0 and (NumberOfBarPositions-1).
Returns: The position of a bar in the set relative to the first position.
"""
pass
def GetBendData(self):
"""
GetBendData(self: RebarContainerItem) -> RebarBendData
Gets the RebarBendData,containing bar and hook information,of the instance.
"""
pass
def GetCenterlineCurves(self,adjustForSelfIntersection,suppressHooks,suppressBendRadius,multiplanarOption=None):
"""
GetCenterlineCurves(self: RebarContainerItem,adjustForSelfIntersection: bool,suppressHooks: bool,suppressBendRadius: bool) -> IList[Curve]
A chain of curves representing the centerline of the rebar.
adjustForSelfIntersection: If the curves overlap,as in a planar stirrup,this parameter controls
whether they should be adjusted to avoid intersection (as in fine views),
or kept in a single plane for simplicity (as in coarse views).
suppressHooks: Identifies if the chain will include hooks curves.
suppressBendRadius: Identifies if the connected chain will include unfilleted curves.
Returns: The centerline curves or empty array if the curves cannot be computed because
the parameters values are inconsistent
with the constraints of the
RebarShape definition.
GetCenterlineCurves(self: RebarContainerItem,adjustForSelfIntersection: bool,suppressHooks: bool,suppressBendRadius: bool,multiplanarOption: MultiplanarOption) -> IList[Curve]
A chain of curves representing the centerline of the rebar.
adjustForSelfIntersection: If the curves overlap,as in a planar stirrup,this parameter controls
whether they should be adjusted to avoid intersection (as in fine views),
or kept in a single plane for simplicity (as in coarse views).
suppressHooks: Identifies if the chain will include hooks curves.
suppressBendRadius: Identifies if the connected chain will include unfilleted curves.
multiplanarOption: If the Rebar is a multi-planar shape,this parameter controls whether to
generate only
the curves in the primary plane (IncludeOnlyPlanarCurves),or
to generate all curves,
(IncludeAllMultiplanarCurves) including the
out-of-plane connector segments as well as
multi-planar copies of the
primary plane curves.
This argument is ignored for planar shapes.
Returns: The centerline curves or empty array if the curves cannot be computed because
the parameters values are inconsistent
with the constraints of the
RebarShape definition.
"""
pass
def GetDistributionPath(self):
"""
GetDistributionPath(self: RebarContainerItem) -> Line
The distribution path of a rebar set.
Returns: A line beginning at (0,0,0) and representing the direction and
length of
the set.
"""
pass
def GetHookOrientation(self,iEnd):
"""
GetHookOrientation(self: RebarContainerItem,iEnd: int) -> RebarHookOrientation
Returns the orientation of the hook plane at the start or at the end of the
rebar with respect to the orientation of the first or the last curve and the
plane normal.
iEnd: 0 for the start hook,1 for the end hook.
Returns: Value=Right: The hook is on your right as you stand at the end of the bar,
with the bar behind you,taking the bar's normal as "up."
Value=Left:
The hook is on your left as you stand at the end of the bar,
with the bar
behind you,taking the bar's normal as "up."
"""
pass
def GetHookTypeId(self,end):
"""
GetHookTypeId(self: RebarContainerItem,end: int) -> ElementId
Get the id of the RebarHookType to be applied to the rebar.
end: 0 for the start hook,1 for the end hook.
Returns: The id of a RebarHookType,or invalidElementId if the rebar has
no hook at
the specified end.
"""
pass
def GetPresentationMode(self,dBView):
"""
GetPresentationMode(self: RebarContainerItem,dBView: View) -> RebarPresentationMode
Gets the presentaion mode for this rebar set when displayed in the given view.
dBView: The view.
Returns: The presentation mode.
"""
pass
def HasPresentationOverrides(self,dBView):
"""
HasPresentationOverrides(self: RebarContainerItem,dBView: View) -> bool
Identifies if this rebar set has overridden default presentation settings for
the given view.
dBView: The view.
Returns: True if this rebar set has overriden default presentation settings,false
otherwise.
"""
pass
def IsBarHidden(self,view,barIndex):
"""
IsBarHidden(self: RebarContainerItem,view: View,barIndex: int) -> bool
Identifies if a given bar in this rebar set is hidden in this view.
view: The view.
barIndex: The index of the bar from this rebar set.
Returns: True if the bar is hidden in this view,false otherwise.
"""
pass
def IsRebarInSection(self,dBView):
"""
IsRebarInSection(self: RebarContainerItem,dBView: View) -> bool
Identifies if this rebar set is shown as a cross-section in the given view.
dBView: The view.
Returns: True if this rebar set is shown as a cross-section,false otherwise.
"""
pass
def ReleaseUnmanagedResources(self,*args):
""" ReleaseUnmanagedResources(self: RebarContainerItem,disposing: bool) """
pass
def SetBarHiddenStatus(self,view,barIndex,hide):
"""
SetBarHiddenStatus(self: RebarContainerItem,view: View,barIndex: int,hide: bool)
Sets the bar in this rebar set to be hidden or unhidden in the given view.
view: The view.
barIndex: The index of the bar from this set.
hide: True to hide this bar in the view,false to unhide the bar.
"""
pass
def SetFromCurves(self,style,barType,startHook,endHook,norm,curves,startHookOrient,endHookOrient,useExistingShapeIfPossible,createNewShape):
""" SetFromCurves(self: RebarContainerItem,style: RebarStyle,barType: RebarBarType,startHook: RebarHookType,endHook: RebarHookType,norm: XYZ,curves: IList[Curve],startHookOrient: RebarHookOrientation,endHookOrient: RebarHookOrientation,useExistingShapeIfPossible: bool,createNewShape: bool) """
pass
def SetFromCurvesAndShape(self,rebarShape,barType,startHook,endHook,norm,curves,startHookOrient,endHookOrient):
""" SetFromCurvesAndShape(self: RebarContainerItem,rebarShape: RebarShape,barType: RebarBarType,startHook: RebarHookType,endHook: RebarHookType,norm: XYZ,curves: IList[Curve],startHookOrient: RebarHookOrientation,endHookOrient: RebarHookOrientation) """
pass
def SetFromRebar(self,rebar):
"""
SetFromRebar(self: RebarContainerItem,rebar: Rebar)
Set an instance of a RebarContainerItem element according to a Rebar parameters.
rebar: The Rebar.
"""
pass
def SetFromRebarShape(self,rebarShape,barType,origin,xVec,yVec):
"""
SetFromRebarShape(self: RebarContainerItem,rebarShape: RebarShape,barType: RebarBarType,origin: XYZ,xVec: XYZ,yVec: XYZ)
Set an instance of a RebarContainerItem element,as an instance of a
RebarShape.
The instance will have the default shape parameters from the
RebarShape,
and its location is based on the bounding box of the shape in
the shape definition.
Hooks are removed from the shape before computing its
bounding box.
If appropriate hooks can be found in the document,they will
be assigned arbitrarily.
rebarShape: A RebarShape element that defines the shape of the rebar.
barType: A RebarBarType element that defines bar diameter,bend radius and material of
the rebar.
origin: The lower-left corner of the shape's bounding box will be placed at this point
in the project.
xVec: The x-axis in the shape definition will be mapped to this direction in the
project.
yVec: The y-axis in the shape definition will be mapped to this direction in the
project.
"""
pass
def SetHookOrientation(self,iEnd,hookOrientation):
"""
SetHookOrientation(self: RebarContainerItem,iEnd: int,hookOrientation: RebarHookOrientation)
Defines the orientation of the hook plane at the start or at the end of the
rebar with respect to the orientation of the first or the last curve and the
plane normal.
iEnd: 0 for the start hook,1 for the end hook.
hookOrientation: Only two values are permitted:
Value=Right: The hook is on your right as
you stand at the end of the bar,
with the bar behind you,taking the bar's
normal as "up."
Value=Left: The hook is on your left as you stand at the
end of the bar,
with the bar behind you,taking the bar's normal as "up."
"""
pass
def SetHookTypeId(self,end,hookTypeId):
"""
SetHookTypeId(self: RebarContainerItem,end: int,hookTypeId: ElementId)
Set the id of the RebarHookType to be applied to the rebar.
end: 0 for the start hook,1 for the end hook.
hookTypeId: The id of a RebarHookType element,or invalidElementId if
the rebar should
have no hook at the specified end.
"""
pass
def SetLayoutAsFixedNumber(self,numberOfBarPositions,arrayLength,barsOnNormalSide,includeFirstBar,includeLastBar):
"""
SetLayoutAsFixedNumber(self: RebarContainerItem,numberOfBarPositions: int,arrayLength: float,barsOnNormalSide: bool,includeFirstBar: bool,includeLastBar: bool)
Sets the Layout Rule property of rebar set to FixedNumber.
numberOfBarPositions: The number of bar positions in rebar set
arrayLength: The distribution length of rebar set
barsOnNormalSide: Identifies if the bars of the rebar set are on the same side of the rebar plane
indicated by the normal
includeFirstBar: Identifies if the first bar in rebar set is shown
includeLastBar: Identifies if the last bar in rebar set is shown
"""
pass
def SetLayoutAsMaximumSpacing(self,spacing,arrayLength,barsOnNormalSide,includeFirstBar,includeLastBar):
"""
SetLayoutAsMaximumSpacing(self: RebarContainerItem,spacing: float,arrayLength: float,barsOnNormalSide: bool,includeFirstBar: bool,includeLastBar: bool)
Sets the Layout Rule property of rebar set to MaximumSpacing
spacing: The maximum spacing between rebar in rebar set
arrayLength: The distribution length of rebar set
barsOnNormalSide: Identifies if the bars of the rebar set are on the same side of the rebar plane
indicated by the normal
includeFirstBar: Identifies if the first bar in rebar set is shown
includeLastBar: Identifies if the last bar in rebar set is shown
"""
pass
def SetLayoutAsMinimumClearSpacing(self,spacing,arrayLength,barsOnNormalSide,includeFirstBar,includeLastBar):
"""
SetLayoutAsMinimumClearSpacing(self: RebarContainerItem,spacing: float,arrayLength: float,barsOnNormalSide: bool,includeFirstBar: bool,includeLastBar: bool)
Sets the Layout Rule property of rebar set to MinimumClearSpacing
spacing: The maximum spacing between rebar in rebar set
arrayLength: The distribution length of rebar set
barsOnNormalSide: Identifies if the bars of the rebar set are on the same side of the rebar plane
indicated by the normal
includeFirstBar: Identifies if the first bar in rebar set is shown
includeLastBar: Identifies if the last bar in rebar set is shown
"""
pass
def SetLayoutAsNumberWithSpacing(self,numberOfBarPositions,spacing,barsOnNormalSide,includeFirstBar,includeLastBar):
"""
SetLayoutAsNumberWithSpacing(self: RebarContainerItem,numberOfBarPositions: int,spacing: float,barsOnNormalSide: bool,includeFirstBar: bool,includeLastBar: bool)
Sets the Layout Rule property of rebar set to NumberWithSpacing
numberOfBarPositions: The number of bar positions in rebar set
spacing: The maximum spacing between rebar in rebar set
barsOnNormalSide: Identifies if the bars of the rebar set are on the same side of the rebar plane
indicated by the normal
includeFirstBar: Identifies if the first bar in rebar set is shown
includeLastBar: Identifies if the last bar in rebar set is shown
"""
pass
def SetLayoutAsSingle(self):
"""
SetLayoutAsSingle(self: RebarContainerItem)
Sets the Layout Rule property of rebar set to Single.
"""
pass
def SetPresentationMode(self,dBView,presentationMode):
"""
SetPresentationMode(self: RebarContainerItem,dBView: View,presentationMode: RebarPresentationMode)
Sets the presentation mode for this rebar set when displayed in the given view.
dBView: The view.
presentationMode: The presentation mode.
"""
pass
def __enter__(self,*args):
""" __enter__(self: IDisposable) -> object """
pass
def __exit__(self,*args):
""" __exit__(self: IDisposable,exc_type: object,exc_value: object,exc_back: object) """
pass
def __init__(self,*args):
""" x.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signaturex.__init__(...) initializes x; see x.__class__.__doc__ for signature """
pass
def __repr__(self,*args):
""" __repr__(self: object) -> str """
pass
ArrayLength=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies the distribution path length of rebar set.
Get: ArrayLength(self: RebarContainerItem) -> float
Set: ArrayLength(self: RebarContainerItem)=value
"""
BarsOnNormalSide=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies if the bars of the rebar set are on the same side of the rebar plane indicated by the normal.
Get: BarsOnNormalSide(self: RebarContainerItem) -> bool
Set: BarsOnNormalSide(self: RebarContainerItem)=value
"""
BarTypeId=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""The identifier of the rebar bar type.
Get: BarTypeId(self: RebarContainerItem) -> ElementId
"""
BaseFinishingTurns=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""For a spiral,the number of finishing turns at the lower end of the spiral.
Get: BaseFinishingTurns(self: RebarContainerItem) -> int
Set: BaseFinishingTurns(self: RebarContainerItem)=value
"""
Height=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""For a spiral,the overall height.
Get: Height(self: RebarContainerItem) -> float
Set: Height(self: RebarContainerItem)=value
"""
IncludeFirstBar=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies if the first bar in rebar set is shown.
Get: IncludeFirstBar(self: RebarContainerItem) -> bool
Set: IncludeFirstBar(self: RebarContainerItem)=value
"""
IncludeLastBar=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies if the last bar in rebar set is shown.
Get: IncludeLastBar(self: RebarContainerItem) -> bool
Set: IncludeLastBar(self: RebarContainerItem)=value
"""
IsValidObject=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Specifies whether the .NET object represents a valid Revit entity.
Get: IsValidObject(self: RebarContainerItem) -> bool
"""
ItemIndex=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""The index of this item in its associated RebarContainer.
Get: ItemIndex(self: RebarContainerItem) -> int
"""
LayoutRule=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies the layout rule of rebar set.
Get: LayoutRule(self: RebarContainerItem) -> RebarLayoutRule
"""
MaxSpacing=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies the maximum spacing between rebar in rebar set.
Get: MaxSpacing(self: RebarContainerItem) -> float
Set: MaxSpacing(self: RebarContainerItem)=value
"""
MultiplanarDepth=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""For a multiplanar rebar,the depth of the instance.
Get: MultiplanarDepth(self: RebarContainerItem) -> float
Set: MultiplanarDepth(self: RebarContainerItem)=value
"""
Normal=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""A unit-length vector normal to the plane of the rebar
Get: Normal(self: RebarContainerItem) -> XYZ
"""
NumberOfBarPositions=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""The number of potential bars in the set.
Get: NumberOfBarPositions(self: RebarContainerItem) -> int
Set: NumberOfBarPositions(self: RebarContainerItem)=value
"""
Pitch=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""For a spiral,the pitch,or vertical distance traveled in one rotation.
Get: Pitch(self: RebarContainerItem) -> float
Set: Pitch(self: RebarContainerItem)=value
"""
Quantity=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""Identifies the number of bars in rebar set.
Get: Quantity(self: RebarContainerItem) -> int
"""
RebarShapeId=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""The RebarShape element that defines the shape of the rebar.
Get: RebarShapeId(self: RebarContainerItem) -> ElementId
Set: RebarShapeId(self: RebarContainerItem)=value
"""
TopFinishingTurns=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""For a spiral,the number of finishing turns at the upper end of the spiral.
Get: TopFinishingTurns(self: RebarContainerItem) -> int
Set: TopFinishingTurns(self: RebarContainerItem)=value
"""
TotalLength=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""The length of an individual bar multiplied by Quantity.
Get: TotalLength(self: RebarContainerItem) -> float
"""
Volume=property(lambda self: object(),lambda self,v: None,lambda self: None)
"""The volume of an individual bar multiplied by Quantity.
Get: Volume(self: RebarContainerItem) -> float
"""
| 38.699634 | 297 | 0.72177 | 2,576 | 21,130 | 5.89441 | 0.139363 | 0.092729 | 0.023709 | 0.031612 | 0.530361 | 0.504413 | 0.474974 | 0.454755 | 0.439278 | 0.397063 | 0 | 0.000894 | 0.206058 | 21,130 | 545 | 298 | 38.770642 | 0.904208 | 0.599337 | 0 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.384615 | 0 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
828f43dae6f2468b3d6e827d0b96cc7fc5e90768 | 98 | py | Python | poikit/api/datav/__init__.py | Civitasv/PoiKit | da806ed0b8b219fdd0ab945f88fb43f21c132263 | [
"MIT"
] | null | null | null | poikit/api/datav/__init__.py | Civitasv/PoiKit | da806ed0b8b219fdd0ab945f88fb43f21c132263 | [
"MIT"
] | null | null | null | poikit/api/datav/__init__.py | Civitasv/PoiKit | da806ed0b8b219fdd0ab945f88fb43f21c132263 | [
"MIT"
] | null | null | null | # -- coding: utf-8 --
import requests
base_url = "https://geo.datav.aliyun.com/areas_v3/bound/"
| 16.333333 | 57 | 0.683673 | 15 | 98 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.122449 | 98 | 5 | 58 | 19.6 | 0.732558 | 0.193878 | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
82af51a77c1076cbd45e2816f85b194f497894b8 | 318 | py | Python | people/basic_factories.py | jordifierro/pachatary-api | c03ad67ceb856068daa6d082091372eb1ed3d009 | [
"MIT"
] | 3 | 2018-12-05T16:44:59.000Z | 2020-08-01T14:12:32.000Z | people/basic_factories.py | jordifierro/pachatary-api | c03ad67ceb856068daa6d082091372eb1ed3d009 | [
"MIT"
] | 6 | 2020-06-03T15:56:59.000Z | 2022-02-10T07:23:55.000Z | people/basic_factories.py | jordifierro/pachatary-api | c03ad67ceb856068daa6d082091372eb1ed3d009 | [
"MIT"
] | null | null | null | from .repositories import PersonRepo, BlockRepo
from .validators import PersonPermissionsValidator
def create_person_repo():
return PersonRepo()
def create_block_repo():
return BlockRepo()
def create_person_permissions_validator():
return PersonPermissionsValidator(person_repo=create_person_repo())
| 21.2 | 71 | 0.811321 | 33 | 318 | 7.515152 | 0.454545 | 0.108871 | 0.120968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122642 | 318 | 14 | 72 | 22.714286 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.25 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
82d5f5b8204251bb2fee99550549c8f073511b1f | 289 | py | Python | mymodule/Counter.py | CRIStAL-PADR/python-paper-template | 5e8dd89ba9eba7f934802c5cd7258c727b16d098 | [
"MIT"
] | 2 | 2017-06-29T08:42:01.000Z | 2017-06-29T08:52:05.000Z | mymodule/Counter.py | CRIStAL-PADR/python-paper-template | 5e8dd89ba9eba7f934802c5cd7258c727b16d098 | [
"MIT"
] | 1 | 2018-07-18T06:14:03.000Z | 2018-07-20T08:44:08.000Z | mymodule/mymodule.py | CRIStAL-Sigma/mock_tex_paper | 8b97f6f0221ad202f377d7b27d422523162fb386 | [
"MIT"
] | 5 | 2017-06-30T08:57:14.000Z | 2020-08-16T21:35:42.000Z | class Counter:
"This is a counter class"
def __init__(self):
self.value = 0
def increment(self):
"Increments the counter"
self.value = self.value + 1
def decrement(self):
"Decrements the counter"
self.value = self.value - 1 | 24.083333 | 35 | 0.574394 | 35 | 289 | 4.628571 | 0.457143 | 0.277778 | 0.17284 | 0.234568 | 0.358025 | 0.358025 | 0.358025 | 0 | 0 | 0 | 0 | 0.015625 | 0.33564 | 289 | 12 | 36 | 24.083333 | 0.828125 | 0.238754 | 0 | 0 | 0 | 0 | 0.231034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82dba02b7b674719f7faa5aef431cae0f942f5e4 | 118,032 | py | Python | pythonocc/lib/OCC/STEPConstruct.py | mbattistello/lambda_converters | 0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3 | [
"MIT"
] | 2 | 2017-10-30T15:51:48.000Z | 2020-11-04T02:23:36.000Z | pythonocc/lib/OCC/STEPConstruct.py | mbattistello/lambda_converters | 0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3 | [
"MIT"
] | null | null | null | pythonocc/lib/OCC/STEPConstruct.py | mbattistello/lambda_converters | 0dfef8927d3ddbc74e5c8ce1c38701ea182a27b3 | [
"MIT"
] | 4 | 2017-11-29T05:24:34.000Z | 2020-03-05T23:23:23.000Z | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info
if version_info >= (3,0,0):
new_instancemethod = lambda func, inst, cls: _STEPConstruct.SWIG_PyInstanceMethod_New(func)
else:
from new import instancemethod as new_instancemethod
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_STEPConstruct', [dirname(__file__)])
except ImportError:
import _STEPConstruct
return _STEPConstruct
if fp is not None:
try:
_mod = imp.load_module('_STEPConstruct', fp, pathname, description)
finally:
fp.close()
return _mod
_STEPConstruct = swig_import_helper()
del swig_import_helper
else:
import _STEPConstruct
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
def _swig_setattr_nondynamic_method(set):
def set_attr(self,name,value):
if (name == "thisown"): return self.this.own(value)
if hasattr(self,name) or (name == "this"):
set(self,name,value)
else:
raise AttributeError("You cannot add attributes to %s" % self)
return set_attr
class SwigPyIterator(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _STEPConstruct.delete_SwigPyIterator
def __iter__(self): return self
SwigPyIterator.value = new_instancemethod(_STEPConstruct.SwigPyIterator_value,None,SwigPyIterator)
SwigPyIterator.incr = new_instancemethod(_STEPConstruct.SwigPyIterator_incr,None,SwigPyIterator)
SwigPyIterator.decr = new_instancemethod(_STEPConstruct.SwigPyIterator_decr,None,SwigPyIterator)
SwigPyIterator.distance = new_instancemethod(_STEPConstruct.SwigPyIterator_distance,None,SwigPyIterator)
SwigPyIterator.equal = new_instancemethod(_STEPConstruct.SwigPyIterator_equal,None,SwigPyIterator)
SwigPyIterator.copy = new_instancemethod(_STEPConstruct.SwigPyIterator_copy,None,SwigPyIterator)
SwigPyIterator.next = new_instancemethod(_STEPConstruct.SwigPyIterator_next,None,SwigPyIterator)
SwigPyIterator.__next__ = new_instancemethod(_STEPConstruct.SwigPyIterator___next__,None,SwigPyIterator)
SwigPyIterator.previous = new_instancemethod(_STEPConstruct.SwigPyIterator_previous,None,SwigPyIterator)
SwigPyIterator.advance = new_instancemethod(_STEPConstruct.SwigPyIterator_advance,None,SwigPyIterator)
SwigPyIterator.__eq__ = new_instancemethod(_STEPConstruct.SwigPyIterator___eq__,None,SwigPyIterator)
SwigPyIterator.__ne__ = new_instancemethod(_STEPConstruct.SwigPyIterator___ne__,None,SwigPyIterator)
SwigPyIterator.__iadd__ = new_instancemethod(_STEPConstruct.SwigPyIterator___iadd__,None,SwigPyIterator)
SwigPyIterator.__isub__ = new_instancemethod(_STEPConstruct.SwigPyIterator___isub__,None,SwigPyIterator)
SwigPyIterator.__add__ = new_instancemethod(_STEPConstruct.SwigPyIterator___add__,None,SwigPyIterator)
SwigPyIterator.__sub__ = new_instancemethod(_STEPConstruct.SwigPyIterator___sub__,None,SwigPyIterator)
SwigPyIterator_swigregister = _STEPConstruct.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
import OCC.TopoDS
import OCC.MMgt
import OCC.Standard
import OCC.TCollection
import OCC.TopLoc
import OCC.gp
import OCC.TopAbs
import OCC.StepRepr
import OCC.StepBasic
import OCC.TColStd
import OCC.Interface
import OCC.Message
import OCC.StepShape
import OCC.StepGeom
import OCC.StepAP203
import OCC.XSControl
import OCC.IFSelect
import OCC.Dico
import OCC.TopTools
import OCC.Quantity
def register_handle(handle, base_object):
"""
Inserts the handle into the base object to
prevent memory corruption in certain cases
"""
try:
if base_object.IsKind("Standard_Transient"):
base_object.thisHandle = handle
base_object.thisown = False
except:
pass
class stepconstruct(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def FindEntity(*args):
"""
* Returns STEP entity of the (sub)type of RepresentationItem which is a result of the tranalation of the Shape, or Null if no result is recorded
:param FinderProcess:
:type FinderProcess: Handle_Transfer_FinderProcess &
:param Shape:
:type Shape: TopoDS_Shape &
:rtype: Handle_StepRepr_RepresentationItem
* The same as above, but in the case if item not found, repeats search on the same shape without location. The Loc corresponds to the location with which result is found (either location of the Shape, or Null)
:param FinderProcess:
:type FinderProcess: Handle_Transfer_FinderProcess &
:param Shape:
:type Shape: TopoDS_Shape &
:param Loc:
:type Loc: TopLoc_Location &
:rtype: Handle_StepRepr_RepresentationItem
"""
return _STEPConstruct.stepconstruct_FindEntity(*args)
FindEntity = staticmethod(FindEntity)
def FindShape(*args):
"""
* Returns Shape resulting from given STEP entity (Null if not mapped)
:param TransientProcess:
:type TransientProcess: Handle_Transfer_TransientProcess &
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:rtype: TopoDS_Shape
"""
return _STEPConstruct.stepconstruct_FindShape(*args)
FindShape = staticmethod(FindShape)
def FindCDSR(*args):
"""
* Find CDSR correcponding to the component in the specified assembly
:param ComponentBinder:
:type ComponentBinder: Handle_Transfer_Binder &
:param AssemblySDR:
:type AssemblySDR: Handle_StepShape_ShapeDefinitionRepresentation &
:param ComponentCDSR:
:type ComponentCDSR: Handle_StepShape_ContextDependentShapeRepresentation &
:rtype: bool
"""
return _STEPConstruct.stepconstruct_FindCDSR(*args)
FindCDSR = staticmethod(FindCDSR)
def __init__(self):
_STEPConstruct.stepconstruct_swiginit(self,_STEPConstruct.new_stepconstruct())
__swig_destroy__ = _STEPConstruct.delete_stepconstruct
stepconstruct_swigregister = _STEPConstruct.stepconstruct_swigregister
stepconstruct_swigregister(stepconstruct)
def stepconstruct_FindEntity(*args):
"""
* Returns STEP entity of the (sub)type of RepresentationItem which is a result of the tranalation of the Shape, or Null if no result is recorded
:param FinderProcess:
:type FinderProcess: Handle_Transfer_FinderProcess &
:param Shape:
:type Shape: TopoDS_Shape &
:rtype: Handle_StepRepr_RepresentationItem
* The same as above, but in the case if item not found, repeats search on the same shape without location. The Loc corresponds to the location with which result is found (either location of the Shape, or Null)
:param FinderProcess:
:type FinderProcess: Handle_Transfer_FinderProcess &
:param Shape:
:type Shape: TopoDS_Shape &
:param Loc:
:type Loc: TopLoc_Location &
:rtype: Handle_StepRepr_RepresentationItem
"""
return _STEPConstruct.stepconstruct_FindEntity(*args)
def stepconstruct_FindShape(*args):
"""
* Returns Shape resulting from given STEP entity (Null if not mapped)
:param TransientProcess:
:type TransientProcess: Handle_Transfer_TransientProcess &
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:rtype: TopoDS_Shape
"""
return _STEPConstruct.stepconstruct_FindShape(*args)
def stepconstruct_FindCDSR(*args):
"""
* Find CDSR correcponding to the component in the specified assembly
:param ComponentBinder:
:type ComponentBinder: Handle_Transfer_Binder &
:param AssemblySDR:
:type AssemblySDR: Handle_StepShape_ShapeDefinitionRepresentation &
:param ComponentCDSR:
:type ComponentCDSR: Handle_StepShape_ContextDependentShapeRepresentation &
:rtype: bool
"""
return _STEPConstruct.stepconstruct_FindCDSR(*args)
class STEPConstruct_AP203Context(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
* Creates tool and fills constant fields
:rtype: None
"""
_STEPConstruct.STEPConstruct_AP203Context_swiginit(self,_STEPConstruct.new_STEPConstruct_AP203Context(*args))
def DefaultApproval(self, *args):
"""
* Returns default approval entity which is used when no other data are available
:rtype: Handle_StepBasic_Approval
"""
return _STEPConstruct.STEPConstruct_AP203Context_DefaultApproval(self, *args)
def SetDefaultApproval(self, *args):
"""
* Sets default approval
:param app:
:type app: Handle_StepBasic_Approval &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_SetDefaultApproval(self, *args)
def DefaultDateAndTime(self, *args):
"""
* Returns default date_and_time entity which is used when no other data are available
:rtype: Handle_StepBasic_DateAndTime
"""
return _STEPConstruct.STEPConstruct_AP203Context_DefaultDateAndTime(self, *args)
def SetDefaultDateAndTime(self, *args):
"""
* Sets default date_and_time entity
:param dt:
:type dt: Handle_StepBasic_DateAndTime &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_SetDefaultDateAndTime(self, *args)
def DefaultPersonAndOrganization(self, *args):
"""
* Returns default person_and_organization entity which is used when no other data are available
:rtype: Handle_StepBasic_PersonAndOrganization
"""
return _STEPConstruct.STEPConstruct_AP203Context_DefaultPersonAndOrganization(self, *args)
def SetDefaultPersonAndOrganization(self, *args):
"""
* Sets default person_and_organization entity
:param po:
:type po: Handle_StepBasic_PersonAndOrganization &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_SetDefaultPersonAndOrganization(self, *args)
def DefaultSecurityClassificationLevel(self, *args):
"""
* Returns default security_classification_level entity which is used when no other data are available
:rtype: Handle_StepBasic_SecurityClassificationLevel
"""
return _STEPConstruct.STEPConstruct_AP203Context_DefaultSecurityClassificationLevel(self, *args)
def SetDefaultSecurityClassificationLevel(self, *args):
"""
* Sets default security_classification_level
:param sc:
:type sc: Handle_StepBasic_SecurityClassificationLevel &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_SetDefaultSecurityClassificationLevel(self, *args)
def RoleCreator(self, *args):
"""
:rtype: Handle_StepBasic_PersonAndOrganizationRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleCreator(self, *args)
def RoleDesignOwner(self, *args):
"""
:rtype: Handle_StepBasic_PersonAndOrganizationRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleDesignOwner(self, *args)
def RoleDesignSupplier(self, *args):
"""
:rtype: Handle_StepBasic_PersonAndOrganizationRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleDesignSupplier(self, *args)
def RoleClassificationOfficer(self, *args):
"""
:rtype: Handle_StepBasic_PersonAndOrganizationRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleClassificationOfficer(self, *args)
def RoleCreationDate(self, *args):
"""
:rtype: Handle_StepBasic_DateTimeRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleCreationDate(self, *args)
def RoleClassificationDate(self, *args):
"""
:rtype: Handle_StepBasic_DateTimeRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleClassificationDate(self, *args)
def RoleApprover(self, *args):
"""
* Return predefined PersonAndOrganizationRole and DateTimeRole entities named 'creator', 'design owner', 'design supplier', 'classification officer', 'creation date', 'classification date', 'approver'
:rtype: Handle_StepBasic_ApprovalRole
"""
return _STEPConstruct.STEPConstruct_AP203Context_RoleApprover(self, *args)
def Init(self, *args):
"""
* Takes SDR (part) which brings all standard data around part (common for AP203 and AP214) and creates all the additional entities required for AP203
:param sdr:
:type sdr: Handle_StepShape_ShapeDefinitionRepresentation &
:rtype: None
* Takes tool which describes standard data around part (common for AP203 and AP214) and creates all the additional entities required for AP203 The created entities can be obtained by calls to methods GetCreator(), GetDesignOwner(), GetDesignSupplier(), GetClassificationOfficer(), GetSecurity(), GetCreationDate(), GetClassificationDate(), GetApproval(), GetApprover(), GetApprovalDateTime(), GetProductCategoryRelationship()
:param SDRTool:
:type SDRTool: STEPConstruct_Part &
:rtype: None
* Takes NAUO which describes assembly link to component and creates the security_classification entity associated to it as required by the AP203 Instantiated (or existing previously) entities concerned can be obtained by calls to methods GetClassificationOfficer(), GetSecurity(), GetClassificationDate(), GetApproval(), GetApprover(), GetApprovalDateTime() Takes tool which describes standard data around part (common for AP203 and AP214) and takes from model (or creates if missing) all the additional entities required by AP203
:param nauo:
:type nauo: Handle_StepRepr_NextAssemblyUsageOccurrence &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_Init(self, *args)
def GetCreator(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignPersonAndOrganizationAssignment
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetCreator(self, *args)
def GetDesignOwner(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignPersonAndOrganizationAssignment
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetDesignOwner(self, *args)
def GetDesignSupplier(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignPersonAndOrganizationAssignment
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetDesignSupplier(self, *args)
def GetClassificationOfficer(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignPersonAndOrganizationAssignment
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetClassificationOfficer(self, *args)
def GetSecurity(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignSecurityClassification
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetSecurity(self, *args)
def GetCreationDate(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignDateAndTimeAssignment
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetCreationDate(self, *args)
def GetClassificationDate(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignDateAndTimeAssignment
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetClassificationDate(self, *args)
def GetApproval(self, *args):
"""
:rtype: Handle_StepAP203_CcDesignApproval
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetApproval(self, *args)
def GetApprover(self, *args):
"""
:rtype: Handle_StepBasic_ApprovalPersonOrganization
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetApprover(self, *args)
def GetApprovalDateTime(self, *args):
"""
:rtype: Handle_StepBasic_ApprovalDateTime
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetApprovalDateTime(self, *args)
def GetProductCategoryRelationship(self, *args):
"""
* Return entities (roots) instantiated for the part by method Init
:rtype: Handle_StepBasic_ProductCategoryRelationship
"""
return _STEPConstruct.STEPConstruct_AP203Context_GetProductCategoryRelationship(self, *args)
def Clear(self, *args):
"""
* Clears all fields describing entities specific to each part
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_Clear(self, *args)
def InitRoles(self, *args):
"""
* Initializes constant fields (shared entities)
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_InitRoles(self, *args)
def InitAssembly(self, *args):
"""
* Initializes all missing data which are required for assembly
:param nauo:
:type nauo: Handle_StepRepr_NextAssemblyUsageOccurrence &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_InitAssembly(self, *args)
def InitSecurityRequisites(self, *args):
"""
* Initializes ClassificationOfficer and ClassificationDate entities according to Security entity
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_InitSecurityRequisites(self, *args)
def InitApprovalRequisites(self, *args):
"""
* Initializes Approver and ApprovalDateTime entities according to Approval entity
:rtype: None
"""
return _STEPConstruct.STEPConstruct_AP203Context_InitApprovalRequisites(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_AP203Context
STEPConstruct_AP203Context.DefaultApproval = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_DefaultApproval,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.SetDefaultApproval = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_SetDefaultApproval,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.DefaultDateAndTime = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_DefaultDateAndTime,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.SetDefaultDateAndTime = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_SetDefaultDateAndTime,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.DefaultPersonAndOrganization = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_DefaultPersonAndOrganization,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.SetDefaultPersonAndOrganization = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_SetDefaultPersonAndOrganization,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.DefaultSecurityClassificationLevel = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_DefaultSecurityClassificationLevel,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.SetDefaultSecurityClassificationLevel = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_SetDefaultSecurityClassificationLevel,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleCreator = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleCreator,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleDesignOwner = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleDesignOwner,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleDesignSupplier = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleDesignSupplier,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleClassificationOfficer = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleClassificationOfficer,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleCreationDate = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleCreationDate,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleClassificationDate = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleClassificationDate,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.RoleApprover = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_RoleApprover,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.Init = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_Init,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetCreator = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetCreator,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetDesignOwner = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetDesignOwner,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetDesignSupplier = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetDesignSupplier,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetClassificationOfficer = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetClassificationOfficer,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetSecurity = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetSecurity,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetCreationDate = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetCreationDate,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetClassificationDate = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetClassificationDate,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetApproval = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetApproval,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetApprover = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetApprover,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetApprovalDateTime = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetApprovalDateTime,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.GetProductCategoryRelationship = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_GetProductCategoryRelationship,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.Clear = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_Clear,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.InitRoles = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_InitRoles,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.InitAssembly = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_InitAssembly,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.InitSecurityRequisites = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_InitSecurityRequisites,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context.InitApprovalRequisites = new_instancemethod(_STEPConstruct.STEPConstruct_AP203Context_InitApprovalRequisites,None,STEPConstruct_AP203Context)
STEPConstruct_AP203Context_swigregister = _STEPConstruct.STEPConstruct_AP203Context_swigregister
STEPConstruct_AP203Context_swigregister(STEPConstruct_AP203Context)
class STEPConstruct_Assembly(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:rtype: None
"""
_STEPConstruct.STEPConstruct_Assembly_swiginit(self,_STEPConstruct.new_STEPConstruct_Assembly(*args))
def Init(self, *args):
"""
* Initialises with starting values Ax0 : origin axis (typically, standard XYZ) Loc : location to which place the item Makes a MappedItem Resulting Value is returned by ItemValue
:param aSR:
:type aSR: Handle_StepShape_ShapeDefinitionRepresentation &
:param SDR0:
:type SDR0: Handle_StepShape_ShapeDefinitionRepresentation &
:param Ax0:
:type Ax0: Handle_StepGeom_Axis2Placement3d &
:param Loc:
:type Loc: Handle_StepGeom_Axis2Placement3d &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Assembly_Init(self, *args)
def MakeRelationship(self, *args):
"""
* Make a (ShapeRepresentationRelationship,...WithTransformation) Resulting Value is returned by ItemValue
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Assembly_MakeRelationship(self, *args)
def ItemValue(self, *args):
"""
* Returns the Value If no Make... has been called, returns the starting SR
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_Assembly_ItemValue(self, *args)
def ItemLocation(self, *args):
"""
* Returns the location of the item, computed from starting aLoc
:rtype: Handle_StepGeom_Axis2Placement3d
"""
return _STEPConstruct.STEPConstruct_Assembly_ItemLocation(self, *args)
def GetNAUO(self, *args):
"""
* Returns NAUO object describing the assembly link
:rtype: Handle_StepRepr_NextAssemblyUsageOccurrence
"""
return _STEPConstruct.STEPConstruct_Assembly_GetNAUO(self, *args)
def CheckSRRReversesNAUO(*args):
"""
* Checks whether SRR's definition of assembly and component contradicts with NAUO definition or not, according to model schema (AP214 or AP203)
:param Model:
:type Model: Handle_Interface_InterfaceModel &
:param CDSR:
:type CDSR: Handle_StepShape_ContextDependentShapeRepresentation &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Assembly_CheckSRRReversesNAUO(*args)
CheckSRRReversesNAUO = staticmethod(CheckSRRReversesNAUO)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_Assembly
STEPConstruct_Assembly.Init = new_instancemethod(_STEPConstruct.STEPConstruct_Assembly_Init,None,STEPConstruct_Assembly)
STEPConstruct_Assembly.MakeRelationship = new_instancemethod(_STEPConstruct.STEPConstruct_Assembly_MakeRelationship,None,STEPConstruct_Assembly)
STEPConstruct_Assembly.ItemValue = new_instancemethod(_STEPConstruct.STEPConstruct_Assembly_ItemValue,None,STEPConstruct_Assembly)
STEPConstruct_Assembly.ItemLocation = new_instancemethod(_STEPConstruct.STEPConstruct_Assembly_ItemLocation,None,STEPConstruct_Assembly)
STEPConstruct_Assembly.GetNAUO = new_instancemethod(_STEPConstruct.STEPConstruct_Assembly_GetNAUO,None,STEPConstruct_Assembly)
STEPConstruct_Assembly_swigregister = _STEPConstruct.STEPConstruct_Assembly_swigregister
STEPConstruct_Assembly_swigregister(STEPConstruct_Assembly)
def STEPConstruct_Assembly_CheckSRRReversesNAUO(*args):
"""
* Checks whether SRR's definition of assembly and component contradicts with NAUO definition or not, according to model schema (AP214 or AP203)
:param Model:
:type Model: Handle_Interface_InterfaceModel &
:param CDSR:
:type CDSR: Handle_StepShape_ContextDependentShapeRepresentation &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Assembly_CheckSRRReversesNAUO(*args)
class STEPConstruct_ContextTool(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:rtype: None
:param aStepModel:
:type aStepModel: Handle_StepData_StepModel &
:rtype: None
"""
_STEPConstruct.STEPConstruct_ContextTool_swiginit(self,_STEPConstruct.new_STEPConstruct_ContextTool(*args))
def SetModel(self, *args):
"""
* Initialize ApplicationProtocolDefinition by the first entity of that type found in the model
:param aStepModel:
:type aStepModel: Handle_StepData_StepModel &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetModel(self, *args)
def GetAPD(self, *args):
"""
:rtype: Handle_StepBasic_ApplicationProtocolDefinition
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetAPD(self, *args)
def AddAPD(self, *args):
"""
:param enforce: default value is Standard_False
:type enforce: bool
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_AddAPD(self, *args)
def IsAP203(self, *args):
"""
* Returns True if APD.schema_name is config_control_design
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ContextTool_IsAP203(self, *args)
def IsAP214(self, *args):
"""
* Returns True if APD.schema_name is automotive_design
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ContextTool_IsAP214(self, *args)
def GetACstatus(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetACstatus(self, *args)
def GetACschemaName(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetACschemaName(self, *args)
def GetACyear(self, *args):
"""
:rtype: int
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetACyear(self, *args)
def GetACname(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetACname(self, *args)
def SetACstatus(self, *args):
"""
:param status:
:type status: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetACstatus(self, *args)
def SetACschemaName(self, *args):
"""
:param schemaName:
:type schemaName: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetACschemaName(self, *args)
def SetACyear(self, *args):
"""
:param year:
:type year: int
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetACyear(self, *args)
def SetACname(self, *args):
"""
:param name:
:type name: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetACname(self, *args)
def GetDefaultAxis(self, *args):
"""
* Returns a default axis placement
:rtype: Handle_StepGeom_Axis2Placement3d
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetDefaultAxis(self, *args)
def AP203Context(self, *args):
"""
* Returns tool which maintains context specific for AP203
:rtype: STEPConstruct_AP203Context
"""
return _STEPConstruct.STEPConstruct_ContextTool_AP203Context(self, *args)
def Level(self, *args):
"""
* Returns current assembly level
:rtype: int
"""
return _STEPConstruct.STEPConstruct_ContextTool_Level(self, *args)
def NextLevel(self, *args):
"""
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_NextLevel(self, *args)
def PrevLevel(self, *args):
"""
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_PrevLevel(self, *args)
def SetLevel(self, *args):
"""
* Changes current assembly level
:param lev:
:type lev: int
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetLevel(self, *args)
def Index(self, *args):
"""
* Returns current index of assembly component on current level
:rtype: int
"""
return _STEPConstruct.STEPConstruct_ContextTool_Index(self, *args)
def NextIndex(self, *args):
"""
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_NextIndex(self, *args)
def PrevIndex(self, *args):
"""
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_PrevIndex(self, *args)
def SetIndex(self, *args):
"""
* Changes current index of assembly component on current level
:param ind:
:type ind: int
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ContextTool_SetIndex(self, *args)
def GetProductName(self, *args):
"""
* Generates a product name basing on write.step.product.name parameter and current position in the assembly structure
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetProductName(self, *args)
def GetRootsForPart(self, *args):
"""
* Produces and returns a full list of root entities required for part identified by SDRTool (including SDR itself)
:param SDRTool:
:type SDRTool: STEPConstruct_Part &
:rtype: Handle_TColStd_HSequenceOfTransient
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetRootsForPart(self, *args)
def GetRootsForAssemblyLink(self, *args):
"""
* Produces and returns a full list of root entities required for assembly link identified by assembly (including NAUO and CDSR)
:param assembly:
:type assembly: STEPConstruct_Assembly &
:rtype: Handle_TColStd_HSequenceOfTransient
"""
return _STEPConstruct.STEPConstruct_ContextTool_GetRootsForAssemblyLink(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_ContextTool
STEPConstruct_ContextTool.SetModel = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetModel,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetAPD = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetAPD,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.AddAPD = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_AddAPD,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.IsAP203 = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_IsAP203,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.IsAP214 = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_IsAP214,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetACstatus = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetACstatus,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetACschemaName = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetACschemaName,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetACyear = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetACyear,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetACname = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetACname,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.SetACstatus = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetACstatus,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.SetACschemaName = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetACschemaName,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.SetACyear = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetACyear,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.SetACname = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetACname,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetDefaultAxis = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetDefaultAxis,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.AP203Context = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_AP203Context,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.Level = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_Level,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.NextLevel = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_NextLevel,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.PrevLevel = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_PrevLevel,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.SetLevel = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetLevel,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.Index = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_Index,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.NextIndex = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_NextIndex,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.PrevIndex = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_PrevIndex,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.SetIndex = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_SetIndex,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetProductName = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetProductName,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetRootsForPart = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetRootsForPart,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool.GetRootsForAssemblyLink = new_instancemethod(_STEPConstruct.STEPConstruct_ContextTool_GetRootsForAssemblyLink,None,STEPConstruct_ContextTool)
STEPConstruct_ContextTool_swigregister = _STEPConstruct.STEPConstruct_ContextTool_swigregister
STEPConstruct_ContextTool_swigregister(STEPConstruct_ContextTool)
class STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient(OCC.TCollection.TCollection_BasicMapIterator):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:rtype: None
:param aMap:
:type aMap: STEPConstruct_DataMapOfAsciiStringTransient &
:rtype: None
"""
_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_swiginit(self,_STEPConstruct.new_STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient(*args))
def Initialize(self, *args):
"""
:param aMap:
:type aMap: STEPConstruct_DataMapOfAsciiStringTransient &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_Initialize(self, *args)
def Key(self, *args):
"""
:rtype: TCollection_AsciiString
"""
return _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_Key(self, *args)
def Value(self, *args):
"""
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_Value(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient
STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient.Initialize = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_Initialize,None,STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient)
STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient.Key = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_Key,None,STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient)
STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient.Value = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_Value,None,STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient)
STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_swigregister = _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_swigregister
STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient_swigregister(STEPConstruct_DataMapIteratorOfDataMapOfAsciiStringTransient)
class STEPConstruct_DataMapIteratorOfDataMapOfPointTransient(OCC.TCollection.TCollection_BasicMapIterator):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:rtype: None
:param aMap:
:type aMap: STEPConstruct_DataMapOfPointTransient &
:rtype: None
"""
_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_swiginit(self,_STEPConstruct.new_STEPConstruct_DataMapIteratorOfDataMapOfPointTransient(*args))
def Initialize(self, *args):
"""
:param aMap:
:type aMap: STEPConstruct_DataMapOfPointTransient &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_Initialize(self, *args)
def Key(self, *args):
"""
:rtype: gp_Pnt
"""
return _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_Key(self, *args)
def Value(self, *args):
"""
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_Value(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_DataMapIteratorOfDataMapOfPointTransient
STEPConstruct_DataMapIteratorOfDataMapOfPointTransient.Initialize = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_Initialize,None,STEPConstruct_DataMapIteratorOfDataMapOfPointTransient)
STEPConstruct_DataMapIteratorOfDataMapOfPointTransient.Key = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_Key,None,STEPConstruct_DataMapIteratorOfDataMapOfPointTransient)
STEPConstruct_DataMapIteratorOfDataMapOfPointTransient.Value = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_Value,None,STEPConstruct_DataMapIteratorOfDataMapOfPointTransient)
STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_swigregister = _STEPConstruct.STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_swigregister
STEPConstruct_DataMapIteratorOfDataMapOfPointTransient_swigregister(STEPConstruct_DataMapIteratorOfDataMapOfPointTransient)
class STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient(OCC.TCollection.TCollection_MapNode):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:param I:
:type I: Handle_Standard_Transient &
:param n:
:type n: TCollection_MapNodePtr &
:rtype: None
"""
_STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swiginit(self,_STEPConstruct.new_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient(*args))
def Key(self, *args):
"""
:rtype: TCollection_AsciiString
"""
return _STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_Key(self, *args)
def Value(self, *args):
"""
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_Value(self, *args)
def GetHandle(self):
try:
return self.thisHandle
except:
self.thisHandle = Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient(self)
self.thisown = False
return self.thisHandle
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient
STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient.Key = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_Key,None,STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient.Value = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_Value,None,STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swigregister = _STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swigregister
STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swigregister(STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
class Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient(OCC.TCollection.Handle_TCollection_MapNode):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swiginit(self,_STEPConstruct.new_Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient(*args))
# register the handle in the base object
if len(args) > 0:
register_handle(self, args[0])
DownCast = staticmethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_DownCast)
__swig_destroy__ = _STEPConstruct.delete_Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient
Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient.Nullify = new_instancemethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_Nullify,None,Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient.IsNull = new_instancemethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_IsNull,None,Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient.GetObject = new_instancemethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_GetObject,None,Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swigregister = _STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swigregister
Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_swigregister(Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient)
def Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_DownCast(*args):
return _STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_DownCast(*args)
Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_DownCast = _STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfAsciiStringTransient_DownCast
class STEPConstruct_DataMapNodeOfDataMapOfPointTransient(OCC.TCollection.TCollection_MapNode):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:param K:
:type K: gp_Pnt
:param I:
:type I: Handle_Standard_Transient &
:param n:
:type n: TCollection_MapNodePtr &
:rtype: None
"""
_STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swiginit(self,_STEPConstruct.new_STEPConstruct_DataMapNodeOfDataMapOfPointTransient(*args))
def Key(self, *args):
"""
:rtype: gp_Pnt
"""
return _STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfPointTransient_Key(self, *args)
def Value(self, *args):
"""
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfPointTransient_Value(self, *args)
def GetHandle(self):
try:
return self.thisHandle
except:
self.thisHandle = Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient(self)
self.thisown = False
return self.thisHandle
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_DataMapNodeOfDataMapOfPointTransient
STEPConstruct_DataMapNodeOfDataMapOfPointTransient.Key = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfPointTransient_Key,None,STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
STEPConstruct_DataMapNodeOfDataMapOfPointTransient.Value = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfPointTransient_Value,None,STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swigregister = _STEPConstruct.STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swigregister
STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swigregister(STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
class Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient(OCC.TCollection.Handle_TCollection_MapNode):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swiginit(self,_STEPConstruct.new_Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient(*args))
# register the handle in the base object
if len(args) > 0:
register_handle(self, args[0])
DownCast = staticmethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_DownCast)
__swig_destroy__ = _STEPConstruct.delete_Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient
Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient.Nullify = new_instancemethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_Nullify,None,Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient.IsNull = new_instancemethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_IsNull,None,Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient.GetObject = new_instancemethod(_STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_GetObject,None,Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swigregister = _STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swigregister
Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_swigregister(Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient)
def Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_DownCast(*args):
return _STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_DownCast(*args)
Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_DownCast = _STEPConstruct.Handle_STEPConstruct_DataMapNodeOfDataMapOfPointTransient_DownCast
class STEPConstruct_DataMapOfAsciiStringTransient(OCC.TCollection.TCollection_BasicMap):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:param NbBuckets: default value is 1
:type NbBuckets: int
:rtype: None
"""
_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_swiginit(self,_STEPConstruct.new_STEPConstruct_DataMapOfAsciiStringTransient(*args))
def Assign(self, *args):
"""
:param Other:
:type Other: STEPConstruct_DataMapOfAsciiStringTransient &
:rtype: STEPConstruct_DataMapOfAsciiStringTransient
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Assign(self, *args)
def Set(self, *args):
"""
:param Other:
:type Other: STEPConstruct_DataMapOfAsciiStringTransient &
:rtype: STEPConstruct_DataMapOfAsciiStringTransient
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Set(self, *args)
def ReSize(self, *args):
"""
:param NbBuckets:
:type NbBuckets: int
:rtype: None
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_ReSize(self, *args)
def Clear(self, *args):
"""
:rtype: None
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Clear(self, *args)
def Bind(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:param I:
:type I: Handle_Standard_Transient &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Bind(self, *args)
def IsBound(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_IsBound(self, *args)
def UnBind(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_UnBind(self, *args)
def Find(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Find(self, *args)
def ChangeFind(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_ChangeFind(self, *args)
def Find1(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:rtype: Standard_Address
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Find1(self, *args)
def ChangeFind1(self, *args):
"""
:param K:
:type K: TCollection_AsciiString &
:rtype: Standard_Address
"""
return _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_ChangeFind1(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_DataMapOfAsciiStringTransient
STEPConstruct_DataMapOfAsciiStringTransient.Assign = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Assign,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.Set = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Set,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.ReSize = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_ReSize,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.Clear = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Clear,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.Bind = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Bind,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.IsBound = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_IsBound,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.UnBind = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_UnBind,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.Find = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Find,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.ChangeFind = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_ChangeFind,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.Find1 = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_Find1,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient.ChangeFind1 = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_ChangeFind1,None,STEPConstruct_DataMapOfAsciiStringTransient)
STEPConstruct_DataMapOfAsciiStringTransient_swigregister = _STEPConstruct.STEPConstruct_DataMapOfAsciiStringTransient_swigregister
STEPConstruct_DataMapOfAsciiStringTransient_swigregister(STEPConstruct_DataMapOfAsciiStringTransient)
class STEPConstruct_DataMapOfPointTransient(OCC.TCollection.TCollection_BasicMap):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:param NbBuckets: default value is 1
:type NbBuckets: int
:rtype: None
"""
_STEPConstruct.STEPConstruct_DataMapOfPointTransient_swiginit(self,_STEPConstruct.new_STEPConstruct_DataMapOfPointTransient(*args))
def Assign(self, *args):
"""
:param Other:
:type Other: STEPConstruct_DataMapOfPointTransient &
:rtype: STEPConstruct_DataMapOfPointTransient
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_Assign(self, *args)
def Set(self, *args):
"""
:param Other:
:type Other: STEPConstruct_DataMapOfPointTransient &
:rtype: STEPConstruct_DataMapOfPointTransient
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_Set(self, *args)
def ReSize(self, *args):
"""
:param NbBuckets:
:type NbBuckets: int
:rtype: None
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_ReSize(self, *args)
def Clear(self, *args):
"""
:rtype: None
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_Clear(self, *args)
def Bind(self, *args):
"""
:param K:
:type K: gp_Pnt
:param I:
:type I: Handle_Standard_Transient &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_Bind(self, *args)
def IsBound(self, *args):
"""
:param K:
:type K: gp_Pnt
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_IsBound(self, *args)
def UnBind(self, *args):
"""
:param K:
:type K: gp_Pnt
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_UnBind(self, *args)
def Find(self, *args):
"""
:param K:
:type K: gp_Pnt
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_Find(self, *args)
def ChangeFind(self, *args):
"""
:param K:
:type K: gp_Pnt
:rtype: Handle_Standard_Transient
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_ChangeFind(self, *args)
def Find1(self, *args):
"""
:param K:
:type K: gp_Pnt
:rtype: Standard_Address
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_Find1(self, *args)
def ChangeFind1(self, *args):
"""
:param K:
:type K: gp_Pnt
:rtype: Standard_Address
"""
return _STEPConstruct.STEPConstruct_DataMapOfPointTransient_ChangeFind1(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_DataMapOfPointTransient
STEPConstruct_DataMapOfPointTransient.Assign = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_Assign,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.Set = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_Set,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.ReSize = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_ReSize,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.Clear = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_Clear,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.Bind = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_Bind,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.IsBound = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_IsBound,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.UnBind = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_UnBind,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.Find = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_Find,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.ChangeFind = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_ChangeFind,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.Find1 = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_Find1,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient.ChangeFind1 = new_instancemethod(_STEPConstruct.STEPConstruct_DataMapOfPointTransient_ChangeFind1,None,STEPConstruct_DataMapOfPointTransient)
STEPConstruct_DataMapOfPointTransient_swigregister = _STEPConstruct.STEPConstruct_DataMapOfPointTransient_swigregister
STEPConstruct_DataMapOfPointTransient_swigregister(STEPConstruct_DataMapOfPointTransient)
class STEPConstruct_Part(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
:rtype: None
"""
_STEPConstruct.STEPConstruct_Part_swiginit(self,_STEPConstruct.new_STEPConstruct_Part(*args))
def MakeSDR(self, *args):
"""
:param aShape:
:type aShape: Handle_StepShape_ShapeRepresentation &
:param aName:
:type aName: Handle_TCollection_HAsciiString &
:param AC:
:type AC: Handle_StepBasic_ApplicationContext &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_MakeSDR(self, *args)
def ReadSDR(self, *args):
"""
:param aShape:
:type aShape: Handle_StepShape_ShapeDefinitionRepresentation &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_ReadSDR(self, *args)
def IsDone(self, *args):
"""
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Part_IsDone(self, *args)
def SDRValue(self, *args):
"""
* Returns SDR or Null if not done
:rtype: Handle_StepShape_ShapeDefinitionRepresentation
"""
return _STEPConstruct.STEPConstruct_Part_SDRValue(self, *args)
def SRValue(self, *args):
"""
* Returns SDR->UsedRepresentation() or Null if not done
:rtype: Handle_StepShape_ShapeRepresentation
"""
return _STEPConstruct.STEPConstruct_Part_SRValue(self, *args)
def PC(self, *args):
"""
:rtype: Handle_StepBasic_ProductContext
"""
return _STEPConstruct.STEPConstruct_Part_PC(self, *args)
def PCname(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PCname(self, *args)
def PCdisciplineType(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PCdisciplineType(self, *args)
def SetPCname(self, *args):
"""
:param name:
:type name: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPCname(self, *args)
def SetPCdisciplineType(self, *args):
"""
:param label:
:type label: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPCdisciplineType(self, *args)
def AC(self, *args):
"""
:rtype: Handle_StepBasic_ApplicationContext
"""
return _STEPConstruct.STEPConstruct_Part_AC(self, *args)
def ACapplication(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_ACapplication(self, *args)
def SetACapplication(self, *args):
"""
:param text:
:type text: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetACapplication(self, *args)
def PDC(self, *args):
"""
:rtype: Handle_StepBasic_ProductDefinitionContext
"""
return _STEPConstruct.STEPConstruct_Part_PDC(self, *args)
def PDCname(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDCname(self, *args)
def PDCstage(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDCstage(self, *args)
def SetPDCname(self, *args):
"""
:param label:
:type label: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDCname(self, *args)
def SetPDCstage(self, *args):
"""
:param label:
:type label: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDCstage(self, *args)
def Product(self, *args):
"""
:rtype: Handle_StepBasic_Product
"""
return _STEPConstruct.STEPConstruct_Part_Product(self, *args)
def Pid(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_Pid(self, *args)
def Pname(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_Pname(self, *args)
def Pdescription(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_Pdescription(self, *args)
def SetPid(self, *args):
"""
:param id:
:type id: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPid(self, *args)
def SetPname(self, *args):
"""
:param label:
:type label: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPname(self, *args)
def SetPdescription(self, *args):
"""
:param text:
:type text: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPdescription(self, *args)
def PDF(self, *args):
"""
:rtype: Handle_StepBasic_ProductDefinitionFormation
"""
return _STEPConstruct.STEPConstruct_Part_PDF(self, *args)
def PDFid(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDFid(self, *args)
def PDFdescription(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDFdescription(self, *args)
def SetPDFid(self, *args):
"""
:param id:
:type id: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDFid(self, *args)
def SetPDFdescription(self, *args):
"""
:param text:
:type text: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDFdescription(self, *args)
def PD(self, *args):
"""
:rtype: Handle_StepBasic_ProductDefinition
"""
return _STEPConstruct.STEPConstruct_Part_PD(self, *args)
def PDdescription(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDdescription(self, *args)
def SetPDdescription(self, *args):
"""
:param text:
:type text: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDdescription(self, *args)
def PDS(self, *args):
"""
:rtype: Handle_StepRepr_ProductDefinitionShape
"""
return _STEPConstruct.STEPConstruct_Part_PDS(self, *args)
def PDSname(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDSname(self, *args)
def PDSdescription(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PDSdescription(self, *args)
def SetPDSname(self, *args):
"""
:param label:
:type label: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDSname(self, *args)
def SetPDSdescription(self, *args):
"""
:param text:
:type text: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPDSdescription(self, *args)
def PRPC(self, *args):
"""
:rtype: Handle_StepBasic_ProductRelatedProductCategory
"""
return _STEPConstruct.STEPConstruct_Part_PRPC(self, *args)
def PRPCname(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PRPCname(self, *args)
def PRPCdescription(self, *args):
"""
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_Part_PRPCdescription(self, *args)
def SetPRPCname(self, *args):
"""
:param label:
:type label: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPRPCname(self, *args)
def SetPRPCdescription(self, *args):
"""
:param text:
:type text: Handle_TCollection_HAsciiString &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Part_SetPRPCdescription(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_Part
STEPConstruct_Part.MakeSDR = new_instancemethod(_STEPConstruct.STEPConstruct_Part_MakeSDR,None,STEPConstruct_Part)
STEPConstruct_Part.ReadSDR = new_instancemethod(_STEPConstruct.STEPConstruct_Part_ReadSDR,None,STEPConstruct_Part)
STEPConstruct_Part.IsDone = new_instancemethod(_STEPConstruct.STEPConstruct_Part_IsDone,None,STEPConstruct_Part)
STEPConstruct_Part.SDRValue = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SDRValue,None,STEPConstruct_Part)
STEPConstruct_Part.SRValue = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SRValue,None,STEPConstruct_Part)
STEPConstruct_Part.PC = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PC,None,STEPConstruct_Part)
STEPConstruct_Part.PCname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PCname,None,STEPConstruct_Part)
STEPConstruct_Part.PCdisciplineType = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PCdisciplineType,None,STEPConstruct_Part)
STEPConstruct_Part.SetPCname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPCname,None,STEPConstruct_Part)
STEPConstruct_Part.SetPCdisciplineType = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPCdisciplineType,None,STEPConstruct_Part)
STEPConstruct_Part.AC = new_instancemethod(_STEPConstruct.STEPConstruct_Part_AC,None,STEPConstruct_Part)
STEPConstruct_Part.ACapplication = new_instancemethod(_STEPConstruct.STEPConstruct_Part_ACapplication,None,STEPConstruct_Part)
STEPConstruct_Part.SetACapplication = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetACapplication,None,STEPConstruct_Part)
STEPConstruct_Part.PDC = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDC,None,STEPConstruct_Part)
STEPConstruct_Part.PDCname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDCname,None,STEPConstruct_Part)
STEPConstruct_Part.PDCstage = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDCstage,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDCname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDCname,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDCstage = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDCstage,None,STEPConstruct_Part)
STEPConstruct_Part.Product = new_instancemethod(_STEPConstruct.STEPConstruct_Part_Product,None,STEPConstruct_Part)
STEPConstruct_Part.Pid = new_instancemethod(_STEPConstruct.STEPConstruct_Part_Pid,None,STEPConstruct_Part)
STEPConstruct_Part.Pname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_Pname,None,STEPConstruct_Part)
STEPConstruct_Part.Pdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_Pdescription,None,STEPConstruct_Part)
STEPConstruct_Part.SetPid = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPid,None,STEPConstruct_Part)
STEPConstruct_Part.SetPname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPname,None,STEPConstruct_Part)
STEPConstruct_Part.SetPdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPdescription,None,STEPConstruct_Part)
STEPConstruct_Part.PDF = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDF,None,STEPConstruct_Part)
STEPConstruct_Part.PDFid = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDFid,None,STEPConstruct_Part)
STEPConstruct_Part.PDFdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDFdescription,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDFid = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDFid,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDFdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDFdescription,None,STEPConstruct_Part)
STEPConstruct_Part.PD = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PD,None,STEPConstruct_Part)
STEPConstruct_Part.PDdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDdescription,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDdescription,None,STEPConstruct_Part)
STEPConstruct_Part.PDS = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDS,None,STEPConstruct_Part)
STEPConstruct_Part.PDSname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDSname,None,STEPConstruct_Part)
STEPConstruct_Part.PDSdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PDSdescription,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDSname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDSname,None,STEPConstruct_Part)
STEPConstruct_Part.SetPDSdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPDSdescription,None,STEPConstruct_Part)
STEPConstruct_Part.PRPC = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PRPC,None,STEPConstruct_Part)
STEPConstruct_Part.PRPCname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PRPCname,None,STEPConstruct_Part)
STEPConstruct_Part.PRPCdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_PRPCdescription,None,STEPConstruct_Part)
STEPConstruct_Part.SetPRPCname = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPRPCname,None,STEPConstruct_Part)
STEPConstruct_Part.SetPRPCdescription = new_instancemethod(_STEPConstruct.STEPConstruct_Part_SetPRPCdescription,None,STEPConstruct_Part)
STEPConstruct_Part_swigregister = _STEPConstruct.STEPConstruct_Part_swigregister
STEPConstruct_Part_swigregister(STEPConstruct_Part)
class STEPConstruct_PointHasher(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def HashCode(*args):
"""
* Returns a HasCode value for the Key <K> in the range 0..Upper.
:param Point:
:type Point: gp_Pnt
:param Upper:
:type Upper: int
:rtype: int
"""
return _STEPConstruct.STEPConstruct_PointHasher_HashCode(*args)
HashCode = staticmethod(HashCode)
def IsEqual(*args):
"""
* Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.
:param Point1:
:type Point1: gp_Pnt
:param Point2:
:type Point2: gp_Pnt
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_PointHasher_IsEqual(*args)
IsEqual = staticmethod(IsEqual)
def __init__(self):
_STEPConstruct.STEPConstruct_PointHasher_swiginit(self,_STEPConstruct.new_STEPConstruct_PointHasher())
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_PointHasher
STEPConstruct_PointHasher_swigregister = _STEPConstruct.STEPConstruct_PointHasher_swigregister
STEPConstruct_PointHasher_swigregister(STEPConstruct_PointHasher)
def STEPConstruct_PointHasher_HashCode(*args):
"""
* Returns a HasCode value for the Key <K> in the range 0..Upper.
:param Point:
:type Point: gp_Pnt
:param Upper:
:type Upper: int
:rtype: int
"""
return _STEPConstruct.STEPConstruct_PointHasher_HashCode(*args)
def STEPConstruct_PointHasher_IsEqual(*args):
"""
* Returns True when the two keys are the same. Two same keys must have the same hashcode, the contrary is not necessary.
:param Point1:
:type Point1: gp_Pnt
:param Point2:
:type Point2: gp_Pnt
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_PointHasher_IsEqual(*args)
class STEPConstruct_Tool(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
* Creates an empty tool
:rtype: None
* Creates a tool and loads it with worksession
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: None
"""
_STEPConstruct.STEPConstruct_Tool_swiginit(self,_STEPConstruct.new_STEPConstruct_Tool(*args))
def WS(self, *args):
"""
* Returns currently loaded WorkSession
:rtype: Handle_XSControl_WorkSession
"""
return _STEPConstruct.STEPConstruct_Tool_WS(self, *args)
def Model(self, *args):
"""
* Returns current model (Null if not loaded)
:rtype: Handle_Interface_InterfaceModel
"""
return _STEPConstruct.STEPConstruct_Tool_Model(self, *args)
def Graph(self, *args):
"""
* Returns current graph (recomputing if necessary)
:param recompute: default value is Standard_False
:type recompute: bool
:rtype: Interface_Graph
"""
return _STEPConstruct.STEPConstruct_Tool_Graph(self, *args)
def TransientProcess(self, *args):
"""
* Returns TransientProcess (reading; Null if not loaded)
:rtype: Handle_Transfer_TransientProcess
"""
return _STEPConstruct.STEPConstruct_Tool_TransientProcess(self, *args)
def FinderProcess(self, *args):
"""
* Returns FinderProcess (writing; Null if not loaded)
:rtype: Handle_Transfer_FinderProcess
"""
return _STEPConstruct.STEPConstruct_Tool_FinderProcess(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_Tool
STEPConstruct_Tool.WS = new_instancemethod(_STEPConstruct.STEPConstruct_Tool_WS,None,STEPConstruct_Tool)
STEPConstruct_Tool.Model = new_instancemethod(_STEPConstruct.STEPConstruct_Tool_Model,None,STEPConstruct_Tool)
STEPConstruct_Tool.Graph = new_instancemethod(_STEPConstruct.STEPConstruct_Tool_Graph,None,STEPConstruct_Tool)
STEPConstruct_Tool.TransientProcess = new_instancemethod(_STEPConstruct.STEPConstruct_Tool_TransientProcess,None,STEPConstruct_Tool)
STEPConstruct_Tool.FinderProcess = new_instancemethod(_STEPConstruct.STEPConstruct_Tool_FinderProcess,None,STEPConstruct_Tool)
STEPConstruct_Tool_swigregister = _STEPConstruct.STEPConstruct_Tool_swigregister
STEPConstruct_Tool_swigregister(STEPConstruct_Tool)
class STEPConstruct_UnitContext(object):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
* Creates empty tool
:rtype: None
"""
_STEPConstruct.STEPConstruct_UnitContext_swiginit(self,_STEPConstruct.new_STEPConstruct_UnitContext(*args))
def Init(self, *args):
"""
* Creates new context (units are MM and radians, uncertainty equal to Tol3d)
:param Tol3d:
:type Tol3d: float
:rtype: None
"""
return _STEPConstruct.STEPConstruct_UnitContext_Init(self, *args)
def IsDone(self, *args):
"""
* Returns True if Init was called successfully
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_IsDone(self, *args)
def Value(self, *args):
"""
* Returns context (or Null if not done)
:rtype: Handle_StepGeom_GeomRepContextAndGlobUnitAssCtxAndGlobUncertaintyAssCtx
"""
return _STEPConstruct.STEPConstruct_UnitContext_Value(self, *args)
def ComputeFactors(self, *args):
"""
* Computes the length, plane angle and solid angle conversion factor . Returns a status, 0 if OK
:param aContext:
:type aContext: Handle_StepRepr_GlobalUnitAssignedContext &
:rtype: int
:param aUnit:
:type aUnit: Handle_StepBasic_NamedUnit &
:rtype: int
"""
return _STEPConstruct.STEPConstruct_UnitContext_ComputeFactors(self, *args)
def ComputeTolerance(self, *args):
"""
* Computes the uncertainty value (for length)
:param aContext:
:type aContext: Handle_StepRepr_GlobalUncertaintyAssignedContext &
:rtype: int
"""
return _STEPConstruct.STEPConstruct_UnitContext_ComputeTolerance(self, *args)
def LengthFactor(self, *args):
"""
* Returns the lengthFactor
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_LengthFactor(self, *args)
def PlaneAngleFactor(self, *args):
"""
* Returns the planeAngleFactor
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_PlaneAngleFactor(self, *args)
def SolidAngleFactor(self, *args):
"""
* Returns the solidAngleFactor
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_SolidAngleFactor(self, *args)
def Uncertainty(self, *args):
"""
* Returns the Uncertainty value (for length) It has been converted with LengthFactor
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_Uncertainty(self, *args)
def AreaFactor(self, *args):
"""
* Returns the areaFactor
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_AreaFactor(self, *args)
def VolumeFactor(self, *args):
"""
* Returns the volumeFactor
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_VolumeFactor(self, *args)
def HasUncertainty(self, *args):
"""
* Tells if a Uncertainty (for length) is recorded
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_HasUncertainty(self, *args)
def LengthDone(self, *args):
"""
* Returns true if ComputeFactors has calculated a LengthFactor
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_LengthDone(self, *args)
def PlaneAngleDone(self, *args):
"""
* Returns true if ComputeFactors has calculated a PlaneAngleFactor
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_PlaneAngleDone(self, *args)
def SolidAngleDone(self, *args):
"""
* Returns true if ComputeFactors has calculated a SolidAngleFactor
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_SolidAngleDone(self, *args)
def AreaDone(self, *args):
"""
* Returns true if areaFactor is computed
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_AreaDone(self, *args)
def VolumeDone(self, *args):
"""
* Returns true if volumeFactor is computed
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_UnitContext_VolumeDone(self, *args)
def StatusMessage(self, *args):
"""
* Returns a message for a given status (0 - empty) This message can then be added as warning for transfer
:param status:
:type status: int
:rtype: char *
"""
return _STEPConstruct.STEPConstruct_UnitContext_StatusMessage(self, *args)
def ConvertSiPrefix(*args):
"""
* Convert SI prefix defined by enumertaion to corresponding real factor (e.g. 1e6 for mega)
:param aPrefix:
:type aPrefix: StepBasic_SiPrefix
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_ConvertSiPrefix(*args)
ConvertSiPrefix = staticmethod(ConvertSiPrefix)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_UnitContext
STEPConstruct_UnitContext.Init = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_Init,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.IsDone = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_IsDone,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.Value = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_Value,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.ComputeFactors = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_ComputeFactors,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.ComputeTolerance = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_ComputeTolerance,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.LengthFactor = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_LengthFactor,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.PlaneAngleFactor = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_PlaneAngleFactor,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.SolidAngleFactor = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_SolidAngleFactor,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.Uncertainty = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_Uncertainty,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.AreaFactor = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_AreaFactor,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.VolumeFactor = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_VolumeFactor,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.HasUncertainty = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_HasUncertainty,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.LengthDone = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_LengthDone,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.PlaneAngleDone = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_PlaneAngleDone,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.SolidAngleDone = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_SolidAngleDone,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.AreaDone = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_AreaDone,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.VolumeDone = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_VolumeDone,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext.StatusMessage = new_instancemethod(_STEPConstruct.STEPConstruct_UnitContext_StatusMessage,None,STEPConstruct_UnitContext)
STEPConstruct_UnitContext_swigregister = _STEPConstruct.STEPConstruct_UnitContext_swigregister
STEPConstruct_UnitContext_swigregister(STEPConstruct_UnitContext)
def STEPConstruct_UnitContext_ConvertSiPrefix(*args):
"""
* Convert SI prefix defined by enumertaion to corresponding real factor (e.g. 1e6 for mega)
:param aPrefix:
:type aPrefix: StepBasic_SiPrefix
:rtype: float
"""
return _STEPConstruct.STEPConstruct_UnitContext_ConvertSiPrefix(*args)
class STEPConstruct_ExternRefs(STEPConstruct_Tool):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
* Creates an empty tool
:rtype: None
* Creates a tool and initializes it
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: None
"""
_STEPConstruct.STEPConstruct_ExternRefs_swiginit(self,_STEPConstruct.new_STEPConstruct_ExternRefs(*args))
def Init(self, *args):
"""
* Initializes tool; returns True if succeeded
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ExternRefs_Init(self, *args)
def Clear(self, *args):
"""
* Clears internal fields (list of defined extern refs)
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ExternRefs_Clear(self, *args)
def LoadExternRefs(self, *args):
"""
* Searches current STEP model for external references and loads them to the internal data structures NOTE: does not clear data structures before loading
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ExternRefs_LoadExternRefs(self, *args)
def NbExternRefs(self, *args):
"""
* Returns number of defined extern references
:rtype: int
"""
return _STEPConstruct.STEPConstruct_ExternRefs_NbExternRefs(self, *args)
def FileName(self, *args):
"""
* Returns filename for numth extern reference Returns Null if FileName is not defined or bad
:param num:
:type num: int
:rtype: char *
"""
return _STEPConstruct.STEPConstruct_ExternRefs_FileName(self, *args)
def ProdDef(self, *args):
"""
* Returns ProductDefinition to which numth extern reference is associated. Returns Null if cannot be detected or if extern reference is not associated to SDR in a proper way.
:param num:
:type num: int
:rtype: Handle_StepBasic_ProductDefinition
"""
return _STEPConstruct.STEPConstruct_ExternRefs_ProdDef(self, *args)
def Format(self, *args):
"""
* Returns format identification string for the extern document Returns Null handle if format is not defined
:param num:
:type num: int
:rtype: Handle_TCollection_HAsciiString
"""
return _STEPConstruct.STEPConstruct_ExternRefs_Format(self, *args)
def AddExternRef(self, *args):
"""
* Create a new external reference with specified attributes attached to a given SDR <format> can be Null string, in that case this information is not written. Else, it can be 'STEP AP214' or 'STEP AP203' Returns index of a new extern ref
:param filename:
:type filename: char *
:param PD:
:type PD: Handle_StepBasic_ProductDefinition &
:param format:
:type format: char *
:rtype: int
"""
return _STEPConstruct.STEPConstruct_ExternRefs_AddExternRef(self, *args)
def checkAP214Shared(self, *args):
"""
* Check (create if it is null) all shared entities for the model
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ExternRefs_checkAP214Shared(self, *args)
def WriteExternRefs(self, *args):
"""
* Adds all the currently defined external refs to the model Returns number of written extern refs
:param num:
:type num: int
:rtype: int
"""
return _STEPConstruct.STEPConstruct_ExternRefs_WriteExternRefs(self, *args)
def SetAP214APD(self, *args):
"""
* Set the ApplicationProtocolDefinition of the PDM schema
:param APD:
:type APD: Handle_StepBasic_ApplicationProtocolDefinition &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ExternRefs_SetAP214APD(self, *args)
def GetAP214APD(self, *args):
"""
* Returns the ApplicationProtocolDefinition of the PDM schema NOTE: if not defined then create new APD with new Application Context
:rtype: Handle_StepBasic_ApplicationProtocolDefinition
"""
return _STEPConstruct.STEPConstruct_ExternRefs_GetAP214APD(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_ExternRefs
STEPConstruct_ExternRefs.Init = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_Init,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.Clear = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_Clear,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.LoadExternRefs = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_LoadExternRefs,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.NbExternRefs = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_NbExternRefs,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.FileName = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_FileName,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.ProdDef = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_ProdDef,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.Format = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_Format,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.AddExternRef = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_AddExternRef,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.checkAP214Shared = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_checkAP214Shared,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.WriteExternRefs = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_WriteExternRefs,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.SetAP214APD = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_SetAP214APD,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs.GetAP214APD = new_instancemethod(_STEPConstruct.STEPConstruct_ExternRefs_GetAP214APD,None,STEPConstruct_ExternRefs)
STEPConstruct_ExternRefs_swigregister = _STEPConstruct.STEPConstruct_ExternRefs_swigregister
STEPConstruct_ExternRefs_swigregister(STEPConstruct_ExternRefs)
class STEPConstruct_Styles(STEPConstruct_Tool):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
* Creates an empty tool
:rtype: None
* Creates a tool and initializes it
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: None
"""
_STEPConstruct.STEPConstruct_Styles_swiginit(self,_STEPConstruct.new_STEPConstruct_Styles(*args))
def Init(self, *args):
"""
* Initializes tool; returns True if succeeded
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_Init(self, *args)
def NbStyles(self, *args):
"""
* Returns number of defined styles
:rtype: int
"""
return _STEPConstruct.STEPConstruct_Styles_NbStyles(self, *args)
def Style(self, *args):
"""
* Returns style with given index
:param i:
:type i: int
:rtype: Handle_StepVisual_StyledItem
"""
return _STEPConstruct.STEPConstruct_Styles_Style(self, *args)
def ClearStyles(self, *args):
"""
* Clears all defined styles and PSA sequence
:rtype: None
"""
return _STEPConstruct.STEPConstruct_Styles_ClearStyles(self, *args)
def AddStyle(self, *args):
"""
* Adds a style to a sequence
:param style:
:type style: Handle_StepVisual_StyledItem &
:rtype: None
* Create a style linking giving PSA to the item, and add it to the sequence of stored styles. If Override is not Null, then the resulting style will be of the subtype OverridingStyledItem.
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:param PSA:
:type PSA: Handle_StepVisual_PresentationStyleAssignment &
:param Override:
:type Override: Handle_StepVisual_StyledItem &
:rtype: Handle_StepVisual_StyledItem
* Create a style linking giving PSA to the Shape, and add it to the sequence of stored styles. If Override is not Null, then the resulting style will be of the subtype OverridingStyledItem. The Sape is used to find corresponding STEP entity by call to STEPConstruct::FindEntity(), then previous method is called.
:param Shape:
:type Shape: TopoDS_Shape &
:param PSA:
:type PSA: Handle_StepVisual_PresentationStyleAssignment &
:param Override:
:type Override: Handle_StepVisual_StyledItem &
:rtype: Handle_StepVisual_StyledItem
"""
return _STEPConstruct.STEPConstruct_Styles_AddStyle(self, *args)
def CreateMDGPR(self, *args):
"""
* Create MDGPR, fill it with all the styles previously defined, and add it to the model
:param Context:
:type Context: Handle_StepRepr_RepresentationContext &
:param MDGPR:
:type MDGPR: Handle_StepVisual_MechanicalDesignGeometricPresentationRepresentation &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_CreateMDGPR(self, *args)
def CreateNAUOSRD(self, *args):
"""
* Create MDGPR, fill it with all the styles previously defined, and add it to the model IMPORTANT: <initPDS> must be null when use for NAUO colors <initPDS> initialised only for SHUO case.
:param Context:
:type Context: Handle_StepRepr_RepresentationContext &
:param CDSR:
:type CDSR: Handle_StepShape_ContextDependentShapeRepresentation &
:param initPDS:
:type initPDS: Handle_StepRepr_ProductDefinitionShape &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_CreateNAUOSRD(self, *args)
def FindContext(self, *args):
"""
* Searches the STEP model for the RepresentationContext in which given shape is defined. This context (if found) can be used then in call to CreateMDGPR()
:param Shape:
:type Shape: TopoDS_Shape &
:rtype: Handle_StepRepr_RepresentationContext
"""
return _STEPConstruct.STEPConstruct_Styles_FindContext(self, *args)
def LoadStyles(self, *args):
"""
* Searches the STEP model for the MDGPR or DM entities (which bring styles) and fills sequence of styles
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_LoadStyles(self, *args)
def LoadInvisStyles(self, *args):
"""
* Searches the STEP model for the INISIBILITY enteties (which bring styles) and fills out sequence of styles
:param InvSyles:
:type InvSyles: Handle_TColStd_HSequenceOfTransient &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_LoadInvisStyles(self, *args)
def MakeColorPSA(self, *args):
"""
* Create a PresentationStyleAssignment entity which defines two colors (for filling surfaces and curves) if isForNAUO true then returns PresentationStyleByContext
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:param SurfCol:
:type SurfCol: Handle_StepVisual_Colour &
:param CurveCol:
:type CurveCol: Handle_StepVisual_Colour &
:param isForNAUO: default value is Standard_False
:type isForNAUO: bool
:rtype: Handle_StepVisual_PresentationStyleAssignment
"""
return _STEPConstruct.STEPConstruct_Styles_MakeColorPSA(self, *args)
def GetColorPSA(self, *args):
"""
* Returns a PresentationStyleAssignment entity which defines surface and curve colors as Col. This PSA is either created or taken from internal map where all PSAs created by this method are remembered.
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:param Col:
:type Col: Handle_StepVisual_Colour &
:rtype: Handle_StepVisual_PresentationStyleAssignment
"""
return _STEPConstruct.STEPConstruct_Styles_GetColorPSA(self, *args)
def GetColors(self, *args):
"""
* Extract color definitions from the style entity For each type of color supported, result can be either NULL if it is not defined by that style, or last definition (if they are 1 or more)
:param style:
:type style: Handle_StepVisual_StyledItem &
:param SurfCol:
:type SurfCol: Handle_StepVisual_Colour &
:param BoundCol:
:type BoundCol: Handle_StepVisual_Colour &
:param CurveCol:
:type CurveCol: Handle_StepVisual_Colour &
:param IsComponent:
:type IsComponent: bool
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_GetColors(self, *args)
def EncodeColor(*args):
"""
* Create STEP color entity by given Quantity_Color The analysis is performed for whether the color corresponds to one of standard colors predefined in STEP. In that case, PredefinedColour entity is created instead of RGBColour
:param Col:
:type Col: Quantity_Color &
:rtype: Handle_StepVisual_Colour
* Create STEP color entity by given Quantity_Color The analysis is performed for whether the color corresponds to one of standard colors predefined in STEP. In that case, PredefinedColour entity is created instead of RGBColour
:param Col:
:type Col: Quantity_Color &
:param DPDCs:
:type DPDCs: STEPConstruct_DataMapOfAsciiStringTransient &
:param ColRGBs:
:type ColRGBs: STEPConstruct_DataMapOfPointTransient &
:rtype: Handle_StepVisual_Colour
"""
return _STEPConstruct.STEPConstruct_Styles_EncodeColor(*args)
EncodeColor = staticmethod(EncodeColor)
def DecodeColor(*args):
"""
* Decodes STEP color and fills the Quantity_Color. Returns True if OK or False if color is not recognized
:param Colour:
:type Colour: Handle_StepVisual_Colour &
:param Col:
:type Col: Quantity_Color &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_DecodeColor(*args)
DecodeColor = staticmethod(DecodeColor)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_Styles
STEPConstruct_Styles.Init = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_Init,None,STEPConstruct_Styles)
STEPConstruct_Styles.NbStyles = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_NbStyles,None,STEPConstruct_Styles)
STEPConstruct_Styles.Style = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_Style,None,STEPConstruct_Styles)
STEPConstruct_Styles.ClearStyles = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_ClearStyles,None,STEPConstruct_Styles)
STEPConstruct_Styles.AddStyle = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_AddStyle,None,STEPConstruct_Styles)
STEPConstruct_Styles.CreateMDGPR = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_CreateMDGPR,None,STEPConstruct_Styles)
STEPConstruct_Styles.CreateNAUOSRD = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_CreateNAUOSRD,None,STEPConstruct_Styles)
STEPConstruct_Styles.FindContext = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_FindContext,None,STEPConstruct_Styles)
STEPConstruct_Styles.LoadStyles = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_LoadStyles,None,STEPConstruct_Styles)
STEPConstruct_Styles.LoadInvisStyles = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_LoadInvisStyles,None,STEPConstruct_Styles)
STEPConstruct_Styles.MakeColorPSA = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_MakeColorPSA,None,STEPConstruct_Styles)
STEPConstruct_Styles.GetColorPSA = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_GetColorPSA,None,STEPConstruct_Styles)
STEPConstruct_Styles.GetColors = new_instancemethod(_STEPConstruct.STEPConstruct_Styles_GetColors,None,STEPConstruct_Styles)
STEPConstruct_Styles_swigregister = _STEPConstruct.STEPConstruct_Styles_swigregister
STEPConstruct_Styles_swigregister(STEPConstruct_Styles)
def STEPConstruct_Styles_EncodeColor(*args):
"""
* Create STEP color entity by given Quantity_Color The analysis is performed for whether the color corresponds to one of standard colors predefined in STEP. In that case, PredefinedColour entity is created instead of RGBColour
:param Col:
:type Col: Quantity_Color &
:rtype: Handle_StepVisual_Colour
* Create STEP color entity by given Quantity_Color The analysis is performed for whether the color corresponds to one of standard colors predefined in STEP. In that case, PredefinedColour entity is created instead of RGBColour
:param Col:
:type Col: Quantity_Color &
:param DPDCs:
:type DPDCs: STEPConstruct_DataMapOfAsciiStringTransient &
:param ColRGBs:
:type ColRGBs: STEPConstruct_DataMapOfPointTransient &
:rtype: Handle_StepVisual_Colour
"""
return _STEPConstruct.STEPConstruct_Styles_EncodeColor(*args)
def STEPConstruct_Styles_DecodeColor(*args):
"""
* Decodes STEP color and fills the Quantity_Color. Returns True if OK or False if color is not recognized
:param Colour:
:type Colour: Handle_StepVisual_Colour &
:param Col:
:type Col: Quantity_Color &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_Styles_DecodeColor(*args)
class STEPConstruct_ValidationProps(STEPConstruct_Tool):
thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
__repr__ = _swig_repr
def __init__(self, *args):
"""
* Creates an empty tool
:rtype: None
* Creates a tool and loads it with worksession
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: None
"""
_STEPConstruct.STEPConstruct_ValidationProps_swiginit(self,_STEPConstruct.new_STEPConstruct_ValidationProps(*args))
def Init(self, *args):
"""
* Load worksession; returns True if succeeded
:param WS:
:type WS: Handle_XSControl_WorkSession &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_Init(self, *args)
def AddProp(self, *args):
"""
* General method for adding (writing) a validation property for shape which should be already mapped on writing itself. It uses FindTarget() to find target STEP entity resulting from given shape, and associated context Returns True if success, False in case of fail
:param Shape:
:type Shape: TopoDS_Shape &
:param Prop:
:type Prop: Handle_StepRepr_RepresentationItem &
:param Descr:
:type Descr: char *
:param instance: default value is Standard_False
:type instance: bool
:rtype: bool
* General method for adding (writing) a validation property for shape which should be already mapped on writing itself. It takes target and Context entities which correspond to shape Returns True if success, False in case of fail
:param target:
:type target: StepRepr_CharacterizedDefinition &
:param Context:
:type Context: Handle_StepRepr_RepresentationContext &
:param Prop:
:type Prop: Handle_StepRepr_RepresentationItem &
:param Descr:
:type Descr: char *
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_AddProp(self, *args)
def AddArea(self, *args):
"""
* Adds surface area property for given shape (already mapped). Returns True if success, False in case of fail
:param Shape:
:type Shape: TopoDS_Shape &
:param Area:
:type Area: float
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_AddArea(self, *args)
def AddVolume(self, *args):
"""
* Adds volume property for given shape (already mapped). Returns True if success, False in case of fail
:param Shape:
:type Shape: TopoDS_Shape &
:param Vol:
:type Vol: float
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_AddVolume(self, *args)
def AddCentroid(self, *args):
"""
* Adds centroid property for given shape (already mapped). Returns True if success, False in case of fail If instance is True, then centroid is assigned to an instance of component in assembly
:param Shape:
:type Shape: TopoDS_Shape &
:param Pnt:
:type Pnt: gp_Pnt
:param instance: default value is Standard_False
:type instance: bool
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_AddCentroid(self, *args)
def FindTarget(self, *args):
"""
* Finds target STEP entity to which validation props should be assigned, and corresponding context, starting from shape Returns True if success, False in case of fail
:param S:
:type S: TopoDS_Shape &
:param target:
:type target: StepRepr_CharacterizedDefinition &
:param Context:
:type Context: Handle_StepRepr_RepresentationContext &
:param instance: default value is Standard_False
:type instance: bool
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_FindTarget(self, *args)
def LoadProps(self, *args):
"""
* Searches for entities of the type PropertyDefinitionRepresentation in the model and fills the sequence by them
:param seq:
:type seq: TColStd_SequenceOfTransient &
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_LoadProps(self, *args)
def GetPropNAUO(self, *args):
"""
* Returns CDSR associated with given PpD or NULL if not found (when, try GetPropSDR)
:param PD:
:type PD: Handle_StepRepr_PropertyDefinition &
:rtype: Handle_StepRepr_NextAssemblyUsageOccurrence
"""
return _STEPConstruct.STEPConstruct_ValidationProps_GetPropNAUO(self, *args)
def GetPropPD(self, *args):
"""
* Returns SDR associated with given PpD or NULL if not found (when, try GetPropCDSR)
:param PD:
:type PD: Handle_StepRepr_PropertyDefinition &
:rtype: Handle_StepBasic_ProductDefinition
"""
return _STEPConstruct.STEPConstruct_ValidationProps_GetPropPD(self, *args)
def GetPropShape(self, *args):
"""
* Returns Shape associated with given SDR or Null Shape if not found
:param ProdDef:
:type ProdDef: Handle_StepBasic_ProductDefinition &
:rtype: TopoDS_Shape
* Returns Shape associated with given PpD or Null Shape if not found
:param PD:
:type PD: Handle_StepRepr_PropertyDefinition &
:rtype: TopoDS_Shape
"""
return _STEPConstruct.STEPConstruct_ValidationProps_GetPropShape(self, *args)
def GetPropReal(self, *args):
"""
* Returns value of Real-Valued property (Area or Volume) If Property is neither Area nor Volume, returns False Else returns True and isArea indicates whether property is area or volume
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:param Val:
:type Val: float &
:param isArea:
:type isArea: bool
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_GetPropReal(self, *args)
def GetPropPnt(self, *args):
"""
* Returns value of Centriod property (or False if it is not)
:param item:
:type item: Handle_StepRepr_RepresentationItem &
:param Context:
:type Context: Handle_StepRepr_RepresentationContext &
:param Pnt:
:type Pnt: gp_Pnt
:rtype: bool
"""
return _STEPConstruct.STEPConstruct_ValidationProps_GetPropPnt(self, *args)
def SetAssemblyShape(self, *args):
"""
* Sets current assembly shape SDR (for FindCDSR calls)
:param shape:
:type shape: TopoDS_Shape &
:rtype: None
"""
return _STEPConstruct.STEPConstruct_ValidationProps_SetAssemblyShape(self, *args)
__swig_destroy__ = _STEPConstruct.delete_STEPConstruct_ValidationProps
STEPConstruct_ValidationProps.Init = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_Init,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.AddProp = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_AddProp,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.AddArea = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_AddArea,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.AddVolume = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_AddVolume,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.AddCentroid = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_AddCentroid,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.FindTarget = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_FindTarget,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.LoadProps = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_LoadProps,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.GetPropNAUO = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_GetPropNAUO,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.GetPropPD = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_GetPropPD,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.GetPropShape = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_GetPropShape,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.GetPropReal = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_GetPropReal,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.GetPropPnt = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_GetPropPnt,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps.SetAssemblyShape = new_instancemethod(_STEPConstruct.STEPConstruct_ValidationProps_SetAssemblyShape,None,STEPConstruct_ValidationProps)
STEPConstruct_ValidationProps_swigregister = _STEPConstruct.STEPConstruct_ValidationProps_swigregister
STEPConstruct_ValidationProps_swigregister(STEPConstruct_ValidationProps)
| 41.429273 | 539 | 0.751212 | 10,779 | 118,032 | 7.912886 | 0.073291 | 0.137479 | 0.077732 | 0.100325 | 0.698287 | 0.384592 | 0.337589 | 0.292744 | 0.264312 | 0.255543 | 0 | 0.006522 | 0.178985 | 118,032 | 2,848 | 540 | 41.44382 | 0.87364 | 0.262632 | 0 | 0.165254 | 1 | 0 | 0.007656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264831 | false | 0.003178 | 0.03178 | 0.004237 | 0.636653 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
82e67a0f126bdee06864d3375f52da39a7aac36d | 984 | py | Python | 120_triangle.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | 1 | 2020-07-15T14:16:23.000Z | 2020-07-15T14:16:23.000Z | 120_triangle.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | null | null | null | 120_triangle.py | claytonjwong/leetcode-py | 16bbf8ac0ba5c80fe3ef67ade0d61a12991270a7 | [
"MIT"
] | null | null | null | #
# 120. Triangle
#
# Q: https://leetcode.com/problems/triangle/
# A: https://leetcode.com/problems/triangle/discuss/38726/Kt-Js-Py3-Cpp-The-ART-of-Dynamic-Programming
#
# TopDown
class Solution:
def minimumTotal(self, A: List[List[int]]) -> int:
N = len(A)
def go(i = 0, j = 0):
if i == N:
return 0
return A[i][j] + min(go(i + 1, j), go(i + 1, j + 1))
return go()
# TopDownMemo
class Solution:
def minimumTotal(self, A: List[List[int]]) -> int:
N = len(A)
@cache
def go(i = 0, j = 0):
if i == N:
return 0
return A[i][j] + min(go(i + 1, j), go(i + 1, j + 1))
return go()
# BottomUp
class Solution:
def minimumTotal(self, A: List[List[int]]) -> int:
N = len(A)
for i in range(N - 2, -1, -1):
for j in range(0, len(A[i])):
A[i][j] += min(A[i + 1][j], A[i + 1][j + 1])
return A[0][0]
| 26.594595 | 102 | 0.477642 | 155 | 984 | 3.032258 | 0.283871 | 0.038298 | 0.038298 | 0.042553 | 0.706383 | 0.548936 | 0.548936 | 0.548936 | 0.548936 | 0.548936 | 0 | 0.046296 | 0.341463 | 984 | 36 | 103 | 27.333333 | 0.679012 | 0.189024 | 0 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.208333 | false | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
7d5c0d4a00564fb0538344253781b0c6210cd81c | 529 | py | Python | rl/configs/Config.py | mahkons/Lottery-ticket-hypothesis | 96ec399fdfc4138a37feecb24a63b3cdb8e50e1e | [
"MIT"
] | 7 | 2020-10-08T04:59:51.000Z | 2021-12-03T06:12:39.000Z | rl/configs/Config.py | mahkons/Lottery-ticket-hypothesis | 96ec399fdfc4138a37feecb24a63b3cdb8e50e1e | [
"MIT"
] | null | null | null | rl/configs/Config.py | mahkons/Lottery-ticket-hypothesis | 96ec399fdfc4138a37feecb24a63b3cdb8e50e1e | [
"MIT"
] | null | null | null | class Config():
def __init__(self):
pass
def to_dict(self):
res_dict = dict()
for key, value in self.__dict__.items():
if isinstance(value, Config):
res_dict.update(value.to_dict())
else:
res_dict[key] = value
return res_dict
class OptimizerConfig(Config):
def __init__(self):
pass
def create_optimizer(self):
raise NotImplementedError()
class MemoryConfig(Config):
def __init__(self):
pass
| 20.346154 | 48 | 0.572779 | 58 | 529 | 4.827586 | 0.431034 | 0.1 | 0.139286 | 0.182143 | 0.246429 | 0.171429 | 0 | 0 | 0 | 0 | 0 | 0 | 0.334594 | 529 | 25 | 49 | 21.16 | 0.795455 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0.157895 | 0 | 0 | 0.473684 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
7d5cf3ea2f471a09a43edcc080bd6ea24adf1206 | 286 | py | Python | apps/terminal_location_shortcuts/terminal_location_shortcuts.py | DonnerWolfBach/knausj_talon | 2b217f375fc6c6e98629158435cd9b1f3a0ea538 | [
"MIT"
] | null | null | null | apps/terminal_location_shortcuts/terminal_location_shortcuts.py | DonnerWolfBach/knausj_talon | 2b217f375fc6c6e98629158435cd9b1f3a0ea538 | [
"MIT"
] | null | null | null | apps/terminal_location_shortcuts/terminal_location_shortcuts.py | DonnerWolfBach/knausj_talon | 2b217f375fc6c6e98629158435cd9b1f3a0ea538 | [
"MIT"
] | null | null | null | from talon import Module
mod = Module()
@mod.action_class
class Actions:
def terminal_location_shortcuts_go(location :str):
"""moves the terminal to the location"""
def terminal_location_shortcuts_path(location: str):
"""returns the path to the location"""
| 20.428571 | 56 | 0.70979 | 37 | 286 | 5.297297 | 0.513514 | 0.091837 | 0.193878 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199301 | 286 | 13 | 57 | 22 | 0.855895 | 0.234266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7d6aca9f8f1871468354a7bb0058cbb9a6077de4 | 1,463 | py | Python | src/PokerRL/envs/holdem_env.py | skamano/PokerRL | 3790a887751b7b5ebf4053618ea30c4aebcc90c9 | [
"MIT"
] | null | null | null | src/PokerRL/envs/holdem_env.py | skamano/PokerRL | 3790a887751b7b5ebf4053618ea30c4aebcc90c9 | [
"MIT"
] | null | null | null | src/PokerRL/envs/holdem_env.py | skamano/PokerRL | 3790a887751b7b5ebf4053618ea30c4aebcc90c9 | [
"MIT"
] | null | null | null | import copy
import gym
import numpy as np
from gym import error, spaces, utils
from gym.utils import seeding
from .. import HoldemGame, HoldemPlayer
class HoldemEnv(gym.Env):
metadata = {'render.modes': ['human']}
def __init__(self, game: HoldemGame):
self._game = game
@property
def action_space(self):
'''
Action space: {0,1,2,3,4} x (0, +oo) where 0 == bet, 1 == raise, 2 == check, 3 == call, 4 == fold
If the action is "check", "call", or "fold", then valid actions correspond to (2,0), (3,0) or (4,0).
During training, all other values are zero'd out.
'''
box = spaces.Box(low=0, high=np.inf, shape=(1,))
actions = spaces.Discrete(5)
return spaces.Tuple([actions, box])
@property
def observation_space(self):
'''
Observation space: {player, action, bet, pot, funds}
'''
box = spaces.Box(low=0, high=np.inf, shape=(1,))
actions = spaces.Discrete(5)
players = spaces.Discrete(self._game.max_players)
return spaces.Tuple([players, actions, box, box, box])
def step(self, action):
observation = None
reward = None
done = None
info = None
return observation, reward, done, info
def reset(self):
observation = None
return observation
def render(self, mode='human'):
pass
def close(self):
pass
| 28.134615 | 108 | 0.578947 | 188 | 1,463 | 4.457447 | 0.43617 | 0.02864 | 0.02864 | 0.0358 | 0.126492 | 0.126492 | 0.126492 | 0.126492 | 0.126492 | 0.126492 | 0 | 0.02233 | 0.295967 | 1,463 | 51 | 109 | 28.686275 | 0.791262 | 0.206425 | 0 | 0.294118 | 0 | 0 | 0.020036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.205882 | false | 0.058824 | 0.176471 | 0 | 0.558824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7d6f2c32af6c9a849109ea435865ce58c69b4f8a | 256 | py | Python | powerpy/pattern/creational/lazy.py | jacopodl/PowerPy | a86d3f56f39f236d661b85598fe9e7c4c5d59d6b | [
"MIT"
] | null | null | null | powerpy/pattern/creational/lazy.py | jacopodl/PowerPy | a86d3f56f39f236d661b85598fe9e7c4c5d59d6b | [
"MIT"
] | null | null | null | powerpy/pattern/creational/lazy.py | jacopodl/PowerPy | a86d3f56f39f236d661b85598fe9e7c4c5d59d6b | [
"MIT"
] | null | null | null | def lazy(func):
fnattr = "__lazy_" + func.__name__
@property
def wrapper(*args, **kwargs):
if not hasattr(func, fnattr):
setattr(func, fnattr, func(*args, **kwargs))
return getattr(func, fnattr)
return wrapper
| 23.272727 | 56 | 0.597656 | 29 | 256 | 5.034483 | 0.517241 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273438 | 256 | 10 | 57 | 25.6 | 0.784946 | 0 | 0 | 0 | 0 | 0 | 0.027344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7d95c63896b26e3ff2b34e19ee99e078a93be32a | 19 | py | Python | xpath_json/__init__.py | kotari/xpath_json | e2e5983e8d906a318270e6bfaeaaf224a1f945fb | [
"MIT"
] | null | null | null | xpath_json/__init__.py | kotari/xpath_json | e2e5983e8d906a318270e6bfaeaaf224a1f945fb | [
"MIT"
] | null | null | null | xpath_json/__init__.py | kotari/xpath_json | e2e5983e8d906a318270e6bfaeaaf224a1f945fb | [
"MIT"
] | null | null | null | name = "xpath_json" | 19 | 19 | 0.736842 | 3 | 19 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 1 | 19 | 19 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7d9e2d35e191bb236c1f4aec71a939f6da682395 | 1,170 | py | Python | packs/utils/info_manager.py | CiceroAraujo/SB | 637cc4bc63c952f058c316b2b1fbfbb5cd6250c8 | [
"MIT"
] | 1 | 2020-09-09T17:42:52.000Z | 2020-09-09T17:42:52.000Z | packs/utils/info_manager.py | CiceroAraujo/SB | 637cc4bc63c952f058c316b2b1fbfbb5cd6250c8 | [
"MIT"
] | null | null | null | packs/utils/info_manager.py | CiceroAraujo/SB | 637cc4bc63c952f058c316b2b1fbfbb5cd6250c8 | [
"MIT"
] | null | null | null | import yaml
import os
from ..directories import flying
class InfoManager:
all_files = dict()
def __init__(self, from_file_name1: str, to_file_name2: str):
self.file_name = to_file_name2
self.from_file_name1 = from_file_name1
if set([self.file_name]) & set(InfoManager.all_files.keys()):
raise NameError(f'\n O arquivo {self.file_name} ja foi carregado\n')
self.load()
InfoManager.all_files[self.file_name] = self
def load(self):
with open(self.from_file_name1, 'r') as f:
self._data_loaded = yaml.safe_load(f)
def save_obj(self):
with open(self.file_name, 'w') as yaml_file:
yaml.dump(self._data_loaded, yaml_file)
@classmethod
def get_obj_by_name(cls, name):
return cls.all_files[name]
def __setitem__(self, key, value):
self._data_loaded[key] = value
def __getitem__(self, key):
return self._data_loaded[key]
def __hash__(self, key):
return hash(self._data_loaded[key])
def __str__(self):
return self.file_name
def __contains__(self, key):
return key in self._data_loaded
| 26.590909 | 80 | 0.650427 | 167 | 1,170 | 4.167665 | 0.335329 | 0.068966 | 0.103448 | 0.073276 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006818 | 0.247863 | 1,170 | 43 | 81 | 27.209302 | 0.784091 | 0 | 0 | 0 | 0 | 0 | 0.042735 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.290323 | false | 0 | 0.096774 | 0.16129 | 0.612903 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7dbb848ba42a89e672707583a002aed7f1180c01 | 2,281 | py | Python | oscar_ecomenv/Lib/site-packages/phonenumbers/data/region_AL.py | PamilerinId/Ecommerce-Boiler | 1d706f88c8c828e86309793cb33ea102f385bf2f | [
"Apache-2.0"
] | null | null | null | oscar_ecomenv/Lib/site-packages/phonenumbers/data/region_AL.py | PamilerinId/Ecommerce-Boiler | 1d706f88c8c828e86309793cb33ea102f385bf2f | [
"Apache-2.0"
] | null | null | null | oscar_ecomenv/Lib/site-packages/phonenumbers/data/region_AL.py | PamilerinId/Ecommerce-Boiler | 1d706f88c8c828e86309793cb33ea102f385bf2f | [
"Apache-2.0"
] | null | null | null | """Auto-generated file, do not edit by hand. AL metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_AL = PhoneMetadata(id='AL', country_code=355, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[2-57]\\d{7}|6\\d{8}|8\\d{5,7}|9\\d{5}', possible_length=(6, 7, 8, 9), possible_length_local_only=(5, 6, 7)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:1(?:0[2-9]|[1-9]\\d)|[247]\\d{2}|[35][2-9]\\d|[68](?:0[2-9]|[1-9]\\d)|9(?:[089][2-9]|[1-7]\\d))|3(?:1(?:[04-9][2-9]|[1-3]\\d)|[2-6]\\d{2}|[79](?:[09][2-9]|[1-8]\\d)|8(?:0[2-9]|[1-9]\\d))|4\\d{3}|5(?:1(?:[05-9][2-9]|[1-4]\\d)|[2-578]\\d{2}|6(?:[06-9][2-9]|[1-5]\\d)|9(?:[089][2-9]|[1-7]\\d))|8(?:[19](?:[06-9][2-9]|[1-5]\\d)|[2-6]\\d{2}|[78](?:[089][2-9]|[1-7]\\d)))\\d{4}', example_number='22345678', possible_length=(8,), possible_length_local_only=(5, 6, 7)),
mobile=PhoneNumberDesc(national_number_pattern='6(?:[689][2-9]|7[2-6])\\d{6}', example_number='662123456', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{4}', example_number='8001234', possible_length=(7,)),
premium_rate=PhoneNumberDesc(national_number_pattern='900[1-9]\\d{2}', example_number='900123', possible_length=(6,)),
shared_cost=PhoneNumberDesc(national_number_pattern='808[1-9]\\d{2}', example_number='808123', possible_length=(6,)),
personal_number=PhoneNumberDesc(national_number_pattern='700[2-9]\\d{4}', example_number='70021234', possible_length=(8,)),
national_prefix='0',
national_prefix_for_parsing='0',
number_format=[NumberFormat(pattern='(4)(\\d{3})(\\d{4})', format='\\1 \\2 \\3', leading_digits_pattern=['4[0-6]'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(6\\d)(\\d{3})(\\d{4})', format='\\1 \\2 \\3', leading_digits_pattern=['6'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(\\d{2})(\\d{3})(\\d{3})', format='\\1 \\2 \\3', leading_digits_pattern=['[2358][2-5]|4[7-9]'], national_prefix_formatting_rule='0\\1'),
NumberFormat(pattern='(\\d{3})(\\d{3,5})', format='\\1 \\2', leading_digits_pattern=['[235][16-9]|[79]|8[016-9]'], national_prefix_formatting_rule='0\\1')],
mobile_number_portable_region=True)
| 120.052632 | 524 | 0.643577 | 388 | 2,281 | 3.600515 | 0.237113 | 0.020043 | 0.023622 | 0.180387 | 0.362921 | 0.303508 | 0.261274 | 0.169649 | 0.155333 | 0.047244 | 0 | 0.130089 | 0.06313 | 2,281 | 18 | 525 | 126.722222 | 0.523631 | 0.023235 | 0 | 0 | 1 | 0.125 | 0.330333 | 0.231773 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.0625 | 0 | 0.0625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7dcd5fa3d7606091f6d50c9b92e5bd62c80261e7 | 56 | py | Python | my_wallet/apiv1/__init__.py | ibolorino/wallet-backend | 99b00caebdbcf4b5e7f0f7b183615231405b15b6 | [
"MIT"
] | null | null | null | my_wallet/apiv1/__init__.py | ibolorino/wallet-backend | 99b00caebdbcf4b5e7f0f7b183615231405b15b6 | [
"MIT"
] | null | null | null | my_wallet/apiv1/__init__.py | ibolorino/wallet-backend | 99b00caebdbcf4b5e7f0f7b183615231405b15b6 | [
"MIT"
] | null | null | null | default_app_config = "my_wallet.apiv1.apps.ApiV1Config"
| 28 | 55 | 0.839286 | 8 | 56 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.053571 | 56 | 1 | 56 | 56 | 0.792453 | 0 | 0 | 0 | 0 | 0 | 0.571429 | 0.571429 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7dcf515119cd2404e06a62fc54e8c5063b430a77 | 206 | wsgi | Python | contrib/wsgi/flagon_status_api.wsgi | ashcrow/flagon | 50e6aa96854468a89399ef08573e4f814a002d26 | [
"MIT"
] | 18 | 2015-08-27T03:49:42.000Z | 2021-05-12T21:48:17.000Z | contrib/wsgi/flagon_status_api.wsgi | ashcrow/flagon | 50e6aa96854468a89399ef08573e4f814a002d26 | [
"MIT"
] | 2 | 2016-07-18T13:48:46.000Z | 2017-05-20T15:56:03.000Z | contrib/wsgi/flagon_status_api.wsgi | ashcrow/flagon | 50e6aa96854468a89399ef08573e4f814a002d26 | [
"MIT"
] | 5 | 2015-09-20T08:46:01.000Z | 2021-06-10T03:41:04.000Z | from flagon.status_api import StatusAPI
# Import and setup the backend to use ...
# from flagon.backends import localmemory
# backend = localmemory.LocalMemoryBackend({})
application = StatusAPI(backend)
| 25.75 | 46 | 0.786408 | 24 | 206 | 6.708333 | 0.666667 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131068 | 206 | 7 | 47 | 29.428571 | 0.899441 | 0.601942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7dd9cc02a594bd6a2b649328d2926c40cef6668f | 56 | py | Python | creme/proba/__init__.py | tweakyllama/creme | 6bb8e34789947a943e7e6a8a1af1341e4c1de144 | [
"BSD-3-Clause"
] | 1 | 2019-08-24T00:04:19.000Z | 2019-08-24T00:04:19.000Z | creme/proba/__init__.py | koaning/creme | fea9594b0620b57edef0d986edc735a3a0977dc9 | [
"BSD-3-Clause"
] | null | null | null | creme/proba/__init__.py | koaning/creme | fea9594b0620b57edef0d986edc735a3a0977dc9 | [
"BSD-3-Clause"
] | 2 | 2021-06-20T09:29:38.000Z | 2021-06-23T07:47:21.000Z | from .gaussian import Gaussian
__all__ = ['Gaussian']
| 11.2 | 30 | 0.732143 | 6 | 56 | 6.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 56 | 4 | 31 | 14 | 0.787234 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7ddea2450470233e362b7b23f65c70c29275a08b | 153 | py | Python | mlfx/variables/__init__.py | jamiefeiss/MLFX | a5ad01fdcaa23023ddfa1d34443bdb63542fec68 | [
"MIT"
] | 1 | 2020-09-12T00:11:39.000Z | 2020-09-12T00:11:39.000Z | mlfx/variables/__init__.py | jamiefeiss/MLFX | a5ad01fdcaa23023ddfa1d34443bdb63542fec68 | [
"MIT"
] | 4 | 2020-11-13T19:00:50.000Z | 2022-02-10T02:01:01.000Z | mlfx/variables/__init__.py | jamiefeiss/MLFX | a5ad01fdcaa23023ddfa1d34443bdb63542fec68 | [
"MIT"
] | null | null | null | from .Variable import Variable
from .Global import Global
from .Parameter import Parameter
__all__ = [
'Variable',\
'Global',\
'Parameter'
] | 17 | 32 | 0.69281 | 16 | 153 | 6.375 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202614 | 153 | 9 | 33 | 17 | 0.836066 | 0 | 0 | 0 | 0 | 0 | 0.149351 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
7de2c36637805dc54ba60e35b9042e415e740afa | 146 | py | Python | src/hist/axis/transform.py | andrzejnovak/hist | 15a41565ac9a3683bff74b98803c4b88ad8a19ae | [
"BSD-3-Clause"
] | null | null | null | src/hist/axis/transform.py | andrzejnovak/hist | 15a41565ac9a3683bff74b98803c4b88ad8a19ae | [
"BSD-3-Clause"
] | null | null | null | src/hist/axis/transform.py | andrzejnovak/hist | 15a41565ac9a3683bff74b98803c4b88ad8a19ae | [
"BSD-3-Clause"
] | null | null | null | from boost_histogram.axis.transform import AxisTransform, Function, Pow, log, sqrt
__all__ = ("AxisTransform", "Pow", "Function", "sqrt", "log")
| 36.5 | 82 | 0.732877 | 17 | 146 | 6 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109589 | 146 | 3 | 83 | 48.666667 | 0.784615 | 0 | 0 | 0 | 0 | 0 | 0.212329 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
816d2159e508a6c7403148550befb50538b937a0 | 9,388 | py | Python | tests/unit/dataactvalidator/test_fabs38_detached_award_financial_assistance_4_2.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | 1 | 2019-06-22T21:53:16.000Z | 2019-06-22T21:53:16.000Z | tests/unit/dataactvalidator/test_fabs38_detached_award_financial_assistance_4_2.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | tests/unit/dataactvalidator/test_fabs38_detached_award_financial_assistance_4_2.py | dael-victoria-reyes/data-act-broker-backend | f83c7cad29cac24d95f45a262710dc1564de7dc1 | [
"CC0-1.0"
] | null | null | null | from tests.unit.dataactcore.factories.domain import OfficeFactory
from tests.unit.dataactcore.factories.staging import (DetachedAwardFinancialAssistanceFactory,
PublishedAwardFinancialAssistanceFactory)
from tests.unit.dataactvalidator.utils import number_of_errors, query_columns
_FILE = 'fabs38_detached_award_financial_assistance_4_2'
def test_column_headers(database):
expected_subset = {"row_number", "awarding_office_code"}
actual = set(query_columns(_FILE, database))
assert expected_subset == actual
def test_success_ignore_null_pafa(database):
""" Test that empty awarding office codes aren't matching invalid office codes from the base record. """
office = OfficeFactory(office_code='12345a', financial_assistance_awards_office=True)
# Base record has no awarding office code, future records don't affect it
pub_award_1 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='zyxwv_123',
action_date='20181018', award_modification_amendme='0',
is_active=True)
pub_award_2 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abc', unique_award_key='zyxwv_123',
action_date='20181019', award_modification_amendme='1',
is_active=True)
# Base record has an invalid code but new record has a awarding office entered (ignore this rule)
pub_award_3 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abc', unique_award_key='abcd_123',
action_date='20181019', award_modification_amendme='0',
is_active=True)
# Base record with a valid office code (case insensitive)
pub_award_4 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='12345A', unique_award_key='1234_abc',
action_date='20181019', award_modification_amendme='0',
is_active=True)
# Earliest record inactive, newer record has valid entry
pub_award_5 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abc', unique_award_key='4321_cba',
action_date='20181018', award_modification_amendme='0',
is_active=False)
pub_award_6 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='12345a', unique_award_key='4321_cba',
action_date='20181019', award_modification_amendme='1',
is_active=True)
# New entry for base award with no office code
det_award_1 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='zyxwv_123',
action_date='20181020', award_modification_amendme='2',
correction_delete_indicatr=None)
# New entry for base award with invalid code but entry has a awarding office code
det_award_2 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='abd', unique_award_key='abcd_123',
action_date='20181020', award_modification_amendme='1',
correction_delete_indicatr=None)
# New entry for valid awarding office
det_award_3 = DetachedAwardFinancialAssistanceFactory(awarding_office_code=None, unique_award_key='1234_abc',
action_date='20181020', award_modification_amendme='1',
correction_delete_indicatr=None)
# Correction to base record (ignore)
det_award_4 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='abcd_123',
action_date='20181019', award_modification_amendme='0',
correction_delete_indicatr='C')
# New entry for earliest inactive
det_award_5 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='4321_cba',
action_date='20181020', award_modification_amendme='2',
correction_delete_indicatr=None)
errors = number_of_errors(_FILE, database, models=[office, pub_award_1, pub_award_2, pub_award_3, pub_award_4,
pub_award_5, pub_award_6, det_award_1, det_award_2, det_award_3,
det_award_4, det_award_5])
assert errors == 0
def test_failure(database):
""" Test fail that empty awarding office codes aren't matching invalid office codes from the base record. """
office_1 = OfficeFactory(office_code='12345a', financial_assistance_awards_office=True)
office_2 = OfficeFactory(office_code='abcd', financial_assistance_awards_office=False)
# Invalid code in record
pub_award_1 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abc', unique_award_key='zyxwv_123',
action_date='20181018', award_modification_amendme='0',
is_active=True)
# Earliest record inactive, newer record has invalid entry
pub_award_2 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='12345a', unique_award_key='4321_cba',
action_date='20181018', award_modification_amendme='0',
is_active=False)
pub_award_3 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abc', unique_award_key='4321_cba',
action_date='20181019', award_modification_amendme='1',
is_active=True)
# Has a valid code but it's not an awarding code
pub_award_4 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abcd', unique_award_key='123_abc',
action_date='20181018', award_modification_amendme='0',
is_active=True)
# award_modification_amendme number is null
pub_award_5 = PublishedAwardFinancialAssistanceFactory(awarding_office_code='abc', unique_award_key='zyxwv_1234',
action_date='20181018', award_modification_amendme=None,
is_active=True)
# Entry for invalid code in base record
det_award_1 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='zyxwv_123',
action_date='20181020', award_modification_amendme='2',
correction_delete_indicatr=None)
# Entry with award_modification_amendme null
det_award_2 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='zyxwv_123',
action_date='20181020', award_modification_amendme=None,
correction_delete_indicatr=None)
# New entry for earliest inactive
det_award_3 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='4321_cba',
action_date='20181020', award_modification_amendme='2',
correction_delete_indicatr=None)
# New entry for has valid non-awarding code
det_award_4 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='123_abc',
action_date='20181020', award_modification_amendme='2',
correction_delete_indicatr=None)
# Entry for award_modification_amendme null in base record
det_award_5 = DetachedAwardFinancialAssistanceFactory(awarding_office_code='', unique_award_key='zyxwv_1234',
action_date='20181020', award_modification_amendme='2',
correction_delete_indicatr=None)
errors = number_of_errors(_FILE, database, models=[office_1, office_2, pub_award_1, pub_award_2, pub_award_3,
pub_award_4, pub_award_5, det_award_1, det_award_2, det_award_3,
det_award_4, det_award_5])
assert errors == 5
| 80.239316 | 119 | 0.57957 | 857 | 9,388 | 5.957993 | 0.140023 | 0.056796 | 0.084606 | 0.124951 | 0.79436 | 0.772816 | 0.759303 | 0.663729 | 0.647474 | 0.621426 | 0 | 0.056055 | 0.359608 | 9,388 | 116 | 120 | 80.931034 | 0.793247 | 0.115999 | 0 | 0.505882 | 0 | 0 | 0.060346 | 0.005563 | 0 | 0 | 0 | 0 | 0.035294 | 1 | 0.035294 | false | 0 | 0.035294 | 0 | 0.070588 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
817980c57d80007562dc5878f272364a882e0894 | 563 | py | Python | experiments/ripe/collect.py | OleksiiOleksenko/intel_mpx_explained | dd6da57e0fcf22df358d1a742079b414620a7c88 | [
"MIT"
] | 15 | 2017-02-08T04:02:50.000Z | 2021-02-20T16:47:25.000Z | experiments/ripe/collect.py | OleksiiOleksenko/intel_mpx_explained | dd6da57e0fcf22df358d1a742079b414620a7c88 | [
"MIT"
] | 1 | 2020-02-01T00:29:32.000Z | 2020-02-04T14:25:57.000Z | experiments/ripe/collect.py | OleksiiOleksenko/intel_mpx_explained | dd6da57e0fcf22df358d1a742079b414620a7c88 | [
"MIT"
] | 3 | 2017-02-08T04:02:51.000Z | 2018-03-30T07:58:45.000Z | #!/usr/bin/env python
from __future__ import absolute_import
from core import collect
def main():
collect.collect("ripe", user_parameters={
"ok": ["TOTAL OK:", lambda l: collect.get_int_from_string(l)],
"some": ["TOTAL SOME:", lambda l: collect.get_int_from_string(l)],
"fail": ["TOTAL FAIL:", lambda l: collect.get_int_from_string(l)],
"notpossible": ["TOTAL NP:", lambda l: collect.get_int_from_string(l)],
"total": ["TOTAL ATTACKS:", lambda l: collect.get_int_from_string(l)],
})
| 37.533333 | 84 | 0.623446 | 75 | 563 | 4.4 | 0.36 | 0.106061 | 0.212121 | 0.257576 | 0.469697 | 0.469697 | 0.469697 | 0.469697 | 0 | 0 | 0 | 0 | 0.222025 | 563 | 14 | 85 | 40.214286 | 0.753425 | 0.035524 | 0 | 0 | 0 | 0 | 0.154982 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | true | 0 | 0.2 | 0 | 0.3 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81834b6a4afb3439f8b312cbfee4d71b51be9ace | 1,123 | py | Python | StandAloneTools/scannerPingTest.py | DICtools/CaptuRPi | 2942b9d957464b0ca154080b5e31b98baa1c853d | [
"Apache-2.0"
] | 4 | 2021-03-23T00:06:34.000Z | 2022-01-22T18:34:53.000Z | StandAloneTools/scannerPingTest.py | DICtools/CaptuRPi | 2942b9d957464b0ca154080b5e31b98baa1c853d | [
"Apache-2.0"
] | 1 | 2020-01-13T14:59:54.000Z | 2021-09-29T11:09:21.000Z | StandAloneTools/scannerPingTest.py | DICtools/CaptuRPi | 2942b9d957464b0ca154080b5e31b98baa1c853d | [
"Apache-2.0"
] | 1 | 2021-02-04T17:08:02.000Z | 2021-02-04T17:08:02.000Z | #!/usr/bin/python
# import os
hostname = "192.168.0.201" #example
hosts = ['192.168.0.200','192.168.0.201','192.168.0.202', '192.168.0.203' ,'192.168.0.204','192.168.0.205','192.168.0.206','192.168.0.207', '192.168.0.208', '192.168.0.209', '192.168.0.210', '192.168.0.211', '192.168.0.212', '192.168.0.213', '192.168.0.214', '192.168.0.215', '192.168.0.216',]
# def checkHostsRecursive(hosts):
# hostsDown = []
# for h in hosts:
# response = os.system("ping -c 1 " + hostname)
# #and then check the response...
# if response == 0:
# print h, 'is up!'
# else:
# print h, 'is down!'
import os
import subprocess
hostsDown = hosts
while len(hostsDown) is not 0:
print len(hostsDown)
for h in hostsDown:
with open(os.devnull, 'w') as DEVNULL:
try:
subprocess.check_call(
['ping', '-n', '1', h],
stdout=DEVNULL, # suppress output
stderr=DEVNULL
)
print h + ' is up'
hostsDown.remove(h)
is_up = True
except subprocess.CalledProcessError:
is_up = False
print h + 'is down'
| 28.794872 | 294 | 0.568121 | 172 | 1,123 | 3.69186 | 0.406977 | 0.170079 | 0.198425 | 0.031496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218009 | 0.248442 | 1,123 | 39 | 295 | 28.794872 | 0.53436 | 0.240427 | 0 | 0 | 0 | 0 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.095238 | null | null | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8185e15a8b6a72ac97cf93c79161000ca6bfa057 | 247 | py | Python | python/python_backup/Python_Progs/PYTHON_LEGACY_PROJECTS/hypotenuese_of_triangle_sqrt.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 16 | 2018-11-26T08:39:42.000Z | 2019-05-08T10:09:52.000Z | python/python_backup/Python_Progs/PYTHON_LEGACY_PROJECTS/hypotenuese_of_triangle_sqrt.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 8 | 2020-05-04T06:29:26.000Z | 2022-02-12T05:33:16.000Z | python/python_backup/Python_Progs/PYTHON_LEGACY_PROJECTS/hypotenuese_of_triangle_sqrt.py | SayanGhoshBDA/code-backup | 8b6135facc0e598e9686b2e8eb2d69dd68198b80 | [
"MIT"
] | 5 | 2020-02-11T16:02:21.000Z | 2021-02-05T07:48:30.000Z | from math import sqrt
print("Input the lengths of the shorter sides of the triangle")
a=float(input("enter the 1 side of the triangle"))
b=float(input("enter the 2 side of the triangle"))
c=sqrt(a**2+b**2)
print("The length of the triangle = ",c)
| 35.285714 | 63 | 0.724696 | 48 | 247 | 3.729167 | 0.4375 | 0.139665 | 0.290503 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018957 | 0.145749 | 247 | 6 | 64 | 41.166667 | 0.829384 | 0 | 0 | 0 | 0 | 0 | 0.595142 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.333333 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81a38a2e4c513dd861faed103e7679ac3cc1599a | 19 | py | Python | ciaomuloni/__init__.py | michelepagot/ciaomuloni | 8f7c2187d223bb3d26aeeafe180d39841094d1ad | [
"MIT"
] | null | null | null | ciaomuloni/__init__.py | michelepagot/ciaomuloni | 8f7c2187d223bb3d26aeeafe180d39841094d1ad | [
"MIT"
] | null | null | null | ciaomuloni/__init__.py | michelepagot/ciaomuloni | 8f7c2187d223bb3d26aeeafe180d39841094d1ad | [
"MIT"
] | null | null | null | name = "ciaomuloni" | 19 | 19 | 0.736842 | 2 | 19 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 1 | 19 | 19 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81b4347fdc2d9cf8ca0a37dad66cd99c84a50082 | 151 | py | Python | python全栈/day05/乘法表.py | Ringo-li/python_exercise_100 | 2c6c42b84a88ffbbac30c67ffbd7bad3418eda14 | [
"MIT"
] | null | null | null | python全栈/day05/乘法表.py | Ringo-li/python_exercise_100 | 2c6c42b84a88ffbbac30c67ffbd7bad3418eda14 | [
"MIT"
] | null | null | null | python全栈/day05/乘法表.py | Ringo-li/python_exercise_100 | 2c6c42b84a88ffbbac30c67ffbd7bad3418eda14 | [
"MIT"
] | null | null | null | i = 1
while i <= 9:
j = 1
while j <= i:
print("{}x{}={}\t".format(j, i, i * j), end='')
j += 1
print()
i += 1 | 18.875 | 56 | 0.311258 | 24 | 151 | 1.958333 | 0.416667 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060241 | 0.450331 | 151 | 8 | 57 | 18.875 | 0.506024 | 0 | 0 | 0 | 0 | 0 | 0.065789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81b47fed1746c7c5f00415117c122b580d14ad56 | 1,400 | py | Python | data/models.py | Czahrien/temperature-tracker | 7238535536dc864a2e81c9267877a964bef54c20 | [
"MIT"
] | null | null | null | data/models.py | Czahrien/temperature-tracker | 7238535536dc864a2e81c9267877a964bef54c20 | [
"MIT"
] | 6 | 2020-02-12T01:24:31.000Z | 2021-06-10T18:43:57.000Z | data/models.py | Czahrien/temperature-tracker | 7238535536dc864a2e81c9267877a964bef54c20 | [
"MIT"
] | null | null | null | from django.db import models
class Email(models.Model):
email = models.EmailField()
name = models.CharField(max_length=30)
def __str__(self):
return '%s (%s)' % (self.email, self.name)
class MailingList(models.Model):
name = models.CharField(max_length=30)
description = models.CharField(max_length=100)
emails = models.ManyToManyField(Email,'emails')
def get_emails(self):
return [ x.email for x in self.emails.all() ]
def __str__(self):
return '%s' % (self.name)
class Device(models.Model):
device = models.CharField(max_length=30, unique=True)
description = models.CharField(max_length=100)
def __str__(self):
return '%s' % (self.device)
class DataPoint(models.Model):
date = models.DateTimeField()
device = models.ForeignKey(Device, models.CASCADE, 'datapoints', to_field='device')
def __str__(self):
return '%s: %s' % (self.device, self.date)
def save(self, *args, **kwargs):
Device.objects.get_or_create(device=self.device, defaults={'description': 'Added automatically.'})
super(DataPoint,self).save(*args, **kwargs)
class TemperatureDataPoint(DataPoint):
temperature = models.IntegerField()
crc_pass = models.BooleanField()
raw_data = models.TextField()
def __str__(self):
return '%s %s %s' % (self.device, self.date, self.temperature)
| 30.434783 | 106 | 0.668571 | 171 | 1,400 | 5.292398 | 0.345029 | 0.066298 | 0.099448 | 0.132597 | 0.330387 | 0.301657 | 0.048619 | 0 | 0 | 0 | 0 | 0.010601 | 0.191429 | 1,400 | 45 | 107 | 31.111111 | 0.788869 | 0 | 0 | 0.272727 | 0 | 0 | 0.055714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.212121 | false | 0.030303 | 0.030303 | 0.181818 | 0.939394 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
81bceaf55ae0efa76193e528f1c68e8639f1d5e4 | 3,657 | py | Python | test.py | QC-SciLab/HepTrkX-quantum | ff6638fc2883781245f5e6f0d875a5fef1dc90b6 | [
"MIT"
] | 11 | 2019-10-08T10:56:59.000Z | 2022-02-22T03:46:06.000Z | test.py | QC-SciLab/HepTrkX-quantum | ff6638fc2883781245f5e6f0d875a5fef1dc90b6 | [
"MIT"
] | 1 | 2019-10-06T05:38:26.000Z | 2019-10-06T05:38:26.000Z | test.py | QC-SciLab/HepTrkX-quantum | ff6638fc2883781245f5e6f0d875a5fef1dc90b6 | [
"MIT"
] | 7 | 2019-09-19T12:14:11.000Z | 2021-04-22T10:20:25.000Z | import sys,os,time
sys.path.append(os.path.abspath(os.path.join('.')))
import numpy as np
from sklearn import metrics
from tools import *
import tensorflow as tf
def test_validation(config,network):
t_start = time.time()
n_testing = config['n_valid']
print('Starting testing the validation set with ' + str(n_testing) + ' subgraphs!')
data = get_dataset(config['valid_dir'], n_testing)
# Obtain predictions and labels
preds = []
labels = []
for n_test in range(n_testing):
graph_array, labels_ = preprocess(data[n_test])
labels = np.append(labels,labels_)
preds = np.append(preds,network(graph_array))
# Calculate weighted loss
n_edges = len(labels)
n_class = [n_edges - sum(labels), sum(labels)]
class_weight = [n_edges/(n_class[0]*2), n_edges/(n_class[1]*2)]
loss = tf.reduce_mean(tf.keras.losses.binary_crossentropy(labels,preds) * np.array([class_weight[int(labels[i])] for i in range(n_edges)]))
# Log all predictons (takes some considerable time - use only for debugging)
if config['log_verbosity']>=3:
with open(config['log_dir']+'log_validation_preds.csv', 'a') as f:
for i in range(len(preds)):
f.write('%.4f, %.4f\n' %(preds[i],labels[i]))
# Calculate Metrics
fpr,tpr,thresholds = metrics.roc_curve(labels.astype(int),preds,pos_label=1 )
auc = metrics.auc(fpr,tpr)
accuracy = ((1-fpr[len(fpr)//2])*n_class[0]+tpr[len(tpr)//2]*n_class[1])/n_edges
precision = metrics.average_precision_score(labels.astype(int),preds)
tn, fp, fn, tp = metrics.confusion_matrix(labels.astype(int),(preds > 0.5)*1).ravel() # get the confusion matrix for 0.5 threshold
# Log Metrics
with open(config['log_dir']+'log_validation.csv', 'a') as f:
f.write('%.4f, %.4f, %.4f, %.4f, %d, %d, %d, %d\n' %(accuracy, auc, loss, precision,tn, fp, fn, tp))
duration = time.time() - t_start
# Print summary
print(str(datetime.datetime.now()) + ': Validation Test: Loss: %.4f, Acc: %.4f, AUC: %.4f, Precision: %.4f -- Elapsed: %dm%ds' %(loss, accuracy*100, auc, precision, duration/60, duration%60))
def test_train(config,network):
t_start = time.time()
n_testing = config['n_train']
print('Starting testing the training set with ' + str(n_testing) + ' subgraphs!')
data = get_dataset(config['train_dir'], n_testing)
preds = []
labels = []
for n_test in range(n_testing):
graph_array, labels_ = preprocess(data[n_test])
labels = np.append(labels,labels_)
preds = np.append(preds,network(graph_array))
# Calculate weighted loss
n_edges = len(labels)
n_class = [n_edges - sum(labels), sum(labels)]
class_weight = [n_edges/(n_class[0]*2), n_edges/(n_class[1]*2)]
loss = tf.reduce_mean(tf.keras.losses.binary_crossentropy(labels,preds) * np.array([class_weight[int(labels[i])] for i in range(n_edges)]))
# Log all predictons (takes some considerable time - use only for debugging)
'''
with open(config['log_dir']+'log_training_preds.csv', 'a') as f:
for i in range(len(preds)):
f.write('%.4f, %.4f\n' %(preds[i],labels[i]))
'''
# Calculate Metrics
fpr,tpr,thresholds = metrics.roc_curve(labels.astype(int),preds,pos_label=1 )
auc = metrics.auc(fpr,tpr)
accuracy = ((1-fpr[len(fpr)//2])*n_class[0]+tpr[len(tpr)//2]*n_class[1])/n_edges
# Log Metrics
with open(config['log_dir']+'log_training.csv', 'a') as f:
f.write('%.4f, %.4f, %.4f\n' %(accuracy,auc,loss))
duration = time.time() - t_start
# Print summary
print(str(datetime.datetime.now()) + ': Training Loss: %.4f, Training Acc: %.4f, Training AUC: %.4f Elapsed: %dm%ds' %(loss, accuracy*100, auc, duration/60, duration%60))
| 38.494737 | 194 | 0.672683 | 569 | 3,657 | 4.182777 | 0.212654 | 0.030252 | 0.013445 | 0.020168 | 0.731933 | 0.731933 | 0.731933 | 0.697479 | 0.643697 | 0.627731 | 0 | 0.018752 | 0.154225 | 3,657 | 94 | 195 | 38.904255 | 0.750727 | 0.097894 | 0 | 0.535714 | 0 | 0.053571 | 0.148787 | 0.007663 | 0 | 0 | 0 | 0 | 0 | 1 | 0.035714 | false | 0 | 0.089286 | 0 | 0.125 | 0.071429 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
81df1a657e99202b0b9f192ba445feda6e5f538e | 9,818 | py | Python | code/plot_table_and_figure.py | leokan92/Contextual-bandit-Resnet-trading | 57fa89b01ba99999b132161efa0eb16b5c32ecf8 | [
"MIT"
] | null | null | null | code/plot_table_and_figure.py | leokan92/Contextual-bandit-Resnet-trading | 57fa89b01ba99999b132161efa0eb16b5c32ecf8 | [
"MIT"
] | null | null | null | code/plot_table_and_figure.py | leokan92/Contextual-bandit-Resnet-trading | 57fa89b01ba99999b132161efa0eb16b5c32ecf8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Apr 4 20:39:32 2022
@author: leona
"""
import matplotlib
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import seaborn as sns
import settings
import os
path = settings.RESULTS_DIR
##########################################
#Plotting results for one asset:
##########################################
asset_name = 'nxt'
fold = '_'
window = '80'
PATH = path
DQN = np.cumsum(np.load(os.path.join(PATH,'DQN_agent_returns_'+str(fold)+'_'+asset_name+'.npy')))
RRL = np.cumsum(np.load(os.path.join(PATH,'RRL_model_returns_f'+str(fold)+'_'+asset_name+'.npy')))
A2C = np.cumsum(np.load(os.path.join(PATH,'A2C_agent_returns'+str(fold)+'_'+asset_name+'.npy')))
BSTS = np.cumsum(np.load(os.path.join(PATH,'cbadapt_agent_returns'+str(fold)+'_'+asset_name+'.npy')))
RESNET = np.cumsum(np.load(os.path.join(PATH,'resnet_agent_returns'+'_'+window+'_'+asset_name+'.npy')))
BH = np.cumsum(np.load(os.path.join(PATH,'bh_'+str(fold)+'_'+asset_name+'.npy')))
#fig = plt.figure(figsize=(17,6))
plt.plot(DQN, 'k', color='grey',linestyle='-',markevery = 140,marker = 'o',label = 'DQL')
plt.plot(RRL, 'k', color='grey',linestyle='-',markevery = 140,marker = '<',label = 'RRL')
plt.plot(A2C, 'k', color='grey',linestyle='-',markevery = 140,marker = 'x',label = 'A2C')
plt.plot(BSTS, 'k', color='grey',linestyle='-',markevery = 140,marker = 'd',label = 'BTS')
plt.plot(RESNET, 'k', color='green',linestyle='-.',label = 'RSLSTM-A')
plt.plot(BH, 'k', color='red',label = 'B&H')
plt.title('Asset: '+asset_name)
plt.legend()
plt.ylabel('Profit and Loss')
plt.xlabel('Time steps')
#plt.imshow(img, alpha=0.25)
#plt.savefig(path +'results - tables;crypto;extended datas/'+'test_all_assets.pdf', bbox_inches='tight')
plt.savefig(os.path.join(settings.RESULTS_DIR,'plot.png'), bbox_inches='tight')
##########################################
#Generating table results for one asset:
##########################################
import settings
path_data = settings.DATA_DIR
path_input = settings.RESULTS_DIR
import matplotlib.pyplot as plt
import numpy as np
import math
from env.BitcoinTradingEnv import BitcoinTradingEnv
import os
def moving_average(data_set, periods=3):
weights = np.ones(periods) / periods
return np.convolve(data_set, weights, mode='valid')
def calculate_AR(series,init_value):
if math.isnan(((((np.sum(series)+init_value)/init_value+1)**(1/len(series))))**365-1):
return -((((-np.sum(series)+init_value)/init_value+1)**(1/len(series))))**365-1
else:
return ((((np.sum(series)+init_value)/init_value+1)**(1/len(series))))**365-1
def calculate_SR(series,init_value):
risk_free = 0.0001
if math.isnan((((((np.sum(series)+init_value)/init_value+1)**(1/len(series))))-1-risk_free)/np.std(series)*np.sqrt(365)):
return -(((((-np.sum(series)+init_value)/init_value+1)**(1/len(series))))-1-risk_free)/np.std(series)*np.sqrt(365)
else:
return (((((np.sum(series)+init_value)/init_value+1)**(1/len(series))))-1-risk_free)/np.std(series)*np.sqrt(365)
############################################################
# Load first datas
############################################################
assets = ['nxt']
######################################################################################################################
# Create table for cumlateive returns
######################################################################################################################
df = pd.DataFrame(columns = [' ','Asset','BH','RRL','DQL','A2C','BSTS','RSLSTM-A'])
#df['Asset']= assets
#df = df.set_index('Asset')
alpha = 0.05
k_fold = 15
min_df_size = 3000
comission = 0.00
gamma = 0.99
M = 51
mu = 1
n_epoch = 600
decay = 200
reward_strategy = 'return'
scaling = True
window = '80'
input_datas = []
input_datas.append(os.path.join(path_data,'Poloniex_BTCUSD_1h.csv'))
input_datas.append(os.path.join(path_data,'Poloniex_DASHUSD_1h.csv'))
input_datas.append(os.path.join(path_data,'Poloniex_ETHUSD_1h.csv'))
input_datas.append(os.path.join(path_data,'Poloniex_LTCUSD_1h.csv'))
input_datas.append(os.path.join(path_data,'Poloniex_NXTBTC_1h.csv'))
input_datas.append(os.path.join(path_data,'Poloniex_XMRUSD_1h.csv'))
for asset_name, data_name in zip(assets, input_datas):
data = pd.read_csv(data_name)
valid_len = int(len(data) * 0.2/2)
test_len = valid_len
train_len = int(len(data)) - valid_len*2
train_df = data[:train_len]
valid_df = data[train_len+M:train_len+M+valid_len]
test_df = data[train_len+M+valid_len:]
length= len(train_df)
test_env = BitcoinTradingEnv(test_df, commission=comission, reward_func=reward_strategy, M = M , mu = mu,length = length,scaling=scaling)
if asset_name == 'nxt':
firs_value_test = test_env.df['Close'][0]
else:
firs_value_test = test_env.df['Close'][0]
a2c = np.sum(np.cumsum(np.load(os.path.join(path_input,'A2C_agent_returns__'+asset_name+'.npy'))))
dql = np.sum(np.cumsum(np.load(os.path.join(path_input,'DQN_agent_returns___'+asset_name+'.npy'))))
rrl = np.sum(np.cumsum(np.load(os.path.join(path_input,'RRL_model_returns_f__'+asset_name+'.npy'))))
bts = np.sum(np.cumsum(np.load(os.path.join(path_input,'cbadapt_agent_returns__'+asset_name+'.npy'))))
resnet = np.sum(np.cumsum(np.load(os.path.join(path_input,'resnet_agent_returns_'+window+'_'+asset_name+'.npy'))))
bh = np.sum(np.cumsum(np.load(os.path.join(path_input,'bh___'+asset_name+'.npy'))))
if asset_name == 'eth':
df_temp = pd.DataFrame({' ':'ACR','Asset':asset_name,'BH':bh,'RRL':rrl,'DQL':dql,'A2C':a2c,'BSTS':bts,'RSLSTM-A':resnet}, index=[0])
else:
df_temp = pd.DataFrame({' ':' ','Asset':asset_name,'BH':bh,'RRL':rrl,'DQL':dql,'A2C':a2c,'BSTS':bts,'RSLSTM-A':resnet}, index=[0])
df = df.append(df_temp)
for asset_name, data_name in zip(assets, input_datas):
data = pd.read_csv(data_name)
valid_len = int(len(data) * 0.2/2)
test_len = valid_len
train_len = int(len(data)) - valid_len*2
train_df = data[:train_len]
valid_df = data[train_len+M:train_len+M+valid_len]
test_df = data[train_len+M+valid_len:]
length= len(train_df)
test_env = BitcoinTradingEnv(test_df, commission=comission, reward_func=reward_strategy, M = M , mu = mu,length = length,scaling=scaling)
if asset_name == 'nxt':
firs_value_test = test_env.df['Close'][0]
firs_value_test = test_env.df['Close'][0]
a2c = calculate_SR(np.load(os.path.join(path_input,'A2C_agent_returns__'+asset_name+'.npy')),firs_value_test)
dql = calculate_SR(np.load(os.path.join(path_input,'DQN_agent_returns___'+asset_name+'.npy')),firs_value_test)
rrl = calculate_SR(np.load(os.path.join(path_input,'RRL_model_returns_f__'+asset_name+'.npy')),firs_value_test)
bts = calculate_SR(np.load(os.path.join(path_input,'cbadapt_agent_returns__'+asset_name+'.npy')),firs_value_test)
resnet = calculate_SR(np.load(os.path.join(path_input,'resnet_agent_returns_'+window+'_'+asset_name+'.npy')),firs_value_test)
bh = calculate_SR(np.load(os.path.join(path_input,'bh___'+asset_name+'.npy')),firs_value_test)
if asset_name == 'eth':
df_temp = pd.DataFrame({' ':'SR','Asset':asset_name,'BH':bh,'RRL':rrl,'DQL':dql,'A2C':a2c,'BSTS':bts,'RSLSTM-A':resnet}, index=[0])
else:
df_temp = pd.DataFrame({' ':' ','Asset':asset_name,'BH':bh,'RRL':rrl,'DQL':dql,'A2C':a2c,'BSTS':bts,'RSLSTM-A':resnet}, index=[0])
df = df.append(df_temp)
for asset_name, data_name in zip(assets, input_datas):
data = pd.read_csv(data_name)
valid_len = int(len(data) * 0.2/2)
test_len = valid_len
train_len = int(len(data)) - valid_len*2
train_df = data[:train_len]
valid_df = data[train_len+M:train_len+M+valid_len]
test_df = data[train_len+M+valid_len:]
length= len(train_df)
test_env = BitcoinTradingEnv(test_df, commission=comission, reward_func=reward_strategy, M = M , mu = mu,length = length,scaling=scaling)
if asset_name == 'nxt':
firs_value_test = test_env.df['Close'][0]
else:
firs_value_test = test_env.df['Close'][0]
a2c = calculate_AR(np.load(os.path.join(path_input,'A2C_agent_returns__'+asset_name+'.npy')),firs_value_test)
dql = calculate_AR(np.load(os.path.join(path_input,'DQN_agent_returns___'+asset_name+'.npy')),firs_value_test)
rrl = calculate_AR(np.load(os.path.join(path_input,'RRL_model_returns_f__'+asset_name+'.npy')),firs_value_test)
bts = calculate_AR(np.load(os.path.join(path_input,'cbadapt_agent_returns__'+asset_name+'.npy')),firs_value_test)
resnet = calculate_AR(np.load(os.path.join(path_input,'resnet_agent_returns_'+window+'_'+asset_name+'.npy')),firs_value_test)
bh = calculate_AR(np.load(os.path.join(path_input,'bh___'+asset_name+'.npy')),firs_value_test)
if asset_name == 'eth':
df_temp = pd.DataFrame({' ':'AR','Asset':asset_name,'BH':bh,'RRL':rrl,'DQL':dql,'A2C':a2c,'BSTS':bts,'RSLSTM-A':resnet}, index=[0])
else:
df_temp = pd.DataFrame({' ':' ','Asset':asset_name,'BH':bh,'RRL':rrl,'DQL':dql,'A2C':a2c,'BSTS':bts,'RSLSTM-A':resnet}, index=[0])
df = df.append(df_temp)
df
df = df.reset_index().drop(columns= ['index'])
df[' '][0] = 'ACR'
df[' '][1] = 'SR'
df[' '][2] = 'AR'
df['BH'] = df['BH'].map('{:.2e}'.format)
df['RRL'] = df['RRL'].map('{:.2e}'.format)
df['DQL'] = df['DQL'].map('{:.2e}'.format)
df['A2C'] = df['A2C'].map('{:.2e}'.format)
df['BSTS'] = df['BSTS'].map('{:.2e}'.format)
df['RSLSTM-A'] = df['RSLSTM-A'].map('{:.2e}'.format)
caption = 'Consolidate results for the the accumulated returns, annualized return and sharpe ration for all the employed models and assets using transaction cost equals to 0.001'
print(df.to_latex(index=False,label = 'tab:final_resultstc0',caption=caption,escape = False)) | 47.429952 | 178 | 0.653392 | 1,513 | 9,818 | 4.005948 | 0.14805 | 0.060881 | 0.051147 | 0.069296 | 0.725953 | 0.716713 | 0.716713 | 0.676951 | 0.644448 | 0.626629 | 0 | 0.019253 | 0.105928 | 9,818 | 207 | 179 | 47.429952 | 0.671224 | 0.041149 | 0 | 0.408805 | 0 | 0.006289 | 0.150778 | 0.039328 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018868 | false | 0 | 0.081761 | 0 | 0.132075 | 0.006289 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c49ae02b782cdda34dbb4145d01ea0dd2101cdf8 | 172 | py | Python | bot/urls.py | dharmagetic/telegram_geo_guess_bot | 9a7bec5e2db512385c545ffc38d58fd087da4c2e | [
"MIT"
] | null | null | null | bot/urls.py | dharmagetic/telegram_geo_guess_bot | 9a7bec5e2db512385c545ffc38d58fd087da4c2e | [
"MIT"
] | 2 | 2020-06-05T17:48:08.000Z | 2021-06-10T19:37:08.000Z | bot/urls.py | dharmagetic/telegram_geo_guess_bot | 9a7bec5e2db512385c545ffc38d58fd087da4c2e | [
"MIT"
] | null | null | null | from django.conf.urls import url
from bot.views import CommandReceiveView
urlpatterns = [
url(r'^(?P<bot_token>.+)$', CommandReceiveView.as_view(), name='command'),
] | 24.571429 | 78 | 0.72093 | 22 | 172 | 5.545455 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 172 | 7 | 79 | 24.571429 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.150289 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c49b458a87eb302d8bf6a940a2dfd8a358a68a8b | 439 | py | Python | pyinfra/facts/gem.py | vindarel/pyinfra | 863f5bc727d7cc6e0bc721e8dbb2a32c7236efa5 | [
"MIT"
] | null | null | null | pyinfra/facts/gem.py | vindarel/pyinfra | 863f5bc727d7cc6e0bc721e8dbb2a32c7236efa5 | [
"MIT"
] | null | null | null | pyinfra/facts/gem.py | vindarel/pyinfra | 863f5bc727d7cc6e0bc721e8dbb2a32c7236efa5 | [
"MIT"
] | null | null | null | from pyinfra.api import FactBase
from .util.packaging import parse_packages
GEM_REGEX = r'^([a-zA-Z0-9\-\+\_]+)\s\(([0-9\.]+)\)$'
class GemPackages(FactBase):
'''
Returns a dict of installed gem packages:
.. code:: python
'package_name': ['version'],
...
'''
command = 'gem list --local || true'
default = dict
def process(self, output):
return parse_packages(GEM_REGEX, output)
| 19.086957 | 53 | 0.594533 | 53 | 439 | 4.811321 | 0.735849 | 0.101961 | 0.12549 | 0.164706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01194 | 0.236902 | 439 | 22 | 54 | 19.954545 | 0.749254 | 0.230068 | 0 | 0 | 0 | 0 | 0.2 | 0.122581 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.25 | 0.125 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c4a0c231885c9fee7a300569a011c34d7104fd70 | 162 | py | Python | Python/Lektion1/BuzzerModuleUsage.py | fm85/JoyPiExamples | bbc61f46f442c7486fbded303e9d7ab3e7e2dd71 | [
"MIT"
] | null | null | null | Python/Lektion1/BuzzerModuleUsage.py | fm85/JoyPiExamples | bbc61f46f442c7486fbded303e9d7ab3e7e2dd71 | [
"MIT"
] | null | null | null | Python/Lektion1/BuzzerModuleUsage.py | fm85/JoyPiExamples | bbc61f46f442c7486fbded303e9d7ab3e7e2dd71 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import BuzzerGpioOutputExample as Buzzer
Buzzer.initGPIO()
Buzzer.switchOn()
Buzzer.time.sleep(1)
Buzzer.switchOff()
Buzzer.cleanupGPIO()
| 18 | 40 | 0.796296 | 20 | 162 | 6.45 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0.074074 | 162 | 8 | 41 | 20.25 | 0.846667 | 0.12963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
c4a7df710923f6b0d05cde15e44f332ac3ab03ab | 251 | py | Python | unit 7/exc. 7.1.4.py | AviKalPython/self.py | 44f8de33797a9ea28bbd1e01006920ba7c818b97 | [
"MIT"
] | null | null | null | unit 7/exc. 7.1.4.py | AviKalPython/self.py | 44f8de33797a9ea28bbd1e01006920ba7c818b97 | [
"MIT"
] | null | null | null | unit 7/exc. 7.1.4.py | AviKalPython/self.py | 44f8de33797a9ea28bbd1e01006920ba7c818b97 | [
"MIT"
] | null | null | null | # exc. 7.1.4
def squared_numbers(start, stop):
while start <= stop:
print(start**2)
start += 1
def main():
start = -3
stop = 3
squared_numbers(start, stop)
if __name__ == "__main__":
main() | 17.928571 | 34 | 0.50996 | 31 | 251 | 3.806452 | 0.516129 | 0.228814 | 0.322034 | 0.389831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.358566 | 251 | 14 | 35 | 17.928571 | 0.689441 | 0.039841 | 0 | 0 | 0 | 0 | 0.035242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.2 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c4b4a0376270f2502e17d2a34b1aa54c4a2dce9c | 3,805 | py | Python | pyflight/models/route.py | ageitgey/pyflight | 3d1624e1455e98b011ccaba1510da818f46a6e1d | [
"MIT"
] | 4 | 2018-01-19T07:24:25.000Z | 2021-05-01T04:45:36.000Z | pyflight/models/route.py | ageitgey/pyflight | 3d1624e1455e98b011ccaba1510da818f46a6e1d | [
"MIT"
] | null | null | null | pyflight/models/route.py | ageitgey/pyflight | 3d1624e1455e98b011ccaba1510da818f46a6e1d | [
"MIT"
] | 2 | 2018-04-02T04:10:35.000Z | 2019-08-13T13:51:26.000Z | """
Contains the Route class which
represents a traveller's intent
as well as a low-fare search
about an itinerary between two points.
"""
from .segment import Segment
class Route(object):
r"""Represents the traveller's intent as well as a low-fare
search about an itinerary between two points.
In the Response, this is represented as ``trips.tripOption[].slice[]``
This Class supports various *magic methods*:
``x == y``
Compares two duration of two :class:`Route`\s
with each other for equality.
Returns ``True`` when ``x.duration == y.duration``.
``x != y``
Compares two duration of two :class:`Route`\s
with each other for inequality.
Returns ``True`` when ``x.duration != y.duration``.
``x < y``
Compare the ``duration`` of two :class:`Route`\s with each other.
Returns ``True`` when ``x.duration < y.duration``.
``x <= y``
Compare the ``duration`` of two :class:`Route`\s with each other.
Returns ``True`` when ``x.duration <= y.duration``.
``x > y``
Compare the ``duration`` of two :class:`Route`\s with each other.
Returns ``True`` when ``x.duration > y.duration``.
``x >= y``
Compare the ``duration`` of two :class:`Route`\s with each other.
Returns ``True`` when ``x.duration >= y.duration``.
Attributes
----------
duration : int
The duation of the :class:`Route`, in Minutes
segments : List[:class:`Segment`]
Segments consisting of one more consecutive
legs on the same flight.
"""
def __init__(self, route_slice: dict):
"""Create a new Route Object.
Parameters
----------
route_slice : dict
The ``trips.tripsOption[].slice[]`` Object from the Response
"""
self.duration = route_slice['duration']
self.segments = [Segment(s) for s in route_slice['segment']]
def __lt__(self, other):
r"""Compare the duration of two :class:`Route`\s.
Returns
-------
bool
The result of the comparison, depending on the
``duration`` of two :class:`Route`\s."""
return self.duration < other.duration
def __le__(self, other):
r"""Compare the duration of two :class:`Route`\s.
Returns
-------
bool
The result of the comparison, depending on the
``duration`` of two :class:`Route`\s."""
return self.duration <= other.duration
def __gt__(self, other):
r"""Compare the duration of two :class:`Route`\s
Returns
-------
bool
The result of the comparison, depending on the
``duration`` of two :class:`Route`\s.
"""
return self.duration > other.duration
def __ge__(self, other):
r"""Compare the duration of two :class:`Route`\s
Returns
-------
bool
The result of the comparison, depending on
the ``duration`` of two :class:`Route`\s.
"""
return self.duration >= other.duration
def __eq__(self, other):
r"""Compare the duration of two :class:`Route`\s with each other.
Returns
-------
bool
The result of the comparison, depending on the
``duration`` of two :class:`Route`s.
"""
return self.duration == other.duration
def as_dict(self):
"""Returns this :class:`Route` as a dictionary.
Returns
-------
dict
This :class:`Route` as a dictionary."""
return {
'duration': self.duration,
'segments': [segment.as_dict() for segment in self.segments]
}
| 28.185185 | 76 | 0.558476 | 458 | 3,805 | 4.574236 | 0.187773 | 0.095465 | 0.099284 | 0.13747 | 0.697852 | 0.697852 | 0.672076 | 0.672076 | 0.672076 | 0.656325 | 0 | 0 | 0.310644 | 3,805 | 134 | 77 | 28.395522 | 0.798704 | 0.654665 | 0 | 0 | 0 | 0 | 0.036861 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0 | 0.038462 | 0 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c4c0cb2bca584719d3ee22a2ff3afeb90ba45753 | 309 | py | Python | brownie/typing.py | acolytec3/brownie | e00e1f26f5b05e963fe50ffe198634c9e8876589 | [
"MIT"
] | null | null | null | brownie/typing.py | acolytec3/brownie | e00e1f26f5b05e963fe50ffe198634c9e8876589 | [
"MIT"
] | null | null | null | brownie/typing.py | acolytec3/brownie | e00e1f26f5b05e963fe50ffe198634c9e8876589 | [
"MIT"
] | null | null | null | from typing import TypeVar
from brownie.network.account import Accounts
from brownie.network.transaction import TransactionReceipt
# NETWORK
# Account
AccountsType = TypeVar("AccountsType", bound=Accounts)
# Transactions
TransactionReceiptType = TypeVar("TransactionReceiptType", bound=TransactionReceipt)
| 25.75 | 84 | 0.838188 | 29 | 309 | 8.931034 | 0.482759 | 0.084942 | 0.138996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093851 | 309 | 11 | 85 | 28.090909 | 0.925 | 0.090615 | 0 | 0 | 0 | 0 | 0.122744 | 0.079422 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c4d84388d91d20ffa890fad004bbcf2d23d01a00 | 339 | py | Python | test.py | Doddj/test-repo | 15d1d9dbf57e26c7e3bd7e16ff4a0a0db095b51c | [
"MIT"
] | null | null | null | test.py | Doddj/test-repo | 15d1d9dbf57e26c7e3bd7e16ff4a0a0db095b51c | [
"MIT"
] | null | null | null | test.py | Doddj/test-repo | 15d1d9dbf57e26c7e3bd7e16ff4a0a0db095b51c | [
"MIT"
] | null | null | null | # Important class
class ImportantClass:
def __init__(self, var):
# Instance variable
self.var = var
# Important function
def importantFunction(self, old_var, new_var):
return old_var + new_var
# Make users happy
def makeUsersHappy(self, users):
print("Success!") | 22.6 | 50 | 0.60177 | 36 | 339 | 5.444444 | 0.555556 | 0.071429 | 0.091837 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.321534 | 339 | 15 | 51 | 22.6 | 0.852174 | 0.20354 | 0 | 0 | 0 | 0 | 0.030075 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.285714 | 0.142857 | 1 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f205b4d663f8b398c1c63f9bec89aceb401d4e63 | 14,034 | py | Python | src/main/python/systemds/operator/nodes/matrix.py | Shafaq-Siddiqi/systemml | eca11c6fe9cff88df2e1960caf1b0cff9bf2b2b6 | [
"Apache-2.0"
] | null | null | null | src/main/python/systemds/operator/nodes/matrix.py | Shafaq-Siddiqi/systemml | eca11c6fe9cff88df2e1960caf1b0cff9bf2b2b6 | [
"Apache-2.0"
] | null | null | null | src/main/python/systemds/operator/nodes/matrix.py | Shafaq-Siddiqi/systemml | eca11c6fe9cff88df2e1960caf1b0cff9bf2b2b6 | [
"Apache-2.0"
] | null | null | null | # -------------------------------------------------------------
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# -------------------------------------------------------------
__all__ = ["Matrix"]
import os
from typing import Dict, Optional, Sequence, Tuple, Union, TYPE_CHECKING, Iterable
import numpy as np
from py4j.java_gateway import JavaObject, JVMView
from systemds.operator import OperationNode, Scalar
from systemds.utils.consts import VALID_INPUT_TYPES
from systemds.utils.converters import numpy_to_matrix_block, matrix_block_to_numpy
from systemds.script_building.dag import OutputType
from systemds.utils.consts import VALID_INPUT_TYPES, BINARY_OPERATIONS, VALID_ARITHMETIC_TYPES
class Matrix(OperationNode):
_np_array: np.array
def __init__(self, sds_context: 'SystemDSContext', operation: str,
unnamed_input_nodes: Union[str,
Iterable[VALID_INPUT_TYPES]] = None,
named_input_nodes: Dict[str, VALID_INPUT_TYPES] = None,
local_data: np.array = None) -> 'Matrix':
is_python_local_data = False
if local_data is not None:
self._np_array = local_data
is_python_local_data = True
else:
self._np_array = None
super().__init__(sds_context, operation, unnamed_input_nodes,
named_input_nodes, OutputType.MATRIX, is_python_local_data)
def pass_python_data_to_prepared_script(self, sds, var_name: str, prepared_script: JavaObject) -> None:
assert self.is_python_local_data, 'Can only pass data to prepared script if it is python local!'
if self._is_numpy():
prepared_script.setMatrix(var_name, numpy_to_matrix_block(
sds, self._np_array), True) # True for reuse
def code_line(self, var_name: str, unnamed_input_vars: Sequence[str],
named_input_vars: Dict[str, str]) -> str:
code_line = super().code_line(var_name, unnamed_input_vars, named_input_vars)
if self._is_numpy():
code_line = code_line.format(file_name=var_name)
return code_line
def compute(self, verbose: bool = False, lineage: bool = False) -> Union[np.array]:
if self._is_numpy():
if verbose:
print('[Numpy Array - No Compilation necessary]')
return self._np_array
else:
return super().compute(verbose, lineage)
def _parse_output_result_variables(self, result_variables):
return matrix_block_to_numpy(self.sds_context.java_gateway.jvm,
result_variables.getMatrixBlock(self._script.out_var_name[0]))
def _is_numpy(self) -> bool:
return self._np_array is not None
def __add__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '+', [self, other])
# Left hand side
def __radd__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '+', [other, self])
def __sub__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '-', [self, other])
# Left hand side
def __rsub__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '-', [other, self])
def __mul__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '*', [self, other])
def __rmul__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '*', [other, self])
def __truediv__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '/', [self, other])
def __rtruediv__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '/', [other, self])
def __floordiv__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '//', [self, other])
def __rfloordiv__(self, other: VALID_ARITHMETIC_TYPES) -> 'Matrix':
return Matrix(self.sds_context, '//', [other, self])
def __lt__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '<', [self, other])
def __rlt__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '<', [other, self])
def __le__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '<=', [self, other])
def __rle__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '<=', [other, self])
def __gt__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '>', [self, other])
def __rgt__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '>', [other, self])
def __ge__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '>=', [self, other])
def __rge__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '>=', [other, self])
def __eq__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '==', [self, other])
def __req__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '==', [other, self])
def __ne__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '!=', [self, other])
def __rne__(self, other) -> 'Matrix':
return Matrix(self.sds_context, '!=', [other, self])
def __matmul__(self, other: 'Matrix') -> 'Matrix':
return Matrix(self.sds_context, '%*%', [self, other])
def sum(self, axis: int = None) -> 'OperationNode':
"""Calculate sum of matrix.
:param axis: can be 0 or 1 to do either row or column sums
:return: `Matrix` representing operation
"""
if axis == 0:
return Matrix(self.sds_context, 'colSums', [self])
elif axis == 1:
return Matrix(self.sds_context, 'rowSums', [self])
elif axis is None:
return Scalar(self.sds_context, 'sum', [self])
raise ValueError(
f"Axis has to be either 0, 1 or None, for column, row or complete {self.operation}")
def mean(self, axis: int = None) -> 'OperationNode':
"""Calculate mean of matrix.
:param axis: can be 0 or 1 to do either row or column means
:return: `Matrix` representing operation
"""
if axis == 0:
return Matrix(self.sds_context, 'colMeans', [self])
elif axis == 1:
return Matrix(self.sds_context, 'rowMeans', [self])
elif axis is None:
return Scalar(self.sds_context, 'mean', [self])
raise ValueError(
f"Axis has to be either 0, 1 or None, for column, row or complete {self.operation}")
def var(self, axis: int = None) -> 'OperationNode':
"""Calculate variance of matrix.
:param axis: can be 0 or 1 to do either row or column vars
:return: `Matrix` representing operation
"""
if axis == 0:
return Matrix(self.sds_context, 'colVars', [self])
elif axis == 1:
return Matrix(self.sds_context, 'rowVars', [self])
elif axis is None:
return Scalar(self.sds_context, 'var', [self])
raise ValueError(
f"Axis has to be either 0, 1 or None, for column, row or complete {self.operation}")
def abs(self) -> 'Matrix':
"""Calculate absolute.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'abs', [self])
def sin(self) -> 'Matrix':
"""Calculate sin.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'sin', [self])
def cos(self) -> 'Matrix':
"""Calculate cos.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'cos', [self])
def tan(self) -> 'Matrix':
"""Calculate tan.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'tan', [self])
def asin(self) -> 'Matrix':
"""Calculate arcsin.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'asin', [self])
def acos(self) -> 'Matrix':
"""Calculate arccos.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'acos', [self])
def atan(self) -> 'Matrix':
"""Calculate arctan.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'atan', [self])
def sinh(self) -> 'Matrix':
"""Calculate sin.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'sinh', [self])
def cosh(self) -> 'Matrix':
"""Calculate cos.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'cosh', [self])
def tanh(self) -> 'Matrix':
"""Calculate tan.
:return: `Matrix` representing operation
"""
return Matrix(self.sds_context, 'tanh', [self])
def moment(self, moment: int, weights: OperationNode = None) -> 'Matrix':
unnamed_inputs = [self]
if weights is not None:
unnamed_inputs.append(weights)
unnamed_inputs.append(moment)
return Matrix(self.sds_context, 'moment', unnamed_inputs, output_type=OutputType.DOUBLE)
def cholesky(self, safe: bool = False) -> 'Matrix':
""" Computes the Cholesky decomposition of a symmetric, positive definite matrix
:param safe: default value is False, if flag is True additional checks to ensure
that the matrix is symmetric positive definite are applied, if False, checks will be skipped
:return: the OperationNode representing this operation
"""
return Matrix(self.sds_context, 'cholesky', [self])
def to_one_hot(self, num_classes: int) -> 'Matrix':
""" OneHot encode the matrix.
It is assumed that there is only one column to encode, and all values are whole numbers > 0
:param num_classes: The number of classes to encode into. max value contained in the matrix must be <= num_classes
:return: The OperationNode containing the oneHotEncoded values
"""
if num_classes < 2:
raise ValueError("Number of classes should be larger than 1")
named_input_nodes = {"X": self, "numClasses": num_classes}
return Matrix(self.sds_context, 'toOneHot', named_input_nodes=named_input_nodes)
def rbind(self, other) -> 'Matrix':
"""
Row-wise matrix concatenation, by concatenating the second matrix as additional rows to the first matrix.
:param: The other matrix to bind to the right hand side
:return: The OperationNode containing the concatenated matrices/frames.
"""
return Matrix(self.sds_context, "rbind", [self, other])
def cbind(self, other) -> 'Matrix':
"""
Column-wise matrix concatenation, by concatenating the second matrix as additional columns to the first matrix.
:param: The other matrix to bind to the right hand side.
:return: The OperationNode containing the concatenated matrices/frames.
"""
return Matrix(self.sds_context, "cbind", [self, other])
def t(self) -> 'Matrix':
""" Transposes the input
:return: the OperationNode representing this operation
"""
return Matrix(self.sds_context, 't', [self])
def order(self, by: int = 1, decreasing: bool = False,
index_return: bool = False) -> 'Matrix':
""" Sort by a column of the matrix X in increasing/decreasing order and returns either the index or data
:param by: sort matrix by this column number
:param decreasing: If true the matrix will be sorted in decreasing order
:param index_return: If true, the index numbers will be returned
:return: the OperationNode representing this operation
"""
named_input_nodes = {'target': self, 'by': by, 'decreasing': str(decreasing).upper(),
'index.return': str(index_return).upper()}
return Matrix(self.sds_context, 'order', [], named_input_nodes=named_input_nodes)
def to_string(self, **kwargs: Dict[str, VALID_INPUT_TYPES]) -> 'Matrix':
""" Converts the input to a string representation.
:return: `Scalar` containing the string.
"""
return Scalar(self.sds_context, 'toString', [self], kwargs, output_type=OutputType.STRING)
def rev(self) -> 'Matrix':
""" Reverses the rows
:return: the OperationNode representing this operation
"""
return Matrix(self.sds_context, 'rev', [self])
def round(self) -> 'Matrix':
""" round all values to nearest natural number
:return: The Matrix representing the result of this operation
"""
return Matrix(self.sds_context, "round", [self])
def replace(self, pattern:VALID_INPUT_TYPES, replacement:VALID_INPUT_TYPES) -> 'Matrix':
"""
Replace all values with replacement value
"""
return Matrix(self.sds_context, "replace", named_input_nodes={"target": self, "pattern": pattern, "replacement":replacement}) | 38.767956 | 133 | 0.628759 | 1,691 | 14,034 | 5.027203 | 0.18628 | 0.088931 | 0.090578 | 0.109517 | 0.507587 | 0.468768 | 0.450182 | 0.437831 | 0.427479 | 0.380779 | 0 | 0.002659 | 0.249608 | 14,034 | 362 | 133 | 38.767956 | 0.804577 | 0.26393 | 0 | 0.115607 | 0 | 0.017341 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 1 | 0.306358 | false | 0.011561 | 0.052023 | 0.144509 | 0.705202 | 0.00578 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
f2107a30cee5e244b31054b8987216f57e27bdb2 | 1,470 | py | Python | heimdall_valid_bank/base_validate_error.py | leogregianin/heimdall | fbbd2c2251278221d78868c7dcd1e0292c98822b | [
"MIT"
] | 8 | 2021-01-12T20:55:06.000Z | 2021-11-09T11:23:04.000Z | heimdall_bank_validate/base_validate_error.py | thaisribeiro/heimdall | b787c7b3e5b0be8ad2ff5fd9af96aeefef6ef49b | [
"MIT"
] | null | null | null | heimdall_bank_validate/base_validate_error.py | thaisribeiro/heimdall | b787c7b3e5b0be8ad2ff5fd9af96aeefef6ef49b | [
"MIT"
] | 1 | 2021-01-25T13:01:48.000Z | 2021-01-25T13:01:48.000Z | class InvalidAgencyNumber(Exception):
def __init__(self, agency_number=None):
self.message = 'Agência inválida.'
if agency_number is not None:
self.message = f'A agência deve conter {agency_number} números. Complete com zeros a esquerda se necessário.'
super().__init__(self.message)
def __str__(self):
return f'{self.message}'
class InvalidDigitAgencyNumber(Exception):
def __init__(self):
self.message = f'Dígito da agência inválido.'
super().__init__(self.message)
def __str__(self):
return f'{self.message}'
class InvalidAccountNumber(Exception):
def __init__(self, account_number=None):
self.message = 'Conta inválida'
if account_number is not None:
self.message = f'A conta corrente deve conter {account_number} números. Complete com zeros a esquerda se necessário'
super().__init__(self.message)
def __str__(self):
return f'{self.message}'
class InvalidDigitAccountNumber(Exception):
def __init__(self, digit_account=None):
self.message = 'Dígito da conta não corresponde ao número da conta/agência preenchido'
super().__init__(self.message)
def __str__(self):
return f'{self.message}'
class InvalidCodeBank(Exception):
def __init__(self):
self.message = 'Banco inválido'
super().__init__(self.message)
def __str__(self):
return f'{self.message}'
| 28.823529 | 128 | 0.672789 | 173 | 1,470 | 5.32948 | 0.265896 | 0.20282 | 0.086768 | 0.10846 | 0.535792 | 0.535792 | 0.468547 | 0.468547 | 0.407809 | 0.407809 | 0 | 0 | 0.227891 | 1,470 | 50 | 129 | 29.4 | 0.812335 | 0 | 0 | 0.5 | 0 | 0 | 0.272109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0 | 0.147059 | 0.588235 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
f220d49e96f107fb5195386562964a48d926577d | 209 | py | Python | qpylib/__init__.py | FrancisMcNameeIBM/qpylib | 13067866807b107ef63243a11c13870db109f9b0 | [
"Apache-2.0"
] | 18 | 2019-03-19T14:15:54.000Z | 2021-11-08T10:30:27.000Z | qpylib/__init__.py | FrancisMcNameeIBM/qpylib | 13067866807b107ef63243a11c13870db109f9b0 | [
"Apache-2.0"
] | 18 | 2019-03-20T16:17:03.000Z | 2022-03-21T11:09:35.000Z | qpylib/__init__.py | FrancisMcNameeIBM/qpylib | 13067866807b107ef63243a11c13870db109f9b0 | [
"Apache-2.0"
] | 25 | 2019-03-19T14:41:18.000Z | 2022-03-18T08:09:19.000Z | # Copyright 2019 IBM Corporation All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
__author__ = 'IBM'
__version__ = 'unknown'
try:
from .version import __version__
except ImportError:
pass
| 19 | 53 | 0.746411 | 25 | 209 | 5.76 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034483 | 0.167464 | 209 | 10 | 54 | 20.9 | 0.793103 | 0.416268 | 0 | 0 | 0 | 0 | 0.084746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
1ee7d777cda8d31ada04834b8bc99db6a3711acb | 62 | py | Python | autokey/.config/autokey/data/TouchCursor/02 QWERTY/05 - T Tilde.py | zdog234/touchcursor-x11 | 4d5cb6417c6bb6a2e10976ac5f9579a98ce96421 | [
"MIT"
] | 8 | 2017-09-27T21:12:52.000Z | 2021-06-16T14:08:43.000Z | autokey/.config/autokey/data/TouchCursor/02 QWERTY/05 - T Tilde.py | zdog234/touchcursor-x11 | 4d5cb6417c6bb6a2e10976ac5f9579a98ce96421 | [
"MIT"
] | null | null | null | autokey/.config/autokey/data/TouchCursor/02 QWERTY/05 - T Tilde.py | zdog234/touchcursor-x11 | 4d5cb6417c6bb6a2e10976ac5f9579a98ce96421 | [
"MIT"
] | 1 | 2018-02-19T19:00:18.000Z | 2018-02-19T19:00:18.000Z | engine.run_script('init-touchcursor')
keyboard.send_keys('~')
| 20.666667 | 37 | 0.774194 | 8 | 62 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 62 | 2 | 38 | 31 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 3 |
481b6ac8d316efdf302b4174a7edfde2f60062c9 | 317 | py | Python | PythonExe/ex030.py | ScnMatheus/my-python-projects | 9cc3511dd6e25d9b16429347598c105f15bd6916 | [
"MIT"
] | null | null | null | PythonExe/ex030.py | ScnMatheus/my-python-projects | 9cc3511dd6e25d9b16429347598c105f15bd6916 | [
"MIT"
] | null | null | null | PythonExe/ex030.py | ScnMatheus/my-python-projects | 9cc3511dd6e25d9b16429347598c105f15bd6916 | [
"MIT"
] | null | null | null | #Crie um programa que leia um número inteiro e diga se é par ou impar
from time import sleep
num = int(input('Digite um número: '))
if num % 2 == 0:
print('ANALISANDO...')
sleep(2)
print('O número é par!')
else:
print('ANALISANDO...')
sleep(2)
print('O número é impar')
print('======FIM=====') | 26.416667 | 69 | 0.608833 | 50 | 317 | 3.86 | 0.6 | 0.082902 | 0.207254 | 0.217617 | 0.352332 | 0.352332 | 0.352332 | 0.352332 | 0 | 0 | 0 | 0.016064 | 0.214511 | 317 | 12 | 70 | 26.416667 | 0.759036 | 0.214511 | 0 | 0.363636 | 0 | 0 | 0.35743 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.090909 | 0.454545 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
483670921befd2f71314843e8fa176046b923c86 | 472 | py | Python | chatbot/model/message.py | aminzai/linebot | 3b0805a710ce11e4cd3afb76859c3be9c18a9d91 | [
"BSD-3-Clause"
] | 1 | 2018-05-14T13:08:12.000Z | 2018-05-14T13:08:12.000Z | chatbot/model/message.py | aminzai/linebot | 3b0805a710ce11e4cd3afb76859c3be9c18a9d91 | [
"BSD-3-Clause"
] | null | null | null | chatbot/model/message.py | aminzai/linebot | 3b0805a710ce11e4cd3afb76859c3be9c18a9d91 | [
"BSD-3-Clause"
] | null | null | null | from chatbot.model import Base
from sqlalchemy import Column
from sqlalchemy import Integer
from sqlalchemy import String
from sqlalchemy import DateTime
class Message(Base):
__tablename__ = 'messages'
idx = Column(Integer, primary_key=True)
id = Column(String)
uid = Column(Integer)
text = Column(String)
type = Column(Integer)
interface = Column(String)
datetime = Column(DateTime)
state = Column(String)
ext = Column(String)
| 22.47619 | 43 | 0.71822 | 56 | 472 | 5.964286 | 0.446429 | 0.179641 | 0.239521 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205508 | 472 | 20 | 44 | 23.6 | 0.890667 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
485807bc30069053947937a39abd417b4bbda7b5 | 563 | py | Python | partay/config.py | thomasleese/partay | bc256a07877a464c074f00dec53f480f97944983 | [
"MIT"
] | null | null | null | partay/config.py | thomasleese/partay | bc256a07877a464c074f00dec53f480f97944983 | [
"MIT"
] | null | null | null | partay/config.py | thomasleese/partay | bc256a07877a464c074f00dec53f480f97944983 | [
"MIT"
] | null | null | null | """Config related classes and functions."""
from collections import UserDict
import yaml
class Config(UserDict):
def __init__(self, filename):
with open(filename) as file:
self.data = yaml.safe_load(file.read())
@property
def genius_api_key(self):
return self['genius']['api_key']
@property
def hue_username(self):
return self['hue']['username']
@property
def lights_brightness(self):
return self['lights']['brightness']
if __name__ == '__main__':
print(Config('config.yaml'))
| 19.413793 | 51 | 0.641208 | 66 | 563 | 5.19697 | 0.545455 | 0.09621 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22913 | 563 | 28 | 52 | 20.107143 | 0.790323 | 0.065719 | 0 | 0.176471 | 0 | 0 | 0.113462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.235294 | false | 0 | 0.117647 | 0.176471 | 0.588235 | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
486582042db804fe01696f6c6cd445a24a09a8ab | 202 | py | Python | health/blog/admin.py | TimothyAgevi/Team-213-A | 6193140223089a7017229c3ef3b4181ce961cf32 | [
"MIT"
] | null | null | null | health/blog/admin.py | TimothyAgevi/Team-213-A | 6193140223089a7017229c3ef3b4181ce961cf32 | [
"MIT"
] | null | null | null | health/blog/admin.py | TimothyAgevi/Team-213-A | 6193140223089a7017229c3ef3b4181ce961cf32 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Blog
# Register your models here.
admin.site.site_header ='Community Health Admin' #changes the header of the admin page
admin.site.register(Blog)
| 25.25 | 86 | 0.79703 | 31 | 202 | 5.16129 | 0.580645 | 0.1125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133663 | 202 | 7 | 87 | 28.857143 | 0.914286 | 0.306931 | 0 | 0 | 0 | 0 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 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 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4883db763af5d22b45211dc10a2715c849ebcdba | 388 | py | Python | rest_jwt_permission/scopes/base.py | chessbr/rest-api-permission | 2a260224606daf792b97af60f925055c394c4d79 | [
"MIT"
] | 13 | 2017-11-01T18:49:45.000Z | 2021-02-03T09:08:29.000Z | rest_jwt_permission/scopes/base.py | chessbr/rest-api-permission | 2a260224606daf792b97af60f925055c394c4d79 | [
"MIT"
] | 17 | 2017-10-29T16:06:17.000Z | 2021-06-10T18:13:11.000Z | rest_jwt_permission/scopes/base.py | chessbr/rest-api-permission | 2a260224606daf792b97af60f925055c394c4d79 | [
"MIT"
] | 2 | 2018-03-07T10:46:47.000Z | 2022-01-10T14:09:39.000Z | # -*- coding: utf-8 -*-
class Scope(object):
"""
A base scope.
This indicates a permission access.
The `identifier` should be unique.
"""
identifier = None
def __init__(self, identifier):
self.identifier = identifier
def get_description(self):
return None
def __str__(self):
return "Base scope: {}".format(self.identifier)
| 19.4 | 55 | 0.610825 | 43 | 388 | 5.302326 | 0.604651 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003546 | 0.273196 | 388 | 19 | 56 | 20.421053 | 0.804965 | 0.275773 | 0 | 0 | 0 | 0 | 0.054475 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6f8a74aeca0839aaeb8fdccc0d87ddc1c3daf9a3 | 1,071 | py | Python | ensembler/aggregators/__init__.py | brandongk-ubco/ensembler | 9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d | [
"MIT"
] | null | null | null | ensembler/aggregators/__init__.py | brandongk-ubco/ensembler | 9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d | [
"MIT"
] | null | null | null | ensembler/aggregators/__init__.py | brandongk-ubco/ensembler | 9d4ab1a07f686eee8b5a4e721a6acc44da3ef94d | [
"MIT"
] | null | null | null | import torch
def harmonize_batch(y_hat,
y,
reduction=lambda y_hat: 1 - torch.prod(1 - y_hat, dim=0),
activation=torch.nn.Softmax2d()):
assert torch.max(y_hat) >= 0
assert torch.max(y_hat) <= 1
assert torch.max(y) >= 0
assert torch.max(y) <= 1
y_hat = y_hat.clone()
y = y.clone()
y_hat[1, :, :, :] = torch.flip(y_hat[1, :, :, :], [1])
y_hat[2, :, :, :] = torch.flip(y_hat[2, :, :, :], [2])
y_hat[3, :, :, :] = torch.flip(y_hat[3, :, :, :], [1, 2])
y[1, :, :, :] = torch.flip(y[1, :, :, :], [1])
y[2, :, :, :] = torch.flip(y[2, :, :, :], [2])
y[3, :, :, :] = torch.flip(y[3, :, :, :], [1, 2])
assert torch.allclose(y[1, :, :, :], y[0, :, :, :])
assert torch.allclose(y[2, :, :, :], y[0, :, :, :])
assert torch.allclose(y[3, :, :, :], y[0, :, :, :])
y_hat = reduction(y_hat)
y = y[0, :, :, :]
assert torch.max(y_hat) >= 0
assert torch.max(y_hat) <= 1
assert torch.max(y) >= 0
assert torch.max(y) <= 1
return y_hat, y
| 28.945946 | 77 | 0.448179 | 159 | 1,071 | 2.899371 | 0.150943 | 0.156182 | 0.24295 | 0.260304 | 0.403471 | 0.403471 | 0.303688 | 0.303688 | 0.303688 | 0.303688 | 0 | 0.051248 | 0.289449 | 1,071 | 36 | 78 | 29.75 | 0.554534 | 0 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6f914570a7bafed29457757d9370867f72b62601 | 1,047 | py | Python | tests/unit/project/libs/shared/infrastructure/test_mongodb_utils.py | ticdenis/python-skeleton | cb1dc68fa4453709545af4072775aeb373d20df8 | [
"MIT"
] | 2 | 2020-08-14T21:01:22.000Z | 2021-02-03T12:04:39.000Z | tests/unit/project/libs/shared/infrastructure/test_mongodb_utils.py | ticdenis/python-skeleton | cb1dc68fa4453709545af4072775aeb373d20df8 | [
"MIT"
] | null | null | null | tests/unit/project/libs/shared/infrastructure/test_mongodb_utils.py | ticdenis/python-skeleton | cb1dc68fa4453709545af4072775aeb373d20df8 | [
"MIT"
] | 1 | 2022-01-10T16:03:59.000Z | 2022-01-10T16:03:59.000Z | from typing import Any, Dict, Union, final
from aioddd import Aggregate, Id
from project.libs.shared.infrastructure.mongodb_utils import MongoDBBaseMapper
@final
class TestMongoDBBaseMapper:
@staticmethod
def test_to_documents_and_to_aggregates() -> None:
class _Aggregate(Aggregate):
_id: str
def __init__(self, agg_id: str) -> None:
self._id = agg_id
def id(self) -> str:
return self._id
class _MongoDBBaseMapper(MongoDBBaseMapper):
def to_aggregate(self, data: Dict[str, Any]) -> Union[Aggregate, Any]:
return _Aggregate(data['agg_id'])
def to_document(self, aggregate: Union[_Aggregate, Any]) -> Dict[str, Any]:
return {'agg_id': aggregate.id()}
the_agg = _Aggregate(Id.generate().value())
sut = _MongoDBBaseMapper()
docs = sut.to_documents([the_agg])
aggs = sut.to_aggregates(docs)
for agg in aggs:
assert agg.id() == the_agg.id()
| 29.083333 | 87 | 0.612225 | 120 | 1,047 | 5.091667 | 0.358333 | 0.0491 | 0.026187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283668 | 1,047 | 35 | 88 | 29.914286 | 0.814667 | 0 | 0 | 0 | 0 | 0 | 0.011461 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.208333 | false | 0 | 0.125 | 0.125 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
6f91b0cb3215e42eadacd438593370252d8e5ba9 | 51 | py | Python | ghu_web/ghu_main/__init__.py | humanitarians-united/hu | 7e0b180d011eaff1d45cee7470091a1ef9408d23 | [
"Apache-2.0"
] | 2 | 2017-05-08T22:45:16.000Z | 2017-09-10T12:51:51.000Z | ghu_web/ghu_main/__init__.py | global-humanitarians-unite/ghu | 7e0b180d011eaff1d45cee7470091a1ef9408d23 | [
"Apache-2.0"
] | 79 | 2017-05-08T19:46:53.000Z | 2017-12-03T03:24:35.000Z | ghu_web/ghu_main/__init__.py | humanitarians-united/hu | 7e0b180d011eaff1d45cee7470091a1ef9408d23 | [
"Apache-2.0"
] | 1 | 2017-03-16T00:11:29.000Z | 2017-03-16T00:11:29.000Z | default_app_config = 'ghu_main.apps.GhuMainConfig'
| 25.5 | 50 | 0.843137 | 7 | 51 | 5.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 51 | 1 | 51 | 51 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 0.529412 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6fb49bcb8f015e1ea87a25c00cfd83b5cad95933 | 266 | py | Python | core/exceptions/conversion_unit_not_implemented.py | joaquinquintas/shipwell_backend_ricardo | 55de24c8c7e3a685a1dca786e5c026410d353473 | [
"MIT"
] | null | null | null | core/exceptions/conversion_unit_not_implemented.py | joaquinquintas/shipwell_backend_ricardo | 55de24c8c7e3a685a1dca786e5c026410d353473 | [
"MIT"
] | null | null | null | core/exceptions/conversion_unit_not_implemented.py | joaquinquintas/shipwell_backend_ricardo | 55de24c8c7e3a685a1dca786e5c026410d353473 | [
"MIT"
] | null | null | null | '''
core exception module
'''
class ConversionUnitNotImplemented(Exception):
'''
raises when tring can not convert a TemperatureUnit
'''
def __init__(self, unit_name: str):
super().__init__('Conversion unit %s not implemented' % unit_name)
| 22.166667 | 74 | 0.68797 | 29 | 266 | 5.965517 | 0.793103 | 0.092486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203008 | 266 | 11 | 75 | 24.181818 | 0.816038 | 0.274436 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
6fbddb69f3c4be4db5d050e97bbe4b021e352c0a | 279 | py | Python | backend/jwt_response_payload_handler.py | crosspower/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 17 | 2019-01-23T04:37:43.000Z | 2019-10-15T01:42:31.000Z | backend/jwt_response_payload_handler.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 1 | 2019-01-23T08:04:44.000Z | 2019-01-23T08:44:33.000Z | backend/jwt_response_payload_handler.py | snickerjp/naruko | 4c524e2ef955610a711830bc86d730ffe4fc2bd8 | [
"MIT"
] | 6 | 2019-01-23T09:10:59.000Z | 2020-12-02T04:15:41.000Z | from backend.serializers.user_model_serializer import UserModelDetailSerializer
def jwt_response_payload_handler(token, user=None, request=None):
return {
'token': token,
'user': UserModelDetailSerializer(user, context={'request':request}).data
} | 34.875 | 82 | 0.727599 | 28 | 279 | 7.071429 | 0.678571 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172043 | 279 | 8 | 83 | 34.875 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.058608 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
6ff901566f3929f27b15986379f1449f360b9996 | 603 | py | Python | catalogue/migrations/0015_auto_20170308_0010.py | R-Wolf/CFD_A_library | b287ed8b2932b0f3b1cf5372f8d3d3494c6439c9 | [
"MIT"
] | 4 | 2017-03-14T05:03:03.000Z | 2019-04-13T05:13:24.000Z | catalogue/migrations/0015_auto_20170308_0010.py | gpulkit96/CFD_A_library | b287ed8b2932b0f3b1cf5372f8d3d3494c6439c9 | [
"MIT"
] | 1 | 2017-05-18T08:39:46.000Z | 2017-05-18T08:39:46.000Z | catalogue/migrations/0015_auto_20170308_0010.py | gpulkit96/CFD_A_library | b287ed8b2932b0f3b1cf5372f8d3d3494c6439c9 | [
"MIT"
] | 2 | 2017-03-13T08:54:21.000Z | 2017-05-18T06:24:58.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.5 on 2017-03-07 18:40
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('catalogue', '0014_auto_20170307_2340'),
]
operations = [
migrations.RemoveField(
model_name='post',
name='description',
),
migrations.RemoveField(
model_name='post',
name='image_url',
),
migrations.RemoveField(
model_name='post',
name='rating',
),
]
| 21.535714 | 49 | 0.562189 | 58 | 603 | 5.637931 | 0.672414 | 0.192661 | 0.238532 | 0.275229 | 0.348624 | 0.348624 | 0 | 0 | 0 | 0 | 0 | 0.080685 | 0.321725 | 603 | 27 | 50 | 22.333333 | 0.718826 | 0.112769 | 0 | 0.45 | 1 | 0 | 0.131579 | 0.043233 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
82eb5249cc54e1594f3b856354028fbbec6b4bd7 | 6,943 | py | Python | api/namex/services/name_request/auto_analyse/abstract_name_analysis_builder.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | null | null | null | api/namex/services/name_request/auto_analyse/abstract_name_analysis_builder.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | 2 | 2019-01-14T23:59:11.000Z | 2019-01-30T16:09:16.000Z | api/namex/services/name_request/auto_analyse/abstract_name_analysis_builder.py | rarmitag/namex | 1b308bf96130619d4a61d44e075cc7ab177dc6cd | [
"Apache-2.0"
] | null | null | null | import abc
from . import ProcedureResult
from .mixins.get_synonyms_lists import GetSynonymsListsMixin
from .mixins.get_designations_lists import GetDesignationsListsMixin
from .mixins.get_word_classification_lists import GetWordClassificationListsMixin
class AbstractNameAnalysisBuilder(GetSynonymsListsMixin, GetDesignationsListsMixin, GetWordClassificationListsMixin):
__metaclass__ = abc.ABCMeta
@property
def director(self):
return self._director
@director.setter
def director(self, director):
self._director = director
@property
def name_processing_service(self):
return self._name_processing_service
@name_processing_service.setter
def name_processing_service(self, svc):
self._name_processing_service = svc
@property
def word_classification_service(self):
return self._word_classification_service
@word_classification_service.setter
def word_classification_service(self, svc):
self._word_classification_service = svc
@property
def word_condition_service(self):
return self._word_condition_service
@word_condition_service.setter
def word_condition_service(self, svc):
self._word_condition_service = svc
@property
def synonym_service(self):
return self._synonym_service
@synonym_service.setter
def synonym_service(self, svc):
self._synonym_service = svc
@property
def entity_type(self):
return self.director.entity_type
def __init__(self, director):
# Store a reference to the director, we will need to access methods on the director instance to do things
# like updating the classifications table
self.director = director
self.name_processing_service = director.name_processing_service
self.word_classification_service = director.word_classification_service
self.word_condition_service = director.word_condition_service
self.synonym_service = director.synonym_service
# Just a wrapped call to the API's getClassification
def get_word_classification(self, word):
return self.word_classification_service.find_one(word)
# Just a wrapped call to the API's updateClassification
def update_word_classification(self, word_classification):
return self.word_classification_service.update(word_classification)
'''
Check to see if a provided name is valid
@return ProcedureResult
'''
@abc.abstractmethod
def check_name_is_well_formed(self, list_dist, list_desc, list_none, list_name, list_original_name):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
The reason this check is done separately from check_name_is_well_formed is
because out of province / intl names may not follow the same analysis rules.
Having this check separate allows us the flexibility of checking for words
to avoid specifically in cases where it is necessary.
@return ProcedureResult
'''
@abc.abstractmethod
def check_words_to_avoid(self, list_name, name):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def search_conflicts(self, list_dist, list_desc, list_name, name):
return ProcedureResult(is_valid=True)
# Default handler - this method should be overridden in extending Builder classes
# def _search_conflicts_success(self):
# pass
# Default handler - this method should be overridden in extending Builder classes
# def _search_conflicts_validate_error(self):
# pass
# Default handler - this method should be overridden in extending Builder classes
# def _search_conflicts_error(self):
# pass
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_words_requiring_consent(self, list_name, name):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
# TODO: Ensure this isn't needed anywhere before replacing it!
# @abc.abstractmethod
#def check_designation(self, list_name, entity_type_user, all_designations, wrong_designation_place, misplaced_designation_any, misplaced_designation_end, all_designations_user):
# return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_designation_mismatch(self, list_name, entity_type_user, all_designations, all_designations_user):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_designation_misplaced(self, list_name, misplaced_designation_any, misplaced_designation_end, misplaced_designation_all):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_designation_existence(self, list_name, all_designations_user):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_word_special_use(self, list_name, name):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def get_most_similar_names(self, dict_highest_counter, dict_highest_detail, matches, list_dist, list_desc, list_name, name):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def get_details_most_similar(self, list_response, dist_substitution_dict, desc_substitution_dict):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_word_limit(self, list_name):
return ProcedureResult(is_valid=True)
'''
This method IS abstract and MUST BE IMPLEMENTED in extending Builder classes
@return ProcedureResult
'''
@abc.abstractmethod
def check_unclassified_words(self, list_name, list_none):
return ProcedureResult(is_valid=True)
| 33.541063 | 182 | 0.739018 | 818 | 6,943 | 6.028117 | 0.195599 | 0.110728 | 0.054756 | 0.076049 | 0.593592 | 0.501115 | 0.467451 | 0.456094 | 0.429325 | 0.429325 | 0 | 0 | 0.203802 | 6,943 | 206 | 183 | 33.703884 | 0.892004 | 0.133516 | 0 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004854 | 0 | 1 | 0.302326 | false | 0 | 0.05814 | 0.232558 | 0.616279 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
82f9e14c1417ce615006e8a66a83e0a10dda430e | 465 | py | Python | iris_sdk/models/data/import_tn_checker_list.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/data/import_tn_checker_list.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/data/import_tn_checker_list.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.base_resource import BaseData, BaseResourceSimpleList
from iris_sdk.models.maps.import_tn_checker_list import TnListMap
class TelephoneNumbers(TnListMap, BaseData):
@property
def items(self):
return self.telephone_number.items
def __init__(self):
self.telephone_number = BaseResourceSimpleList()
def add(self, phone_number=None):
return self.telephone_number.add(phone_number)
| 27.352941 | 74 | 0.76129 | 57 | 465 | 5.947368 | 0.54386 | 0.115044 | 0.168142 | 0.100295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15914 | 465 | 16 | 75 | 29.0625 | 0.867008 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.2 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
82fa2d7fa46b27dc1f89738b3333cc8dcf9be2b9 | 161 | py | Python | dvc/output/gs.py | Abrosimov-a-a/dvc | 93280c937b9160003afb0d2f3fd473c03d6d9673 | [
"Apache-2.0"
] | null | null | null | dvc/output/gs.py | Abrosimov-a-a/dvc | 93280c937b9160003afb0d2f3fd473c03d6d9673 | [
"Apache-2.0"
] | null | null | null | dvc/output/gs.py | Abrosimov-a-a/dvc | 93280c937b9160003afb0d2f3fd473c03d6d9673 | [
"Apache-2.0"
] | 1 | 2019-12-01T07:43:48.000Z | 2019-12-01T07:43:48.000Z | from __future__ import unicode_literals
from dvc.output.s3 import OutputS3
from dvc.remote.gs import RemoteGS
class OutputGS(OutputS3):
REMOTE = RemoteGS
| 17.888889 | 39 | 0.801242 | 22 | 161 | 5.636364 | 0.636364 | 0.112903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021898 | 0.149068 | 161 | 8 | 40 | 20.125 | 0.883212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
d205077de599d7e971e9b17d988d3058ce1bd586 | 3,854 | py | Python | src/vector.py | MelroLeandro/pythonMCG | 7aaf9727fe90965481f1e45b219a766cfe942325 | [
"MIT"
] | null | null | null | src/vector.py | MelroLeandro/pythonMCG | 7aaf9727fe90965481f1e45b219a766cfe942325 | [
"MIT"
] | null | null | null | src/vector.py | MelroLeandro/pythonMCG | 7aaf9727fe90965481f1e45b219a766cfe942325 | [
"MIT"
] | null | null | null | """
Implements mainly the Vector class. See its documentation.
"""
class VectorError(Exception):
"""
An exception to use with Vector
"""
def __init__(self, msg):
self.msg = msg
def __str__(self):
return repr(self.value)
class Vector(tuple):
"""
A vector.
"""
def __init__(self,seq):
tuple.__init__(seq)
def __add__(self, other):
if not(isinstance(other,Vector)):
raise VectorError("right hand side is not a Vector")
return Vector(map(lambda x,y: x+y, self, other))
def __neg__(self):
return Vector(map(lambda x: -x, self))
def __pos__(self):
return self
def __sub__(self, other):
return Vector(map(lambda x,y: x-y, self, other))
def __mul__(self, other):
if not(isinstance(other,int) or isinstance(other,float)):
raise VectorError("right hand side is illegal")
return Vector(map(lambda x: x*other, self))
def __rmul__(self, other):
return (self*other)
def __div__(self, other):
if not(isinstance(other,int) or isinstance(other,float)):
raise VectorError("right hand side is illegal")
return Vector(map(lambda x: x/other, self))
def __rdiv__(self, other):
raise VectorError("you sick pervert! you tried to divide something by a vector!")
def __and__(self,other):
"""
this is a dot product, done like this: a&b
must use () around it because of fucked up operator precedence.
"""
if not(isinstance(other,Vector)):
raise VectorError("trying to do dot product of Vector with non-Vector")
"""
if self.dim()!=other.dim():
raise("trying to do dot product of Vectors of unequal dimension!")
"""
d=self.dim()
s=0.
for i in range(d):
s+=self[i]*other[i]
return s
def __rand__(self,other):
return self&other
def __or__(self,other):
"""
cross product, defined only for 3D Vectors. goes like this: a|b
don't try this on non-3d Vectors. must use () around it because of fucked up operator precedence.
"""
a=self
b=other
return Vector([a[1]*b[2]-a[2]*b[1],a[2]*b[0]-a[0]*b[2],a[0]*b[1]-a[1]*b[0]])
def __ror__(self,other):
return -(self|other)
def __abs__(self):
s=0.
for x in self:
s+=x**2
return s**(1.0/2)
def __iadd__(self,other):
self=self+other
return self
def __isub__(self,other):
self=self-other
return self
def __imul__(self,other):
self=self*other
return self
def __idiv__(self,other):
self=self/other
return self
def __iand__(self,other):
raise VectorError("please don't do &= with my Vectors, it confuses me")
def __ior__(self,other):
self=self|other
return self
def __repr__(self):
return "Vector("+tuple.__repr__(self)+")"
def norm(self):
"""
gives the Vector, normalized
"""
return self/abs(self)
def dim(self):
return len(self)
def copy(self):
return Vector(self)
################################################################################################
def zeros(n):
"""
Returns a zero Vector of length n.
"""
return Vector(map(lambda x: 0., range(n)))
def ones(n):
"""
Returns a Vector of length n with all ones.
"""
return Vector(map(lambda x: 1., range(n)))
| 26.763889 | 109 | 0.51946 | 479 | 3,854 | 3.970772 | 0.256785 | 0.123028 | 0.070978 | 0.079916 | 0.474763 | 0.45163 | 0.361199 | 0.317035 | 0.225026 | 0.225026 | 0 | 0.008703 | 0.344058 | 3,854 | 143 | 110 | 26.951049 | 0.743671 | 0.123768 | 0 | 0.175 | 0 | 0 | 0.085549 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0 | 0.125 | 0.675 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d21a678522c06df4d334f6384361206e46071a1e | 250 | py | Python | servicos/urls.py | tiagocordeiro/estudio-abc | 1f48d785063717ddc3b17b32df342b9eec7dbd32 | [
"MIT"
] | null | null | null | servicos/urls.py | tiagocordeiro/estudio-abc | 1f48d785063717ddc3b17b32df342b9eec7dbd32 | [
"MIT"
] | 435 | 2018-07-26T16:42:24.000Z | 2022-03-28T20:11:05.000Z | servicos/urls.py | tiagocordeiro/estudio-abc | 1f48d785063717ddc3b17b32df342b9eec7dbd32 | [
"MIT"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('dashboard/servicos/', views.servicos_list, name='servicos_list'),
path('dashboard/servicos/upload/fotolito/', views.fotolito_upload,
name='upload_fotolito'),
]
| 25 | 75 | 0.72 | 29 | 250 | 6.068966 | 0.448276 | 0.147727 | 0.238636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148 | 250 | 9 | 76 | 27.777778 | 0.826291 | 0 | 0 | 0 | 0 | 0 | 0.328 | 0.14 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d244a3ecdecc8858fbf2c55a8a66b2b3d798f44f | 242 | py | Python | app/__init__.py | Keqing84/unzip-bot | 5bed2dd0996b50dddb13b85f37e06ed19cd36d51 | [
"Apache-2.0"
] | null | null | null | app/__init__.py | Keqing84/unzip-bot | 5bed2dd0996b50dddb13b85f37e06ed19cd36d51 | [
"Apache-2.0"
] | null | null | null | app/__init__.py | Keqing84/unzip-bot | 5bed2dd0996b50dddb13b85f37e06ed19cd36d51 | [
"Apache-2.0"
] | null | null | null | from os import environ as env
from Config import Config
AUTH_USERS = []
if " " in Config.AUTH_USER:
achat = Config.AUTH_USER
achat.split(" ")
else:
achat = Config.AUTH_USER
for ID in achat:
AUTH_USERS.append(int(ID))
| 18.615385 | 31 | 0.669421 | 37 | 242 | 4.243243 | 0.513514 | 0.254777 | 0.267516 | 0.242038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.235537 | 242 | 12 | 32 | 20.166667 | 0.848649 | 0 | 0 | 0.2 | 0 | 0 | 0.008264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d24d1d4b7217041e9bea4a5f5e18a5cec1df6ad7 | 1,443 | py | Python | dlcli/api/links.py | outlyerapp/dlcli | 57458b7346a9b9c92cf99628f6c051589a9edb27 | [
"Apache-2.0"
] | 1 | 2017-12-06T11:07:48.000Z | 2017-12-06T11:07:48.000Z | dlcli/api/links.py | outlyerapp/dlcli | 57458b7346a9b9c92cf99628f6c051589a9edb27 | [
"Apache-2.0"
] | 1 | 2020-02-22T20:29:15.000Z | 2020-02-22T20:29:15.000Z | dlcli/api/links.py | outlyerapp/dlcli | 57458b7346a9b9c92cf99628f6c051589a9edb27 | [
"Apache-2.0"
] | null | null | null | import logging
import utils
import json
from wrapper import *
logger = logging.getLogger(__name__)
# noinspection PyUnusedLocal
def get_links(url='', org='', account='', key='', timeout=60, **kwargs):
return get(utils.build_api_url(url, org, account,
endpoint='links'),
headers={'Authorization': "Bearer " + key}, timeout=timeout).json()
# noinspection PyUnusedLocal
def delete_link(url='', org='', account='', key='', link_id='', timeout=60, **kwargs):
return delete(utils.build_api_url(url, org, account,
endpoint='links/%s' % link_id),
headers={'Authorization': "Bearer " + key}, timeout=timeout)
# noinspection PyUnusedLocal
def export_link(url='', org='', account='', key='', link_id='', timeout=60, **kwargs):
return get(utils.build_api_url(url, org, account,
endpoint='links/%s' % link_id),
headers={'Authorization': "Bearer " + key}, timeout=timeout).json()
# noinspection PyUnusedLocal
def import_link(url='', org='', account='', key='', link_path='', timeout=60, **kwargs):
link_json = json.loads(utils.read_file_content(link_path))
return post(utils.build_api_url(url, org, account,
endpoint='links'),
headers={'Authorization': "Bearer " + key},
data=link_json, timeout=timeout)
| 39 | 88 | 0.593209 | 156 | 1,443 | 5.320513 | 0.25641 | 0.057831 | 0.125301 | 0.077108 | 0.661446 | 0.661446 | 0.63253 | 0.63253 | 0.63253 | 0.63253 | 0 | 0.007394 | 0.250173 | 1,443 | 36 | 89 | 40.083333 | 0.759704 | 0.074151 | 0 | 0.347826 | 0 | 0 | 0.079639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.173913 | false | 0 | 0.217391 | 0.130435 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
d2734fdfbe83dc2459c693a426269b88a2e79da1 | 26 | py | Python | src/constants/confirmation_constants.py | Kevingislason/bitcoin_hardware_wallet_ui | 226983546c7c8838ca8bc72accdd6adbd8013446 | [
"MIT"
] | null | null | null | src/constants/confirmation_constants.py | Kevingislason/bitcoin_hardware_wallet_ui | 226983546c7c8838ca8bc72accdd6adbd8013446 | [
"MIT"
] | 5 | 2021-06-02T03:21:46.000Z | 2022-03-12T00:55:35.000Z | src/constants/confirmation_constants.py | Kevingislason/abacus_wallet_bridge | 226983546c7c8838ca8bc72accdd6adbd8013446 | [
"MIT"
] | null | null | null | MINIMUM_CONFIRMATIONS = 6
| 13 | 25 | 0.846154 | 3 | 26 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.115385 | 26 | 1 | 26 | 26 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
d2754ba6e31d1afedac30456b0a9ab7171f74775 | 266 | py | Python | ajax_filtered_fields/urls.py | schizo99/django-ajax-filtered-fields | b110a56d2960ae02fa0d20de7a6e9eea037c9495 | [
"MIT"
] | 1 | 2018-09-20T12:37:36.000Z | 2018-09-20T12:37:36.000Z | ajax_filtered_fields/urls.py | schizo99/django-ajax-filtered-fields | b110a56d2960ae02fa0d20de7a6e9eea037c9495 | [
"MIT"
] | null | null | null | ajax_filtered_fields/urls.py | schizo99/django-ajax-filtered-fields | b110a56d2960ae02fa0d20de7a6e9eea037c9495 | [
"MIT"
] | 1 | 2018-09-20T12:37:21.000Z | 2018-09-20T12:37:21.000Z | from django.conf.urls import url
from ajax_filtered_fields import settings
from ajax_filtered_fields.views import json_index
if settings.AUTH_DECORATOR:
json_index = settings.AUTH_DECORATOR(json_index)
urlpatterns = [
url(r'^json_index/$', json_index),
]
| 22.166667 | 52 | 0.793233 | 38 | 266 | 5.263158 | 0.473684 | 0.225 | 0.16 | 0.22 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12782 | 266 | 11 | 53 | 24.181818 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.048872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
962e449b8a3bac16e9a91896c5a733e3cb931d8b | 1,895 | py | Python | neuralNetwork.py | firvain/phaetons | 0f32d0b83fbc2e14b4106e0a04ad39950229ff84 | [
"MIT"
] | null | null | null | neuralNetwork.py | firvain/phaetons | 0f32d0b83fbc2e14b4106e0a04ad39950229ff84 | [
"MIT"
] | 5 | 2020-05-05T11:09:13.000Z | 2022-02-10T01:41:15.000Z | neuralNetwork.py | firvain/phaetons | 0f32d0b83fbc2e14b4106e0a04ad39950229ff84 | [
"MIT"
] | 1 | 2020-11-03T04:53:16.000Z | 2020-11-03T04:53:16.000Z | import numpy as np
from neural import LSTM_WindTurbine
from neural import LSTM_PvSystem
from neural import LSTM_LedSystem
from neural import LSTM_LoadStationSystem
from neural.example import LSTM
# WIND TURBINE SYSTEM functions
def predictPw(forecastHours, visualize):
val = LSTM_WindTurbine.LSTM_RUN(
"data/dummy/WindTurbine.csv", forecastHours, visualize
)
return val
def getPw(forecastHours):
val = LSTM_WindTurbine.LSTM_RUN("data/dummy/WindTurbine.csv")
return val
# PHOTOVOLTAIC SYSTEM functions
def predictPpv(forecastHours, visualize):
val = LSTM_PvSystem.LSTM_RUN(
"data/dummy/PvSystem.csv", forecastHours, visualize
)
return val
def getPpv(forecastHours):
val = LSTM_PvSystem.LSTM_RUN("data/dummy/PvSystem.csv")
return val
# LED SYSTEM functions
def predictPl(forecastHours, visualize):
val = LSTM_LedSystem.LSTM_RUN(
"data/dummy/LedSystem.csv", forecastHours, visualize
)
return val
def getPl(forecastHours):
val = LSTM_LedSystem.LSTM_RUN(
"data/dummy/LedSystem.csv"
)
return val
# POWER CONSUMPTION SYSTEM functions
def predictPls(forecastHours, visualize):
val = LSTM_LoadStationSystem.LSTM_RUN(
"data/dummy/LoadStationSystem.csv", forecastHours, visualize
)
return val
def getPls(forecastHours):
val = LSTM_LoadStationSystem.LSTM_RUN("data/dummy/LoadStationSystem.csv")
return val
# Example and Dummy
def example(forecastHours):
return LSTM.LSTM_RUN("data/example/pollution.csv")
def dummyResult(forecastHours):
return (np.random.rand(1) * np.random.randint(1, 100))[0]
def predictNeurals(forecastHours, visualize):
Pw = predictPw(forecastHours, visualize)
Ppv = predictPpv(forecastHours, visualize)
Pl = predictPl(forecastHours, visualize)
Pls = predictPls(forecastHours, visualize)
return Pw, Ppv, Pl, Pls
| 24.294872 | 77 | 0.737203 | 220 | 1,895 | 6.254545 | 0.231818 | 0.207849 | 0.071948 | 0.093023 | 0.380814 | 0.380814 | 0.281977 | 0.281977 | 0.281977 | 0 | 0 | 0.003841 | 0.175726 | 1,895 | 77 | 78 | 24.61039 | 0.877081 | 0.070185 | 0 | 0.2 | 0 | 0 | 0.134396 | 0.134396 | 0 | 0 | 0 | 0 | 0 | 1 | 0.22 | false | 0 | 0.12 | 0.04 | 0.56 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.