content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
dp=[[0]*5 for i in range(101)] dp[0][0]=1 dp[1][0]=1 dp[2][0]=1 dp[2][1]=1 dp[2][2]=1 dp[2][3]=1 dp[2][4]=1 for i in range(3,101): dp[i][0]=sum(dp[i-1]) dp[i][4]=sum(dp[i-2]) j=i-2 while j>=0: dp[i][1]+=sum(dp[j]) j-=2 j=i-2 while j>=0: dp[i][2]+=sum(dp[j]) dp[i][3]+=sum(dp[j]) j-=1 for i in range(int(input())): x=int(input()) print(sum(dp[x]))
dp = [[0] * 5 for i in range(101)] dp[0][0] = 1 dp[1][0] = 1 dp[2][0] = 1 dp[2][1] = 1 dp[2][2] = 1 dp[2][3] = 1 dp[2][4] = 1 for i in range(3, 101): dp[i][0] = sum(dp[i - 1]) dp[i][4] = sum(dp[i - 2]) j = i - 2 while j >= 0: dp[i][1] += sum(dp[j]) j -= 2 j = i - 2 while j >= 0: dp[i][2] += sum(dp[j]) dp[i][3] += sum(dp[j]) j -= 1 for i in range(int(input())): x = int(input()) print(sum(dp[x]))
# leapyear y=input("enter any year") if y%4==0: print("{} is:leap year".format(y)) else: print("{} is not a leap year".format(y))
y = input('enter any year') if y % 4 == 0: print('{} is:leap year'.format(y)) else: print('{} is not a leap year'.format(y))
t = int(input()) for i in range(t): n, m = list(map(int, input().split())) if(n%m == 0): print("YES") else: print("NO")
t = int(input()) for i in range(t): (n, m) = list(map(int, input().split())) if n % m == 0: print('YES') else: print('NO')
a, b, c = (int(input()) for i in range(3)) if a <= b <= c: print("True") else: print("False")
(a, b, c) = (int(input()) for i in range(3)) if a <= b <= c: print('True') else: print('False')
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # def f_gold ( arr , n , x ) : for i in range ( n ) : if arr [ i ] > arr [ i + 1 ] : break l = ( i + 1 ) % n r = i cnt = 0 while ( l != r ) : if arr [ l ] + arr [ r ] == x : cnt += 1 if l == ( r - 1 + n ) % n : return cnt l = ( l + 1 ) % n r = ( r - 1 + n ) % n elif arr [ l ] + arr [ r ] < x : l = ( l + 1 ) % n else : r = ( n + r - 1 ) % n return cnt #TOFILL if __name__ == '__main__': param = [ ([24, 54],1,1,), ([68, -30, -18, -6, 70, -40, 86, 98, -24, -48],8,8,), ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],33,28,), ([84, 44, 40, 45, 2, 41, 52, 17, 50, 41, 5, 52, 48, 90, 13, 55, 34, 55, 94, 44, 41, 2],18,16,), ([-92, -76, -74, -72, -68, -64, -58, -44, -44, -38, -26, -24, -20, -12, -8, -8, -4, 10, 10, 10, 20, 20, 26, 26, 28, 50, 52, 54, 60, 66, 72, 74, 78, 78, 78, 80, 86, 88],29,30,), ([1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1],19,10,), ([5, 5, 15, 19, 22, 24, 26, 27, 28, 32, 37, 39, 40, 43, 49, 52, 55, 56, 58, 58, 59, 62, 67, 68, 77, 79, 79, 80, 81, 87, 95, 95, 96, 98, 98],28,34,), ([-98, 28, 54, 44, -98, -70, 48, -98, 56, 4, -18, 26, -8, -58, 30, 82, 4, -38, 42, 64, -28],17,14,), ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],24,24,), ([26, 72, 74, 86, 98, 86, 22, 6, 95, 36, 11, 82, 34, 3, 50, 36, 81, 94, 55, 30, 62, 53, 50, 95, 32, 83, 9, 16],19,16,) ] n_success = 0 for i, parameters_set in enumerate(param): if f_filled(*parameters_set) == f_gold(*parameters_set): n_success+=1 print("#Results: %i, %i" % (n_success, len(param)))
def f_gold(arr, n, x): for i in range(n): if arr[i] > arr[i + 1]: break l = (i + 1) % n r = i cnt = 0 while l != r: if arr[l] + arr[r] == x: cnt += 1 if l == (r - 1 + n) % n: return cnt l = (l + 1) % n r = (r - 1 + n) % n elif arr[l] + arr[r] < x: l = (l + 1) % n else: r = (n + r - 1) % n return cnt if __name__ == '__main__': param = [([24, 54], 1, 1), ([68, -30, -18, -6, 70, -40, 86, 98, -24, -48], 8, 8), ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 33, 28), ([84, 44, 40, 45, 2, 41, 52, 17, 50, 41, 5, 52, 48, 90, 13, 55, 34, 55, 94, 44, 41, 2], 18, 16), ([-92, -76, -74, -72, -68, -64, -58, -44, -44, -38, -26, -24, -20, -12, -8, -8, -4, 10, 10, 10, 20, 20, 26, 26, 28, 50, 52, 54, 60, 66, 72, 74, 78, 78, 78, 80, 86, 88], 29, 30), ([1, 1, 1, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1], 19, 10), ([5, 5, 15, 19, 22, 24, 26, 27, 28, 32, 37, 39, 40, 43, 49, 52, 55, 56, 58, 58, 59, 62, 67, 68, 77, 79, 79, 80, 81, 87, 95, 95, 96, 98, 98], 28, 34), ([-98, 28, 54, 44, -98, -70, 48, -98, 56, 4, -18, 26, -8, -58, 30, 82, 4, -38, 42, 64, -28], 17, 14), ([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 24, 24), ([26, 72, 74, 86, 98, 86, 22, 6, 95, 36, 11, 82, 34, 3, 50, 36, 81, 94, 55, 30, 62, 53, 50, 95, 32, 83, 9, 16], 19, 16)] n_success = 0 for (i, parameters_set) in enumerate(param): if f_filled(*parameters_set) == f_gold(*parameters_set): n_success += 1 print('#Results: %i, %i' % (n_success, len(param)))
class Queue: def __init__(self) -> None: self._queue = [] def insert(self, val: int) -> None: self._queue.append(val) def pop(self) -> None: self._queue.pop(0) def __str__(self): return "{}".format(self._queue) def __len__(self): return len(self._queue) if __name__ == "__main__": queue = Queue() queue.print() queue.insert(10) queue.insert(53) queue.pop() queue.insert(48) queue.print() print(len(queue))
class Queue: def __init__(self) -> None: self._queue = [] def insert(self, val: int) -> None: self._queue.append(val) def pop(self) -> None: self._queue.pop(0) def __str__(self): return '{}'.format(self._queue) def __len__(self): return len(self._queue) if __name__ == '__main__': queue = queue() queue.print() queue.insert(10) queue.insert(53) queue.pop() queue.insert(48) queue.print() print(len(queue))
class PreRequisites: def __init__(self, course_list=None): self.course_list = course_list
class Prerequisites: def __init__(self, course_list=None): self.course_list = course_list
#!/usr/local/bin/python3 def soma_1(x, y): return x + y def soma_2(x, y, z): return x + y + z def soma(*numeros): return sum(numeros) if __name__ == '__main__': print(soma_1(10, 10)) print(soma_2(10, 10, 10)) # packing print(soma(10, 10, 10, 10)) # unpacking list_nums = [10, 20] print(soma_1(*list_nums)) tuple_nums = (10, 20) print(soma_1(*tuple_nums))
def soma_1(x, y): return x + y def soma_2(x, y, z): return x + y + z def soma(*numeros): return sum(numeros) if __name__ == '__main__': print(soma_1(10, 10)) print(soma_2(10, 10, 10)) print(soma(10, 10, 10, 10)) list_nums = [10, 20] print(soma_1(*list_nums)) tuple_nums = (10, 20) print(soma_1(*tuple_nums))
class CPU: VECTOR_RESET = 0xFFFC # Reset Vector address. def __init__(self, system): self._system = system self._debug_log = open("debug.log", "w") def reset(self): # Program Counter 16-bit, default to value located at the reset vector address. self._pc = self._system.mmu.read_word(self.VECTOR_RESET) #self._pc = 0xC000 # NES TEST Start point # Stack Pointer 8-bit, ranges from 0x0100 to 0x01FF self._sp = 0xFD # Accumulator 8-bit self._a = 0x00 # Index Register X 8-bit self._x = 0x00 # Index Register Y 8-bit self._y = 0x00 #### Processor Status Flags # Carry - set if the last operation caused an overflow from bit 7, or an underflow from bit 0. self._carry = False # Zero - the result of the last operation was zero. self._zero = False # Interrupt Disable - set if the program executed an SEI instruction. It's cleared with a CLI instruction. self._interrupt_disable = True # Break Command - Set when a BRK instruction is hit and an interrupt has been generated to process it. self._break_command = False # Decimal Mode self._decimal_mode = False # Overflow - Set during arithmetic operations if the result has yielded an invalid 2's compliment result. self._overflow = False # Negative - Set if the result of the last operation had bit 7 set to a one. self._negative = False # Reset clock self.clock = 0 def step(self): # Fetch next instruction. pc = self._pc self._current_instruction = pc # print(f"PC: {format(pc,'x').upper()} / SP: {format(self._sp,'x').upper()} / A: {format(self._a,'x').upper()} / X: {format(self._x,'x').upper()} / Y: {format(self._y,'x').upper()}") self._debug_log.write(f"{format(pc,'x').upper()}\n") op_code = self._get_next_byte() # Decode op code. instruction = self.decode_instruction(op_code) # Execute instruction. instruction(op_code) def decode_instruction(self, op_code): instructions = { 0x69: self.ADC, 0x65: self.ADC, 0x75: self.ADC, 0x6D: self.ADC, 0x7D: self.ADC, 0x79: self.ADC, 0x61: self.ADC, 0x71: self.ADC, 0x29: self.AND, 0x25: self.AND, 0x35: self.AND, 0x2D: self.AND, 0x3D: self.AND, 0x39: self.AND, 0x21: self.AND, 0x31: self.AND, 0x0A: self.ASL, 0x06: self.ASL, 0x16: self.ASL, 0x0E: self.ASL, 0x1E: self.ASL, 0x90: self.BCC, 0xB0: self.BCS, 0xF0: self.BEQ, 0x24: self.BIT, 0x2C: self.BIT, 0x30: self.BMI, 0xD0: self.BNE, 0x10: self.BPL, 0x00: self.BRK, 0x50: self.BVC, 0x70: self.BVS, 0x18: self.CLC, 0xD8: self.CLD, 0x58: self.CLI, 0xB8: self.CLV, 0xC9: self.CMP, 0xC5: self.CMP, 0xD5: self.CMP, 0xCD: self.CMP, 0xDD: self.CMP, 0xD9: self.CMP, 0xC1: self.CMP, 0xD1: self.CMP, 0xE0: self.CPX, 0xE4: self.CPX, 0xEC: self.CPX, 0xC0: self.CPY, 0xC4: self.CPY, 0xCC: self.CPY, 0xC6: self.DEC, 0xD6: self.DEC, 0xCE: self.DEC, 0xDE: self.DEC, 0xCA: self.DEX, 0x88: self.DEY, 0x49: self.EOR, 0x45: self.EOR, 0x55: self.EOR, 0x4D: self.EOR, 0x5D: self.EOR, 0x59: self.EOR, 0x41: self.EOR, 0x51: self.EOR, 0xE6: self.INC, 0xF6: self.INC, 0xEE: self.INC, 0xFE: self.INC, 0xE8: self.INX, 0xC8: self.INY, 0x4C: self.JMP, 0x6C: self.JMP, 0x20: self.JSR, 0xA9: self.LDA, 0xA5: self.LDA, 0xB5: self.LDA, 0xAD: self.LDA, 0xBD: self.LDA, 0xB9: self.LDA, 0xA1: self.LDA, 0xB1: self.LDA, 0xA2: self.LDX, 0xA6: self.LDX, 0xB6: self.LDX, 0xAE: self.LDX, 0xBE: self.LDX, 0xA0: self.LDY, 0xA4: self.LDY, 0xB4: self.LDY, 0xAC: self.LDY, 0xBC: self.LDY, 0x4A: self.LSR, 0x46: self.LSR, 0x56: self.LSR, 0x4E: self.LSR, 0x5E: self.LSR, 0xEA: self.NOP, 0x09: self.ORA, 0x05: self.ORA, 0x15: self.ORA, 0x0D: self.ORA, 0x1D: self.ORA, 0x19: self.ORA, 0x01: self.ORA, 0x11: self.ORA, 0x48: self.PHA, 0x08: self.PHP, 0x68: self.PLA, 0x28: self.PLP, 0x2A: self.ROL, 0x26: self.ROL, 0x36: self.ROL, 0x2E: self.ROL, 0x3E: self.ROL, 0x6A: self.ROR, 0x66: self.ROR, 0x76: self.ROR, 0x6E: self.ROR, 0x7E: self.ROR, 0x40: self.RTI, 0x60: self.RTS, 0xE9: self.SBC, 0xE5: self.SBC, 0xF5: self.SBC, 0xED: self.SBC, 0xFD: self.SBC, 0xF9: self.SBC, 0xE1: self.SBC, 0xF1: self.SBC, 0x38: self.SEC, 0xF8: self.SED, 0x78: self.SEI, 0x85: self.STA, 0x95: self.STA, 0x8D: self.STA, 0x9D: self.STA, 0x99: self.STA, 0x81: self.STA, 0x91: self.STA, 0x86: self.STX, 0x96: self.STX, 0x8E: self.STX, 0x84: self.STY, 0x94: self.STY, 0x8C: self.STY, 0xAA: self.TAX, 0xA8: self.TAY, 0xBA: self.TSX, 0x8A: self.TXA, 0x9A: self.TXS, 0x98: self.TYA } instruction = instructions.get(op_code, None) if (instruction == None): raise RuntimeError(f"No instruction found: {hex(op_code)}") return instruction def _get_next_byte(self): value = self._system.mmu.read_byte(self._pc) self._pc += 1 return value def _get_next_word(self): lo = self._get_next_byte() hi = self._get_next_byte() return (hi<<8)+lo def _set_status_flag(self, byte): self._negative = byte&0x80 > 0 self._overflow = byte&0x40 > 0 self._decimal_mode = byte&0x08 > 0 self._interrupt_disable = byte&0x04 > 0 self._zero = byte&0x02 > 0 self._carry = byte&0x01 > 0 def _get_status_flag(self): value = 0 value |= 0x80 if (self._negative) else 0 value |= 0x40 if (self._overflow) else 0 value |= 0x08 if (self._decimal_mode) else 0 value |= 0x04 if (self._interrupt_disable) else 0 value |= 0x02 if (self._zero) else 0 value |= 0x01 if (self._carry) else 0 return value # Pushes a byte onto the stack. def push(self, value): self._system.mmu.write_byte(0x0100 + self._sp, value) self._sp = (self._sp-1)&0xFF # Pulls the next byte off the stack. def pull(self): self._sp = (self._sp+1)&0xFF value = self._system.mmu.read_byte(0x0100 + self._sp) return value ############################################################################### # Address Mode Helpers ############################################################################### def _get_address_at_zeropage(self): return self._get_next_byte() def _get_address_at_zeropage_x(self): return (self._get_next_byte() + self._x)&0xFF def _get_address_at_zeropage_y(self): return (self._get_next_byte() + self._y)&0xFF def _get_address_at_absolute(self): return self._get_next_word() def _get_address_at_absolute_x(self): return self._get_next_word() + self._x def _get_address_at_absolute_y(self): return self._get_next_word() + self._y def _get_address_at_indirect(self): return self._system.mmu.read_word(self._get_next_byte()) def _get_address_at_indirect_x(self): m = self._get_next_byte() hi = self._system.mmu.read_byte((m + 1 + self._x)&0xFF) lo = self._system.mmu.read_byte((m + self._x)&0xFF) return (hi<<8)+lo def _get_address_at_indirect_y(self): return (self._system.mmu.read_word(self._get_next_byte()) + self._y)&0xFFFF def _get_value_at_zeropage(self): return self._system.mmu.read_byte(self._get_address_at_zeropage()) def _get_value_at_zeropage_x(self): return self._system.mmu.read_byte(self._get_address_at_zeropage_x()) def _get_value_at_absolute(self): return self._system.mmu.read_byte(self._get_address_at_absolute()) def _get_value_at_absolute_x(self): return self._system.mmu.read_byte(self._get_address_at_absolute_x()) def _get_value_at_absolute_y(self): return self._system.mmu.read_byte(self._get_address_at_absolute_y()) def _get_value_at_indirect_x(self): return self._system.mmu.read_byte(self._get_address_at_indirect_x()) def _get_value_at_indirect_y(self): return self._system.mmu.read_byte(self._get_address_at_indirect_y()) ############################################################################### # Instructions # TODO: Implement * modifiers to instruction timing. i.e. add 1 if page boundary is crossed. ############################################################################### def ADC(self, op_code): # Add Memory to Accumulator with Carry # A + M + C -> A, C N Z C I D V # + + + - - + # addressing assembler opc bytes cyles # -------------------------------------------- # immediate ADC #oper 69 2 2 # zeropage ADC oper 65 2 3 # zeropage,X ADC oper,X 75 2 4 # absolute ADC oper 6D 3 4 # absolute,X ADC oper,X 7D 3 4* # absolute,Y ADC oper,Y 79 3 4* # (indirect,X) ADC (oper,X) 61 2 6 # (indirect),Y ADC (oper),Y 71 2 5* value = None cycles = None if (op_code == 0x69): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0x65): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0x75): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0x6D): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0x7D): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0x79): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0x61): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0x71): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") result = self._a + value + (1 if self._carry == True else 0) self._carry = result > 0xFF # More info on source: https://stackoverflow.com/a/29224684 self._overflow = ~(self._a ^ value) & (self._a ^ result) & 0x80 self._a = result&0xFF self._negative = (self._a>>7) == 1 self._zero = self._a == 0 self._system.consume_cycles(cycles) def AND(self, op_code): # AND Memory with Accumulator # A AND M -> A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate AND #oper 29 2 2 # zeropage AND oper 25 2 3 # zeropage,X AND oper,X 35 2 4 # absolute AND oper 2D 3 4 # absolute,X AND oper,X 3D 3 4* # absolute,Y AND oper,Y 39 3 4* # (indirect,X) AND (oper,X) 21 2 6 # (indirect),Y AND (oper),Y 31 2 5* value = None cycles = None if (op_code == 0x29): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0x25): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0x35): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0x2D): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0x3D): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0x39): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0x21): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0x31): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") self._a = (self._a&value)&0xFF self._negative = (self._a&0x80) > 0 self._zero = self._a == 0 self._system.consume_cycles(cycles) def ASL(self, op_code): # Shift Left One Bit (Memory or Accumulator) # C <- [76543210] <- 0 N Z C I D V # + + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # accumulator ASL A 0A 1 2 # zeropage ASL oper 06 2 5 # zeropage,X ASL oper,X 16 2 6 # absolute ASL oper 0E 3 6 # absolute,X ASL oper,X 1E 3 7 address = None cycles = None if (op_code == 0x0A): # accumulator self._carry = self._a&0x80 > 0 self._a = (self._a<<1)&0xFF self._negative = self._a&0x80 > 0 self._zero = self._a == 0 cycles = 2 return elif (op_code == 0x06): # zeropage address = self._get_address_at_zeropage() cycles = 5 elif (op_code == 0x16): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 6 elif (op_code == 0x0E): # absolute address = self._get_address_at_absolute() cycles = 6 elif (op_code == 0x1E): # absolute,X address = self._get_address_at_absolute_x() cycles = 7 else: raise RuntimeError(f"Unknown op code: {op_code}") value = self._system.mmu.read_byte(address) self._carry = value&0x80 > 0 value = (value<<1)&0xFF self._negative = value&0x80 > 0 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def BCC(self, op_code): # Branch on Carry Clear # branch on C = 0 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BCC oper 90 2 2** offset = self._get_next_byte() if (not self._carry): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BCS(self, op_code): # Branch on Carry Set # branch on C = 1 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BCS oper B0 2 2** offset = self._get_next_byte() if (self._carry): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BEQ(self, op_code): # Branch on Result Zero # branch on Z = 1 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BEQ oper F0 2 2** offset = self._get_next_byte() if (self._zero): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BIT(self, op_code): # Test Bits in Memory with Accumulator # bits 7 and 6 of operand are transfered to bit 7 and 6 of SR (N,V); # the zeroflag is set to the result of operand AND accumulator. # A AND M, M7 -> N, M6 -> V N Z C I D V # M7 + - - - M6 # addressing assembler opc bytes cyles # -------------------------------------------- # zeropage BIT oper 24 2 3 # absolute BIT oper 2C 3 4 value = None cycles = None if (op_code == 0x24): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0x2C): # absolute value = self._get_value_at_absolute() cycles = 4 self._negative = value&0x80 > 0 self._overflow = value&0x40 > 0 value &= self._a self._zero = value == 0 self._system.consume_cycles(cycles) def BMI(self, op_code): # Branch on Result Minus # branch on N = 1 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BMI oper 30 2 2** offset = self._get_next_byte() if (self._negative): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BNE(self, op_code): # Branch on Result not Zero # branch on Z = 0 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BNE oper D0 2 2** offset = self._get_next_byte() if (not self._zero): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BPL(self, op_code): # Branch on Result Plus # branch on N = 0 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BPL oper 10 2 2** offset = self._get_next_byte() if (not self._negative): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BRK(self, op_code): # Force Break # interrupt, N Z C I D V # push PC+2, push SR - - - 1 - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied BRK 00 1 7 raise NotImplementedError() def BVC(self, op_code): # Branch on Overflow Clear # branch on V = 0 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BVC oper 50 2 2** offset = self._get_next_byte() if (not self._overflow): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def BVS(self, op_code): # Branch on Overflow Set # branch on V = 1 N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # relative BVC oper 70 2 2** offset = self._get_next_byte() if (self._overflow): if (offset > 127): offset = -((~offset+1)&255) # Signed byte self._pc += offset cycles = 2 def CLC(self, op_code): # Clear Carry Flag # 0 -> C N Z C I D V # - - 0 - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied CLC 18 1 2 self._carry = False cycles = 2 def CLD(self, op_code): # Clear Decimal Mode # 0 -> D N Z C I D V # - - - - 0 - # addressing assembler opc bytes cyles # -------------------------------------------- # implied CLD D8 1 2 self._decimal_mode = False cycles = 2 def CLI(self, op_code): # Clear Interrupt Disable Bit # 0 -> I N Z C I D V # - - - 0 - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied CLI 58 1 2 self._interrupt_disable = False cycles = 2 def CLV(self, op_code): # Clear Overflow Flag # 0 -> V N Z C I D V # - - - - - 0 # addressing assembler opc bytes cyles # -------------------------------------------- # implied CLV B8 1 2 self._overflow = False cycles = 2 def CMP(self, op_code): # Compare Memory with Accumulator # A - M N Z C I D V # + + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate CMP #oper C9 2 2 # zeropage CMP oper C5 2 3 # zeropage,X CMP oper,X D5 2 4 # absolute CMP oper CD 3 4 # absolute,X CMP oper,X DD 3 4* # absolute,Y CMP oper,Y D9 3 4* # (indirect,X) CMP (oper,X) C1 2 6 # (indirect),Y CMP (oper),Y D1 2 5* value = None cycles = None if (op_code == 0xC9): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0xC5): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xD5): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0xCD): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0xDD): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0xD9): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0xC1): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0xD1): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") result = (self._a - value)&0xFF self._carry = self._a >= value self._zero = self._a == value self._negative = result&0x80 > 0 self._system.consume_cycles(cycles) def CPX(self, op_code): # Compare Memory and Index X # X - M N Z C I D V # + + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate CPX #oper E0 2 2 # zeropage CPX oper E4 2 3 # absolute CPX oper EC 3 4 value = None cycles = None if (op_code == 0xE0): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0xE4): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xEC): # absolute value = self._get_value_at_absolute() cycles = 4 else: raise RuntimeError(f"Unknown op code: {op_code}") result = (self._x - value)&0xFF self._carry = self._x >= value self._zero = self._x == value self._negative = result&0x80 > 0 self._system.consume_cycles(cycles) def CPY(self, op_code): # Compare Memory and Index Y # Y - M N Z C I D V # + + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate CPY #oper C0 2 2 # zeropage CPY oper C4 2 3 # absolute CPY oper CC 3 4 value = None cycles = None if (op_code == 0xC0): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0xC4): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xCC): # absolute value = self._get_value_at_absolute() cycles = 4 else: raise RuntimeError(f"Unknown op code: {op_code}") result = (self._y - value)&0xFF self._carry = self._y >= value self._zero = self._y == value self._negative = result&0x80 > 0 self._system.consume_cycles(cycles) def DEC(self, op_code): # Decrement Memory by One # M - 1 -> M N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # zeropage DEC oper C6 2 5 # zeropage,X DEC oper,X D6 2 6 # absolute DEC oper CE 3 3 # absolute,X DEC oper,X DE 3 7 address = None cycles = None if (op_code == 0xC6): # zeropage address = self._get_address_at_zeropage() cycles = 5 elif (op_code == 0xD6): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 6 elif (op_code == 0xCE): # absolute address = self._get_address_at_absolute() cycles = 3 elif (op_code == 0xDE): # absolute,X address = self._get_address_at_absolute_x() cycles = 7 else: raise RuntimeError(f"Unknown op code: {op_code}") value = (self._system.mmu.read_byte(address)-1)&0xFF self._negative = value&0x80 > 1 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def DEX(self, op_code): # Decrement Index X by One # X - 1 -> X N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied DEC CA 1 2 self._x = (self._x - 1)&0xFF self._negative = self._x&0x80 > 1 self._zero = self._x == 0 cycles = 2 def DEY(self, op_code): # Decrement Index Y by One # Y - 1 -> Y N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied DEC 88 1 2 self._y = (self._y - 1)&0xFF self._negative = self._y&0x80 > 1 self._zero = self._y == 0 cycles = 2 def EOR(self, op_code): # Exclusive-OR Memory with Accumulator # A EOR M -> A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate EOR #oper 49 2 2 # zeropage EOR oper 45 2 3 # zeropage,X EOR oper,X 55 2 4 # absolute EOR oper 4D 3 4 # absolute,X EOR oper,X 5D 3 4* # absolute,Y EOR oper,Y 59 3 4* # (indirect,X) EOR (oper,X) 41 2 6 # (indirect),Y EOR (oper),Y 51 2 5* value = None cycles = None if (op_code == 0x49): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0x45): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0x55): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0x4D): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0x5D): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0x59): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0x41): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0x51): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") self._a ^= value self._negative = (self._a>>7) == 1 self._zero = self._a == 0 self._system.consume_cycles(cycles) def INC(self, op_code): # Increment Memory by One # M + 1 -> M N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # zeropage INC oper E6 2 5 # zeropage,X INC oper,X F6 2 6 # absolute INC oper EE 3 6 # absolute,X INC oper,X FE 3 7 address = None cycles = None if (op_code == 0xE6): # zeropage address = self._get_address_at_zeropage() cycles = 5 elif (op_code == 0xF6): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 6 elif (op_code == 0xEE): # absolute address = self._get_address_at_absolute() cycles = 6 elif (op_code == 0xFE): # absolute,X address = self._get_address_at_absolute_x() cycles = 7 else: raise RuntimeError(f"Unknown op code: {op_code}") value = (self._system.mmu.read_byte(address)+1)&0xFF self._negative = (value>>7) == 1 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def INX(self, op_code): # Increment Index X by One # X + 1 -> X N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied INX E8 1 2 self._x = (self._x + 1)&0xFF self._negative = self._x&0x80 > 0 self._zero = self._x == 0 cycles = 2 def INY(self, op_code): # Increment Index Y by One # Y + 1 -> Y N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied INY C8 1 2 self._y = (self._y + 1)&0xFF self._negative = self._y&0x80 > 0 self._zero = self._y == 0 cycles = 2 def JMP(self, op_code): # Jump to New Location # (PC+1) -> PCL N Z C I D V # (PC+2) -> PCH - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # absolute JMP oper 4C 3 3 # indirect JMP (oper) 6C 3 5 address = None cycles = None if (op_code == 0x4C): # absolute pcl = self._system.mmu.read_byte(self._pc) pch = self._system.mmu.read_byte(self._pc+1) address = (pch<<8)+pcl cycles = 3 elif (op_code == 0x6C): # indirect address = self._get_address_at_indirect() cycles = 5 self._pc = address self._system.consume_cycles(cycles) def JSR(self, op_code): # Jump to New Location Saving Return Address # push (PC+2), N Z C I D V # (PC+1) -> PCL - - - - - - # (PC+2) -> PCH # addressing assembler opc bytes cyles # -------------------------------------------- # absolute JSR oper 20 3 6 next_address = self._pc+1 self.push(next_address>>8) # HI byte self.push(next_address&0xFF) # LO byte self._pc = self._get_address_at_absolute() cycles = 6 def LDA(self, op_code): # Load Accumulator with Memory # M -> A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate LDA #oper A9 2 2 # zeropage LDA oper A5 2 3 # zeropage,X LDA oper,X B5 2 4 # absolute LDA oper AD 3 4 # absolute,X LDA oper,X BD 3 4* # absolute,Y LDA oper,Y B9 3 4* # (indirect,X) LDA (oper,X) A1 2 6 # (indirect),Y LDA (oper),Y B1 2 5* value = None cycles = None if (op_code == 0xA9): # immedidate value = self._get_next_byte() cycles = 2 elif (op_code == 0xA5): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xB5): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0xAD): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0xBD): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0xB9): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0xA1): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0xB1): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") self._negative = (value&0x80) > 0 self._zero = value == 0 self._a = value self._system.consume_cycles(cycles) def LDX(self, op_code): # Load Index X with Memory # M -> X N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate LDX #oper A2 2 2 # zeropage LDX oper A6 2 3 # zeropage,Y LDX oper,Y B6 2 4 # absolute LDX oper AE 3 4 # absolute,Y LDX oper,Y BE 3 4* value = None cycles = None if (op_code == 0xA2): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0xA6): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xB6): # zeropage,Y value = self._get_value_at_zeropage_y() cycles = 4 elif (op_code == 0xAE): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0xBE): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 else: raise RuntimeError(f"Unknown op code: {op_code}") self._negative = (value&0x80) > 0 self._zero = value == 0 self._x = value self._system.consume_cycles(cycles) def LDY(self, op_code): # Load Index Y with Memory # M -> Y N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate LDY #oper A0 2 2 # zeropage LDY oper A4 2 3 # zeropage,X LDY oper,X B4 2 4 # absolute LDY oper AC 3 4 # absolute,X LDY oper,X BC 3 4* value = None cycles = None if (op_code == 0xA0): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0xA4): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xB4): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0xAC): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0xBC): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 else: raise RuntimeError(f"Unknown op code: {op_code}") self._negative = (value&0x80) > 0 self._zero = value == 0 self._y = value self._system.consume_cycles(cycles) def LSR(self, op_code): # Shift One Bit Right (Memory or Accumulator) # 0 -> [76543210] -> C N Z C I D V # - + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # accumulator LSR A 4A 1 2 # zeropage LSR oper 46 2 5 # zeropage,X LSR oper,X 56 2 6 # absolute LSR oper 4E 3 6 # absolute,X LSR oper,X 5E 3 7 address = None cycles = None if (op_code == 0x4A): # accumulator self._carry = (self._a&0x01) > 0 self._a >>= 1 self._negative = (self._a&0x80) > 0 self._zero = self._a == 0 cycles = 2 return elif (op_code == 0x46): # zeropage address = self._get_address_at_zeropage() cycles = 5 elif (op_code == 0x56): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 6 elif (op_code == 0x4E): # absolute address = self._get_address_at_absolute() cycles = 6 elif (op_code == 0x5E): # absolute,X address = self._get_address_at_absolute_x() cycles = 7 else: raise RuntimeError(f"Unknown op code: {op_code}") value = self._system.mmu.read_byte(address) self._carry = (value&0x80) > 0 value <<= 1 self._negative = (value&0x80) > 0 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def NOP(self, op_code): # No Operation # --- N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied NOP EA 1 2 cycles = 2 def ORA(self, op_code): # OR Memory with Accumulator # A OR M -> A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # immediate ORA #oper 09 2 2 # zeropage ORA oper 05 2 3 # zeropage,X ORA oper,X 15 2 4 # absolute ORA oper 0D 3 4 # absolute,X ORA oper,X 1D 3 4* # absolute,Y ORA oper,Y 19 3 4* # (indirect,X) ORA (oper,X) 01 2 6 # (indirect),Y ORA (oper),Y 11 2 5* value = None cycles = None if (op_code == 0x09): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0x05): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0x15): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0x0D): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0x1D): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0x19): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0x01): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0x11): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") self._a = (self._a|value)&0xFF self._negative = (self._a&0x80) > 0 self._zero = self._a == 0 self._system.consume_cycles(cycles) def PHA(self, op_code): # Push Accumulator on Stack # push A N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied PHA 48 1 3 self.push(self._a) cycles = 3 def PHP(self, op_code): # Push Processor Status on Stack # push SR N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied PHP 08 1 3 value = self._get_status_flag() value |= 0x30 # Bits 5 and 4 are set when pushed by PHP self.push(value) cycles = 3 def PLA(self, op_code): # Pull Accumulator from Stack # pull A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied PLA 68 1 4 self._a = self.pull() self._negative = self._a&0x80 > 0 self._zero = self._a == 0 cycles = 4 def PLP(self, op_code): # Pull Processor Status from Stack # pull SR N Z C I D V # from stack # addressing assembler opc bytes cyles # -------------------------------------------- # implied PHP 28 1 4 self._set_status_flag(self.pull()) cycles = 4 def ROL(self, op_code): # Rotate One Bit Left (Memory or Accumulator) # C <- [76543210] <- C N Z C I D V # + + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # accumulator ROL A 2A 1 2 # zeropage ROL oper 26 2 5 # zeropage,X ROL oper,X 36 2 6 # absolute ROL oper 2E 3 6 # absolute,X ROL oper,X 3E 3 7 address = None cycles = None if (op_code == 0x2A): # accumulator carryOut = True if (self._a&0x80 > 0) else False self._a = ((self._a<<1) + (1 if (self._carry) else 0))&0xFF self._carry = carryOut self._negative = self._a&0x80 > 0 self._zero = self._a == 0 cycles = 2 return elif (op_code == 0x26): # zeropage address = self._get_address_at_zeropage() cycles = 5 elif (op_code == 0x36): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 6 elif (op_code == 0x2E): # absolute address = self._get_address_at_absolute() cycles = 6 elif (op_code == 0x3E): # absolute,X address = self._get_address_at_absolute_x() cycles = 7 else: raise RuntimeError(f"Unknown op code: {op_code}") value = self._system.mmu.read_byte(address) carryOut = True if (value&0x80 > 0) else False value = ((value<<1) + (1 if (self._carry) else 0))&0xFF self._carry = carryOut self._system.mmu.write_byte(address, value) self._negative = value&0x80 > 0 self._zero = value == 0 self._system.consume_cycles(cycles) def ROR(self, op_code): # Rotate One Bit Right (Memory or Accumulator) # C -> [76543210] -> C N Z C I D V # + + + - - - # addressing assembler opc bytes cyles # -------------------------------------------- # accumulator ROR A 6A 1 2 # zeropage ROR oper 66 2 5 # zeropage,X ROR oper,X 76 2 6 # absolute ROR oper 6E 3 6 # absolute,X ROR oper,X 7E 3 7 address = None cycles = None if (op_code == 0x6A): # accumulator carryOut = True if (self._a&0x01 > 0) else False self._a = ((self._a>>1) + (0x80 if (self._carry) else 0))&0xFF self._carry = carryOut self._negative = self._a&0x80 > 0 self._zero = self._a == 0 cycles = 2 return elif (op_code == 0x66): # zeropage address = self._get_address_at_zeropage() cycles = 5 elif (op_code == 0x76): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 6 elif (op_code == 0x6E): # absolute address = self._get_address_at_absolute() cycles = 6 elif (op_code == 0x7E): # absolute,X address = self._get_address_at_absolute_x() cycles = 7 else: raise RuntimeError(f"Unknown op code: {op_code}") value = self._system.mmu.read_byte(address) carryOut = True if (value&0x01 > 0) else False value = ((value>>1) + (0x80 if (self._carry) else 0))&0xFF self._carry = carryOut self._system.mmu.write_byte(address, value) self._negative = value&0x80 > 0 self._zero = value == 0 self._system.consume_cycles(cycles) def RTI(self, op_code): # Return from Interrupt # pull SR, pull PC N Z C I D V # from stack # addressing assembler opc bytes cyles # -------------------------------------------- # implied RTI 40 1 6 self._set_status_flag(self.pull()) pc_lo = self.pull() pc_hi = self.pull() self._pc = ((pc_hi<<8) + pc_lo)&0xFFFF cycles = 6 def RTS(self, op_code): # Return from Subroutine # pull PC, PC+1 -> PC N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied RTS 60 1 6 pc_lo = self.pull() pc_hi = self.pull() self._pc = ((pc_hi<<8) + pc_lo + 1)&0xFFFF cycles = 6 def SBC(self, op_code): # Subtract Memory from Accumulator with Borrow # A - M - C -> A N Z C I D V # + + + - - + # addressing assembler opc bytes cyles # -------------------------------------------- # immediate SBC #oper E9 2 2 # zeropage SBC oper E5 2 3 # zeropage,X SBC oper,X F5 2 4 # absolute SBC oper ED 3 4 # absolute,X SBC oper,X FD 3 4* # absolute,Y SBC oper,Y F9 3 4* # (indirect,X) SBC (oper,X) E1 2 6 # (indirect),Y SBC (oper),Y F1 2 5* value = None cycles = None if (op_code == 0xE9): # immediate value = self._get_next_byte() cycles = 2 elif (op_code == 0xE5): # zeropage value = self._get_value_at_zeropage() cycles = 3 elif (op_code == 0xF5): # zeropage,X value = self._get_value_at_zeropage_x() cycles = 4 elif (op_code == 0xED): # absolute value = self._get_value_at_absolute() cycles = 4 elif (op_code == 0xFD): # absolute,X value = self._get_value_at_absolute_x() cycles = 4 elif (op_code == 0xF9): # absolute,Y value = self._get_value_at_absolute_y() cycles = 4 elif (op_code == 0xE1): # (indirect,X) value = self._get_value_at_indirect_x() cycles = 6 elif (op_code == 0xF1): # (indirect),Y value = self._get_value_at_indirect_y() cycles = 5 else: raise RuntimeError(f"Unknown op code: {op_code}") # Invert value and run through same logic as ADC. value ^= 0xFF result = self._a + value + (1 if self._carry == True else 0) self._carry = result > 0xFF # More info on source: https://stackoverflow.com/a/29224684 self._overflow = ~(self._a ^ value) & (self._a ^ result) & 0x80 self._a = result&0xFF self._negative = self._a&0x80 > 1 self._zero = self._a == 0 self._system.consume_cycles(cycles) def SEC(self, op_code): # Set Carry Flag # 1 -> C N Z C I D V # - - 1 - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied SEC 38 1 2 self._carry = True cycles = 2 def SED(self, op_code): # Set Decimal Flag # 1 -> D N Z C I D V # - - - - 1 - # addressing assembler opc bytes cyles # -------------------------------------------- # implied SED F8 1 2 self._decimal_mode = True cycles = 2 def SEI(self, op_code): # Set Interrupt Disable Status # 1 -> I N Z C I D V # - - - 1 - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied SEI 78 1 2 self._interrupt_disable = True cycles = 2 def STA(self, op_code): # Store Accumulator in Memory # A -> M N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # zeropage STA oper 85 2 3 # zeropage,X STA oper,X 95 2 4 # absolute STA oper 8D 3 4 # absolute,X STA oper,X 9D 3 5 # absolute,Y STA oper,Y 99 3 5 # (indirect,X) STA (oper,X) 81 2 6 # (indirect),Y STA (oper),Y 91 2 6 address = None cycles = None if (op_code == 0x85): # zeropage address = self._get_address_at_zeropage() cycles = 3 elif (op_code == 0x95): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 4 elif (op_code == 0x8D): # absolute address = self._get_address_at_absolute() cycles = 4 elif (op_code == 0x9D): # absolute,X address = self._get_address_at_absolute_x() cycles = 5 elif (op_code == 0x99): # absolute,Y address = self._get_address_at_absolute_y() cycles = 5 elif (op_code == 0x81): # (indirect,X) address = self._get_address_at_indirect_x() cycles = 6 elif (op_code == 0x91): # (indirect),Y address = self._get_address_at_indirect_y() cycles = 6 else: raise RuntimeError(f"Unknown op code: {op_code}") self._system.mmu.write_byte(address, self._a) self._system.consume_cycles(cycles) def STX(self, op_code): # Store Index X in Memory # X -> M N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # zeropage STX oper 86 2 3 # zeropage,Y STX oper,Y 96 2 4 # absolute STX oper 8E 3 4 address = None cycles = None if (op_code == 0x86): # zeropage address = self._get_address_at_zeropage() cycles = 3 elif (op_code == 0x96): # zeropage,Y address = self._get_address_at_zeropage_y() cycles = 4 elif (op_code == 0x8E): # absolute address = self._get_address_at_absolute() cycles = 4 else: raise RuntimeError(f"Unknown op code: {op_code}") self._system.mmu.write_byte(address, self._x) self._system.consume_cycles(cycles) def STY(self, op_code): # Sore Index Y in Memory # Y -> M N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # zeropage STY oper 84 2 3 # zeropage,X STY oper,X 94 2 4 # absolute STY oper 8C 3 4 address = None cycles = None if (op_code == 0x84): # zeropage address = self._get_address_at_zeropage() cycles = 3 elif (op_code == 0x94): # zeropage,X address = self._get_address_at_zeropage_x() cycles = 4 elif (op_code == 0x8C): # absolute address = self._get_address_at_absolute() cycles = 4 else: raise RuntimeError(f"Unknown op code: {op_code}") self._system.mmu.write_byte(address, self._y) self._system.consume_cycles(cycles) def TAX(self, op_code): # Transfer Accumulator to Index X # A -> X N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied TAX AA 1 2 self._x = self._a self._negative = (self._x>>7) > 0 self._zero = self._x == 0 cycles = 2 def TAY(self, op_code): # Transfer Accumulator to Index Y # A -> Y N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied TAY A8 1 2 self._y = self._a self._negative = (self._y>>7) > 0 self._zero = self._y == 0 cycles = 2 def TSX(self, op_code): # Transfer Stack Pointer to Index X # SP -> X N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied TSX BA 1 2 self._x = self._sp self._negative = (self._x>>7) > 0 self._zero = self._x == 0 cycles = 2 def TXA(self, op_code): # Transfer Index X to Accumulator # X -> A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied TXA 8A 1 2 self._a = self._x self._negative = (self._a>>7) > 0 self._zero = self._a == 0 cycles = 2 def TXS(self, op_code): # Transfer Index X to Stack Register # X -> SP N Z C I D V # - - - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied TXS 9A 1 2 self._sp = self._x cycles = 2 def TYA(self, op_code): # Transfer Index Y to Accumulator # Y -> A N Z C I D V # + + - - - - # addressing assembler opc bytes cyles # -------------------------------------------- # implied TYA 98 1 2 self._a = self._y self._negative = (self._a>>7) > 0 self._zero = self._a == 0 cycles = 2
class Cpu: vector_reset = 65532 def __init__(self, system): self._system = system self._debug_log = open('debug.log', 'w') def reset(self): self._pc = self._system.mmu.read_word(self.VECTOR_RESET) self._sp = 253 self._a = 0 self._x = 0 self._y = 0 self._carry = False self._zero = False self._interrupt_disable = True self._break_command = False self._decimal_mode = False self._overflow = False self._negative = False self.clock = 0 def step(self): pc = self._pc self._current_instruction = pc self._debug_log.write(f"{format(pc, 'x').upper()}\n") op_code = self._get_next_byte() instruction = self.decode_instruction(op_code) instruction(op_code) def decode_instruction(self, op_code): instructions = {105: self.ADC, 101: self.ADC, 117: self.ADC, 109: self.ADC, 125: self.ADC, 121: self.ADC, 97: self.ADC, 113: self.ADC, 41: self.AND, 37: self.AND, 53: self.AND, 45: self.AND, 61: self.AND, 57: self.AND, 33: self.AND, 49: self.AND, 10: self.ASL, 6: self.ASL, 22: self.ASL, 14: self.ASL, 30: self.ASL, 144: self.BCC, 176: self.BCS, 240: self.BEQ, 36: self.BIT, 44: self.BIT, 48: self.BMI, 208: self.BNE, 16: self.BPL, 0: self.BRK, 80: self.BVC, 112: self.BVS, 24: self.CLC, 216: self.CLD, 88: self.CLI, 184: self.CLV, 201: self.CMP, 197: self.CMP, 213: self.CMP, 205: self.CMP, 221: self.CMP, 217: self.CMP, 193: self.CMP, 209: self.CMP, 224: self.CPX, 228: self.CPX, 236: self.CPX, 192: self.CPY, 196: self.CPY, 204: self.CPY, 198: self.DEC, 214: self.DEC, 206: self.DEC, 222: self.DEC, 202: self.DEX, 136: self.DEY, 73: self.EOR, 69: self.EOR, 85: self.EOR, 77: self.EOR, 93: self.EOR, 89: self.EOR, 65: self.EOR, 81: self.EOR, 230: self.INC, 246: self.INC, 238: self.INC, 254: self.INC, 232: self.INX, 200: self.INY, 76: self.JMP, 108: self.JMP, 32: self.JSR, 169: self.LDA, 165: self.LDA, 181: self.LDA, 173: self.LDA, 189: self.LDA, 185: self.LDA, 161: self.LDA, 177: self.LDA, 162: self.LDX, 166: self.LDX, 182: self.LDX, 174: self.LDX, 190: self.LDX, 160: self.LDY, 164: self.LDY, 180: self.LDY, 172: self.LDY, 188: self.LDY, 74: self.LSR, 70: self.LSR, 86: self.LSR, 78: self.LSR, 94: self.LSR, 234: self.NOP, 9: self.ORA, 5: self.ORA, 21: self.ORA, 13: self.ORA, 29: self.ORA, 25: self.ORA, 1: self.ORA, 17: self.ORA, 72: self.PHA, 8: self.PHP, 104: self.PLA, 40: self.PLP, 42: self.ROL, 38: self.ROL, 54: self.ROL, 46: self.ROL, 62: self.ROL, 106: self.ROR, 102: self.ROR, 118: self.ROR, 110: self.ROR, 126: self.ROR, 64: self.RTI, 96: self.RTS, 233: self.SBC, 229: self.SBC, 245: self.SBC, 237: self.SBC, 253: self.SBC, 249: self.SBC, 225: self.SBC, 241: self.SBC, 56: self.SEC, 248: self.SED, 120: self.SEI, 133: self.STA, 149: self.STA, 141: self.STA, 157: self.STA, 153: self.STA, 129: self.STA, 145: self.STA, 134: self.STX, 150: self.STX, 142: self.STX, 132: self.STY, 148: self.STY, 140: self.STY, 170: self.TAX, 168: self.TAY, 186: self.TSX, 138: self.TXA, 154: self.TXS, 152: self.TYA} instruction = instructions.get(op_code, None) if instruction == None: raise runtime_error(f'No instruction found: {hex(op_code)}') return instruction def _get_next_byte(self): value = self._system.mmu.read_byte(self._pc) self._pc += 1 return value def _get_next_word(self): lo = self._get_next_byte() hi = self._get_next_byte() return (hi << 8) + lo def _set_status_flag(self, byte): self._negative = byte & 128 > 0 self._overflow = byte & 64 > 0 self._decimal_mode = byte & 8 > 0 self._interrupt_disable = byte & 4 > 0 self._zero = byte & 2 > 0 self._carry = byte & 1 > 0 def _get_status_flag(self): value = 0 value |= 128 if self._negative else 0 value |= 64 if self._overflow else 0 value |= 8 if self._decimal_mode else 0 value |= 4 if self._interrupt_disable else 0 value |= 2 if self._zero else 0 value |= 1 if self._carry else 0 return value def push(self, value): self._system.mmu.write_byte(256 + self._sp, value) self._sp = self._sp - 1 & 255 def pull(self): self._sp = self._sp + 1 & 255 value = self._system.mmu.read_byte(256 + self._sp) return value def _get_address_at_zeropage(self): return self._get_next_byte() def _get_address_at_zeropage_x(self): return self._get_next_byte() + self._x & 255 def _get_address_at_zeropage_y(self): return self._get_next_byte() + self._y & 255 def _get_address_at_absolute(self): return self._get_next_word() def _get_address_at_absolute_x(self): return self._get_next_word() + self._x def _get_address_at_absolute_y(self): return self._get_next_word() + self._y def _get_address_at_indirect(self): return self._system.mmu.read_word(self._get_next_byte()) def _get_address_at_indirect_x(self): m = self._get_next_byte() hi = self._system.mmu.read_byte(m + 1 + self._x & 255) lo = self._system.mmu.read_byte(m + self._x & 255) return (hi << 8) + lo def _get_address_at_indirect_y(self): return self._system.mmu.read_word(self._get_next_byte()) + self._y & 65535 def _get_value_at_zeropage(self): return self._system.mmu.read_byte(self._get_address_at_zeropage()) def _get_value_at_zeropage_x(self): return self._system.mmu.read_byte(self._get_address_at_zeropage_x()) def _get_value_at_absolute(self): return self._system.mmu.read_byte(self._get_address_at_absolute()) def _get_value_at_absolute_x(self): return self._system.mmu.read_byte(self._get_address_at_absolute_x()) def _get_value_at_absolute_y(self): return self._system.mmu.read_byte(self._get_address_at_absolute_y()) def _get_value_at_indirect_x(self): return self._system.mmu.read_byte(self._get_address_at_indirect_x()) def _get_value_at_indirect_y(self): return self._system.mmu.read_byte(self._get_address_at_indirect_y()) def adc(self, op_code): value = None cycles = None if op_code == 105: value = self._get_next_byte() cycles = 2 elif op_code == 101: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 117: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 109: value = self._get_value_at_absolute() cycles = 4 elif op_code == 125: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 121: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 97: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 113: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') result = self._a + value + (1 if self._carry == True else 0) self._carry = result > 255 self._overflow = ~(self._a ^ value) & (self._a ^ result) & 128 self._a = result & 255 self._negative = self._a >> 7 == 1 self._zero = self._a == 0 self._system.consume_cycles(cycles) def and(self, op_code): value = None cycles = None if op_code == 41: value = self._get_next_byte() cycles = 2 elif op_code == 37: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 53: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 45: value = self._get_value_at_absolute() cycles = 4 elif op_code == 61: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 57: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 33: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 49: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') self._a = self._a & value & 255 self._negative = self._a & 128 > 0 self._zero = self._a == 0 self._system.consume_cycles(cycles) def asl(self, op_code): address = None cycles = None if op_code == 10: self._carry = self._a & 128 > 0 self._a = self._a << 1 & 255 self._negative = self._a & 128 > 0 self._zero = self._a == 0 cycles = 2 return elif op_code == 6: address = self._get_address_at_zeropage() cycles = 5 elif op_code == 22: address = self._get_address_at_zeropage_x() cycles = 6 elif op_code == 14: address = self._get_address_at_absolute() cycles = 6 elif op_code == 30: address = self._get_address_at_absolute_x() cycles = 7 else: raise runtime_error(f'Unknown op code: {op_code}') value = self._system.mmu.read_byte(address) self._carry = value & 128 > 0 value = value << 1 & 255 self._negative = value & 128 > 0 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def bcc(self, op_code): offset = self._get_next_byte() if not self._carry: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def bcs(self, op_code): offset = self._get_next_byte() if self._carry: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def beq(self, op_code): offset = self._get_next_byte() if self._zero: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def bit(self, op_code): value = None cycles = None if op_code == 36: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 44: value = self._get_value_at_absolute() cycles = 4 self._negative = value & 128 > 0 self._overflow = value & 64 > 0 value &= self._a self._zero = value == 0 self._system.consume_cycles(cycles) def bmi(self, op_code): offset = self._get_next_byte() if self._negative: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def bne(self, op_code): offset = self._get_next_byte() if not self._zero: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def bpl(self, op_code): offset = self._get_next_byte() if not self._negative: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def brk(self, op_code): raise not_implemented_error() def bvc(self, op_code): offset = self._get_next_byte() if not self._overflow: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def bvs(self, op_code): offset = self._get_next_byte() if self._overflow: if offset > 127: offset = -(~offset + 1 & 255) self._pc += offset cycles = 2 def clc(self, op_code): self._carry = False cycles = 2 def cld(self, op_code): self._decimal_mode = False cycles = 2 def cli(self, op_code): self._interrupt_disable = False cycles = 2 def clv(self, op_code): self._overflow = False cycles = 2 def cmp(self, op_code): value = None cycles = None if op_code == 201: value = self._get_next_byte() cycles = 2 elif op_code == 197: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 213: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 205: value = self._get_value_at_absolute() cycles = 4 elif op_code == 221: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 217: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 193: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 209: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') result = self._a - value & 255 self._carry = self._a >= value self._zero = self._a == value self._negative = result & 128 > 0 self._system.consume_cycles(cycles) def cpx(self, op_code): value = None cycles = None if op_code == 224: value = self._get_next_byte() cycles = 2 elif op_code == 228: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 236: value = self._get_value_at_absolute() cycles = 4 else: raise runtime_error(f'Unknown op code: {op_code}') result = self._x - value & 255 self._carry = self._x >= value self._zero = self._x == value self._negative = result & 128 > 0 self._system.consume_cycles(cycles) def cpy(self, op_code): value = None cycles = None if op_code == 192: value = self._get_next_byte() cycles = 2 elif op_code == 196: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 204: value = self._get_value_at_absolute() cycles = 4 else: raise runtime_error(f'Unknown op code: {op_code}') result = self._y - value & 255 self._carry = self._y >= value self._zero = self._y == value self._negative = result & 128 > 0 self._system.consume_cycles(cycles) def dec(self, op_code): address = None cycles = None if op_code == 198: address = self._get_address_at_zeropage() cycles = 5 elif op_code == 214: address = self._get_address_at_zeropage_x() cycles = 6 elif op_code == 206: address = self._get_address_at_absolute() cycles = 3 elif op_code == 222: address = self._get_address_at_absolute_x() cycles = 7 else: raise runtime_error(f'Unknown op code: {op_code}') value = self._system.mmu.read_byte(address) - 1 & 255 self._negative = value & 128 > 1 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def dex(self, op_code): self._x = self._x - 1 & 255 self._negative = self._x & 128 > 1 self._zero = self._x == 0 cycles = 2 def dey(self, op_code): self._y = self._y - 1 & 255 self._negative = self._y & 128 > 1 self._zero = self._y == 0 cycles = 2 def eor(self, op_code): value = None cycles = None if op_code == 73: value = self._get_next_byte() cycles = 2 elif op_code == 69: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 85: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 77: value = self._get_value_at_absolute() cycles = 4 elif op_code == 93: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 89: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 65: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 81: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') self._a ^= value self._negative = self._a >> 7 == 1 self._zero = self._a == 0 self._system.consume_cycles(cycles) def inc(self, op_code): address = None cycles = None if op_code == 230: address = self._get_address_at_zeropage() cycles = 5 elif op_code == 246: address = self._get_address_at_zeropage_x() cycles = 6 elif op_code == 238: address = self._get_address_at_absolute() cycles = 6 elif op_code == 254: address = self._get_address_at_absolute_x() cycles = 7 else: raise runtime_error(f'Unknown op code: {op_code}') value = self._system.mmu.read_byte(address) + 1 & 255 self._negative = value >> 7 == 1 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def inx(self, op_code): self._x = self._x + 1 & 255 self._negative = self._x & 128 > 0 self._zero = self._x == 0 cycles = 2 def iny(self, op_code): self._y = self._y + 1 & 255 self._negative = self._y & 128 > 0 self._zero = self._y == 0 cycles = 2 def jmp(self, op_code): address = None cycles = None if op_code == 76: pcl = self._system.mmu.read_byte(self._pc) pch = self._system.mmu.read_byte(self._pc + 1) address = (pch << 8) + pcl cycles = 3 elif op_code == 108: address = self._get_address_at_indirect() cycles = 5 self._pc = address self._system.consume_cycles(cycles) def jsr(self, op_code): next_address = self._pc + 1 self.push(next_address >> 8) self.push(next_address & 255) self._pc = self._get_address_at_absolute() cycles = 6 def lda(self, op_code): value = None cycles = None if op_code == 169: value = self._get_next_byte() cycles = 2 elif op_code == 165: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 181: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 173: value = self._get_value_at_absolute() cycles = 4 elif op_code == 189: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 185: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 161: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 177: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') self._negative = value & 128 > 0 self._zero = value == 0 self._a = value self._system.consume_cycles(cycles) def ldx(self, op_code): value = None cycles = None if op_code == 162: value = self._get_next_byte() cycles = 2 elif op_code == 166: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 182: value = self._get_value_at_zeropage_y() cycles = 4 elif op_code == 174: value = self._get_value_at_absolute() cycles = 4 elif op_code == 190: value = self._get_value_at_absolute_y() cycles = 4 else: raise runtime_error(f'Unknown op code: {op_code}') self._negative = value & 128 > 0 self._zero = value == 0 self._x = value self._system.consume_cycles(cycles) def ldy(self, op_code): value = None cycles = None if op_code == 160: value = self._get_next_byte() cycles = 2 elif op_code == 164: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 180: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 172: value = self._get_value_at_absolute() cycles = 4 elif op_code == 188: value = self._get_value_at_absolute_x() cycles = 4 else: raise runtime_error(f'Unknown op code: {op_code}') self._negative = value & 128 > 0 self._zero = value == 0 self._y = value self._system.consume_cycles(cycles) def lsr(self, op_code): address = None cycles = None if op_code == 74: self._carry = self._a & 1 > 0 self._a >>= 1 self._negative = self._a & 128 > 0 self._zero = self._a == 0 cycles = 2 return elif op_code == 70: address = self._get_address_at_zeropage() cycles = 5 elif op_code == 86: address = self._get_address_at_zeropage_x() cycles = 6 elif op_code == 78: address = self._get_address_at_absolute() cycles = 6 elif op_code == 94: address = self._get_address_at_absolute_x() cycles = 7 else: raise runtime_error(f'Unknown op code: {op_code}') value = self._system.mmu.read_byte(address) self._carry = value & 128 > 0 value <<= 1 self._negative = value & 128 > 0 self._zero = value == 0 self._system.mmu.write_byte(address, value) self._system.consume_cycles(cycles) def nop(self, op_code): cycles = 2 def ora(self, op_code): value = None cycles = None if op_code == 9: value = self._get_next_byte() cycles = 2 elif op_code == 5: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 21: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 13: value = self._get_value_at_absolute() cycles = 4 elif op_code == 29: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 25: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 1: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 17: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') self._a = (self._a | value) & 255 self._negative = self._a & 128 > 0 self._zero = self._a == 0 self._system.consume_cycles(cycles) def pha(self, op_code): self.push(self._a) cycles = 3 def php(self, op_code): value = self._get_status_flag() value |= 48 self.push(value) cycles = 3 def pla(self, op_code): self._a = self.pull() self._negative = self._a & 128 > 0 self._zero = self._a == 0 cycles = 4 def plp(self, op_code): self._set_status_flag(self.pull()) cycles = 4 def rol(self, op_code): address = None cycles = None if op_code == 42: carry_out = True if self._a & 128 > 0 else False self._a = (self._a << 1) + (1 if self._carry else 0) & 255 self._carry = carryOut self._negative = self._a & 128 > 0 self._zero = self._a == 0 cycles = 2 return elif op_code == 38: address = self._get_address_at_zeropage() cycles = 5 elif op_code == 54: address = self._get_address_at_zeropage_x() cycles = 6 elif op_code == 46: address = self._get_address_at_absolute() cycles = 6 elif op_code == 62: address = self._get_address_at_absolute_x() cycles = 7 else: raise runtime_error(f'Unknown op code: {op_code}') value = self._system.mmu.read_byte(address) carry_out = True if value & 128 > 0 else False value = (value << 1) + (1 if self._carry else 0) & 255 self._carry = carryOut self._system.mmu.write_byte(address, value) self._negative = value & 128 > 0 self._zero = value == 0 self._system.consume_cycles(cycles) def ror(self, op_code): address = None cycles = None if op_code == 106: carry_out = True if self._a & 1 > 0 else False self._a = (self._a >> 1) + (128 if self._carry else 0) & 255 self._carry = carryOut self._negative = self._a & 128 > 0 self._zero = self._a == 0 cycles = 2 return elif op_code == 102: address = self._get_address_at_zeropage() cycles = 5 elif op_code == 118: address = self._get_address_at_zeropage_x() cycles = 6 elif op_code == 110: address = self._get_address_at_absolute() cycles = 6 elif op_code == 126: address = self._get_address_at_absolute_x() cycles = 7 else: raise runtime_error(f'Unknown op code: {op_code}') value = self._system.mmu.read_byte(address) carry_out = True if value & 1 > 0 else False value = (value >> 1) + (128 if self._carry else 0) & 255 self._carry = carryOut self._system.mmu.write_byte(address, value) self._negative = value & 128 > 0 self._zero = value == 0 self._system.consume_cycles(cycles) def rti(self, op_code): self._set_status_flag(self.pull()) pc_lo = self.pull() pc_hi = self.pull() self._pc = (pc_hi << 8) + pc_lo & 65535 cycles = 6 def rts(self, op_code): pc_lo = self.pull() pc_hi = self.pull() self._pc = (pc_hi << 8) + pc_lo + 1 & 65535 cycles = 6 def sbc(self, op_code): value = None cycles = None if op_code == 233: value = self._get_next_byte() cycles = 2 elif op_code == 229: value = self._get_value_at_zeropage() cycles = 3 elif op_code == 245: value = self._get_value_at_zeropage_x() cycles = 4 elif op_code == 237: value = self._get_value_at_absolute() cycles = 4 elif op_code == 253: value = self._get_value_at_absolute_x() cycles = 4 elif op_code == 249: value = self._get_value_at_absolute_y() cycles = 4 elif op_code == 225: value = self._get_value_at_indirect_x() cycles = 6 elif op_code == 241: value = self._get_value_at_indirect_y() cycles = 5 else: raise runtime_error(f'Unknown op code: {op_code}') value ^= 255 result = self._a + value + (1 if self._carry == True else 0) self._carry = result > 255 self._overflow = ~(self._a ^ value) & (self._a ^ result) & 128 self._a = result & 255 self._negative = self._a & 128 > 1 self._zero = self._a == 0 self._system.consume_cycles(cycles) def sec(self, op_code): self._carry = True cycles = 2 def sed(self, op_code): self._decimal_mode = True cycles = 2 def sei(self, op_code): self._interrupt_disable = True cycles = 2 def sta(self, op_code): address = None cycles = None if op_code == 133: address = self._get_address_at_zeropage() cycles = 3 elif op_code == 149: address = self._get_address_at_zeropage_x() cycles = 4 elif op_code == 141: address = self._get_address_at_absolute() cycles = 4 elif op_code == 157: address = self._get_address_at_absolute_x() cycles = 5 elif op_code == 153: address = self._get_address_at_absolute_y() cycles = 5 elif op_code == 129: address = self._get_address_at_indirect_x() cycles = 6 elif op_code == 145: address = self._get_address_at_indirect_y() cycles = 6 else: raise runtime_error(f'Unknown op code: {op_code}') self._system.mmu.write_byte(address, self._a) self._system.consume_cycles(cycles) def stx(self, op_code): address = None cycles = None if op_code == 134: address = self._get_address_at_zeropage() cycles = 3 elif op_code == 150: address = self._get_address_at_zeropage_y() cycles = 4 elif op_code == 142: address = self._get_address_at_absolute() cycles = 4 else: raise runtime_error(f'Unknown op code: {op_code}') self._system.mmu.write_byte(address, self._x) self._system.consume_cycles(cycles) def sty(self, op_code): address = None cycles = None if op_code == 132: address = self._get_address_at_zeropage() cycles = 3 elif op_code == 148: address = self._get_address_at_zeropage_x() cycles = 4 elif op_code == 140: address = self._get_address_at_absolute() cycles = 4 else: raise runtime_error(f'Unknown op code: {op_code}') self._system.mmu.write_byte(address, self._y) self._system.consume_cycles(cycles) def tax(self, op_code): self._x = self._a self._negative = self._x >> 7 > 0 self._zero = self._x == 0 cycles = 2 def tay(self, op_code): self._y = self._a self._negative = self._y >> 7 > 0 self._zero = self._y == 0 cycles = 2 def tsx(self, op_code): self._x = self._sp self._negative = self._x >> 7 > 0 self._zero = self._x == 0 cycles = 2 def txa(self, op_code): self._a = self._x self._negative = self._a >> 7 > 0 self._zero = self._a == 0 cycles = 2 def txs(self, op_code): self._sp = self._x cycles = 2 def tya(self, op_code): self._a = self._y self._negative = self._a >> 7 > 0 self._zero = self._a == 0 cycles = 2
def greet_customer(grocery_store, special_item): print("Welcome to "+ grocery_store + ".") print("Our special is " + special_item + ".") print("Have fun shopping!") greet_customer("Stu's Staples", "papayas") def mult_x_add_y(number, x, y): print("Total: ", number * x + y) mult_x_add_y(5, 2, 3) mult_x_add_y(1, 3, 1)
def greet_customer(grocery_store, special_item): print('Welcome to ' + grocery_store + '.') print('Our special is ' + special_item + '.') print('Have fun shopping!') greet_customer("Stu's Staples", 'papayas') def mult_x_add_y(number, x, y): print('Total: ', number * x + y) mult_x_add_y(5, 2, 3) mult_x_add_y(1, 3, 1)
class TransitionId(object): ClearReadout=0 Reset =1 Configure =2 Unconfigure =3 BeginRun =4 EndRun =5 BeginStep =6 EndStep =7 Enable =8 Disable =9 SlowUpdate =10 Unused_11 =11 L1Accept =12 NumberOf =13
class Transitionid(object): clear_readout = 0 reset = 1 configure = 2 unconfigure = 3 begin_run = 4 end_run = 5 begin_step = 6 end_step = 7 enable = 8 disable = 9 slow_update = 10 unused_11 = 11 l1_accept = 12 number_of = 13
MIN_MATCH = 4 STRING = 0x0 BYTE_ARR = 0x01 NUMERIC_INT = 0x02 NUMERIC_FLOAT = 0x03 NUMERIC_LONG = 0x04 NUMERIC_DOUBLE = 0x05 SECOND = 1000 HOUR = 60 * 60 * SECOND DAY = 24 * HOUR SECOND_ENCODING = 0x40 HOUR_ENCODING = 0x80 DAY_ENCODING = 0xC0 BLOCK_SIZE = 128 INDEX_OPTION_NONE = 0 INDEX_OPTION_DOCS = 1 INDEX_OPTION_DOCS_FREQS = 2 INDEX_OPTION_DOCS_FREQS_POSITIONS = 3 INDEX_OPTION_DOCS_FREQS_POSITIONS_OFFSETS = 4 DOC_VALUES_NUMERIC = 0 DOC_VALUES_BINARY = 1 DOC_VALUES_SORTED = 2 DOC_VALUES_SORTED_SET = 3 DOC_VALUES_SORTED_NUMERIC = 4 DOC_DELTA_COMPRESSED = 0 DOC_GCD_COMPRESSED = 1 DOC_TABLE_COMPRESSED = 2 DOC_MONOTONIC_COMPRESSED = 3 DOC_CONST_COMPRESSED = 4 DOC_SPARSE_COMPRESSED = 5 DOC_BINARY_FIXED_UNCOMPRESSED = 0 DOC_BINARY_VARIABLE_UNCOMPRESSED = 1 DOC_BINARY_PREFIX_COMPRESSED = 2 DOC_SORTED_WITH_ADDRESSES = 0 DOC_SORTED_SINGLE_VALUED = 1 DOC_SORTED_SET_TABLE = 2 STORE_TERMVECTOR = 0x1 OMIT_NORMS = 0x2 STORE_PAYLOADS = 0x4 ALL_VALUES_EQUAL = 0 PACKED = 0 PACKED_SINGLE_BLOCK = 1
min_match = 4 string = 0 byte_arr = 1 numeric_int = 2 numeric_float = 3 numeric_long = 4 numeric_double = 5 second = 1000 hour = 60 * 60 * SECOND day = 24 * HOUR second_encoding = 64 hour_encoding = 128 day_encoding = 192 block_size = 128 index_option_none = 0 index_option_docs = 1 index_option_docs_freqs = 2 index_option_docs_freqs_positions = 3 index_option_docs_freqs_positions_offsets = 4 doc_values_numeric = 0 doc_values_binary = 1 doc_values_sorted = 2 doc_values_sorted_set = 3 doc_values_sorted_numeric = 4 doc_delta_compressed = 0 doc_gcd_compressed = 1 doc_table_compressed = 2 doc_monotonic_compressed = 3 doc_const_compressed = 4 doc_sparse_compressed = 5 doc_binary_fixed_uncompressed = 0 doc_binary_variable_uncompressed = 1 doc_binary_prefix_compressed = 2 doc_sorted_with_addresses = 0 doc_sorted_single_valued = 1 doc_sorted_set_table = 2 store_termvector = 1 omit_norms = 2 store_payloads = 4 all_values_equal = 0 packed = 0 packed_single_block = 1
#encoding:utf-8 subreddit = 'ProsePorn' t_channel = '@r_proseporn' def send_post(submission, r2t): return r2t.send_simple(submission)
subreddit = 'ProsePorn' t_channel = '@r_proseporn' def send_post(submission, r2t): return r2t.send_simple(submission)
# Pyrogram - Telegram MTProto API Client Library for Python # Copyright (C) 2017-2021 Dan <https://github.com/delivrance> # # This file is part of Pyrogram. # # Pyrogram is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Pyrogram is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with Pyrogram. If not, see <http://www.gnu.org/licenses/>. # # # # # # # # # # # # # # # # # # # # # # # # # !!! WARNING !!! # # This is a generated file! # # All changes made in this file will be lost! # # # # # # # # # # # # # # # # # # # # # # # # # layer = 123 objects = { 0x05162463: "pyrogram.raw.types.ResPQ", 0x83c95aec: "pyrogram.raw.types.PQInnerData", 0xa9f55f95: "pyrogram.raw.types.PQInnerDataDc", 0x3c6a84d4: "pyrogram.raw.types.PQInnerDataTemp", 0x56fddf88: "pyrogram.raw.types.PQInnerDataTempDc", 0x75a3f765: "pyrogram.raw.types.BindAuthKeyInner", 0x79cb045d: "pyrogram.raw.types.ServerDHParamsFail", 0xd0e8075c: "pyrogram.raw.types.ServerDHParamsOk", 0xb5890dba: "pyrogram.raw.types.ServerDHInnerData", 0x6643b654: "pyrogram.raw.types.ClientDHInnerData", 0x3bcbf734: "pyrogram.raw.types.DhGenOk", 0x46dc1fb9: "pyrogram.raw.types.DhGenRetry", 0xa69dae02: "pyrogram.raw.types.DhGenFail", 0xf660e1d4: "pyrogram.raw.types.DestroyAuthKeyOk", 0x0a9f2259: "pyrogram.raw.types.DestroyAuthKeyNone", 0xea109b13: "pyrogram.raw.types.DestroyAuthKeyFail", 0x60469778: "pyrogram.raw.functions.ReqPq", 0xbe7e8ef1: "pyrogram.raw.functions.ReqPqMulti", 0xd712e4be: "pyrogram.raw.functions.ReqDHParams", 0xf5045f1f: "pyrogram.raw.functions.SetClientDHParams", 0xd1435160: "pyrogram.raw.functions.DestroyAuthKey", 0x62d6b459: "pyrogram.raw.types.MsgsAck", 0xa7eff811: "pyrogram.raw.types.BadMsgNotification", 0xedab447b: "pyrogram.raw.types.BadServerSalt", 0xda69fb52: "pyrogram.raw.types.MsgsStateReq", 0x04deb57d: "pyrogram.raw.types.MsgsStateInfo", 0x8cc0d131: "pyrogram.raw.types.MsgsAllInfo", 0x276d3ec6: "pyrogram.raw.types.MsgDetailedInfo", 0x809db6df: "pyrogram.raw.types.MsgNewDetailedInfo", 0x7d861a08: "pyrogram.raw.types.MsgResendReq", 0x8610baeb: "pyrogram.raw.types.MsgResendAnsReq", 0xf35c6d01: "pyrogram.raw.types.RpcResult", 0x2144ca19: "pyrogram.raw.types.RpcError", 0x5e2ad36e: "pyrogram.raw.types.RpcAnswerUnknown", 0xcd78e586: "pyrogram.raw.types.RpcAnswerDroppedRunning", 0xa43ad8b7: "pyrogram.raw.types.RpcAnswerDropped", 0x347773c5: "pyrogram.raw.types.Pong", 0xe22045fc: "pyrogram.raw.types.DestroySessionOk", 0x62d350c9: "pyrogram.raw.types.DestroySessionNone", 0x9ec20908: "pyrogram.raw.types.NewSessionCreated", 0x9299359f: "pyrogram.raw.types.HttpWait", 0xd433ad73: "pyrogram.raw.types.IpPort", 0x37982646: "pyrogram.raw.types.IpPortSecret", 0x4679b65f: "pyrogram.raw.types.AccessPointRule", 0x5a592a6c: "pyrogram.raw.types.help.ConfigSimple", 0x58e4a740: "pyrogram.raw.functions.RpcDropAnswer", 0xb921bd04: "pyrogram.raw.functions.GetFutureSalts", 0x7abe77ec: "pyrogram.raw.functions.Ping", 0xf3427b8c: "pyrogram.raw.functions.PingDelayDisconnect", 0xe7512126: "pyrogram.raw.functions.DestroySession", 0x9a5f6e95: "pyrogram.raw.functions.contest.SaveDeveloperInfo", 0x7f3b18ea: "pyrogram.raw.types.InputPeerEmpty", 0x7da07ec9: "pyrogram.raw.types.InputPeerSelf", 0x179be863: "pyrogram.raw.types.InputPeerChat", 0x7b8e7de6: "pyrogram.raw.types.InputPeerUser", 0x20adaef8: "pyrogram.raw.types.InputPeerChannel", 0x17bae2e6: "pyrogram.raw.types.InputPeerUserFromMessage", 0x9c95f7bb: "pyrogram.raw.types.InputPeerChannelFromMessage", 0xb98886cf: "pyrogram.raw.types.InputUserEmpty", 0xf7c1b13f: "pyrogram.raw.types.InputUserSelf", 0xd8292816: "pyrogram.raw.types.InputUser", 0x2d117597: "pyrogram.raw.types.InputUserFromMessage", 0xf392b7f4: "pyrogram.raw.types.InputPhoneContact", 0xf52ff27f: "pyrogram.raw.types.InputFile", 0xfa4f0bb5: "pyrogram.raw.types.InputFileBig", 0x9664f57f: "pyrogram.raw.types.InputMediaEmpty", 0x1e287d04: "pyrogram.raw.types.InputMediaUploadedPhoto", 0xb3ba0635: "pyrogram.raw.types.InputMediaPhoto", 0xf9c44144: "pyrogram.raw.types.InputMediaGeoPoint", 0xf8ab7dfb: "pyrogram.raw.types.InputMediaContact", 0x5b38c6c1: "pyrogram.raw.types.InputMediaUploadedDocument", 0x33473058: "pyrogram.raw.types.InputMediaDocument", 0xc13d1c11: "pyrogram.raw.types.InputMediaVenue", 0xe5bbfe1a: "pyrogram.raw.types.InputMediaPhotoExternal", 0xfb52dc99: "pyrogram.raw.types.InputMediaDocumentExternal", 0xd33f43f3: "pyrogram.raw.types.InputMediaGame", 0xf4e096c3: "pyrogram.raw.types.InputMediaInvoice", 0x971fa843: "pyrogram.raw.types.InputMediaGeoLive", 0xf94e5f1: "pyrogram.raw.types.InputMediaPoll", 0xe66fbf7b: "pyrogram.raw.types.InputMediaDice", 0x1ca48f57: "pyrogram.raw.types.InputChatPhotoEmpty", 0xc642724e: "pyrogram.raw.types.InputChatUploadedPhoto", 0x8953ad37: "pyrogram.raw.types.InputChatPhoto", 0xe4c123d6: "pyrogram.raw.types.InputGeoPointEmpty", 0x48222faf: "pyrogram.raw.types.InputGeoPoint", 0x1cd7bf0d: "pyrogram.raw.types.InputPhotoEmpty", 0x3bb3b94a: "pyrogram.raw.types.InputPhoto", 0xdfdaabe1: "pyrogram.raw.types.InputFileLocation", 0xf5235d55: "pyrogram.raw.types.InputEncryptedFileLocation", 0xbad07584: "pyrogram.raw.types.InputDocumentFileLocation", 0xcbc7ee28: "pyrogram.raw.types.InputSecureFileLocation", 0x29be5899: "pyrogram.raw.types.InputTakeoutFileLocation", 0x40181ffe: "pyrogram.raw.types.InputPhotoFileLocation", 0xd83466f3: "pyrogram.raw.types.InputPhotoLegacyFileLocation", 0x27d69997: "pyrogram.raw.types.InputPeerPhotoFileLocation", 0xdbaeae9: "pyrogram.raw.types.InputStickerSetThumb", 0x9db1bc6d: "pyrogram.raw.types.PeerUser", 0xbad0e5bb: "pyrogram.raw.types.PeerChat", 0xbddde532: "pyrogram.raw.types.PeerChannel", 0xaa963b05: "pyrogram.raw.types.storage.FileUnknown", 0x40bc6f52: "pyrogram.raw.types.storage.FilePartial", 0x7efe0e: "pyrogram.raw.types.storage.FileJpeg", 0xcae1aadf: "pyrogram.raw.types.storage.FileGif", 0xa4f63c0: "pyrogram.raw.types.storage.FilePng", 0xae1e508d: "pyrogram.raw.types.storage.FilePdf", 0x528a0677: "pyrogram.raw.types.storage.FileMp3", 0x4b09ebbc: "pyrogram.raw.types.storage.FileMov", 0xb3cea0e4: "pyrogram.raw.types.storage.FileMp4", 0x1081464c: "pyrogram.raw.types.storage.FileWebp", 0x200250ba: "pyrogram.raw.types.UserEmpty", 0x938458c1: "pyrogram.raw.types.User", 0x4f11bae1: "pyrogram.raw.types.UserProfilePhotoEmpty", 0x69d3ab26: "pyrogram.raw.types.UserProfilePhoto", 0x9d05049: "pyrogram.raw.types.UserStatusEmpty", 0xedb93949: "pyrogram.raw.types.UserStatusOnline", 0x8c703f: "pyrogram.raw.types.UserStatusOffline", 0xe26f42f1: "pyrogram.raw.types.UserStatusRecently", 0x7bf09fc: "pyrogram.raw.types.UserStatusLastWeek", 0x77ebc742: "pyrogram.raw.types.UserStatusLastMonth", 0x9ba2d800: "pyrogram.raw.types.ChatEmpty", 0x3bda1bde: "pyrogram.raw.types.Chat", 0x7328bdb: "pyrogram.raw.types.ChatForbidden", 0xd31a961e: "pyrogram.raw.types.Channel", 0x289da732: "pyrogram.raw.types.ChannelForbidden", 0xf3474af6: "pyrogram.raw.types.ChatFull", 0x7a7de4f7: "pyrogram.raw.types.ChannelFull", 0xc8d7493e: "pyrogram.raw.types.ChatParticipant", 0xda13538a: "pyrogram.raw.types.ChatParticipantCreator", 0xe2d6e436: "pyrogram.raw.types.ChatParticipantAdmin", 0xfc900c2b: "pyrogram.raw.types.ChatParticipantsForbidden", 0x3f460fed: "pyrogram.raw.types.ChatParticipants", 0x37c1011c: "pyrogram.raw.types.ChatPhotoEmpty", 0xd20b9f3c: "pyrogram.raw.types.ChatPhoto", 0x90a6ca84: "pyrogram.raw.types.MessageEmpty", 0x58ae39c9: "pyrogram.raw.types.Message", 0x286fa604: "pyrogram.raw.types.MessageService", 0x3ded6320: "pyrogram.raw.types.MessageMediaEmpty", 0x695150d7: "pyrogram.raw.types.MessageMediaPhoto", 0x56e0d474: "pyrogram.raw.types.MessageMediaGeo", 0xcbf24940: "pyrogram.raw.types.MessageMediaContact", 0x9f84f49e: "pyrogram.raw.types.MessageMediaUnsupported", 0x9cb070d7: "pyrogram.raw.types.MessageMediaDocument", 0xa32dd600: "pyrogram.raw.types.MessageMediaWebPage", 0x2ec0533f: "pyrogram.raw.types.MessageMediaVenue", 0xfdb19008: "pyrogram.raw.types.MessageMediaGame", 0x84551347: "pyrogram.raw.types.MessageMediaInvoice", 0xb940c666: "pyrogram.raw.types.MessageMediaGeoLive", 0x4bd6e798: "pyrogram.raw.types.MessageMediaPoll", 0x3f7ee58b: "pyrogram.raw.types.MessageMediaDice", 0xb6aef7b0: "pyrogram.raw.types.MessageActionEmpty", 0xa6638b9a: "pyrogram.raw.types.MessageActionChatCreate", 0xb5a1ce5a: "pyrogram.raw.types.MessageActionChatEditTitle", 0x7fcb13a8: "pyrogram.raw.types.MessageActionChatEditPhoto", 0x95e3fbef: "pyrogram.raw.types.MessageActionChatDeletePhoto", 0x488a7337: "pyrogram.raw.types.MessageActionChatAddUser", 0xb2ae9b0c: "pyrogram.raw.types.MessageActionChatDeleteUser", 0xf89cf5e8: "pyrogram.raw.types.MessageActionChatJoinedByLink", 0x95d2ac92: "pyrogram.raw.types.MessageActionChannelCreate", 0x51bdb021: "pyrogram.raw.types.MessageActionChatMigrateTo", 0xb055eaee: "pyrogram.raw.types.MessageActionChannelMigrateFrom", 0x94bd38ed: "pyrogram.raw.types.MessageActionPinMessage", 0x9fbab604: "pyrogram.raw.types.MessageActionHistoryClear", 0x92a72876: "pyrogram.raw.types.MessageActionGameScore", 0x8f31b327: "pyrogram.raw.types.MessageActionPaymentSentMe", 0x40699cd0: "pyrogram.raw.types.MessageActionPaymentSent", 0x80e11a7f: "pyrogram.raw.types.MessageActionPhoneCall", 0x4792929b: "pyrogram.raw.types.MessageActionScreenshotTaken", 0xfae69f56: "pyrogram.raw.types.MessageActionCustomAction", 0xabe9affe: "pyrogram.raw.types.MessageActionBotAllowed", 0x1b287353: "pyrogram.raw.types.MessageActionSecureValuesSentMe", 0xd95c6154: "pyrogram.raw.types.MessageActionSecureValuesSent", 0xf3f25f76: "pyrogram.raw.types.MessageActionContactSignUp", 0x98e0d697: "pyrogram.raw.types.MessageActionGeoProximityReached", 0x7a0d7f42: "pyrogram.raw.types.MessageActionGroupCall", 0x76b9f11a: "pyrogram.raw.types.MessageActionInviteToGroupCall", 0x2c171f72: "pyrogram.raw.types.Dialog", 0x71bd134c: "pyrogram.raw.types.DialogFolder", 0x2331b22d: "pyrogram.raw.types.PhotoEmpty", 0xfb197a65: "pyrogram.raw.types.Photo", 0xe17e23c: "pyrogram.raw.types.PhotoSizeEmpty", 0x77bfb61b: "pyrogram.raw.types.PhotoSize", 0xe9a734fa: "pyrogram.raw.types.PhotoCachedSize", 0xe0b0bc2e: "pyrogram.raw.types.PhotoStrippedSize", 0x5aa86a51: "pyrogram.raw.types.PhotoSizeProgressive", 0xd8214d41: "pyrogram.raw.types.PhotoPathSize", 0x1117dd5f: "pyrogram.raw.types.GeoPointEmpty", 0xb2a2f663: "pyrogram.raw.types.GeoPoint", 0x5e002502: "pyrogram.raw.types.auth.SentCode", 0xcd050916: "pyrogram.raw.types.auth.Authorization", 0x44747e9a: "pyrogram.raw.types.auth.AuthorizationSignUpRequired", 0xdf969c2d: "pyrogram.raw.types.auth.ExportedAuthorization", 0xb8bc5b0c: "pyrogram.raw.types.InputNotifyPeer", 0x193b4417: "pyrogram.raw.types.InputNotifyUsers", 0x4a95e84e: "pyrogram.raw.types.InputNotifyChats", 0xb1db7c7e: "pyrogram.raw.types.InputNotifyBroadcasts", 0x9c3d198e: "pyrogram.raw.types.InputPeerNotifySettings", 0xaf509d20: "pyrogram.raw.types.PeerNotifySettings", 0x733f2961: "pyrogram.raw.types.PeerSettings", 0xa437c3ed: "pyrogram.raw.types.WallPaper", 0x8af40b25: "pyrogram.raw.types.WallPaperNoFile", 0x58dbcab8: "pyrogram.raw.types.InputReportReasonSpam", 0x1e22c78d: "pyrogram.raw.types.InputReportReasonViolence", 0x2e59d922: "pyrogram.raw.types.InputReportReasonPornography", 0xadf44ee3: "pyrogram.raw.types.InputReportReasonChildAbuse", 0xe1746d0a: "pyrogram.raw.types.InputReportReasonOther", 0x9b89f93a: "pyrogram.raw.types.InputReportReasonCopyright", 0xdbd4feed: "pyrogram.raw.types.InputReportReasonGeoIrrelevant", 0xf5ddd6e7: "pyrogram.raw.types.InputReportReasonFake", 0xedf17c12: "pyrogram.raw.types.UserFull", 0xf911c994: "pyrogram.raw.types.Contact", 0xd0028438: "pyrogram.raw.types.ImportedContact", 0xd3680c61: "pyrogram.raw.types.ContactStatus", 0xb74ba9d2: "pyrogram.raw.types.contacts.ContactsNotModified", 0xeae87e42: "pyrogram.raw.types.contacts.Contacts", 0x77d01c3b: "pyrogram.raw.types.contacts.ImportedContacts", 0xade1591: "pyrogram.raw.types.contacts.Blocked", 0xe1664194: "pyrogram.raw.types.contacts.BlockedSlice", 0x15ba6c40: "pyrogram.raw.types.messages.Dialogs", 0x71e094f3: "pyrogram.raw.types.messages.DialogsSlice", 0xf0e3e596: "pyrogram.raw.types.messages.DialogsNotModified", 0x8c718e87: "pyrogram.raw.types.messages.Messages", 0x3a54685e: "pyrogram.raw.types.messages.MessagesSlice", 0x64479808: "pyrogram.raw.types.messages.ChannelMessages", 0x74535f21: "pyrogram.raw.types.messages.MessagesNotModified", 0x64ff9fd5: "pyrogram.raw.types.messages.Chats", 0x9cd81144: "pyrogram.raw.types.messages.ChatsSlice", 0xe5d7d19c: "pyrogram.raw.types.messages.ChatFull", 0xb45c69d1: "pyrogram.raw.types.messages.AffectedHistory", 0x57e2f66c: "pyrogram.raw.types.InputMessagesFilterEmpty", 0x9609a51c: "pyrogram.raw.types.InputMessagesFilterPhotos", 0x9fc00e65: "pyrogram.raw.types.InputMessagesFilterVideo", 0x56e9f0e4: "pyrogram.raw.types.InputMessagesFilterPhotoVideo", 0x9eddf188: "pyrogram.raw.types.InputMessagesFilterDocument", 0x7ef0dd87: "pyrogram.raw.types.InputMessagesFilterUrl", 0xffc86587: "pyrogram.raw.types.InputMessagesFilterGif", 0x50f5c392: "pyrogram.raw.types.InputMessagesFilterVoice", 0x3751b49e: "pyrogram.raw.types.InputMessagesFilterMusic", 0x3a20ecb8: "pyrogram.raw.types.InputMessagesFilterChatPhotos", 0x80c99768: "pyrogram.raw.types.InputMessagesFilterPhoneCalls", 0x7a7c17a4: "pyrogram.raw.types.InputMessagesFilterRoundVoice", 0xb549da53: "pyrogram.raw.types.InputMessagesFilterRoundVideo", 0xc1f8e69a: "pyrogram.raw.types.InputMessagesFilterMyMentions", 0xe7026d0d: "pyrogram.raw.types.InputMessagesFilterGeo", 0xe062db83: "pyrogram.raw.types.InputMessagesFilterContacts", 0x1bb00451: "pyrogram.raw.types.InputMessagesFilterPinned", 0x1f2b0afd: "pyrogram.raw.types.UpdateNewMessage", 0x4e90bfd6: "pyrogram.raw.types.UpdateMessageID", 0xa20db0e5: "pyrogram.raw.types.UpdateDeleteMessages", 0x5c486927: "pyrogram.raw.types.UpdateUserTyping", 0x9a65ea1f: "pyrogram.raw.types.UpdateChatUserTyping", 0x7761198: "pyrogram.raw.types.UpdateChatParticipants", 0x1bfbd823: "pyrogram.raw.types.UpdateUserStatus", 0xa7332b73: "pyrogram.raw.types.UpdateUserName", 0x95313b0c: "pyrogram.raw.types.UpdateUserPhoto", 0x12bcbd9a: "pyrogram.raw.types.UpdateNewEncryptedMessage", 0x1710f156: "pyrogram.raw.types.UpdateEncryptedChatTyping", 0xb4a2e88d: "pyrogram.raw.types.UpdateEncryption", 0x38fe25b7: "pyrogram.raw.types.UpdateEncryptedMessagesRead", 0xea4b0e5c: "pyrogram.raw.types.UpdateChatParticipantAdd", 0x6e5f8c22: "pyrogram.raw.types.UpdateChatParticipantDelete", 0x8e5e9873: "pyrogram.raw.types.UpdateDcOptions", 0xbec268ef: "pyrogram.raw.types.UpdateNotifySettings", 0xebe46819: "pyrogram.raw.types.UpdateServiceNotification", 0xee3b272a: "pyrogram.raw.types.UpdatePrivacy", 0x12b9417b: "pyrogram.raw.types.UpdateUserPhone", 0x9c974fdf: "pyrogram.raw.types.UpdateReadHistoryInbox", 0x2f2f21bf: "pyrogram.raw.types.UpdateReadHistoryOutbox", 0x7f891213: "pyrogram.raw.types.UpdateWebPage", 0x68c13933: "pyrogram.raw.types.UpdateReadMessagesContents", 0xeb0467fb: "pyrogram.raw.types.UpdateChannelTooLong", 0xb6d45656: "pyrogram.raw.types.UpdateChannel", 0x62ba04d9: "pyrogram.raw.types.UpdateNewChannelMessage", 0x330b5424: "pyrogram.raw.types.UpdateReadChannelInbox", 0xc37521c9: "pyrogram.raw.types.UpdateDeleteChannelMessages", 0x98a12b4b: "pyrogram.raw.types.UpdateChannelMessageViews", 0xb6901959: "pyrogram.raw.types.UpdateChatParticipantAdmin", 0x688a30aa: "pyrogram.raw.types.UpdateNewStickerSet", 0xbb2d201: "pyrogram.raw.types.UpdateStickerSetsOrder", 0x43ae3dec: "pyrogram.raw.types.UpdateStickerSets", 0x9375341e: "pyrogram.raw.types.UpdateSavedGifs", 0x3f2038db: "pyrogram.raw.types.UpdateBotInlineQuery", 0xe48f964: "pyrogram.raw.types.UpdateBotInlineSend", 0x1b3f4df7: "pyrogram.raw.types.UpdateEditChannelMessage", 0xe73547e1: "pyrogram.raw.types.UpdateBotCallbackQuery", 0xe40370a3: "pyrogram.raw.types.UpdateEditMessage", 0xf9d27a5a: "pyrogram.raw.types.UpdateInlineBotCallbackQuery", 0x25d6c9c7: "pyrogram.raw.types.UpdateReadChannelOutbox", 0xee2bb969: "pyrogram.raw.types.UpdateDraftMessage", 0x571d2742: "pyrogram.raw.types.UpdateReadFeaturedStickers", 0x9a422c20: "pyrogram.raw.types.UpdateRecentStickers", 0xa229dd06: "pyrogram.raw.types.UpdateConfig", 0x3354678f: "pyrogram.raw.types.UpdatePtsChanged", 0x40771900: "pyrogram.raw.types.UpdateChannelWebPage", 0x6e6fe51c: "pyrogram.raw.types.UpdateDialogPinned", 0xfa0f3ca2: "pyrogram.raw.types.UpdatePinnedDialogs", 0x8317c0c3: "pyrogram.raw.types.UpdateBotWebhookJSON", 0x9b9240a6: "pyrogram.raw.types.UpdateBotWebhookJSONQuery", 0xe0cdc940: "pyrogram.raw.types.UpdateBotShippingQuery", 0x5d2f3aa9: "pyrogram.raw.types.UpdateBotPrecheckoutQuery", 0xab0f6b1e: "pyrogram.raw.types.UpdatePhoneCall", 0x46560264: "pyrogram.raw.types.UpdateLangPackTooLong", 0x56022f4d: "pyrogram.raw.types.UpdateLangPack", 0xe511996d: "pyrogram.raw.types.UpdateFavedStickers", 0x89893b45: "pyrogram.raw.types.UpdateChannelReadMessagesContents", 0x7084a7be: "pyrogram.raw.types.UpdateContactsReset", 0x70db6837: "pyrogram.raw.types.UpdateChannelAvailableMessages", 0xe16459c3: "pyrogram.raw.types.UpdateDialogUnreadMark", 0xaca1657b: "pyrogram.raw.types.UpdateMessagePoll", 0x54c01850: "pyrogram.raw.types.UpdateChatDefaultBannedRights", 0x19360dc0: "pyrogram.raw.types.UpdateFolderPeers", 0x6a7e7366: "pyrogram.raw.types.UpdatePeerSettings", 0xb4afcfb0: "pyrogram.raw.types.UpdatePeerLocated", 0x39a51dfb: "pyrogram.raw.types.UpdateNewScheduledMessage", 0x90866cee: "pyrogram.raw.types.UpdateDeleteScheduledMessages", 0x8216fba3: "pyrogram.raw.types.UpdateTheme", 0x871fb939: "pyrogram.raw.types.UpdateGeoLiveViewed", 0x564fe691: "pyrogram.raw.types.UpdateLoginToken", 0x42f88f2c: "pyrogram.raw.types.UpdateMessagePollVote", 0x26ffde7d: "pyrogram.raw.types.UpdateDialogFilter", 0xa5d72105: "pyrogram.raw.types.UpdateDialogFilterOrder", 0x3504914f: "pyrogram.raw.types.UpdateDialogFilters", 0x2661bf09: "pyrogram.raw.types.UpdatePhoneCallSignalingData", 0x65d2b464: "pyrogram.raw.types.UpdateChannelParticipant", 0x6e8a84df: "pyrogram.raw.types.UpdateChannelMessageForwards", 0x1cc7de54: "pyrogram.raw.types.UpdateReadChannelDiscussionInbox", 0x4638a26c: "pyrogram.raw.types.UpdateReadChannelDiscussionOutbox", 0x246a4b22: "pyrogram.raw.types.UpdatePeerBlocked", 0xff2abe9f: "pyrogram.raw.types.UpdateChannelUserTyping", 0xed85eab5: "pyrogram.raw.types.UpdatePinnedMessages", 0x8588878b: "pyrogram.raw.types.UpdatePinnedChannelMessages", 0x1330a196: "pyrogram.raw.types.UpdateChat", 0xf2ebdb4e: "pyrogram.raw.types.UpdateGroupCallParticipants", 0xa45eb99b: "pyrogram.raw.types.UpdateGroupCall", 0xa56c2a3e: "pyrogram.raw.types.updates.State", 0x5d75a138: "pyrogram.raw.types.updates.DifferenceEmpty", 0xf49ca0: "pyrogram.raw.types.updates.Difference", 0xa8fb1981: "pyrogram.raw.types.updates.DifferenceSlice", 0x4afe8f6d: "pyrogram.raw.types.updates.DifferenceTooLong", 0xe317af7e: "pyrogram.raw.types.UpdatesTooLong", 0x2296d2c8: "pyrogram.raw.types.UpdateShortMessage", 0x402d5dbb: "pyrogram.raw.types.UpdateShortChatMessage", 0x78d4dec1: "pyrogram.raw.types.UpdateShort", 0x725b04c3: "pyrogram.raw.types.UpdatesCombined", 0x74ae4240: "pyrogram.raw.types.Updates", 0x11f1331c: "pyrogram.raw.types.UpdateShortSentMessage", 0x8dca6aa5: "pyrogram.raw.types.photos.Photos", 0x15051f54: "pyrogram.raw.types.photos.PhotosSlice", 0x20212ca8: "pyrogram.raw.types.photos.Photo", 0x96a18d5: "pyrogram.raw.types.upload.File", 0xf18cda44: "pyrogram.raw.types.upload.FileCdnRedirect", 0x18b7a10d: "pyrogram.raw.types.DcOption", 0x330b4067: "pyrogram.raw.types.Config", 0x8e1a1775: "pyrogram.raw.types.NearestDc", 0x1da7158f: "pyrogram.raw.types.help.AppUpdate", 0xc45a6536: "pyrogram.raw.types.help.NoAppUpdate", 0x18cb9f78: "pyrogram.raw.types.help.InviteText", 0xab7ec0a0: "pyrogram.raw.types.EncryptedChatEmpty", 0x3bf703dc: "pyrogram.raw.types.EncryptedChatWaiting", 0x62718a82: "pyrogram.raw.types.EncryptedChatRequested", 0xfa56ce36: "pyrogram.raw.types.EncryptedChat", 0x1e1c7c45: "pyrogram.raw.types.EncryptedChatDiscarded", 0xf141b5e1: "pyrogram.raw.types.InputEncryptedChat", 0xc21f497e: "pyrogram.raw.types.EncryptedFileEmpty", 0x4a70994c: "pyrogram.raw.types.EncryptedFile", 0x1837c364: "pyrogram.raw.types.InputEncryptedFileEmpty", 0x64bd0306: "pyrogram.raw.types.InputEncryptedFileUploaded", 0x5a17b5e5: "pyrogram.raw.types.InputEncryptedFile", 0x2dc173c8: "pyrogram.raw.types.InputEncryptedFileBigUploaded", 0xed18c118: "pyrogram.raw.types.EncryptedMessage", 0x23734b06: "pyrogram.raw.types.EncryptedMessageService", 0xc0e24635: "pyrogram.raw.types.messages.DhConfigNotModified", 0x2c221edd: "pyrogram.raw.types.messages.DhConfig", 0x560f8935: "pyrogram.raw.types.messages.SentEncryptedMessage", 0x9493ff32: "pyrogram.raw.types.messages.SentEncryptedFile", 0x72f0eaae: "pyrogram.raw.types.InputDocumentEmpty", 0x1abfb575: "pyrogram.raw.types.InputDocument", 0x36f8c871: "pyrogram.raw.types.DocumentEmpty", 0x1e87342b: "pyrogram.raw.types.Document", 0x17c6b5f6: "pyrogram.raw.types.help.Support", 0x9fd40bd8: "pyrogram.raw.types.NotifyPeer", 0xb4c83b4c: "pyrogram.raw.types.NotifyUsers", 0xc007cec3: "pyrogram.raw.types.NotifyChats", 0xd612e8ef: "pyrogram.raw.types.NotifyBroadcasts", 0x16bf744e: "pyrogram.raw.types.SendMessageTypingAction", 0xfd5ec8f5: "pyrogram.raw.types.SendMessageCancelAction", 0xa187d66f: "pyrogram.raw.types.SendMessageRecordVideoAction", 0xe9763aec: "pyrogram.raw.types.SendMessageUploadVideoAction", 0xd52f73f7: "pyrogram.raw.types.SendMessageRecordAudioAction", 0xf351d7ab: "pyrogram.raw.types.SendMessageUploadAudioAction", 0xd1d34a26: "pyrogram.raw.types.SendMessageUploadPhotoAction", 0xaa0cd9e4: "pyrogram.raw.types.SendMessageUploadDocumentAction", 0x176f8ba1: "pyrogram.raw.types.SendMessageGeoLocationAction", 0x628cbc6f: "pyrogram.raw.types.SendMessageChooseContactAction", 0xdd6a8f48: "pyrogram.raw.types.SendMessageGamePlayAction", 0x88f27fbc: "pyrogram.raw.types.SendMessageRecordRoundAction", 0x243e1c66: "pyrogram.raw.types.SendMessageUploadRoundAction", 0xd92c2285: "pyrogram.raw.types.SpeakingInGroupCallAction", 0xdbda9246: "pyrogram.raw.types.SendMessageHistoryImportAction", 0xb3134d9d: "pyrogram.raw.types.contacts.Found", 0x4f96cb18: "pyrogram.raw.types.InputPrivacyKeyStatusTimestamp", 0xbdfb0426: "pyrogram.raw.types.InputPrivacyKeyChatInvite", 0xfabadc5f: "pyrogram.raw.types.InputPrivacyKeyPhoneCall", 0xdb9e70d2: "pyrogram.raw.types.InputPrivacyKeyPhoneP2P", 0xa4dd4c08: "pyrogram.raw.types.InputPrivacyKeyForwards", 0x5719bacc: "pyrogram.raw.types.InputPrivacyKeyProfilePhoto", 0x352dafa: "pyrogram.raw.types.InputPrivacyKeyPhoneNumber", 0xd1219bdd: "pyrogram.raw.types.InputPrivacyKeyAddedByPhone", 0xbc2eab30: "pyrogram.raw.types.PrivacyKeyStatusTimestamp", 0x500e6dfa: "pyrogram.raw.types.PrivacyKeyChatInvite", 0x3d662b7b: "pyrogram.raw.types.PrivacyKeyPhoneCall", 0x39491cc8: "pyrogram.raw.types.PrivacyKeyPhoneP2P", 0x69ec56a3: "pyrogram.raw.types.PrivacyKeyForwards", 0x96151fed: "pyrogram.raw.types.PrivacyKeyProfilePhoto", 0xd19ae46d: "pyrogram.raw.types.PrivacyKeyPhoneNumber", 0x42ffd42b: "pyrogram.raw.types.PrivacyKeyAddedByPhone", 0xd09e07b: "pyrogram.raw.types.InputPrivacyValueAllowContacts", 0x184b35ce: "pyrogram.raw.types.InputPrivacyValueAllowAll", 0x131cc67f: "pyrogram.raw.types.InputPrivacyValueAllowUsers", 0xba52007: "pyrogram.raw.types.InputPrivacyValueDisallowContacts", 0xd66b66c9: "pyrogram.raw.types.InputPrivacyValueDisallowAll", 0x90110467: "pyrogram.raw.types.InputPrivacyValueDisallowUsers", 0x4c81c1ba: "pyrogram.raw.types.InputPrivacyValueAllowChatParticipants", 0xd82363af: "pyrogram.raw.types.InputPrivacyValueDisallowChatParticipants", 0xfffe1bac: "pyrogram.raw.types.PrivacyValueAllowContacts", 0x65427b82: "pyrogram.raw.types.PrivacyValueAllowAll", 0x4d5bbe0c: "pyrogram.raw.types.PrivacyValueAllowUsers", 0xf888fa1a: "pyrogram.raw.types.PrivacyValueDisallowContacts", 0x8b73e763: "pyrogram.raw.types.PrivacyValueDisallowAll", 0xc7f49b7: "pyrogram.raw.types.PrivacyValueDisallowUsers", 0x18be796b: "pyrogram.raw.types.PrivacyValueAllowChatParticipants", 0xacae0690: "pyrogram.raw.types.PrivacyValueDisallowChatParticipants", 0x50a04e45: "pyrogram.raw.types.account.PrivacyRules", 0xb8d0afdf: "pyrogram.raw.types.AccountDaysTTL", 0x6c37c15c: "pyrogram.raw.types.DocumentAttributeImageSize", 0x11b58939: "pyrogram.raw.types.DocumentAttributeAnimated", 0x6319d612: "pyrogram.raw.types.DocumentAttributeSticker", 0xef02ce6: "pyrogram.raw.types.DocumentAttributeVideo", 0x9852f9c6: "pyrogram.raw.types.DocumentAttributeAudio", 0x15590068: "pyrogram.raw.types.DocumentAttributeFilename", 0x9801d2f7: "pyrogram.raw.types.DocumentAttributeHasStickers", 0xf1749a22: "pyrogram.raw.types.messages.StickersNotModified", 0xe4599bbd: "pyrogram.raw.types.messages.Stickers", 0x12b299d4: "pyrogram.raw.types.StickerPack", 0xe86602c3: "pyrogram.raw.types.messages.AllStickersNotModified", 0xedfd405f: "pyrogram.raw.types.messages.AllStickers", 0x84d19185: "pyrogram.raw.types.messages.AffectedMessages", 0xeb1477e8: "pyrogram.raw.types.WebPageEmpty", 0xc586da1c: "pyrogram.raw.types.WebPagePending", 0xe89c45b2: "pyrogram.raw.types.WebPage", 0x7311ca11: "pyrogram.raw.types.WebPageNotModified", 0xad01d61d: "pyrogram.raw.types.Authorization", 0x1250abde: "pyrogram.raw.types.account.Authorizations", 0xad2641f8: "pyrogram.raw.types.account.Password", 0x9a5c33e5: "pyrogram.raw.types.account.PasswordSettings", 0xc23727c9: "pyrogram.raw.types.account.PasswordInputSettings", 0x137948a5: "pyrogram.raw.types.auth.PasswordRecovery", 0xa384b779: "pyrogram.raw.types.ReceivedNotifyMessage", 0x6e24fc9d: "pyrogram.raw.types.ChatInviteExported", 0x5a686d7c: "pyrogram.raw.types.ChatInviteAlready", 0xdfc2f58e: "pyrogram.raw.types.ChatInvite", 0x61695cb0: "pyrogram.raw.types.ChatInvitePeek", 0xffb62b95: "pyrogram.raw.types.InputStickerSetEmpty", 0x9de7a269: "pyrogram.raw.types.InputStickerSetID", 0x861cc8a0: "pyrogram.raw.types.InputStickerSetShortName", 0x28703c8: "pyrogram.raw.types.InputStickerSetAnimatedEmoji", 0xe67f520e: "pyrogram.raw.types.InputStickerSetDice", 0x40e237a8: "pyrogram.raw.types.StickerSet", 0xb60a24a6: "pyrogram.raw.types.messages.StickerSet", 0xc27ac8c7: "pyrogram.raw.types.BotCommand", 0x98e81d3a: "pyrogram.raw.types.BotInfo", 0xa2fa4880: "pyrogram.raw.types.KeyboardButton", 0x258aff05: "pyrogram.raw.types.KeyboardButtonUrl", 0x35bbdb6b: "pyrogram.raw.types.KeyboardButtonCallback", 0xb16a6c29: "pyrogram.raw.types.KeyboardButtonRequestPhone", 0xfc796b3f: "pyrogram.raw.types.KeyboardButtonRequestGeoLocation", 0x568a748: "pyrogram.raw.types.KeyboardButtonSwitchInline", 0x50f41ccf: "pyrogram.raw.types.KeyboardButtonGame", 0xafd93fbb: "pyrogram.raw.types.KeyboardButtonBuy", 0x10b78d29: "pyrogram.raw.types.KeyboardButtonUrlAuth", 0xd02e7fd4: "pyrogram.raw.types.InputKeyboardButtonUrlAuth", 0xbbc7515d: "pyrogram.raw.types.KeyboardButtonRequestPoll", 0x77608b83: "pyrogram.raw.types.KeyboardButtonRow", 0xa03e5b85: "pyrogram.raw.types.ReplyKeyboardHide", 0xf4108aa0: "pyrogram.raw.types.ReplyKeyboardForceReply", 0x3502758c: "pyrogram.raw.types.ReplyKeyboardMarkup", 0x48a30254: "pyrogram.raw.types.ReplyInlineMarkup", 0xbb92ba95: "pyrogram.raw.types.MessageEntityUnknown", 0xfa04579d: "pyrogram.raw.types.MessageEntityMention", 0x6f635b0d: "pyrogram.raw.types.MessageEntityHashtag", 0x6cef8ac7: "pyrogram.raw.types.MessageEntityBotCommand", 0x6ed02538: "pyrogram.raw.types.MessageEntityUrl", 0x64e475c2: "pyrogram.raw.types.MessageEntityEmail", 0xbd610bc9: "pyrogram.raw.types.MessageEntityBold", 0x826f8b60: "pyrogram.raw.types.MessageEntityItalic", 0x28a20571: "pyrogram.raw.types.MessageEntityCode", 0x73924be0: "pyrogram.raw.types.MessageEntityPre", 0x76a6d327: "pyrogram.raw.types.MessageEntityTextUrl", 0x352dca58: "pyrogram.raw.types.MessageEntityMentionName", 0x208e68c9: "pyrogram.raw.types.InputMessageEntityMentionName", 0x9b69e34b: "pyrogram.raw.types.MessageEntityPhone", 0x4c4e743f: "pyrogram.raw.types.MessageEntityCashtag", 0x9c4e7e8b: "pyrogram.raw.types.MessageEntityUnderline", 0xbf0693d4: "pyrogram.raw.types.MessageEntityStrike", 0x20df5d0: "pyrogram.raw.types.MessageEntityBlockquote", 0x761e6af4: "pyrogram.raw.types.MessageEntityBankCard", 0xee8c1e86: "pyrogram.raw.types.InputChannelEmpty", 0xafeb712e: "pyrogram.raw.types.InputChannel", 0x2a286531: "pyrogram.raw.types.InputChannelFromMessage", 0x7f077ad9: "pyrogram.raw.types.contacts.ResolvedPeer", 0xae30253: "pyrogram.raw.types.MessageRange", 0x3e11affb: "pyrogram.raw.types.updates.ChannelDifferenceEmpty", 0xa4bcc6fe: "pyrogram.raw.types.updates.ChannelDifferenceTooLong", 0x2064674e: "pyrogram.raw.types.updates.ChannelDifference", 0x94d42ee7: "pyrogram.raw.types.ChannelMessagesFilterEmpty", 0xcd77d957: "pyrogram.raw.types.ChannelMessagesFilter", 0x15ebac1d: "pyrogram.raw.types.ChannelParticipant", 0xa3289a6d: "pyrogram.raw.types.ChannelParticipantSelf", 0x447dca4b: "pyrogram.raw.types.ChannelParticipantCreator", 0xccbebbaf: "pyrogram.raw.types.ChannelParticipantAdmin", 0x1c0facaf: "pyrogram.raw.types.ChannelParticipantBanned", 0xc3c6796b: "pyrogram.raw.types.ChannelParticipantLeft", 0xde3f3c79: "pyrogram.raw.types.ChannelParticipantsRecent", 0xb4608969: "pyrogram.raw.types.ChannelParticipantsAdmins", 0xa3b54985: "pyrogram.raw.types.ChannelParticipantsKicked", 0xb0d1865b: "pyrogram.raw.types.ChannelParticipantsBots", 0x1427a5e1: "pyrogram.raw.types.ChannelParticipantsBanned", 0x656ac4b: "pyrogram.raw.types.ChannelParticipantsSearch", 0xbb6ae88d: "pyrogram.raw.types.ChannelParticipantsContacts", 0xe04b5ceb: "pyrogram.raw.types.ChannelParticipantsMentions", 0xf56ee2a8: "pyrogram.raw.types.channels.ChannelParticipants", 0xf0173fe9: "pyrogram.raw.types.channels.ChannelParticipantsNotModified", 0xd0d9b163: "pyrogram.raw.types.channels.ChannelParticipant", 0x780a0310: "pyrogram.raw.types.help.TermsOfService", 0xe8025ca2: "pyrogram.raw.types.messages.SavedGifsNotModified", 0x2e0709a5: "pyrogram.raw.types.messages.SavedGifs", 0x3380c786: "pyrogram.raw.types.InputBotInlineMessageMediaAuto", 0x3dcd7a87: "pyrogram.raw.types.InputBotInlineMessageText", 0x96929a85: "pyrogram.raw.types.InputBotInlineMessageMediaGeo", 0x417bbf11: "pyrogram.raw.types.InputBotInlineMessageMediaVenue", 0xa6edbffd: "pyrogram.raw.types.InputBotInlineMessageMediaContact", 0x4b425864: "pyrogram.raw.types.InputBotInlineMessageGame", 0x88bf9319: "pyrogram.raw.types.InputBotInlineResult", 0xa8d864a7: "pyrogram.raw.types.InputBotInlineResultPhoto", 0xfff8fdc4: "pyrogram.raw.types.InputBotInlineResultDocument", 0x4fa417f2: "pyrogram.raw.types.InputBotInlineResultGame", 0x764cf810: "pyrogram.raw.types.BotInlineMessageMediaAuto", 0x8c7f65e2: "pyrogram.raw.types.BotInlineMessageText", 0x51846fd: "pyrogram.raw.types.BotInlineMessageMediaGeo", 0x8a86659c: "pyrogram.raw.types.BotInlineMessageMediaVenue", 0x18d1cdc2: "pyrogram.raw.types.BotInlineMessageMediaContact", 0x11965f3a: "pyrogram.raw.types.BotInlineResult", 0x17db940b: "pyrogram.raw.types.BotInlineMediaResult", 0x947ca848: "pyrogram.raw.types.messages.BotResults", 0x5dab1af4: "pyrogram.raw.types.ExportedMessageLink", 0x5f777dce: "pyrogram.raw.types.MessageFwdHeader", 0x72a3158c: "pyrogram.raw.types.auth.CodeTypeSms", 0x741cd3e3: "pyrogram.raw.types.auth.CodeTypeCall", 0x226ccefb: "pyrogram.raw.types.auth.CodeTypeFlashCall", 0x3dbb5986: "pyrogram.raw.types.auth.SentCodeTypeApp", 0xc000bba2: "pyrogram.raw.types.auth.SentCodeTypeSms", 0x5353e5a7: "pyrogram.raw.types.auth.SentCodeTypeCall", 0xab03c6d9: "pyrogram.raw.types.auth.SentCodeTypeFlashCall", 0x36585ea4: "pyrogram.raw.types.messages.BotCallbackAnswer", 0x26b5dde6: "pyrogram.raw.types.messages.MessageEditData", 0x890c3d89: "pyrogram.raw.types.InputBotInlineMessageID", 0x3c20629f: "pyrogram.raw.types.InlineBotSwitchPM", 0x3371c354: "pyrogram.raw.types.messages.PeerDialogs", 0xedcdc05b: "pyrogram.raw.types.TopPeer", 0xab661b5b: "pyrogram.raw.types.TopPeerCategoryBotsPM", 0x148677e2: "pyrogram.raw.types.TopPeerCategoryBotsInline", 0x637b7ed: "pyrogram.raw.types.TopPeerCategoryCorrespondents", 0xbd17a14a: "pyrogram.raw.types.TopPeerCategoryGroups", 0x161d9628: "pyrogram.raw.types.TopPeerCategoryChannels", 0x1e76a78c: "pyrogram.raw.types.TopPeerCategoryPhoneCalls", 0xa8406ca9: "pyrogram.raw.types.TopPeerCategoryForwardUsers", 0xfbeec0f0: "pyrogram.raw.types.TopPeerCategoryForwardChats", 0xfb834291: "pyrogram.raw.types.TopPeerCategoryPeers", 0xde266ef5: "pyrogram.raw.types.contacts.TopPeersNotModified", 0x70b772a8: "pyrogram.raw.types.contacts.TopPeers", 0xb52c939d: "pyrogram.raw.types.contacts.TopPeersDisabled", 0x1b0c841a: "pyrogram.raw.types.DraftMessageEmpty", 0xfd8e711f: "pyrogram.raw.types.DraftMessage", 0xc6dc0c66: "pyrogram.raw.types.messages.FeaturedStickersNotModified", 0xb6abc341: "pyrogram.raw.types.messages.FeaturedStickers", 0xb17f890: "pyrogram.raw.types.messages.RecentStickersNotModified", 0x22f3afb3: "pyrogram.raw.types.messages.RecentStickers", 0x4fcba9c8: "pyrogram.raw.types.messages.ArchivedStickers", 0x38641628: "pyrogram.raw.types.messages.StickerSetInstallResultSuccess", 0x35e410a8: "pyrogram.raw.types.messages.StickerSetInstallResultArchive", 0x6410a5d2: "pyrogram.raw.types.StickerSetCovered", 0x3407e51b: "pyrogram.raw.types.StickerSetMultiCovered", 0xaed6dbb2: "pyrogram.raw.types.MaskCoords", 0x4a992157: "pyrogram.raw.types.InputStickeredMediaPhoto", 0x438865b: "pyrogram.raw.types.InputStickeredMediaDocument", 0xbdf9653b: "pyrogram.raw.types.Game", 0x32c3e77: "pyrogram.raw.types.InputGameID", 0xc331e80a: "pyrogram.raw.types.InputGameShortName", 0x58fffcd0: "pyrogram.raw.types.HighScore", 0x9a3bfd99: "pyrogram.raw.types.messages.HighScores", 0xdc3d824f: "pyrogram.raw.types.TextEmpty", 0x744694e0: "pyrogram.raw.types.TextPlain", 0x6724abc4: "pyrogram.raw.types.TextBold", 0xd912a59c: "pyrogram.raw.types.TextItalic", 0xc12622c4: "pyrogram.raw.types.TextUnderline", 0x9bf8bb95: "pyrogram.raw.types.TextStrike", 0x6c3f19b9: "pyrogram.raw.types.TextFixed", 0x3c2884c1: "pyrogram.raw.types.TextUrl", 0xde5a0dd6: "pyrogram.raw.types.TextEmail", 0x7e6260d7: "pyrogram.raw.types.TextConcat", 0xed6a8504: "pyrogram.raw.types.TextSubscript", 0xc7fb5e01: "pyrogram.raw.types.TextSuperscript", 0x34b8621: "pyrogram.raw.types.TextMarked", 0x1ccb966a: "pyrogram.raw.types.TextPhone", 0x81ccf4f: "pyrogram.raw.types.TextImage", 0x35553762: "pyrogram.raw.types.TextAnchor", 0x13567e8a: "pyrogram.raw.types.PageBlockUnsupported", 0x70abc3fd: "pyrogram.raw.types.PageBlockTitle", 0x8ffa9a1f: "pyrogram.raw.types.PageBlockSubtitle", 0xbaafe5e0: "pyrogram.raw.types.PageBlockAuthorDate", 0xbfd064ec: "pyrogram.raw.types.PageBlockHeader", 0xf12bb6e1: "pyrogram.raw.types.PageBlockSubheader", 0x467a0766: "pyrogram.raw.types.PageBlockParagraph", 0xc070d93e: "pyrogram.raw.types.PageBlockPreformatted", 0x48870999: "pyrogram.raw.types.PageBlockFooter", 0xdb20b188: "pyrogram.raw.types.PageBlockDivider", 0xce0d37b0: "pyrogram.raw.types.PageBlockAnchor", 0xe4e88011: "pyrogram.raw.types.PageBlockList", 0x263d7c26: "pyrogram.raw.types.PageBlockBlockquote", 0x4f4456d3: "pyrogram.raw.types.PageBlockPullquote", 0x1759c560: "pyrogram.raw.types.PageBlockPhoto", 0x7c8fe7b6: "pyrogram.raw.types.PageBlockVideo", 0x39f23300: "pyrogram.raw.types.PageBlockCover", 0xa8718dc5: "pyrogram.raw.types.PageBlockEmbed", 0xf259a80b: "pyrogram.raw.types.PageBlockEmbedPost", 0x65a0fa4d: "pyrogram.raw.types.PageBlockCollage", 0x31f9590: "pyrogram.raw.types.PageBlockSlideshow", 0xef1751b5: "pyrogram.raw.types.PageBlockChannel", 0x804361ea: "pyrogram.raw.types.PageBlockAudio", 0x1e148390: "pyrogram.raw.types.PageBlockKicker", 0xbf4dea82: "pyrogram.raw.types.PageBlockTable", 0x9a8ae1e1: "pyrogram.raw.types.PageBlockOrderedList", 0x76768bed: "pyrogram.raw.types.PageBlockDetails", 0x16115a96: "pyrogram.raw.types.PageBlockRelatedArticles", 0xa44f3ef6: "pyrogram.raw.types.PageBlockMap", 0x85e42301: "pyrogram.raw.types.PhoneCallDiscardReasonMissed", 0xe095c1a0: "pyrogram.raw.types.PhoneCallDiscardReasonDisconnect", 0x57adc690: "pyrogram.raw.types.PhoneCallDiscardReasonHangup", 0xfaf7e8c9: "pyrogram.raw.types.PhoneCallDiscardReasonBusy", 0x7d748d04: "pyrogram.raw.types.DataJSON", 0xcb296bf8: "pyrogram.raw.types.LabeledPrice", 0xc30aa358: "pyrogram.raw.types.Invoice", 0xea02c27e: "pyrogram.raw.types.PaymentCharge", 0x1e8caaeb: "pyrogram.raw.types.PostAddress", 0x909c3f94: "pyrogram.raw.types.PaymentRequestedInfo", 0xcdc27a1f: "pyrogram.raw.types.PaymentSavedCredentialsCard", 0x1c570ed1: "pyrogram.raw.types.WebDocument", 0xf9c8bcc6: "pyrogram.raw.types.WebDocumentNoProxy", 0x9bed434d: "pyrogram.raw.types.InputWebDocument", 0xc239d686: "pyrogram.raw.types.InputWebFileLocation", 0x9f2221c9: "pyrogram.raw.types.InputWebFileGeoPointLocation", 0x21e753bc: "pyrogram.raw.types.upload.WebFile", 0x3f56aea3: "pyrogram.raw.types.payments.PaymentForm", 0xd1451883: "pyrogram.raw.types.payments.ValidatedRequestedInfo", 0x4e5f810d: "pyrogram.raw.types.payments.PaymentResult", 0xd8411139: "pyrogram.raw.types.payments.PaymentVerificationNeeded", 0x500911e1: "pyrogram.raw.types.payments.PaymentReceipt", 0xfb8fe43c: "pyrogram.raw.types.payments.SavedInfo", 0xc10eb2cf: "pyrogram.raw.types.InputPaymentCredentialsSaved", 0x3417d728: "pyrogram.raw.types.InputPaymentCredentials", 0xaa1c39f: "pyrogram.raw.types.InputPaymentCredentialsApplePay", 0x8ac32801: "pyrogram.raw.types.InputPaymentCredentialsGooglePay", 0xdb64fd34: "pyrogram.raw.types.account.TmpPassword", 0xb6213cdf: "pyrogram.raw.types.ShippingOption", 0xffa0a496: "pyrogram.raw.types.InputStickerSetItem", 0x1e36fded: "pyrogram.raw.types.InputPhoneCall", 0x5366c915: "pyrogram.raw.types.PhoneCallEmpty", 0x1b8f4ad1: "pyrogram.raw.types.PhoneCallWaiting", 0x87eabb53: "pyrogram.raw.types.PhoneCallRequested", 0x997c454a: "pyrogram.raw.types.PhoneCallAccepted", 0x8742ae7f: "pyrogram.raw.types.PhoneCall", 0x50ca4de1: "pyrogram.raw.types.PhoneCallDiscarded", 0x9d4c17c0: "pyrogram.raw.types.PhoneConnection", 0x635fe375: "pyrogram.raw.types.PhoneConnectionWebrtc", 0xfc878fc8: "pyrogram.raw.types.PhoneCallProtocol", 0xec82e140: "pyrogram.raw.types.phone.PhoneCall", 0xeea8e46e: "pyrogram.raw.types.upload.CdnFileReuploadNeeded", 0xa99fca4f: "pyrogram.raw.types.upload.CdnFile", 0xc982eaba: "pyrogram.raw.types.CdnPublicKey", 0x5725e40a: "pyrogram.raw.types.CdnConfig", 0xcad181f6: "pyrogram.raw.types.LangPackString", 0x6c47ac9f: "pyrogram.raw.types.LangPackStringPluralized", 0x2979eeb2: "pyrogram.raw.types.LangPackStringDeleted", 0xf385c1f6: "pyrogram.raw.types.LangPackDifference", 0xeeca5ce3: "pyrogram.raw.types.LangPackLanguage", 0xe6dfb825: "pyrogram.raw.types.ChannelAdminLogEventActionChangeTitle", 0x55188a2e: "pyrogram.raw.types.ChannelAdminLogEventActionChangeAbout", 0x6a4afc38: "pyrogram.raw.types.ChannelAdminLogEventActionChangeUsername", 0x434bd2af: "pyrogram.raw.types.ChannelAdminLogEventActionChangePhoto", 0x1b7907ae: "pyrogram.raw.types.ChannelAdminLogEventActionToggleInvites", 0x26ae0971: "pyrogram.raw.types.ChannelAdminLogEventActionToggleSignatures", 0xe9e82c18: "pyrogram.raw.types.ChannelAdminLogEventActionUpdatePinned", 0x709b2405: "pyrogram.raw.types.ChannelAdminLogEventActionEditMessage", 0x42e047bb: "pyrogram.raw.types.ChannelAdminLogEventActionDeleteMessage", 0x183040d3: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantJoin", 0xf89777f2: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantLeave", 0xe31c34d8: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantInvite", 0xe6d83d7e: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleBan", 0xd5676710: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleAdmin", 0xb1c3caa7: "pyrogram.raw.types.ChannelAdminLogEventActionChangeStickerSet", 0x5f5c95f1: "pyrogram.raw.types.ChannelAdminLogEventActionTogglePreHistoryHidden", 0x2df5fc0a: "pyrogram.raw.types.ChannelAdminLogEventActionDefaultBannedRights", 0x8f079643: "pyrogram.raw.types.ChannelAdminLogEventActionStopPoll", 0xa26f881b: "pyrogram.raw.types.ChannelAdminLogEventActionChangeLinkedChat", 0xe6b76ae: "pyrogram.raw.types.ChannelAdminLogEventActionChangeLocation", 0x53909779: "pyrogram.raw.types.ChannelAdminLogEventActionToggleSlowMode", 0x23209745: "pyrogram.raw.types.ChannelAdminLogEventActionStartGroupCall", 0xdb9f9140: "pyrogram.raw.types.ChannelAdminLogEventActionDiscardGroupCall", 0xf92424d2: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantMute", 0xe64429c0: "pyrogram.raw.types.ChannelAdminLogEventActionParticipantUnmute", 0x56d6a247: "pyrogram.raw.types.ChannelAdminLogEventActionToggleGroupCallSetting", 0x3b5a3e40: "pyrogram.raw.types.ChannelAdminLogEvent", 0xed8af74d: "pyrogram.raw.types.channels.AdminLogResults", 0xea107ae4: "pyrogram.raw.types.ChannelAdminLogEventsFilter", 0x5ce14175: "pyrogram.raw.types.PopularContact", 0x9e8fa6d3: "pyrogram.raw.types.messages.FavedStickersNotModified", 0xf37f2f16: "pyrogram.raw.types.messages.FavedStickers", 0x46e1d13d: "pyrogram.raw.types.RecentMeUrlUnknown", 0x8dbc3336: "pyrogram.raw.types.RecentMeUrlUser", 0xa01b22f9: "pyrogram.raw.types.RecentMeUrlChat", 0xeb49081d: "pyrogram.raw.types.RecentMeUrlChatInvite", 0xbc0a57dc: "pyrogram.raw.types.RecentMeUrlStickerSet", 0xe0310d7: "pyrogram.raw.types.help.RecentMeUrls", 0x1cc6e91f: "pyrogram.raw.types.InputSingleMedia", 0xcac943f2: "pyrogram.raw.types.WebAuthorization", 0xed56c9fc: "pyrogram.raw.types.account.WebAuthorizations", 0xa676a322: "pyrogram.raw.types.InputMessageID", 0xbad88395: "pyrogram.raw.types.InputMessageReplyTo", 0x86872538: "pyrogram.raw.types.InputMessagePinned", 0xacfa1a7e: "pyrogram.raw.types.InputMessageCallbackQuery", 0xfcaafeb7: "pyrogram.raw.types.InputDialogPeer", 0x64600527: "pyrogram.raw.types.InputDialogPeerFolder", 0xe56dbf05: "pyrogram.raw.types.DialogPeer", 0x514519e2: "pyrogram.raw.types.DialogPeerFolder", 0xd54b65d: "pyrogram.raw.types.messages.FoundStickerSetsNotModified", 0x5108d648: "pyrogram.raw.types.messages.FoundStickerSets", 0x6242c773: "pyrogram.raw.types.FileHash", 0x75588b3f: "pyrogram.raw.types.InputClientProxy", 0xe3309f7f: "pyrogram.raw.types.help.TermsOfServiceUpdateEmpty", 0x28ecf961: "pyrogram.raw.types.help.TermsOfServiceUpdate", 0x3334b0f0: "pyrogram.raw.types.InputSecureFileUploaded", 0x5367e5be: "pyrogram.raw.types.InputSecureFile", 0x64199744: "pyrogram.raw.types.SecureFileEmpty", 0xe0277a62: "pyrogram.raw.types.SecureFile", 0x8aeabec3: "pyrogram.raw.types.SecureData", 0x7d6099dd: "pyrogram.raw.types.SecurePlainPhone", 0x21ec5a5f: "pyrogram.raw.types.SecurePlainEmail", 0x9d2a81e3: "pyrogram.raw.types.SecureValueTypePersonalDetails", 0x3dac6a00: "pyrogram.raw.types.SecureValueTypePassport", 0x6e425c4: "pyrogram.raw.types.SecureValueTypeDriverLicense", 0xa0d0744b: "pyrogram.raw.types.SecureValueTypeIdentityCard", 0x99a48f23: "pyrogram.raw.types.SecureValueTypeInternalPassport", 0xcbe31e26: "pyrogram.raw.types.SecureValueTypeAddress", 0xfc36954e: "pyrogram.raw.types.SecureValueTypeUtilityBill", 0x89137c0d: "pyrogram.raw.types.SecureValueTypeBankStatement", 0x8b883488: "pyrogram.raw.types.SecureValueTypeRentalAgreement", 0x99e3806a: "pyrogram.raw.types.SecureValueTypePassportRegistration", 0xea02ec33: "pyrogram.raw.types.SecureValueTypeTemporaryRegistration", 0xb320aadb: "pyrogram.raw.types.SecureValueTypePhone", 0x8e3ca7ee: "pyrogram.raw.types.SecureValueTypeEmail", 0x187fa0ca: "pyrogram.raw.types.SecureValue", 0xdb21d0a7: "pyrogram.raw.types.InputSecureValue", 0xed1ecdb0: "pyrogram.raw.types.SecureValueHash", 0xe8a40bd9: "pyrogram.raw.types.SecureValueErrorData", 0xbe3dfa: "pyrogram.raw.types.SecureValueErrorFrontSide", 0x868a2aa5: "pyrogram.raw.types.SecureValueErrorReverseSide", 0xe537ced6: "pyrogram.raw.types.SecureValueErrorSelfie", 0x7a700873: "pyrogram.raw.types.SecureValueErrorFile", 0x666220e9: "pyrogram.raw.types.SecureValueErrorFiles", 0x869d758f: "pyrogram.raw.types.SecureValueError", 0xa1144770: "pyrogram.raw.types.SecureValueErrorTranslationFile", 0x34636dd8: "pyrogram.raw.types.SecureValueErrorTranslationFiles", 0x33f0ea47: "pyrogram.raw.types.SecureCredentialsEncrypted", 0xad2e1cd8: "pyrogram.raw.types.account.AuthorizationForm", 0x811f854f: "pyrogram.raw.types.account.SentEmailCode", 0x66afa166: "pyrogram.raw.types.help.DeepLinkInfoEmpty", 0x6a4ee832: "pyrogram.raw.types.help.DeepLinkInfo", 0x1142bd56: "pyrogram.raw.types.SavedPhoneContact", 0x4dba4501: "pyrogram.raw.types.account.Takeout", 0xd45ab096: "pyrogram.raw.types.PasswordKdfAlgoUnknown", 0x3a912d4a: "pyrogram.raw.types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow", 0x4a8537: "pyrogram.raw.types.SecurePasswordKdfAlgoUnknown", 0xbbf2dda0: "pyrogram.raw.types.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000", 0x86471d92: "pyrogram.raw.types.SecurePasswordKdfAlgoSHA512", 0x1527bcac: "pyrogram.raw.types.SecureSecretSettings", 0x9880f658: "pyrogram.raw.types.InputCheckPasswordEmpty", 0xd27ff082: "pyrogram.raw.types.InputCheckPasswordSRP", 0x829d99da: "pyrogram.raw.types.SecureRequiredType", 0x27477b4: "pyrogram.raw.types.SecureRequiredTypeOneOf", 0xbfb9f457: "pyrogram.raw.types.help.PassportConfigNotModified", 0xa098d6af: "pyrogram.raw.types.help.PassportConfig", 0x1d1b1245: "pyrogram.raw.types.InputAppEvent", 0xc0de1bd9: "pyrogram.raw.types.JsonObjectValue", 0x3f6d7b68: "pyrogram.raw.types.JsonNull", 0xc7345e6a: "pyrogram.raw.types.JsonBool", 0x2be0dfa4: "pyrogram.raw.types.JsonNumber", 0xb71e767a: "pyrogram.raw.types.JsonString", 0xf7444763: "pyrogram.raw.types.JsonArray", 0x99c1d49d: "pyrogram.raw.types.JsonObject", 0x34566b6a: "pyrogram.raw.types.PageTableCell", 0xe0c0c5e5: "pyrogram.raw.types.PageTableRow", 0x6f747657: "pyrogram.raw.types.PageCaption", 0xb92fb6cd: "pyrogram.raw.types.PageListItemText", 0x25e073fc: "pyrogram.raw.types.PageListItemBlocks", 0x5e068047: "pyrogram.raw.types.PageListOrderedItemText", 0x98dd8936: "pyrogram.raw.types.PageListOrderedItemBlocks", 0xb390dc08: "pyrogram.raw.types.PageRelatedArticle", 0x98657f0d: "pyrogram.raw.types.Page", 0x8c05f1c9: "pyrogram.raw.types.help.SupportName", 0xf3ae2eed: "pyrogram.raw.types.help.UserInfoEmpty", 0x1eb3758: "pyrogram.raw.types.help.UserInfo", 0x6ca9c2e9: "pyrogram.raw.types.PollAnswer", 0x86e18161: "pyrogram.raw.types.Poll", 0x3b6ddad2: "pyrogram.raw.types.PollAnswerVoters", 0xbadcc1a3: "pyrogram.raw.types.PollResults", 0xf041e250: "pyrogram.raw.types.ChatOnlines", 0x47a971e0: "pyrogram.raw.types.StatsURL", 0x5fb224d5: "pyrogram.raw.types.ChatAdminRights", 0x9f120418: "pyrogram.raw.types.ChatBannedRights", 0xe630b979: "pyrogram.raw.types.InputWallPaper", 0x72091c80: "pyrogram.raw.types.InputWallPaperSlug", 0x8427bbac: "pyrogram.raw.types.InputWallPaperNoFile", 0x1c199183: "pyrogram.raw.types.account.WallPapersNotModified", 0x702b65a9: "pyrogram.raw.types.account.WallPapers", 0xdebebe83: "pyrogram.raw.types.CodeSettings", 0x5086cf8: "pyrogram.raw.types.WallPaperSettings", 0xe04232f3: "pyrogram.raw.types.AutoDownloadSettings", 0x63cacf26: "pyrogram.raw.types.account.AutoDownloadSettings", 0xd5b3b9f9: "pyrogram.raw.types.EmojiKeyword", 0x236df622: "pyrogram.raw.types.EmojiKeywordDeleted", 0x5cc761bd: "pyrogram.raw.types.EmojiKeywordsDifference", 0xa575739d: "pyrogram.raw.types.EmojiURL", 0xb3fb5361: "pyrogram.raw.types.EmojiLanguage", 0xbc7fc6cd: "pyrogram.raw.types.FileLocationToBeDeprecated", 0xff544e65: "pyrogram.raw.types.Folder", 0xfbd2c296: "pyrogram.raw.types.InputFolderPeer", 0xe9baa668: "pyrogram.raw.types.FolderPeer", 0xe844ebff: "pyrogram.raw.types.messages.SearchCounter", 0x92d33a0e: "pyrogram.raw.types.UrlAuthResultRequest", 0x8f8c0e4e: "pyrogram.raw.types.UrlAuthResultAccepted", 0xa9d6db1f: "pyrogram.raw.types.UrlAuthResultDefault", 0xbfb5ad8b: "pyrogram.raw.types.ChannelLocationEmpty", 0x209b82db: "pyrogram.raw.types.ChannelLocation", 0xca461b5d: "pyrogram.raw.types.PeerLocated", 0xf8ec284b: "pyrogram.raw.types.PeerSelfLocated", 0xd072acb4: "pyrogram.raw.types.RestrictionReason", 0x3c5693e9: "pyrogram.raw.types.InputTheme", 0xf5890df1: "pyrogram.raw.types.InputThemeSlug", 0x28f1114: "pyrogram.raw.types.Theme", 0xf41eb622: "pyrogram.raw.types.account.ThemesNotModified", 0x7f676421: "pyrogram.raw.types.account.Themes", 0x629f1980: "pyrogram.raw.types.auth.LoginToken", 0x68e9916: "pyrogram.raw.types.auth.LoginTokenMigrateTo", 0x390d5c5e: "pyrogram.raw.types.auth.LoginTokenSuccess", 0x57e28221: "pyrogram.raw.types.account.ContentSettings", 0xa927fec5: "pyrogram.raw.types.messages.InactiveChats", 0xc3a12462: "pyrogram.raw.types.BaseThemeClassic", 0xfbd81688: "pyrogram.raw.types.BaseThemeDay", 0xb7b31ea8: "pyrogram.raw.types.BaseThemeNight", 0x6d5f77ee: "pyrogram.raw.types.BaseThemeTinted", 0x5b11125a: "pyrogram.raw.types.BaseThemeArctic", 0xbd507cd1: "pyrogram.raw.types.InputThemeSettings", 0x9c14984a: "pyrogram.raw.types.ThemeSettings", 0x54b56617: "pyrogram.raw.types.WebPageAttributeTheme", 0xa28e5559: "pyrogram.raw.types.MessageUserVote", 0x36377430: "pyrogram.raw.types.MessageUserVoteInputOption", 0xe8fe0de: "pyrogram.raw.types.MessageUserVoteMultiple", 0x823f649: "pyrogram.raw.types.messages.VotesList", 0xf568028a: "pyrogram.raw.types.BankCardOpenUrl", 0x3e24e573: "pyrogram.raw.types.payments.BankCardData", 0x7438f7e8: "pyrogram.raw.types.DialogFilter", 0x77744d4a: "pyrogram.raw.types.DialogFilterSuggested", 0xb637edaf: "pyrogram.raw.types.StatsDateRangeDays", 0xcb43acde: "pyrogram.raw.types.StatsAbsValueAndPrev", 0xcbce2fe0: "pyrogram.raw.types.StatsPercentValue", 0x4a27eb2d: "pyrogram.raw.types.StatsGraphAsync", 0xbedc9822: "pyrogram.raw.types.StatsGraphError", 0x8ea464b6: "pyrogram.raw.types.StatsGraph", 0xad4fc9bd: "pyrogram.raw.types.MessageInteractionCounters", 0xbdf78394: "pyrogram.raw.types.stats.BroadcastStats", 0x98f6ac75: "pyrogram.raw.types.help.PromoDataEmpty", 0x8c39793f: "pyrogram.raw.types.help.PromoData", 0xe831c556: "pyrogram.raw.types.VideoSize", 0x18f3d0f7: "pyrogram.raw.types.StatsGroupTopPoster", 0x6014f412: "pyrogram.raw.types.StatsGroupTopAdmin", 0x31962a4c: "pyrogram.raw.types.StatsGroupTopInviter", 0xef7ff916: "pyrogram.raw.types.stats.MegagroupStats", 0xbea2f424: "pyrogram.raw.types.GlobalPrivacySettings", 0x4203c5ef: "pyrogram.raw.types.help.CountryCode", 0xc3878e23: "pyrogram.raw.types.help.Country", 0x93cc1f32: "pyrogram.raw.types.help.CountriesListNotModified", 0x87d0759e: "pyrogram.raw.types.help.CountriesList", 0x455b853d: "pyrogram.raw.types.MessageViews", 0xb6c4f543: "pyrogram.raw.types.messages.MessageViews", 0xf5dd8f9d: "pyrogram.raw.types.messages.DiscussionMessage", 0xa6d57763: "pyrogram.raw.types.MessageReplyHeader", 0x4128faac: "pyrogram.raw.types.MessageReplies", 0xe8fd8014: "pyrogram.raw.types.PeerBlocked", 0x8999f295: "pyrogram.raw.types.stats.MessageStats", 0x7780bcb4: "pyrogram.raw.types.GroupCallDiscarded", 0x55903081: "pyrogram.raw.types.GroupCall", 0xd8aa840f: "pyrogram.raw.types.InputGroupCall", 0x64c62a15: "pyrogram.raw.types.GroupCallParticipant", 0x66ab0bfc: "pyrogram.raw.types.phone.GroupCall", 0x9cfeb92d: "pyrogram.raw.types.phone.GroupParticipants", 0x3081ed9d: "pyrogram.raw.types.InlineQueryPeerTypeSameBotPM", 0x833c0fac: "pyrogram.raw.types.InlineQueryPeerTypePM", 0xd766c50a: "pyrogram.raw.types.InlineQueryPeerTypeChat", 0x5ec4be43: "pyrogram.raw.types.InlineQueryPeerTypeMegagroup", 0x6334ee9a: "pyrogram.raw.types.InlineQueryPeerTypeBroadcast", 0x1662af0b: "pyrogram.raw.types.messages.HistoryImport", 0x5e0fb7b9: "pyrogram.raw.types.messages.HistoryImportParsed", 0xef8d3e6c: "pyrogram.raw.types.messages.AffectedFoundMessages", 0xcb9f372d: "pyrogram.raw.functions.InvokeAfterMsg", 0x3dc4b4f0: "pyrogram.raw.functions.InvokeAfterMsgs", 0xc1cd5ea9: "pyrogram.raw.functions.InitConnection", 0xda9b0d0d: "pyrogram.raw.functions.InvokeWithLayer", 0xbf9459b7: "pyrogram.raw.functions.InvokeWithoutUpdates", 0x365275f2: "pyrogram.raw.functions.InvokeWithMessagesRange", 0xaca9fd2e: "pyrogram.raw.functions.InvokeWithTakeout", 0xa677244f: "pyrogram.raw.functions.auth.SendCode", 0x80eee427: "pyrogram.raw.functions.auth.SignUp", 0xbcd51581: "pyrogram.raw.functions.auth.SignIn", 0x5717da40: "pyrogram.raw.functions.auth.LogOut", 0x9fab0d1a: "pyrogram.raw.functions.auth.ResetAuthorizations", 0xe5bfffcd: "pyrogram.raw.functions.auth.ExportAuthorization", 0xe3ef9613: "pyrogram.raw.functions.auth.ImportAuthorization", 0xcdd42a05: "pyrogram.raw.functions.auth.BindTempAuthKey", 0x67a3ff2c: "pyrogram.raw.functions.auth.ImportBotAuthorization", 0xd18b4d16: "pyrogram.raw.functions.auth.CheckPassword", 0xd897bc66: "pyrogram.raw.functions.auth.RequestPasswordRecovery", 0x4ea56e92: "pyrogram.raw.functions.auth.RecoverPassword", 0x3ef1a9bf: "pyrogram.raw.functions.auth.ResendCode", 0x1f040578: "pyrogram.raw.functions.auth.CancelCode", 0x8e48a188: "pyrogram.raw.functions.auth.DropTempAuthKeys", 0xb1b41517: "pyrogram.raw.functions.auth.ExportLoginToken", 0x95ac5ce4: "pyrogram.raw.functions.auth.ImportLoginToken", 0xe894ad4d: "pyrogram.raw.functions.auth.AcceptLoginToken", 0x68976c6f: "pyrogram.raw.functions.account.RegisterDevice", 0x3076c4bf: "pyrogram.raw.functions.account.UnregisterDevice", 0x84be5b93: "pyrogram.raw.functions.account.UpdateNotifySettings", 0x12b3ad31: "pyrogram.raw.functions.account.GetNotifySettings", 0xdb7e1747: "pyrogram.raw.functions.account.ResetNotifySettings", 0x78515775: "pyrogram.raw.functions.account.UpdateProfile", 0x6628562c: "pyrogram.raw.functions.account.UpdateStatus", 0xaabb1763: "pyrogram.raw.functions.account.GetWallPapers", 0xae189d5f: "pyrogram.raw.functions.account.ReportPeer", 0x2714d86c: "pyrogram.raw.functions.account.CheckUsername", 0x3e0bdd7c: "pyrogram.raw.functions.account.UpdateUsername", 0xdadbc950: "pyrogram.raw.functions.account.GetPrivacy", 0xc9f81ce8: "pyrogram.raw.functions.account.SetPrivacy", 0x418d4e0b: "pyrogram.raw.functions.account.DeleteAccount", 0x8fc711d: "pyrogram.raw.functions.account.GetAccountTTL", 0x2442485e: "pyrogram.raw.functions.account.SetAccountTTL", 0x82574ae5: "pyrogram.raw.functions.account.SendChangePhoneCode", 0x70c32edb: "pyrogram.raw.functions.account.ChangePhone", 0x38df3532: "pyrogram.raw.functions.account.UpdateDeviceLocked", 0xe320c158: "pyrogram.raw.functions.account.GetAuthorizations", 0xdf77f3bc: "pyrogram.raw.functions.account.ResetAuthorization", 0x548a30f5: "pyrogram.raw.functions.account.GetPassword", 0x9cd4eaf9: "pyrogram.raw.functions.account.GetPasswordSettings", 0xa59b102f: "pyrogram.raw.functions.account.UpdatePasswordSettings", 0x1b3faa88: "pyrogram.raw.functions.account.SendConfirmPhoneCode", 0x5f2178c3: "pyrogram.raw.functions.account.ConfirmPhone", 0x449e0b51: "pyrogram.raw.functions.account.GetTmpPassword", 0x182e6d6f: "pyrogram.raw.functions.account.GetWebAuthorizations", 0x2d01b9ef: "pyrogram.raw.functions.account.ResetWebAuthorization", 0x682d2594: "pyrogram.raw.functions.account.ResetWebAuthorizations", 0xb288bc7d: "pyrogram.raw.functions.account.GetAllSecureValues", 0x73665bc2: "pyrogram.raw.functions.account.GetSecureValue", 0x899fe31d: "pyrogram.raw.functions.account.SaveSecureValue", 0xb880bc4b: "pyrogram.raw.functions.account.DeleteSecureValue", 0xb86ba8e1: "pyrogram.raw.functions.account.GetAuthorizationForm", 0xe7027c94: "pyrogram.raw.functions.account.AcceptAuthorization", 0xa5a356f9: "pyrogram.raw.functions.account.SendVerifyPhoneCode", 0x4dd3a7f6: "pyrogram.raw.functions.account.VerifyPhone", 0x7011509f: "pyrogram.raw.functions.account.SendVerifyEmailCode", 0xecba39db: "pyrogram.raw.functions.account.VerifyEmail", 0xf05b4804: "pyrogram.raw.functions.account.InitTakeoutSession", 0x1d2652ee: "pyrogram.raw.functions.account.FinishTakeoutSession", 0x8fdf1920: "pyrogram.raw.functions.account.ConfirmPasswordEmail", 0x7a7f2a15: "pyrogram.raw.functions.account.ResendPasswordEmail", 0xc1cbd5b6: "pyrogram.raw.functions.account.CancelPasswordEmail", 0x9f07c728: "pyrogram.raw.functions.account.GetContactSignUpNotification", 0xcff43f61: "pyrogram.raw.functions.account.SetContactSignUpNotification", 0x53577479: "pyrogram.raw.functions.account.GetNotifyExceptions", 0xfc8ddbea: "pyrogram.raw.functions.account.GetWallPaper", 0xdd853661: "pyrogram.raw.functions.account.UploadWallPaper", 0x6c5a5b37: "pyrogram.raw.functions.account.SaveWallPaper", 0xfeed5769: "pyrogram.raw.functions.account.InstallWallPaper", 0xbb3b9804: "pyrogram.raw.functions.account.ResetWallPapers", 0x56da0b3f: "pyrogram.raw.functions.account.GetAutoDownloadSettings", 0x76f36233: "pyrogram.raw.functions.account.SaveAutoDownloadSettings", 0x1c3db333: "pyrogram.raw.functions.account.UploadTheme", 0x8432c21f: "pyrogram.raw.functions.account.CreateTheme", 0x5cb367d5: "pyrogram.raw.functions.account.UpdateTheme", 0xf257106c: "pyrogram.raw.functions.account.SaveTheme", 0x7ae43737: "pyrogram.raw.functions.account.InstallTheme", 0x8d9d742b: "pyrogram.raw.functions.account.GetTheme", 0x285946f8: "pyrogram.raw.functions.account.GetThemes", 0xb574b16b: "pyrogram.raw.functions.account.SetContentSettings", 0x8b9b4dae: "pyrogram.raw.functions.account.GetContentSettings", 0x65ad71dc: "pyrogram.raw.functions.account.GetMultiWallPapers", 0xeb2b4cf6: "pyrogram.raw.functions.account.GetGlobalPrivacySettings", 0x1edaaac2: "pyrogram.raw.functions.account.SetGlobalPrivacySettings", 0xd91a548: "pyrogram.raw.functions.users.GetUsers", 0xca30a5b1: "pyrogram.raw.functions.users.GetFullUser", 0x90c894b5: "pyrogram.raw.functions.users.SetSecureValueErrors", 0x2caa4a42: "pyrogram.raw.functions.contacts.GetContactIDs", 0xc4a353ee: "pyrogram.raw.functions.contacts.GetStatuses", 0xc023849f: "pyrogram.raw.functions.contacts.GetContacts", 0x2c800be5: "pyrogram.raw.functions.contacts.ImportContacts", 0x96a0e00: "pyrogram.raw.functions.contacts.DeleteContacts", 0x1013fd9e: "pyrogram.raw.functions.contacts.DeleteByPhones", 0x68cc1411: "pyrogram.raw.functions.contacts.Block", 0xbea65d50: "pyrogram.raw.functions.contacts.Unblock", 0xf57c350f: "pyrogram.raw.functions.contacts.GetBlocked", 0x11f812d8: "pyrogram.raw.functions.contacts.Search", 0xf93ccba3: "pyrogram.raw.functions.contacts.ResolveUsername", 0xd4982db5: "pyrogram.raw.functions.contacts.GetTopPeers", 0x1ae373ac: "pyrogram.raw.functions.contacts.ResetTopPeerRating", 0x879537f1: "pyrogram.raw.functions.contacts.ResetSaved", 0x82f1e39f: "pyrogram.raw.functions.contacts.GetSaved", 0x8514bdda: "pyrogram.raw.functions.contacts.ToggleTopPeers", 0xe8f463d0: "pyrogram.raw.functions.contacts.AddContact", 0xf831a20f: "pyrogram.raw.functions.contacts.AcceptContact", 0xd348bc44: "pyrogram.raw.functions.contacts.GetLocated", 0x29a8962c: "pyrogram.raw.functions.contacts.BlockFromReplies", 0x63c66506: "pyrogram.raw.functions.messages.GetMessages", 0xa0ee3b73: "pyrogram.raw.functions.messages.GetDialogs", 0xdcbb8260: "pyrogram.raw.functions.messages.GetHistory", 0xc352eec: "pyrogram.raw.functions.messages.Search", 0xe306d3a: "pyrogram.raw.functions.messages.ReadHistory", 0x1c015b09: "pyrogram.raw.functions.messages.DeleteHistory", 0xe58e95d2: "pyrogram.raw.functions.messages.DeleteMessages", 0x5a954c0: "pyrogram.raw.functions.messages.ReceivedMessages", 0x58943ee2: "pyrogram.raw.functions.messages.SetTyping", 0x520c3870: "pyrogram.raw.functions.messages.SendMessage", 0x3491eba9: "pyrogram.raw.functions.messages.SendMedia", 0xd9fee60e: "pyrogram.raw.functions.messages.ForwardMessages", 0xcf1592db: "pyrogram.raw.functions.messages.ReportSpam", 0x3672e09c: "pyrogram.raw.functions.messages.GetPeerSettings", 0xbd82b658: "pyrogram.raw.functions.messages.Report", 0x3c6aa187: "pyrogram.raw.functions.messages.GetChats", 0x3b831c66: "pyrogram.raw.functions.messages.GetFullChat", 0xdc452855: "pyrogram.raw.functions.messages.EditChatTitle", 0xca4c79d8: "pyrogram.raw.functions.messages.EditChatPhoto", 0xf9a0aa09: "pyrogram.raw.functions.messages.AddChatUser", 0xc534459a: "pyrogram.raw.functions.messages.DeleteChatUser", 0x9cb126e: "pyrogram.raw.functions.messages.CreateChat", 0x26cf8950: "pyrogram.raw.functions.messages.GetDhConfig", 0xf64daf43: "pyrogram.raw.functions.messages.RequestEncryption", 0x3dbc0415: "pyrogram.raw.functions.messages.AcceptEncryption", 0xf393aea0: "pyrogram.raw.functions.messages.DiscardEncryption", 0x791451ed: "pyrogram.raw.functions.messages.SetEncryptedTyping", 0x7f4b690a: "pyrogram.raw.functions.messages.ReadEncryptedHistory", 0x44fa7a15: "pyrogram.raw.functions.messages.SendEncrypted", 0x5559481d: "pyrogram.raw.functions.messages.SendEncryptedFile", 0x32d439a4: "pyrogram.raw.functions.messages.SendEncryptedService", 0x55a5bb66: "pyrogram.raw.functions.messages.ReceivedQueue", 0x4b0c8c0f: "pyrogram.raw.functions.messages.ReportEncryptedSpam", 0x36a73f77: "pyrogram.raw.functions.messages.ReadMessageContents", 0x43d4f2c: "pyrogram.raw.functions.messages.GetStickers", 0x1c9618b1: "pyrogram.raw.functions.messages.GetAllStickers", 0x8b68b0cc: "pyrogram.raw.functions.messages.GetWebPagePreview", 0xdf7534c: "pyrogram.raw.functions.messages.ExportChatInvite", 0x3eadb1bb: "pyrogram.raw.functions.messages.CheckChatInvite", 0x6c50051c: "pyrogram.raw.functions.messages.ImportChatInvite", 0x2619a90e: "pyrogram.raw.functions.messages.GetStickerSet", 0xc78fe460: "pyrogram.raw.functions.messages.InstallStickerSet", 0xf96e55de: "pyrogram.raw.functions.messages.UninstallStickerSet", 0xe6df7378: "pyrogram.raw.functions.messages.StartBot", 0x5784d3e1: "pyrogram.raw.functions.messages.GetMessagesViews", 0xa9e69f2e: "pyrogram.raw.functions.messages.EditChatAdmin", 0x15a3b8e3: "pyrogram.raw.functions.messages.MigrateChat", 0x4bc6589a: "pyrogram.raw.functions.messages.SearchGlobal", 0x78337739: "pyrogram.raw.functions.messages.ReorderStickerSets", 0x338e2464: "pyrogram.raw.functions.messages.GetDocumentByHash", 0x83bf3d52: "pyrogram.raw.functions.messages.GetSavedGifs", 0x327a30cb: "pyrogram.raw.functions.messages.SaveGif", 0x514e999d: "pyrogram.raw.functions.messages.GetInlineBotResults", 0xeb5ea206: "pyrogram.raw.functions.messages.SetInlineBotResults", 0x220815b0: "pyrogram.raw.functions.messages.SendInlineBotResult", 0xfda68d36: "pyrogram.raw.functions.messages.GetMessageEditData", 0x48f71778: "pyrogram.raw.functions.messages.EditMessage", 0x83557dba: "pyrogram.raw.functions.messages.EditInlineBotMessage", 0x9342ca07: "pyrogram.raw.functions.messages.GetBotCallbackAnswer", 0xd58f130a: "pyrogram.raw.functions.messages.SetBotCallbackAnswer", 0xe470bcfd: "pyrogram.raw.functions.messages.GetPeerDialogs", 0xbc39e14b: "pyrogram.raw.functions.messages.SaveDraft", 0x6a3f8d65: "pyrogram.raw.functions.messages.GetAllDrafts", 0x2dacca4f: "pyrogram.raw.functions.messages.GetFeaturedStickers", 0x5b118126: "pyrogram.raw.functions.messages.ReadFeaturedStickers", 0x5ea192c9: "pyrogram.raw.functions.messages.GetRecentStickers", 0x392718f8: "pyrogram.raw.functions.messages.SaveRecentSticker", 0x8999602d: "pyrogram.raw.functions.messages.ClearRecentStickers", 0x57f17692: "pyrogram.raw.functions.messages.GetArchivedStickers", 0x65b8c79f: "pyrogram.raw.functions.messages.GetMaskStickers", 0xcc5b67cc: "pyrogram.raw.functions.messages.GetAttachedStickers", 0x8ef8ecc0: "pyrogram.raw.functions.messages.SetGameScore", 0x15ad9f64: "pyrogram.raw.functions.messages.SetInlineGameScore", 0xe822649d: "pyrogram.raw.functions.messages.GetGameHighScores", 0xf635e1b: "pyrogram.raw.functions.messages.GetInlineGameHighScores", 0xd0a48c4: "pyrogram.raw.functions.messages.GetCommonChats", 0xeba80ff0: "pyrogram.raw.functions.messages.GetAllChats", 0x32ca8f91: "pyrogram.raw.functions.messages.GetWebPage", 0xa731e257: "pyrogram.raw.functions.messages.ToggleDialogPin", 0x3b1adf37: "pyrogram.raw.functions.messages.ReorderPinnedDialogs", 0xd6b94df2: "pyrogram.raw.functions.messages.GetPinnedDialogs", 0xe5f672fa: "pyrogram.raw.functions.messages.SetBotShippingResults", 0x9c2dd95: "pyrogram.raw.functions.messages.SetBotPrecheckoutResults", 0x519bc2b1: "pyrogram.raw.functions.messages.UploadMedia", 0xc97df020: "pyrogram.raw.functions.messages.SendScreenshotNotification", 0x21ce0b0e: "pyrogram.raw.functions.messages.GetFavedStickers", 0xb9ffc55b: "pyrogram.raw.functions.messages.FaveSticker", 0x46578472: "pyrogram.raw.functions.messages.GetUnreadMentions", 0xf0189d3: "pyrogram.raw.functions.messages.ReadMentions", 0xbbc45b09: "pyrogram.raw.functions.messages.GetRecentLocations", 0xcc0110cb: "pyrogram.raw.functions.messages.SendMultiMedia", 0x5057c497: "pyrogram.raw.functions.messages.UploadEncryptedFile", 0xc2b7d08b: "pyrogram.raw.functions.messages.SearchStickerSets", 0x1cff7e08: "pyrogram.raw.functions.messages.GetSplitRanges", 0xc286d98f: "pyrogram.raw.functions.messages.MarkDialogUnread", 0x22e24e22: "pyrogram.raw.functions.messages.GetDialogUnreadMarks", 0x7e58ee9c: "pyrogram.raw.functions.messages.ClearAllDrafts", 0xd2aaf7ec: "pyrogram.raw.functions.messages.UpdatePinnedMessage", 0x10ea6184: "pyrogram.raw.functions.messages.SendVote", 0x73bb643b: "pyrogram.raw.functions.messages.GetPollResults", 0x6e2be050: "pyrogram.raw.functions.messages.GetOnlines", 0x812c2ae6: "pyrogram.raw.functions.messages.GetStatsURL", 0xdef60797: "pyrogram.raw.functions.messages.EditChatAbout", 0xa5866b41: "pyrogram.raw.functions.messages.EditChatDefaultBannedRights", 0x35a0e062: "pyrogram.raw.functions.messages.GetEmojiKeywords", 0x1508b6af: "pyrogram.raw.functions.messages.GetEmojiKeywordsDifference", 0x4e9963b2: "pyrogram.raw.functions.messages.GetEmojiKeywordsLanguages", 0xd5b10c26: "pyrogram.raw.functions.messages.GetEmojiURL", 0x732eef00: "pyrogram.raw.functions.messages.GetSearchCounters", 0xe33f5613: "pyrogram.raw.functions.messages.RequestUrlAuth", 0xf729ea98: "pyrogram.raw.functions.messages.AcceptUrlAuth", 0x4facb138: "pyrogram.raw.functions.messages.HidePeerSettingsBar", 0xe2c2685b: "pyrogram.raw.functions.messages.GetScheduledHistory", 0xbdbb0464: "pyrogram.raw.functions.messages.GetScheduledMessages", 0xbd38850a: "pyrogram.raw.functions.messages.SendScheduledMessages", 0x59ae2b16: "pyrogram.raw.functions.messages.DeleteScheduledMessages", 0xb86e380e: "pyrogram.raw.functions.messages.GetPollVotes", 0xb5052fea: "pyrogram.raw.functions.messages.ToggleStickerSets", 0xf19ed96d: "pyrogram.raw.functions.messages.GetDialogFilters", 0xa29cd42c: "pyrogram.raw.functions.messages.GetSuggestedDialogFilters", 0x1ad4a04a: "pyrogram.raw.functions.messages.UpdateDialogFilter", 0xc563c1e4: "pyrogram.raw.functions.messages.UpdateDialogFiltersOrder", 0x5fe7025b: "pyrogram.raw.functions.messages.GetOldFeaturedStickers", 0x24b581ba: "pyrogram.raw.functions.messages.GetReplies", 0x446972fd: "pyrogram.raw.functions.messages.GetDiscussionMessage", 0xf731a9f4: "pyrogram.raw.functions.messages.ReadDiscussion", 0xf025bc8b: "pyrogram.raw.functions.messages.UnpinAllMessages", 0x83247d11: "pyrogram.raw.functions.messages.DeleteChat", 0xf9cbe409: "pyrogram.raw.functions.messages.DeletePhoneCallHistory", 0x43fe19f3: "pyrogram.raw.functions.messages.CheckHistoryImport", 0x34090c3b: "pyrogram.raw.functions.messages.InitHistoryImport", 0x2a862092: "pyrogram.raw.functions.messages.UploadImportedMedia", 0xb43df344: "pyrogram.raw.functions.messages.StartHistoryImport", 0xedd4882a: "pyrogram.raw.functions.updates.GetState", 0x25939651: "pyrogram.raw.functions.updates.GetDifference", 0x3173d78: "pyrogram.raw.functions.updates.GetChannelDifference", 0x72d4742c: "pyrogram.raw.functions.photos.UpdateProfilePhoto", 0x89f30f69: "pyrogram.raw.functions.photos.UploadProfilePhoto", 0x87cf7f2f: "pyrogram.raw.functions.photos.DeletePhotos", 0x91cd32a8: "pyrogram.raw.functions.photos.GetUserPhotos", 0xb304a621: "pyrogram.raw.functions.upload.SaveFilePart", 0xb15a9afc: "pyrogram.raw.functions.upload.GetFile", 0xde7b673d: "pyrogram.raw.functions.upload.SaveBigFilePart", 0x24e6818d: "pyrogram.raw.functions.upload.GetWebFile", 0x2000bcc3: "pyrogram.raw.functions.upload.GetCdnFile", 0x9b2754a8: "pyrogram.raw.functions.upload.ReuploadCdnFile", 0x4da54231: "pyrogram.raw.functions.upload.GetCdnFileHashes", 0xc7025931: "pyrogram.raw.functions.upload.GetFileHashes", 0xc4f9186b: "pyrogram.raw.functions.help.GetConfig", 0x1fb33026: "pyrogram.raw.functions.help.GetNearestDc", 0x522d5a7d: "pyrogram.raw.functions.help.GetAppUpdate", 0x4d392343: "pyrogram.raw.functions.help.GetInviteText", 0x9cdf08cd: "pyrogram.raw.functions.help.GetSupport", 0x9010ef6f: "pyrogram.raw.functions.help.GetAppChangelog", 0xec22cfcd: "pyrogram.raw.functions.help.SetBotUpdatesStatus", 0x52029342: "pyrogram.raw.functions.help.GetCdnConfig", 0x3dc0f114: "pyrogram.raw.functions.help.GetRecentMeUrls", 0x2ca51fd1: "pyrogram.raw.functions.help.GetTermsOfServiceUpdate", 0xee72f79a: "pyrogram.raw.functions.help.AcceptTermsOfService", 0x3fedc75f: "pyrogram.raw.functions.help.GetDeepLinkInfo", 0x98914110: "pyrogram.raw.functions.help.GetAppConfig", 0x6f02f748: "pyrogram.raw.functions.help.SaveAppLog", 0xc661ad08: "pyrogram.raw.functions.help.GetPassportConfig", 0xd360e72c: "pyrogram.raw.functions.help.GetSupportName", 0x38a08d3: "pyrogram.raw.functions.help.GetUserInfo", 0x66b91b70: "pyrogram.raw.functions.help.EditUserInfo", 0xc0977421: "pyrogram.raw.functions.help.GetPromoData", 0x1e251c95: "pyrogram.raw.functions.help.HidePromoData", 0x77fa99f: "pyrogram.raw.functions.help.DismissSuggestion", 0x735787a8: "pyrogram.raw.functions.help.GetCountriesList", 0xcc104937: "pyrogram.raw.functions.channels.ReadHistory", 0x84c1fd4e: "pyrogram.raw.functions.channels.DeleteMessages", 0xd10dd71b: "pyrogram.raw.functions.channels.DeleteUserHistory", 0xfe087810: "pyrogram.raw.functions.channels.ReportSpam", 0xad8c9a23: "pyrogram.raw.functions.channels.GetMessages", 0x123e05e9: "pyrogram.raw.functions.channels.GetParticipants", 0x546dd7a6: "pyrogram.raw.functions.channels.GetParticipant", 0xa7f6bbb: "pyrogram.raw.functions.channels.GetChannels", 0x8736a09: "pyrogram.raw.functions.channels.GetFullChannel", 0x3d5fb10f: "pyrogram.raw.functions.channels.CreateChannel", 0xd33c8902: "pyrogram.raw.functions.channels.EditAdmin", 0x566decd0: "pyrogram.raw.functions.channels.EditTitle", 0xf12e57c9: "pyrogram.raw.functions.channels.EditPhoto", 0x10e6bd2c: "pyrogram.raw.functions.channels.CheckUsername", 0x3514b3de: "pyrogram.raw.functions.channels.UpdateUsername", 0x24b524c5: "pyrogram.raw.functions.channels.JoinChannel", 0xf836aa95: "pyrogram.raw.functions.channels.LeaveChannel", 0x199f3a6c: "pyrogram.raw.functions.channels.InviteToChannel", 0xc0111fe3: "pyrogram.raw.functions.channels.DeleteChannel", 0xe63fadeb: "pyrogram.raw.functions.channels.ExportMessageLink", 0x1f69b606: "pyrogram.raw.functions.channels.ToggleSignatures", 0xf8b036af: "pyrogram.raw.functions.channels.GetAdminedPublicChannels", 0x72796912: "pyrogram.raw.functions.channels.EditBanned", 0x33ddf480: "pyrogram.raw.functions.channels.GetAdminLog", 0xea8ca4f9: "pyrogram.raw.functions.channels.SetStickers", 0xeab5dc38: "pyrogram.raw.functions.channels.ReadMessageContents", 0xaf369d42: "pyrogram.raw.functions.channels.DeleteHistory", 0xeabbb94c: "pyrogram.raw.functions.channels.TogglePreHistoryHidden", 0x8341ecc0: "pyrogram.raw.functions.channels.GetLeftChannels", 0xf5dad378: "pyrogram.raw.functions.channels.GetGroupsForDiscussion", 0x40582bb2: "pyrogram.raw.functions.channels.SetDiscussionGroup", 0x8f38cd1f: "pyrogram.raw.functions.channels.EditCreator", 0x58e63f6d: "pyrogram.raw.functions.channels.EditLocation", 0xedd49ef0: "pyrogram.raw.functions.channels.ToggleSlowMode", 0x11e831ee: "pyrogram.raw.functions.channels.GetInactiveChannels", 0xaa2769ed: "pyrogram.raw.functions.bots.SendCustomRequest", 0xe6213f4d: "pyrogram.raw.functions.bots.AnswerWebhookJSONQuery", 0x805d46f6: "pyrogram.raw.functions.bots.SetBotCommands", 0x99f09745: "pyrogram.raw.functions.payments.GetPaymentForm", 0xa092a980: "pyrogram.raw.functions.payments.GetPaymentReceipt", 0x770a8e74: "pyrogram.raw.functions.payments.ValidateRequestedInfo", 0x2b8879b3: "pyrogram.raw.functions.payments.SendPaymentForm", 0x227d824b: "pyrogram.raw.functions.payments.GetSavedInfo", 0xd83d70c1: "pyrogram.raw.functions.payments.ClearSavedInfo", 0x2e79d779: "pyrogram.raw.functions.payments.GetBankCardData", 0xf1036780: "pyrogram.raw.functions.stickers.CreateStickerSet", 0xf7760f51: "pyrogram.raw.functions.stickers.RemoveStickerFromSet", 0xffb6d4ca: "pyrogram.raw.functions.stickers.ChangeStickerPosition", 0x8653febe: "pyrogram.raw.functions.stickers.AddStickerToSet", 0x9a364e30: "pyrogram.raw.functions.stickers.SetStickerSetThumb", 0x55451fa9: "pyrogram.raw.functions.phone.GetCallConfig", 0x42ff96ed: "pyrogram.raw.functions.phone.RequestCall", 0x3bd2b4a0: "pyrogram.raw.functions.phone.AcceptCall", 0x2efe1722: "pyrogram.raw.functions.phone.ConfirmCall", 0x17d54f61: "pyrogram.raw.functions.phone.ReceivedCall", 0xb2cbc1c0: "pyrogram.raw.functions.phone.DiscardCall", 0x59ead627: "pyrogram.raw.functions.phone.SetCallRating", 0x277add7e: "pyrogram.raw.functions.phone.SaveCallDebug", 0xff7a9383: "pyrogram.raw.functions.phone.SendSignalingData", 0xbd3dabe0: "pyrogram.raw.functions.phone.CreateGroupCall", 0x5f9c8e62: "pyrogram.raw.functions.phone.JoinGroupCall", 0x500377f9: "pyrogram.raw.functions.phone.LeaveGroupCall", 0xa5e76cd8: "pyrogram.raw.functions.phone.EditGroupCallMember", 0x7b393160: "pyrogram.raw.functions.phone.InviteToGroupCall", 0x7a777135: "pyrogram.raw.functions.phone.DiscardGroupCall", 0x74bbb43d: "pyrogram.raw.functions.phone.ToggleGroupCallSettings", 0xc7cb017: "pyrogram.raw.functions.phone.GetGroupCall", 0xc9f1d285: "pyrogram.raw.functions.phone.GetGroupParticipants", 0xb74a7bea: "pyrogram.raw.functions.phone.CheckGroupCall", 0xf2f2330a: "pyrogram.raw.functions.langpack.GetLangPack", 0xefea3803: "pyrogram.raw.functions.langpack.GetStrings", 0xcd984aa5: "pyrogram.raw.functions.langpack.GetDifference", 0x42c6978f: "pyrogram.raw.functions.langpack.GetLanguages", 0x6a596502: "pyrogram.raw.functions.langpack.GetLanguage", 0x6847d0ab: "pyrogram.raw.functions.folders.EditPeerFolders", 0x1c295881: "pyrogram.raw.functions.folders.DeleteFolder", 0xab42441a: "pyrogram.raw.functions.stats.GetBroadcastStats", 0x621d5fa0: "pyrogram.raw.functions.stats.LoadAsyncGraph", 0xdcdf8607: "pyrogram.raw.functions.stats.GetMegagroupStats", 0x5630281b: "pyrogram.raw.functions.stats.GetMessagePublicForwards", 0xb6e0a3f5: "pyrogram.raw.functions.stats.GetMessageStats", 0xbc799737: "pyrogram.raw.core.BoolFalse", 0x997275b5: "pyrogram.raw.core.BoolTrue", 0x1cb5c415: "pyrogram.raw.core.Vector", 0x73f1f8dc: "pyrogram.raw.core.MsgContainer", 0xae500895: "pyrogram.raw.core.FutureSalts", 0x0949d9dc: "pyrogram.raw.core.FutureSalt", 0x3072cfa1: "pyrogram.raw.core.GzipPacked", 0x5bb8e511: "pyrogram.raw.core.Message", }
layer = 123 objects = {85337187: 'pyrogram.raw.types.ResPQ', 2211011308: 'pyrogram.raw.types.PQInnerData', 2851430293: 'pyrogram.raw.types.PQInnerDataDc', 1013613780: 'pyrogram.raw.types.PQInnerDataTemp', 1459478408: 'pyrogram.raw.types.PQInnerDataTempDc', 1973679973: 'pyrogram.raw.types.BindAuthKeyInner', 2043348061: 'pyrogram.raw.types.ServerDHParamsFail', 3504867164: 'pyrogram.raw.types.ServerDHParamsOk', 3045658042: 'pyrogram.raw.types.ServerDHInnerData', 1715713620: 'pyrogram.raw.types.ClientDHInnerData', 1003222836: 'pyrogram.raw.types.DhGenOk', 1188831161: 'pyrogram.raw.types.DhGenRetry', 2795351554: 'pyrogram.raw.types.DhGenFail', 4133544404: 'pyrogram.raw.types.DestroyAuthKeyOk', 178201177: 'pyrogram.raw.types.DestroyAuthKeyNone', 3926956819: 'pyrogram.raw.types.DestroyAuthKeyFail', 1615239032: 'pyrogram.raw.functions.ReqPq', 3195965169: 'pyrogram.raw.functions.ReqPqMulti', 3608339646: 'pyrogram.raw.functions.ReqDHParams', 4110704415: 'pyrogram.raw.functions.SetClientDHParams', 3510849888: 'pyrogram.raw.functions.DestroyAuthKey', 1658238041: 'pyrogram.raw.types.MsgsAck', 2817521681: 'pyrogram.raw.types.BadMsgNotification', 3987424379: 'pyrogram.raw.types.BadServerSalt', 3664378706: 'pyrogram.raw.types.MsgsStateReq', 81704317: 'pyrogram.raw.types.MsgsStateInfo', 2361446705: 'pyrogram.raw.types.MsgsAllInfo', 661470918: 'pyrogram.raw.types.MsgDetailedInfo', 2157819615: 'pyrogram.raw.types.MsgNewDetailedInfo', 2105940488: 'pyrogram.raw.types.MsgResendReq', 2249243371: 'pyrogram.raw.types.MsgResendAnsReq', 4082920705: 'pyrogram.raw.types.RpcResult', 558156313: 'pyrogram.raw.types.RpcError', 1579864942: 'pyrogram.raw.types.RpcAnswerUnknown', 3447252358: 'pyrogram.raw.types.RpcAnswerDroppedRunning', 2755319991: 'pyrogram.raw.types.RpcAnswerDropped', 880243653: 'pyrogram.raw.types.Pong', 3793765884: 'pyrogram.raw.types.DestroySessionOk', 1658015945: 'pyrogram.raw.types.DestroySessionNone', 2663516424: 'pyrogram.raw.types.NewSessionCreated', 2459514271: 'pyrogram.raw.types.HttpWait', 3560156531: 'pyrogram.raw.types.IpPort', 932718150: 'pyrogram.raw.types.IpPortSecret', 1182381663: 'pyrogram.raw.types.AccessPointRule', 1515793004: 'pyrogram.raw.types.help.ConfigSimple', 1491380032: 'pyrogram.raw.functions.RpcDropAnswer', 3105996036: 'pyrogram.raw.functions.GetFutureSalts', 2059302892: 'pyrogram.raw.functions.Ping', 4081220492: 'pyrogram.raw.functions.PingDelayDisconnect', 3880853798: 'pyrogram.raw.functions.DestroySession', 2589945493: 'pyrogram.raw.functions.contest.SaveDeveloperInfo', 2134579434: 'pyrogram.raw.types.InputPeerEmpty', 2107670217: 'pyrogram.raw.types.InputPeerSelf', 396093539: 'pyrogram.raw.types.InputPeerChat', 2072935910: 'pyrogram.raw.types.InputPeerUser', 548253432: 'pyrogram.raw.types.InputPeerChannel', 398123750: 'pyrogram.raw.types.InputPeerUserFromMessage', 2627073979: 'pyrogram.raw.types.InputPeerChannelFromMessage', 3112732367: 'pyrogram.raw.types.InputUserEmpty', 4156666175: 'pyrogram.raw.types.InputUserSelf', 3626575894: 'pyrogram.raw.types.InputUser', 756118935: 'pyrogram.raw.types.InputUserFromMessage', 4086478836: 'pyrogram.raw.types.InputPhoneContact', 4113560191: 'pyrogram.raw.types.InputFile', 4199484341: 'pyrogram.raw.types.InputFileBig', 2523198847: 'pyrogram.raw.types.InputMediaEmpty', 505969924: 'pyrogram.raw.types.InputMediaUploadedPhoto', 3015312949: 'pyrogram.raw.types.InputMediaPhoto', 4190388548: 'pyrogram.raw.types.InputMediaGeoPoint', 4171988475: 'pyrogram.raw.types.InputMediaContact', 1530447553: 'pyrogram.raw.types.InputMediaUploadedDocument', 860303448: 'pyrogram.raw.types.InputMediaDocument', 3242007569: 'pyrogram.raw.types.InputMediaVenue', 3854302746: 'pyrogram.raw.types.InputMediaPhotoExternal', 4216511641: 'pyrogram.raw.types.InputMediaDocumentExternal', 3544138739: 'pyrogram.raw.types.InputMediaGame', 4108359363: 'pyrogram.raw.types.InputMediaInvoice', 2535434307: 'pyrogram.raw.types.InputMediaGeoLive', 261416433: 'pyrogram.raw.types.InputMediaPoll', 3866083195: 'pyrogram.raw.types.InputMediaDice', 480546647: 'pyrogram.raw.types.InputChatPhotoEmpty', 3326243406: 'pyrogram.raw.types.InputChatUploadedPhoto', 2303962423: 'pyrogram.raw.types.InputChatPhoto', 3837862870: 'pyrogram.raw.types.InputGeoPointEmpty', 1210199983: 'pyrogram.raw.types.InputGeoPoint', 483901197: 'pyrogram.raw.types.InputPhotoEmpty', 1001634122: 'pyrogram.raw.types.InputPhoto', 3755650017: 'pyrogram.raw.types.InputFileLocation', 4112735573: 'pyrogram.raw.types.InputEncryptedFileLocation', 3134223748: 'pyrogram.raw.types.InputDocumentFileLocation', 3418877480: 'pyrogram.raw.types.InputSecureFileLocation', 700340377: 'pyrogram.raw.types.InputTakeoutFileLocation', 1075322878: 'pyrogram.raw.types.InputPhotoFileLocation', 3627312883: 'pyrogram.raw.types.InputPhotoLegacyFileLocation', 668375447: 'pyrogram.raw.types.InputPeerPhotoFileLocation', 230353641: 'pyrogram.raw.types.InputStickerSetThumb', 2645671021: 'pyrogram.raw.types.PeerUser', 3134252475: 'pyrogram.raw.types.PeerChat', 3185435954: 'pyrogram.raw.types.PeerChannel', 2861972229: 'pyrogram.raw.types.storage.FileUnknown', 1086091090: 'pyrogram.raw.types.storage.FilePartial', 8322574: 'pyrogram.raw.types.storage.FileJpeg', 3403786975: 'pyrogram.raw.types.storage.FileGif', 172975040: 'pyrogram.raw.types.storage.FilePng', 2921222285: 'pyrogram.raw.types.storage.FilePdf', 1384777335: 'pyrogram.raw.types.storage.FileMp3', 1258941372: 'pyrogram.raw.types.storage.FileMov', 3016663268: 'pyrogram.raw.types.storage.FileMp4', 276907596: 'pyrogram.raw.types.storage.FileWebp', 537022650: 'pyrogram.raw.types.UserEmpty', 2474924225: 'pyrogram.raw.types.User', 1326562017: 'pyrogram.raw.types.UserProfilePhotoEmpty', 1775479590: 'pyrogram.raw.types.UserProfilePhoto', 164646985: 'pyrogram.raw.types.UserStatusEmpty', 3988339017: 'pyrogram.raw.types.UserStatusOnline', 9203775: 'pyrogram.raw.types.UserStatusOffline', 3798942449: 'pyrogram.raw.types.UserStatusRecently', 129960444: 'pyrogram.raw.types.UserStatusLastWeek', 2011940674: 'pyrogram.raw.types.UserStatusLastMonth', 2611140608: 'pyrogram.raw.types.ChatEmpty', 1004149726: 'pyrogram.raw.types.Chat', 120753115: 'pyrogram.raw.types.ChatForbidden', 3541734942: 'pyrogram.raw.types.Channel', 681420594: 'pyrogram.raw.types.ChannelForbidden', 4081535734: 'pyrogram.raw.types.ChatFull', 2055070967: 'pyrogram.raw.types.ChannelFull', 3369552190: 'pyrogram.raw.types.ChatParticipant', 3658699658: 'pyrogram.raw.types.ChatParticipantCreator', 3805733942: 'pyrogram.raw.types.ChatParticipantAdmin', 4237298731: 'pyrogram.raw.types.ChatParticipantsForbidden', 1061556205: 'pyrogram.raw.types.ChatParticipants', 935395612: 'pyrogram.raw.types.ChatPhotoEmpty', 3523977020: 'pyrogram.raw.types.ChatPhoto', 2426849924: 'pyrogram.raw.types.MessageEmpty', 1487813065: 'pyrogram.raw.types.Message', 678405636: 'pyrogram.raw.types.MessageService', 1038967584: 'pyrogram.raw.types.MessageMediaEmpty', 1766936791: 'pyrogram.raw.types.MessageMediaPhoto', 1457575028: 'pyrogram.raw.types.MessageMediaGeo', 3421653312: 'pyrogram.raw.types.MessageMediaContact', 2676290718: 'pyrogram.raw.types.MessageMediaUnsupported', 2628808919: 'pyrogram.raw.types.MessageMediaDocument', 2737690112: 'pyrogram.raw.types.MessageMediaWebPage', 784356159: 'pyrogram.raw.types.MessageMediaVenue', 4256272392: 'pyrogram.raw.types.MessageMediaGame', 2220168007: 'pyrogram.raw.types.MessageMediaInvoice', 3108030054: 'pyrogram.raw.types.MessageMediaGeoLive', 1272375192: 'pyrogram.raw.types.MessageMediaPoll', 1065280907: 'pyrogram.raw.types.MessageMediaDice', 3064919984: 'pyrogram.raw.types.MessageActionEmpty', 2791541658: 'pyrogram.raw.types.MessageActionChatCreate', 3047280218: 'pyrogram.raw.types.MessageActionChatEditTitle', 2144015272: 'pyrogram.raw.types.MessageActionChatEditPhoto', 2514746351: 'pyrogram.raw.types.MessageActionChatDeletePhoto', 1217033015: 'pyrogram.raw.types.MessageActionChatAddUser', 2997787404: 'pyrogram.raw.types.MessageActionChatDeleteUser', 4171036136: 'pyrogram.raw.types.MessageActionChatJoinedByLink', 2513611922: 'pyrogram.raw.types.MessageActionChannelCreate', 1371385889: 'pyrogram.raw.types.MessageActionChatMigrateTo', 2958420718: 'pyrogram.raw.types.MessageActionChannelMigrateFrom', 2495428845: 'pyrogram.raw.types.MessageActionPinMessage', 2679813636: 'pyrogram.raw.types.MessageActionHistoryClear', 2460428406: 'pyrogram.raw.types.MessageActionGameScore', 2402399015: 'pyrogram.raw.types.MessageActionPaymentSentMe', 1080663248: 'pyrogram.raw.types.MessageActionPaymentSent', 2162236031: 'pyrogram.raw.types.MessageActionPhoneCall', 1200788123: 'pyrogram.raw.types.MessageActionScreenshotTaken', 4209418070: 'pyrogram.raw.types.MessageActionCustomAction', 2884218878: 'pyrogram.raw.types.MessageActionBotAllowed', 455635795: 'pyrogram.raw.types.MessageActionSecureValuesSentMe', 3646710100: 'pyrogram.raw.types.MessageActionSecureValuesSent', 4092747638: 'pyrogram.raw.types.MessageActionContactSignUp', 2564871831: 'pyrogram.raw.types.MessageActionGeoProximityReached', 2047704898: 'pyrogram.raw.types.MessageActionGroupCall', 1991897370: 'pyrogram.raw.types.MessageActionInviteToGroupCall', 739712882: 'pyrogram.raw.types.Dialog', 1908216652: 'pyrogram.raw.types.DialogFolder', 590459437: 'pyrogram.raw.types.PhotoEmpty', 4212750949: 'pyrogram.raw.types.Photo', 236446268: 'pyrogram.raw.types.PhotoSizeEmpty', 2009052699: 'pyrogram.raw.types.PhotoSize', 3920049402: 'pyrogram.raw.types.PhotoCachedSize', 3769678894: 'pyrogram.raw.types.PhotoStrippedSize', 1520986705: 'pyrogram.raw.types.PhotoSizeProgressive', 3626061121: 'pyrogram.raw.types.PhotoPathSize', 286776671: 'pyrogram.raw.types.GeoPointEmpty', 2997024355: 'pyrogram.raw.types.GeoPoint', 1577067778: 'pyrogram.raw.types.auth.SentCode', 3439659286: 'pyrogram.raw.types.auth.Authorization', 1148485274: 'pyrogram.raw.types.auth.AuthorizationSignUpRequired', 3751189549: 'pyrogram.raw.types.auth.ExportedAuthorization', 3099351820: 'pyrogram.raw.types.InputNotifyPeer', 423314455: 'pyrogram.raw.types.InputNotifyUsers', 1251338318: 'pyrogram.raw.types.InputNotifyChats', 2983951486: 'pyrogram.raw.types.InputNotifyBroadcasts', 2621249934: 'pyrogram.raw.types.InputPeerNotifySettings', 2941295904: 'pyrogram.raw.types.PeerNotifySettings', 1933519201: 'pyrogram.raw.types.PeerSettings', 2755118061: 'pyrogram.raw.types.WallPaper', 2331249445: 'pyrogram.raw.types.WallPaperNoFile', 1490799288: 'pyrogram.raw.types.InputReportReasonSpam', 505595789: 'pyrogram.raw.types.InputReportReasonViolence', 777640226: 'pyrogram.raw.types.InputReportReasonPornography', 2918469347: 'pyrogram.raw.types.InputReportReasonChildAbuse', 3782503690: 'pyrogram.raw.types.InputReportReasonOther', 2609510714: 'pyrogram.raw.types.InputReportReasonCopyright', 3688169197: 'pyrogram.raw.types.InputReportReasonGeoIrrelevant', 4124956391: 'pyrogram.raw.types.InputReportReasonFake', 3992026130: 'pyrogram.raw.types.UserFull', 4178692500: 'pyrogram.raw.types.Contact', 3489825848: 'pyrogram.raw.types.ImportedContact', 3546811489: 'pyrogram.raw.types.ContactStatus', 3075189202: 'pyrogram.raw.types.contacts.ContactsNotModified', 3941105218: 'pyrogram.raw.types.contacts.Contacts', 2010127419: 'pyrogram.raw.types.contacts.ImportedContacts', 182326673: 'pyrogram.raw.types.contacts.Blocked', 3781575060: 'pyrogram.raw.types.contacts.BlockedSlice', 364538944: 'pyrogram.raw.types.messages.Dialogs', 1910543603: 'pyrogram.raw.types.messages.DialogsSlice', 4041467286: 'pyrogram.raw.types.messages.DialogsNotModified', 2356252295: 'pyrogram.raw.types.messages.Messages', 978610270: 'pyrogram.raw.types.messages.MessagesSlice', 1682413576: 'pyrogram.raw.types.messages.ChannelMessages', 1951620897: 'pyrogram.raw.types.messages.MessagesNotModified', 1694474197: 'pyrogram.raw.types.messages.Chats', 2631405892: 'pyrogram.raw.types.messages.ChatsSlice', 3856126364: 'pyrogram.raw.types.messages.ChatFull', 3025955281: 'pyrogram.raw.types.messages.AffectedHistory', 1474492012: 'pyrogram.raw.types.InputMessagesFilterEmpty', 2517214492: 'pyrogram.raw.types.InputMessagesFilterPhotos', 2680163941: 'pyrogram.raw.types.InputMessagesFilterVideo', 1458172132: 'pyrogram.raw.types.InputMessagesFilterPhotoVideo', 2665345416: 'pyrogram.raw.types.InputMessagesFilterDocument', 2129714567: 'pyrogram.raw.types.InputMessagesFilterUrl', 4291323271: 'pyrogram.raw.types.InputMessagesFilterGif', 1358283666: 'pyrogram.raw.types.InputMessagesFilterVoice', 928101534: 'pyrogram.raw.types.InputMessagesFilterMusic', 975236280: 'pyrogram.raw.types.InputMessagesFilterChatPhotos', 2160695144: 'pyrogram.raw.types.InputMessagesFilterPhoneCalls', 2054952868: 'pyrogram.raw.types.InputMessagesFilterRoundVoice', 3041516115: 'pyrogram.raw.types.InputMessagesFilterRoundVideo', 3254314650: 'pyrogram.raw.types.InputMessagesFilterMyMentions', 3875695885: 'pyrogram.raw.types.InputMessagesFilterGeo', 3764575107: 'pyrogram.raw.types.InputMessagesFilterContacts', 464520273: 'pyrogram.raw.types.InputMessagesFilterPinned', 522914557: 'pyrogram.raw.types.UpdateNewMessage', 1318109142: 'pyrogram.raw.types.UpdateMessageID', 2718806245: 'pyrogram.raw.types.UpdateDeleteMessages', 1548249383: 'pyrogram.raw.types.UpdateUserTyping', 2590370335: 'pyrogram.raw.types.UpdateChatUserTyping', 125178264: 'pyrogram.raw.types.UpdateChatParticipants', 469489699: 'pyrogram.raw.types.UpdateUserStatus', 2805148531: 'pyrogram.raw.types.UpdateUserName', 2503031564: 'pyrogram.raw.types.UpdateUserPhoto', 314359194: 'pyrogram.raw.types.UpdateNewEncryptedMessage', 386986326: 'pyrogram.raw.types.UpdateEncryptedChatTyping', 3030575245: 'pyrogram.raw.types.UpdateEncryption', 956179895: 'pyrogram.raw.types.UpdateEncryptedMessagesRead', 3930787420: 'pyrogram.raw.types.UpdateChatParticipantAdd', 1851755554: 'pyrogram.raw.types.UpdateChatParticipantDelete', 2388564083: 'pyrogram.raw.types.UpdateDcOptions', 3200411887: 'pyrogram.raw.types.UpdateNotifySettings', 3957614617: 'pyrogram.raw.types.UpdateServiceNotification', 3996854058: 'pyrogram.raw.types.UpdatePrivacy', 314130811: 'pyrogram.raw.types.UpdateUserPhone', 2627162079: 'pyrogram.raw.types.UpdateReadHistoryInbox', 791617983: 'pyrogram.raw.types.UpdateReadHistoryOutbox', 2139689491: 'pyrogram.raw.types.UpdateWebPage', 1757493555: 'pyrogram.raw.types.UpdateReadMessagesContents', 3942934523: 'pyrogram.raw.types.UpdateChannelTooLong', 3067369046: 'pyrogram.raw.types.UpdateChannel', 1656358105: 'pyrogram.raw.types.UpdateNewChannelMessage', 856380452: 'pyrogram.raw.types.UpdateReadChannelInbox', 3279233481: 'pyrogram.raw.types.UpdateDeleteChannelMessages', 2560699211: 'pyrogram.raw.types.UpdateChannelMessageViews', 3062896985: 'pyrogram.raw.types.UpdateChatParticipantAdmin', 1753886890: 'pyrogram.raw.types.UpdateNewStickerSet', 196268545: 'pyrogram.raw.types.UpdateStickerSetsOrder', 1135492588: 'pyrogram.raw.types.UpdateStickerSets', 2473931806: 'pyrogram.raw.types.UpdateSavedGifs', 1059076315: 'pyrogram.raw.types.UpdateBotInlineQuery', 239663460: 'pyrogram.raw.types.UpdateBotInlineSend', 457133559: 'pyrogram.raw.types.UpdateEditChannelMessage', 3879028705: 'pyrogram.raw.types.UpdateBotCallbackQuery', 3825430691: 'pyrogram.raw.types.UpdateEditMessage', 4191320666: 'pyrogram.raw.types.UpdateInlineBotCallbackQuery', 634833351: 'pyrogram.raw.types.UpdateReadChannelOutbox', 3995842921: 'pyrogram.raw.types.UpdateDraftMessage', 1461528386: 'pyrogram.raw.types.UpdateReadFeaturedStickers', 2588027936: 'pyrogram.raw.types.UpdateRecentStickers', 2720652550: 'pyrogram.raw.types.UpdateConfig', 861169551: 'pyrogram.raw.types.UpdatePtsChanged', 1081547008: 'pyrogram.raw.types.UpdateChannelWebPage', 1852826908: 'pyrogram.raw.types.UpdateDialogPinned', 4195302562: 'pyrogram.raw.types.UpdatePinnedDialogs', 2199371971: 'pyrogram.raw.types.UpdateBotWebhookJSON', 2610053286: 'pyrogram.raw.types.UpdateBotWebhookJSONQuery', 3771582784: 'pyrogram.raw.types.UpdateBotShippingQuery', 1563376297: 'pyrogram.raw.types.UpdateBotPrecheckoutQuery', 2869914398: 'pyrogram.raw.types.UpdatePhoneCall', 1180041828: 'pyrogram.raw.types.UpdateLangPackTooLong', 1442983757: 'pyrogram.raw.types.UpdateLangPack', 3843135853: 'pyrogram.raw.types.UpdateFavedStickers', 2307472197: 'pyrogram.raw.types.UpdateChannelReadMessagesContents', 1887741886: 'pyrogram.raw.types.UpdateContactsReset', 1893427255: 'pyrogram.raw.types.UpdateChannelAvailableMessages', 3781450179: 'pyrogram.raw.types.UpdateDialogUnreadMark', 2896258427: 'pyrogram.raw.types.UpdateMessagePoll', 1421875280: 'pyrogram.raw.types.UpdateChatDefaultBannedRights', 422972864: 'pyrogram.raw.types.UpdateFolderPeers', 1786671974: 'pyrogram.raw.types.UpdatePeerSettings', 3031420848: 'pyrogram.raw.types.UpdatePeerLocated', 967122427: 'pyrogram.raw.types.UpdateNewScheduledMessage', 2424728814: 'pyrogram.raw.types.UpdateDeleteScheduledMessages', 2182544291: 'pyrogram.raw.types.UpdateTheme', 2267003193: 'pyrogram.raw.types.UpdateGeoLiveViewed', 1448076945: 'pyrogram.raw.types.UpdateLoginToken', 1123585836: 'pyrogram.raw.types.UpdateMessagePollVote', 654302845: 'pyrogram.raw.types.UpdateDialogFilter', 2782339333: 'pyrogram.raw.types.UpdateDialogFilterOrder', 889491791: 'pyrogram.raw.types.UpdateDialogFilters', 643940105: 'pyrogram.raw.types.UpdatePhoneCallSignalingData', 1708307556: 'pyrogram.raw.types.UpdateChannelParticipant', 1854571743: 'pyrogram.raw.types.UpdateChannelMessageForwards', 482860628: 'pyrogram.raw.types.UpdateReadChannelDiscussionInbox', 1178116716: 'pyrogram.raw.types.UpdateReadChannelDiscussionOutbox', 610945826: 'pyrogram.raw.types.UpdatePeerBlocked', 4280991391: 'pyrogram.raw.types.UpdateChannelUserTyping', 3984976565: 'pyrogram.raw.types.UpdatePinnedMessages', 2240317323: 'pyrogram.raw.types.UpdatePinnedChannelMessages', 321954198: 'pyrogram.raw.types.UpdateChat', 4075543374: 'pyrogram.raw.types.UpdateGroupCallParticipants', 2757671323: 'pyrogram.raw.types.UpdateGroupCall', 2775329342: 'pyrogram.raw.types.updates.State', 1567990072: 'pyrogram.raw.types.updates.DifferenceEmpty', 16030880: 'pyrogram.raw.types.updates.Difference', 2835028353: 'pyrogram.raw.types.updates.DifferenceSlice', 1258196845: 'pyrogram.raw.types.updates.DifferenceTooLong', 3809980286: 'pyrogram.raw.types.UpdatesTooLong', 580309704: 'pyrogram.raw.types.UpdateShortMessage', 1076714939: 'pyrogram.raw.types.UpdateShortChatMessage', 2027216577: 'pyrogram.raw.types.UpdateShort', 1918567619: 'pyrogram.raw.types.UpdatesCombined', 1957577280: 'pyrogram.raw.types.Updates', 301019932: 'pyrogram.raw.types.UpdateShortSentMessage', 2378853029: 'pyrogram.raw.types.photos.Photos', 352657236: 'pyrogram.raw.types.photos.PhotosSlice', 539045032: 'pyrogram.raw.types.photos.Photo', 157948117: 'pyrogram.raw.types.upload.File', 4052539972: 'pyrogram.raw.types.upload.FileCdnRedirect', 414687501: 'pyrogram.raw.types.DcOption', 856375399: 'pyrogram.raw.types.Config', 2384074613: 'pyrogram.raw.types.NearestDc', 497489295: 'pyrogram.raw.types.help.AppUpdate', 3294258486: 'pyrogram.raw.types.help.NoAppUpdate', 415997816: 'pyrogram.raw.types.help.InviteText', 2877210784: 'pyrogram.raw.types.EncryptedChatEmpty', 1006044124: 'pyrogram.raw.types.EncryptedChatWaiting', 1651608194: 'pyrogram.raw.types.EncryptedChatRequested', 4199992886: 'pyrogram.raw.types.EncryptedChat', 505183301: 'pyrogram.raw.types.EncryptedChatDiscarded', 4047615457: 'pyrogram.raw.types.InputEncryptedChat', 3256830334: 'pyrogram.raw.types.EncryptedFileEmpty', 1248893260: 'pyrogram.raw.types.EncryptedFile', 406307684: 'pyrogram.raw.types.InputEncryptedFileEmpty', 1690108678: 'pyrogram.raw.types.InputEncryptedFileUploaded', 1511503333: 'pyrogram.raw.types.InputEncryptedFile', 767652808: 'pyrogram.raw.types.InputEncryptedFileBigUploaded', 3977822488: 'pyrogram.raw.types.EncryptedMessage', 594758406: 'pyrogram.raw.types.EncryptedMessageService', 3236054581: 'pyrogram.raw.types.messages.DhConfigNotModified', 740433629: 'pyrogram.raw.types.messages.DhConfig', 1443858741: 'pyrogram.raw.types.messages.SentEncryptedMessage', 2492727090: 'pyrogram.raw.types.messages.SentEncryptedFile', 1928391342: 'pyrogram.raw.types.InputDocumentEmpty', 448771445: 'pyrogram.raw.types.InputDocument', 922273905: 'pyrogram.raw.types.DocumentEmpty', 512177195: 'pyrogram.raw.types.Document', 398898678: 'pyrogram.raw.types.help.Support', 2681474008: 'pyrogram.raw.types.NotifyPeer', 3033021260: 'pyrogram.raw.types.NotifyUsers', 3221737155: 'pyrogram.raw.types.NotifyChats', 3591563503: 'pyrogram.raw.types.NotifyBroadcasts', 381645902: 'pyrogram.raw.types.SendMessageTypingAction', 4250847477: 'pyrogram.raw.types.SendMessageCancelAction', 2710034031: 'pyrogram.raw.types.SendMessageRecordVideoAction', 3916839660: 'pyrogram.raw.types.SendMessageUploadVideoAction', 3576656887: 'pyrogram.raw.types.SendMessageRecordAudioAction', 4082227115: 'pyrogram.raw.types.SendMessageUploadAudioAction', 3520285222: 'pyrogram.raw.types.SendMessageUploadPhotoAction', 2852968932: 'pyrogram.raw.types.SendMessageUploadDocumentAction', 393186209: 'pyrogram.raw.types.SendMessageGeoLocationAction', 1653390447: 'pyrogram.raw.types.SendMessageChooseContactAction', 3714748232: 'pyrogram.raw.types.SendMessageGamePlayAction', 2297593788: 'pyrogram.raw.types.SendMessageRecordRoundAction', 608050278: 'pyrogram.raw.types.SendMessageUploadRoundAction', 3643548293: 'pyrogram.raw.types.SpeakingInGroupCallAction', 3688534598: 'pyrogram.raw.types.SendMessageHistoryImportAction', 3004386717: 'pyrogram.raw.types.contacts.Found', 1335282456: 'pyrogram.raw.types.InputPrivacyKeyStatusTimestamp', 3187344422: 'pyrogram.raw.types.InputPrivacyKeyChatInvite', 4206550111: 'pyrogram.raw.types.InputPrivacyKeyPhoneCall', 3684593874: 'pyrogram.raw.types.InputPrivacyKeyPhoneP2P', 2765966344: 'pyrogram.raw.types.InputPrivacyKeyForwards', 1461304012: 'pyrogram.raw.types.InputPrivacyKeyProfilePhoto', 55761658: 'pyrogram.raw.types.InputPrivacyKeyPhoneNumber', 3508640733: 'pyrogram.raw.types.InputPrivacyKeyAddedByPhone', 3157175088: 'pyrogram.raw.types.PrivacyKeyStatusTimestamp', 1343122938: 'pyrogram.raw.types.PrivacyKeyChatInvite', 1030105979: 'pyrogram.raw.types.PrivacyKeyPhoneCall', 961092808: 'pyrogram.raw.types.PrivacyKeyPhoneP2P', 1777096355: 'pyrogram.raw.types.PrivacyKeyForwards', 2517966829: 'pyrogram.raw.types.PrivacyKeyProfilePhoto', 3516589165: 'pyrogram.raw.types.PrivacyKeyPhoneNumber', 1124062251: 'pyrogram.raw.types.PrivacyKeyAddedByPhone', 218751099: 'pyrogram.raw.types.InputPrivacyValueAllowContacts', 407582158: 'pyrogram.raw.types.InputPrivacyValueAllowAll', 320652927: 'pyrogram.raw.types.InputPrivacyValueAllowUsers', 195371015: 'pyrogram.raw.types.InputPrivacyValueDisallowContacts', 3597362889: 'pyrogram.raw.types.InputPrivacyValueDisallowAll', 2417034343: 'pyrogram.raw.types.InputPrivacyValueDisallowUsers', 1283572154: 'pyrogram.raw.types.InputPrivacyValueAllowChatParticipants', 3626197935: 'pyrogram.raw.types.InputPrivacyValueDisallowChatParticipants', 4294843308: 'pyrogram.raw.types.PrivacyValueAllowContacts', 1698855810: 'pyrogram.raw.types.PrivacyValueAllowAll', 1297858060: 'pyrogram.raw.types.PrivacyValueAllowUsers', 4169726490: 'pyrogram.raw.types.PrivacyValueDisallowContacts', 2339628899: 'pyrogram.raw.types.PrivacyValueDisallowAll', 209668535: 'pyrogram.raw.types.PrivacyValueDisallowUsers', 415136107: 'pyrogram.raw.types.PrivacyValueAllowChatParticipants', 2897086096: 'pyrogram.raw.types.PrivacyValueDisallowChatParticipants', 1352683077: 'pyrogram.raw.types.account.PrivacyRules', 3100684255: 'pyrogram.raw.types.AccountDaysTTL', 1815593308: 'pyrogram.raw.types.DocumentAttributeImageSize', 297109817: 'pyrogram.raw.types.DocumentAttributeAnimated', 1662637586: 'pyrogram.raw.types.DocumentAttributeSticker', 250621158: 'pyrogram.raw.types.DocumentAttributeVideo', 2555574726: 'pyrogram.raw.types.DocumentAttributeAudio', 358154344: 'pyrogram.raw.types.DocumentAttributeFilename', 2550256375: 'pyrogram.raw.types.DocumentAttributeHasStickers', 4050950690: 'pyrogram.raw.types.messages.StickersNotModified', 3831077821: 'pyrogram.raw.types.messages.Stickers', 313694676: 'pyrogram.raw.types.StickerPack', 3898999491: 'pyrogram.raw.types.messages.AllStickersNotModified', 3992797279: 'pyrogram.raw.types.messages.AllStickers', 2228326789: 'pyrogram.raw.types.messages.AffectedMessages', 3943987176: 'pyrogram.raw.types.WebPageEmpty', 3313949212: 'pyrogram.raw.types.WebPagePending', 3902555570: 'pyrogram.raw.types.WebPage', 1930545681: 'pyrogram.raw.types.WebPageNotModified', 2902578717: 'pyrogram.raw.types.Authorization', 307276766: 'pyrogram.raw.types.account.Authorizations', 2904965624: 'pyrogram.raw.types.account.Password', 2589733861: 'pyrogram.raw.types.account.PasswordSettings', 3258394569: 'pyrogram.raw.types.account.PasswordInputSettings', 326715557: 'pyrogram.raw.types.auth.PasswordRecovery', 2743383929: 'pyrogram.raw.types.ReceivedNotifyMessage', 1847917725: 'pyrogram.raw.types.ChatInviteExported', 1516793212: 'pyrogram.raw.types.ChatInviteAlready', 3754096014: 'pyrogram.raw.types.ChatInvite', 1634294960: 'pyrogram.raw.types.ChatInvitePeek', 4290128789: 'pyrogram.raw.types.InputStickerSetEmpty', 2649203305: 'pyrogram.raw.types.InputStickerSetID', 2250033312: 'pyrogram.raw.types.InputStickerSetShortName', 42402760: 'pyrogram.raw.types.InputStickerSetAnimatedEmoji', 3867103758: 'pyrogram.raw.types.InputStickerSetDice', 1088567208: 'pyrogram.raw.types.StickerSet', 3054118054: 'pyrogram.raw.types.messages.StickerSet', 3262826695: 'pyrogram.raw.types.BotCommand', 2565348666: 'pyrogram.raw.types.BotInfo', 2734311552: 'pyrogram.raw.types.KeyboardButton', 629866245: 'pyrogram.raw.types.KeyboardButtonUrl', 901503851: 'pyrogram.raw.types.KeyboardButtonCallback', 2976541737: 'pyrogram.raw.types.KeyboardButtonRequestPhone', 4235815743: 'pyrogram.raw.types.KeyboardButtonRequestGeoLocation', 90744648: 'pyrogram.raw.types.KeyboardButtonSwitchInline', 1358175439: 'pyrogram.raw.types.KeyboardButtonGame', 2950250427: 'pyrogram.raw.types.KeyboardButtonBuy', 280464681: 'pyrogram.raw.types.KeyboardButtonUrlAuth', 3492708308: 'pyrogram.raw.types.InputKeyboardButtonUrlAuth', 3150401885: 'pyrogram.raw.types.KeyboardButtonRequestPoll', 2002815875: 'pyrogram.raw.types.KeyboardButtonRow', 2688441221: 'pyrogram.raw.types.ReplyKeyboardHide', 4094724768: 'pyrogram.raw.types.ReplyKeyboardForceReply', 889353612: 'pyrogram.raw.types.ReplyKeyboardMarkup', 1218642516: 'pyrogram.raw.types.ReplyInlineMarkup', 3146955413: 'pyrogram.raw.types.MessageEntityUnknown', 4194588573: 'pyrogram.raw.types.MessageEntityMention', 1868782349: 'pyrogram.raw.types.MessageEntityHashtag', 1827637959: 'pyrogram.raw.types.MessageEntityBotCommand', 1859134776: 'pyrogram.raw.types.MessageEntityUrl', 1692693954: 'pyrogram.raw.types.MessageEntityEmail', 3177253833: 'pyrogram.raw.types.MessageEntityBold', 2188348256: 'pyrogram.raw.types.MessageEntityItalic', 681706865: 'pyrogram.raw.types.MessageEntityCode', 1938967520: 'pyrogram.raw.types.MessageEntityPre', 1990644519: 'pyrogram.raw.types.MessageEntityTextUrl', 892193368: 'pyrogram.raw.types.MessageEntityMentionName', 546203849: 'pyrogram.raw.types.InputMessageEntityMentionName', 2607407947: 'pyrogram.raw.types.MessageEntityPhone', 1280209983: 'pyrogram.raw.types.MessageEntityCashtag', 2622389899: 'pyrogram.raw.types.MessageEntityUnderline', 3204879316: 'pyrogram.raw.types.MessageEntityStrike', 34469328: 'pyrogram.raw.types.MessageEntityBlockquote', 1981704948: 'pyrogram.raw.types.MessageEntityBankCard', 4002160262: 'pyrogram.raw.types.InputChannelEmpty', 2951442734: 'pyrogram.raw.types.InputChannel', 707290417: 'pyrogram.raw.types.InputChannelFromMessage', 2131196633: 'pyrogram.raw.types.contacts.ResolvedPeer', 182649427: 'pyrogram.raw.types.MessageRange', 1041346555: 'pyrogram.raw.types.updates.ChannelDifferenceEmpty', 2763835134: 'pyrogram.raw.types.updates.ChannelDifferenceTooLong', 543450958: 'pyrogram.raw.types.updates.ChannelDifference', 2496933607: 'pyrogram.raw.types.ChannelMessagesFilterEmpty', 3447183703: 'pyrogram.raw.types.ChannelMessagesFilter', 367766557: 'pyrogram.raw.types.ChannelParticipant', 2737347181: 'pyrogram.raw.types.ChannelParticipantSelf', 1149094475: 'pyrogram.raw.types.ChannelParticipantCreator', 3435051951: 'pyrogram.raw.types.ChannelParticipantAdmin', 470789295: 'pyrogram.raw.types.ChannelParticipantBanned', 3284564331: 'pyrogram.raw.types.ChannelParticipantLeft', 3728686201: 'pyrogram.raw.types.ChannelParticipantsRecent', 3026225513: 'pyrogram.raw.types.ChannelParticipantsAdmins', 2746567045: 'pyrogram.raw.types.ChannelParticipantsKicked', 2966521435: 'pyrogram.raw.types.ChannelParticipantsBots', 338142689: 'pyrogram.raw.types.ChannelParticipantsBanned', 106343499: 'pyrogram.raw.types.ChannelParticipantsSearch', 3144345741: 'pyrogram.raw.types.ChannelParticipantsContacts', 3763035371: 'pyrogram.raw.types.ChannelParticipantsMentions', 4117684904: 'pyrogram.raw.types.channels.ChannelParticipants', 4028055529: 'pyrogram.raw.types.channels.ChannelParticipantsNotModified', 3503927651: 'pyrogram.raw.types.channels.ChannelParticipant', 2013922064: 'pyrogram.raw.types.help.TermsOfService', 3892468898: 'pyrogram.raw.types.messages.SavedGifsNotModified', 772213157: 'pyrogram.raw.types.messages.SavedGifs', 864077702: 'pyrogram.raw.types.InputBotInlineMessageMediaAuto', 1036876423: 'pyrogram.raw.types.InputBotInlineMessageText', 2526190213: 'pyrogram.raw.types.InputBotInlineMessageMediaGeo', 1098628881: 'pyrogram.raw.types.InputBotInlineMessageMediaVenue', 2800599037: 'pyrogram.raw.types.InputBotInlineMessageMediaContact', 1262639204: 'pyrogram.raw.types.InputBotInlineMessageGame', 2294256409: 'pyrogram.raw.types.InputBotInlineResult', 2832753831: 'pyrogram.raw.types.InputBotInlineResultPhoto', 4294507972: 'pyrogram.raw.types.InputBotInlineResultDocument', 1336154098: 'pyrogram.raw.types.InputBotInlineResultGame', 1984755728: 'pyrogram.raw.types.BotInlineMessageMediaAuto', 2357159394: 'pyrogram.raw.types.BotInlineMessageText', 85477117: 'pyrogram.raw.types.BotInlineMessageMediaGeo', 2324063644: 'pyrogram.raw.types.BotInlineMessageMediaVenue', 416402882: 'pyrogram.raw.types.BotInlineMessageMediaContact', 295067450: 'pyrogram.raw.types.BotInlineResult', 400266251: 'pyrogram.raw.types.BotInlineMediaResult', 2491197512: 'pyrogram.raw.types.messages.BotResults', 1571494644: 'pyrogram.raw.types.ExportedMessageLink', 1601666510: 'pyrogram.raw.types.MessageFwdHeader', 1923290508: 'pyrogram.raw.types.auth.CodeTypeSms', 1948046307: 'pyrogram.raw.types.auth.CodeTypeCall', 577556219: 'pyrogram.raw.types.auth.CodeTypeFlashCall', 1035688326: 'pyrogram.raw.types.auth.SentCodeTypeApp', 3221273506: 'pyrogram.raw.types.auth.SentCodeTypeSms', 1398007207: 'pyrogram.raw.types.auth.SentCodeTypeCall', 2869151449: 'pyrogram.raw.types.auth.SentCodeTypeFlashCall', 911761060: 'pyrogram.raw.types.messages.BotCallbackAnswer', 649453030: 'pyrogram.raw.types.messages.MessageEditData', 2299280777: 'pyrogram.raw.types.InputBotInlineMessageID', 1008755359: 'pyrogram.raw.types.InlineBotSwitchPM', 863093588: 'pyrogram.raw.types.messages.PeerDialogs', 3989684315: 'pyrogram.raw.types.TopPeer', 2875595611: 'pyrogram.raw.types.TopPeerCategoryBotsPM', 344356834: 'pyrogram.raw.types.TopPeerCategoryBotsInline', 104314861: 'pyrogram.raw.types.TopPeerCategoryCorrespondents', 3172442442: 'pyrogram.raw.types.TopPeerCategoryGroups', 371037736: 'pyrogram.raw.types.TopPeerCategoryChannels', 511092620: 'pyrogram.raw.types.TopPeerCategoryPhoneCalls', 2822794409: 'pyrogram.raw.types.TopPeerCategoryForwardUsers', 4226728176: 'pyrogram.raw.types.TopPeerCategoryForwardChats', 4219683473: 'pyrogram.raw.types.TopPeerCategoryPeers', 3727060725: 'pyrogram.raw.types.contacts.TopPeersNotModified', 1891070632: 'pyrogram.raw.types.contacts.TopPeers', 3039597469: 'pyrogram.raw.types.contacts.TopPeersDisabled', 453805082: 'pyrogram.raw.types.DraftMessageEmpty', 4253970719: 'pyrogram.raw.types.DraftMessage', 3336309862: 'pyrogram.raw.types.messages.FeaturedStickersNotModified', 3064709953: 'pyrogram.raw.types.messages.FeaturedStickers', 186120336: 'pyrogram.raw.types.messages.RecentStickersNotModified', 586395571: 'pyrogram.raw.types.messages.RecentStickers', 1338747336: 'pyrogram.raw.types.messages.ArchivedStickers', 946083368: 'pyrogram.raw.types.messages.StickerSetInstallResultSuccess', 904138920: 'pyrogram.raw.types.messages.StickerSetInstallResultArchive', 1678812626: 'pyrogram.raw.types.StickerSetCovered', 872932635: 'pyrogram.raw.types.StickerSetMultiCovered', 2933316530: 'pyrogram.raw.types.MaskCoords', 1251549527: 'pyrogram.raw.types.InputStickeredMediaPhoto', 70813275: 'pyrogram.raw.types.InputStickeredMediaDocument', 3187238203: 'pyrogram.raw.types.Game', 53231223: 'pyrogram.raw.types.InputGameID', 3274827786: 'pyrogram.raw.types.InputGameShortName', 1493171408: 'pyrogram.raw.types.HighScore', 2587622809: 'pyrogram.raw.types.messages.HighScores', 3695018575: 'pyrogram.raw.types.TextEmpty', 1950782688: 'pyrogram.raw.types.TextPlain', 1730456516: 'pyrogram.raw.types.TextBold', 3641877916: 'pyrogram.raw.types.TextItalic', 3240501956: 'pyrogram.raw.types.TextUnderline', 2616769429: 'pyrogram.raw.types.TextStrike', 1816074681: 'pyrogram.raw.types.TextFixed', 1009288385: 'pyrogram.raw.types.TextUrl', 3730443734: 'pyrogram.raw.types.TextEmail', 2120376535: 'pyrogram.raw.types.TextConcat', 3983181060: 'pyrogram.raw.types.TextSubscript', 3355139585: 'pyrogram.raw.types.TextSuperscript', 55281185: 'pyrogram.raw.types.TextMarked', 483104362: 'pyrogram.raw.types.TextPhone', 136105807: 'pyrogram.raw.types.TextImage', 894777186: 'pyrogram.raw.types.TextAnchor', 324435594: 'pyrogram.raw.types.PageBlockUnsupported', 1890305021: 'pyrogram.raw.types.PageBlockTitle', 2415565343: 'pyrogram.raw.types.PageBlockSubtitle', 3132089824: 'pyrogram.raw.types.PageBlockAuthorDate', 3218105580: 'pyrogram.raw.types.PageBlockHeader', 4046173921: 'pyrogram.raw.types.PageBlockSubheader', 1182402406: 'pyrogram.raw.types.PageBlockParagraph', 3228621118: 'pyrogram.raw.types.PageBlockPreformatted', 1216809369: 'pyrogram.raw.types.PageBlockFooter', 3676352904: 'pyrogram.raw.types.PageBlockDivider', 3456972720: 'pyrogram.raw.types.PageBlockAnchor', 3840442385: 'pyrogram.raw.types.PageBlockList', 641563686: 'pyrogram.raw.types.PageBlockBlockquote', 1329878739: 'pyrogram.raw.types.PageBlockPullquote', 391759200: 'pyrogram.raw.types.PageBlockPhoto', 2089805750: 'pyrogram.raw.types.PageBlockVideo', 972174080: 'pyrogram.raw.types.PageBlockCover', 2826014149: 'pyrogram.raw.types.PageBlockEmbed', 4065961995: 'pyrogram.raw.types.PageBlockEmbedPost', 1705048653: 'pyrogram.raw.types.PageBlockCollage', 52401552: 'pyrogram.raw.types.PageBlockSlideshow', 4011282869: 'pyrogram.raw.types.PageBlockChannel', 2151899626: 'pyrogram.raw.types.PageBlockAudio', 504660880: 'pyrogram.raw.types.PageBlockKicker', 3209554562: 'pyrogram.raw.types.PageBlockTable', 2592793057: 'pyrogram.raw.types.PageBlockOrderedList', 1987480557: 'pyrogram.raw.types.PageBlockDetails', 370236054: 'pyrogram.raw.types.PageBlockRelatedArticles', 2756656886: 'pyrogram.raw.types.PageBlockMap', 2246320897: 'pyrogram.raw.types.PhoneCallDiscardReasonMissed', 3767910816: 'pyrogram.raw.types.PhoneCallDiscardReasonDisconnect', 1471006352: 'pyrogram.raw.types.PhoneCallDiscardReasonHangup', 4210550985: 'pyrogram.raw.types.PhoneCallDiscardReasonBusy', 2104790276: 'pyrogram.raw.types.DataJSON', 3408489464: 'pyrogram.raw.types.LabeledPrice', 3272254296: 'pyrogram.raw.types.Invoice', 3926049406: 'pyrogram.raw.types.PaymentCharge', 512535275: 'pyrogram.raw.types.PostAddress', 2426158996: 'pyrogram.raw.types.PaymentRequestedInfo', 3452074527: 'pyrogram.raw.types.PaymentSavedCredentialsCard', 475467473: 'pyrogram.raw.types.WebDocument', 4190682310: 'pyrogram.raw.types.WebDocumentNoProxy', 2616017741: 'pyrogram.raw.types.InputWebDocument', 3258570374: 'pyrogram.raw.types.InputWebFileLocation', 2669814217: 'pyrogram.raw.types.InputWebFileGeoPointLocation', 568808380: 'pyrogram.raw.types.upload.WebFile', 1062645411: 'pyrogram.raw.types.payments.PaymentForm', 3510966403: 'pyrogram.raw.types.payments.ValidatedRequestedInfo', 1314881805: 'pyrogram.raw.types.payments.PaymentResult', 3628142905: 'pyrogram.raw.types.payments.PaymentVerificationNeeded', 1342771681: 'pyrogram.raw.types.payments.PaymentReceipt', 4220511292: 'pyrogram.raw.types.payments.SavedInfo', 3238965967: 'pyrogram.raw.types.InputPaymentCredentialsSaved', 873977640: 'pyrogram.raw.types.InputPaymentCredentials', 178373535: 'pyrogram.raw.types.InputPaymentCredentialsApplePay', 2328045569: 'pyrogram.raw.types.InputPaymentCredentialsGooglePay', 3680828724: 'pyrogram.raw.types.account.TmpPassword', 3055631583: 'pyrogram.raw.types.ShippingOption', 4288717974: 'pyrogram.raw.types.InputStickerSetItem', 506920429: 'pyrogram.raw.types.InputPhoneCall', 1399245077: 'pyrogram.raw.types.PhoneCallEmpty', 462375633: 'pyrogram.raw.types.PhoneCallWaiting', 2280307539: 'pyrogram.raw.types.PhoneCallRequested', 2575058250: 'pyrogram.raw.types.PhoneCallAccepted', 2269294207: 'pyrogram.raw.types.PhoneCall', 1355435489: 'pyrogram.raw.types.PhoneCallDiscarded', 2639009728: 'pyrogram.raw.types.PhoneConnection', 1667228533: 'pyrogram.raw.types.PhoneConnectionWebrtc', 4236742600: 'pyrogram.raw.types.PhoneCallProtocol', 3968000320: 'pyrogram.raw.types.phone.PhoneCall', 4004045934: 'pyrogram.raw.types.upload.CdnFileReuploadNeeded', 2845821519: 'pyrogram.raw.types.upload.CdnFile', 3380800186: 'pyrogram.raw.types.CdnPublicKey', 1462101002: 'pyrogram.raw.types.CdnConfig', 3402727926: 'pyrogram.raw.types.LangPackString', 1816636575: 'pyrogram.raw.types.LangPackStringPluralized', 695856818: 'pyrogram.raw.types.LangPackStringDeleted', 4085629430: 'pyrogram.raw.types.LangPackDifference', 4006239459: 'pyrogram.raw.types.LangPackLanguage', 3873421349: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeTitle', 1427671598: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeAbout', 1783299128: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeUsername', 1129042607: 'pyrogram.raw.types.ChannelAdminLogEventActionChangePhoto', 460916654: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleInvites', 648939889: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleSignatures', 3924306968: 'pyrogram.raw.types.ChannelAdminLogEventActionUpdatePinned', 1889215493: 'pyrogram.raw.types.ChannelAdminLogEventActionEditMessage', 1121994683: 'pyrogram.raw.types.ChannelAdminLogEventActionDeleteMessage', 405815507: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantJoin', 4170676210: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantLeave', 3810276568: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantInvite', 3872931198: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleBan', 3580323600: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantToggleAdmin', 2982398631: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeStickerSet', 1599903217: 'pyrogram.raw.types.ChannelAdminLogEventActionTogglePreHistoryHidden', 771095562: 'pyrogram.raw.types.ChannelAdminLogEventActionDefaultBannedRights', 2399639107: 'pyrogram.raw.types.ChannelAdminLogEventActionStopPoll', 2725218331: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeLinkedChat', 241923758: 'pyrogram.raw.types.ChannelAdminLogEventActionChangeLocation', 1401984889: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleSlowMode', 589338437: 'pyrogram.raw.types.ChannelAdminLogEventActionStartGroupCall', 3684667712: 'pyrogram.raw.types.ChannelAdminLogEventActionDiscardGroupCall', 4179895506: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantMute', 3863226816: 'pyrogram.raw.types.ChannelAdminLogEventActionParticipantUnmute', 1456906823: 'pyrogram.raw.types.ChannelAdminLogEventActionToggleGroupCallSetting', 995769920: 'pyrogram.raw.types.ChannelAdminLogEvent', 3985307469: 'pyrogram.raw.types.channels.AdminLogResults', 3926948580: 'pyrogram.raw.types.ChannelAdminLogEventsFilter', 1558266229: 'pyrogram.raw.types.PopularContact', 2660214483: 'pyrogram.raw.types.messages.FavedStickersNotModified', 4085198614: 'pyrogram.raw.types.messages.FavedStickers', 1189204285: 'pyrogram.raw.types.RecentMeUrlUnknown', 2377921334: 'pyrogram.raw.types.RecentMeUrlUser', 2686132985: 'pyrogram.raw.types.RecentMeUrlChat', 3947431965: 'pyrogram.raw.types.RecentMeUrlChatInvite', 3154794460: 'pyrogram.raw.types.RecentMeUrlStickerSet', 235081943: 'pyrogram.raw.types.help.RecentMeUrls', 482797855: 'pyrogram.raw.types.InputSingleMedia', 3402187762: 'pyrogram.raw.types.WebAuthorization', 3981887996: 'pyrogram.raw.types.account.WebAuthorizations', 2792792866: 'pyrogram.raw.types.InputMessageID', 3134751637: 'pyrogram.raw.types.InputMessageReplyTo', 2257003832: 'pyrogram.raw.types.InputMessagePinned', 2902071934: 'pyrogram.raw.types.InputMessageCallbackQuery', 4239064759: 'pyrogram.raw.types.InputDialogPeer', 1684014375: 'pyrogram.raw.types.InputDialogPeerFolder', 3849174789: 'pyrogram.raw.types.DialogPeer', 1363483106: 'pyrogram.raw.types.DialogPeerFolder', 223655517: 'pyrogram.raw.types.messages.FoundStickerSetsNotModified', 1359533640: 'pyrogram.raw.types.messages.FoundStickerSets', 1648543603: 'pyrogram.raw.types.FileHash', 1968737087: 'pyrogram.raw.types.InputClientProxy', 3811614591: 'pyrogram.raw.types.help.TermsOfServiceUpdateEmpty', 686618977: 'pyrogram.raw.types.help.TermsOfServiceUpdate', 859091184: 'pyrogram.raw.types.InputSecureFileUploaded', 1399317950: 'pyrogram.raw.types.InputSecureFile', 1679398724: 'pyrogram.raw.types.SecureFileEmpty', 3760683618: 'pyrogram.raw.types.SecureFile', 2330640067: 'pyrogram.raw.types.SecureData', 2103482845: 'pyrogram.raw.types.SecurePlainPhone', 569137759: 'pyrogram.raw.types.SecurePlainEmail', 2636808675: 'pyrogram.raw.types.SecureValueTypePersonalDetails', 1034709504: 'pyrogram.raw.types.SecureValueTypePassport', 115615172: 'pyrogram.raw.types.SecureValueTypeDriverLicense', 2698015819: 'pyrogram.raw.types.SecureValueTypeIdentityCard', 2577698595: 'pyrogram.raw.types.SecureValueTypeInternalPassport', 3420659238: 'pyrogram.raw.types.SecureValueTypeAddress', 4231435598: 'pyrogram.raw.types.SecureValueTypeUtilityBill', 2299755533: 'pyrogram.raw.types.SecureValueTypeBankStatement', 2340959368: 'pyrogram.raw.types.SecureValueTypeRentalAgreement', 2581823594: 'pyrogram.raw.types.SecureValueTypePassportRegistration', 3926060083: 'pyrogram.raw.types.SecureValueTypeTemporaryRegistration', 3005262555: 'pyrogram.raw.types.SecureValueTypePhone', 2386339822: 'pyrogram.raw.types.SecureValueTypeEmail', 411017418: 'pyrogram.raw.types.SecureValue', 3676426407: 'pyrogram.raw.types.InputSecureValue', 3978218928: 'pyrogram.raw.types.SecureValueHash', 3903065049: 'pyrogram.raw.types.SecureValueErrorData', 12467706: 'pyrogram.raw.types.SecureValueErrorFrontSide', 2257201829: 'pyrogram.raw.types.SecureValueErrorReverseSide', 3845639894: 'pyrogram.raw.types.SecureValueErrorSelfie', 2054162547: 'pyrogram.raw.types.SecureValueErrorFile', 1717706985: 'pyrogram.raw.types.SecureValueErrorFiles', 2258466191: 'pyrogram.raw.types.SecureValueError', 2702460784: 'pyrogram.raw.types.SecureValueErrorTranslationFile', 878931416: 'pyrogram.raw.types.SecureValueErrorTranslationFiles', 871426631: 'pyrogram.raw.types.SecureCredentialsEncrypted', 2905480408: 'pyrogram.raw.types.account.AuthorizationForm', 2166326607: 'pyrogram.raw.types.account.SentEmailCode', 1722786150: 'pyrogram.raw.types.help.DeepLinkInfoEmpty', 1783556146: 'pyrogram.raw.types.help.DeepLinkInfo', 289586518: 'pyrogram.raw.types.SavedPhoneContact', 1304052993: 'pyrogram.raw.types.account.Takeout', 3562713238: 'pyrogram.raw.types.PasswordKdfAlgoUnknown', 982592842: 'pyrogram.raw.types.PasswordKdfAlgoSHA256SHA256PBKDF2HMACSHA512iter100000SHA256ModPow', 4883767: 'pyrogram.raw.types.SecurePasswordKdfAlgoUnknown', 3153255840: 'pyrogram.raw.types.SecurePasswordKdfAlgoPBKDF2HMACSHA512iter100000', 2252807570: 'pyrogram.raw.types.SecurePasswordKdfAlgoSHA512', 354925740: 'pyrogram.raw.types.SecureSecretSettings', 2558588504: 'pyrogram.raw.types.InputCheckPasswordEmpty', 3531600002: 'pyrogram.raw.types.InputCheckPasswordSRP', 2191366618: 'pyrogram.raw.types.SecureRequiredType', 41187252: 'pyrogram.raw.types.SecureRequiredTypeOneOf', 3216634967: 'pyrogram.raw.types.help.PassportConfigNotModified', 2694370991: 'pyrogram.raw.types.help.PassportConfig', 488313413: 'pyrogram.raw.types.InputAppEvent', 3235781593: 'pyrogram.raw.types.JsonObjectValue', 1064139624: 'pyrogram.raw.types.JsonNull', 3342098026: 'pyrogram.raw.types.JsonBool', 736157604: 'pyrogram.raw.types.JsonNumber', 3072226938: 'pyrogram.raw.types.JsonString', 4148447075: 'pyrogram.raw.types.JsonArray', 2579616925: 'pyrogram.raw.types.JsonObject', 878078826: 'pyrogram.raw.types.PageTableCell', 3770729957: 'pyrogram.raw.types.PageTableRow', 1869903447: 'pyrogram.raw.types.PageCaption', 3106911949: 'pyrogram.raw.types.PageListItemText', 635466748: 'pyrogram.raw.types.PageListItemBlocks', 1577484359: 'pyrogram.raw.types.PageListOrderedItemText', 2564655414: 'pyrogram.raw.types.PageListOrderedItemBlocks', 3012615176: 'pyrogram.raw.types.PageRelatedArticle', 2556788493: 'pyrogram.raw.types.Page', 2349199817: 'pyrogram.raw.types.help.SupportName', 4088278765: 'pyrogram.raw.types.help.UserInfoEmpty', 32192344: 'pyrogram.raw.types.help.UserInfo', 1823064809: 'pyrogram.raw.types.PollAnswer', 2262925665: 'pyrogram.raw.types.Poll', 997055186: 'pyrogram.raw.types.PollAnswerVoters', 3135029667: 'pyrogram.raw.types.PollResults', 4030849616: 'pyrogram.raw.types.ChatOnlines', 1202287072: 'pyrogram.raw.types.StatsURL', 1605510357: 'pyrogram.raw.types.ChatAdminRights', 2668758040: 'pyrogram.raw.types.ChatBannedRights', 3861952889: 'pyrogram.raw.types.InputWallPaper', 1913199744: 'pyrogram.raw.types.InputWallPaperSlug', 2217196460: 'pyrogram.raw.types.InputWallPaperNoFile', 471437699: 'pyrogram.raw.types.account.WallPapersNotModified', 1881892265: 'pyrogram.raw.types.account.WallPapers', 3737042563: 'pyrogram.raw.types.CodeSettings', 84438264: 'pyrogram.raw.types.WallPaperSettings', 3762434803: 'pyrogram.raw.types.AutoDownloadSettings', 1674235686: 'pyrogram.raw.types.account.AutoDownloadSettings', 3585325561: 'pyrogram.raw.types.EmojiKeyword', 594408994: 'pyrogram.raw.types.EmojiKeywordDeleted', 1556570557: 'pyrogram.raw.types.EmojiKeywordsDifference', 2775937949: 'pyrogram.raw.types.EmojiURL', 3019592545: 'pyrogram.raw.types.EmojiLanguage', 3162490573: 'pyrogram.raw.types.FileLocationToBeDeprecated', 4283715173: 'pyrogram.raw.types.Folder', 4224893590: 'pyrogram.raw.types.InputFolderPeer', 3921323624: 'pyrogram.raw.types.FolderPeer', 3896830975: 'pyrogram.raw.types.messages.SearchCounter', 2463316494: 'pyrogram.raw.types.UrlAuthResultRequest', 2408320590: 'pyrogram.raw.types.UrlAuthResultAccepted', 2849430303: 'pyrogram.raw.types.UrlAuthResultDefault', 3216354699: 'pyrogram.raw.types.ChannelLocationEmpty', 547062491: 'pyrogram.raw.types.ChannelLocation', 3393592157: 'pyrogram.raw.types.PeerLocated', 4176226379: 'pyrogram.raw.types.PeerSelfLocated', 3497176244: 'pyrogram.raw.types.RestrictionReason', 1012306921: 'pyrogram.raw.types.InputTheme', 4119399921: 'pyrogram.raw.types.InputThemeSlug', 42930452: 'pyrogram.raw.types.Theme', 4095653410: 'pyrogram.raw.types.account.ThemesNotModified', 2137482273: 'pyrogram.raw.types.account.Themes', 1654593920: 'pyrogram.raw.types.auth.LoginToken', 110008598: 'pyrogram.raw.types.auth.LoginTokenMigrateTo', 957176926: 'pyrogram.raw.types.auth.LoginTokenSuccess', 1474462241: 'pyrogram.raw.types.account.ContentSettings', 2837970629: 'pyrogram.raw.types.messages.InactiveChats', 3282117730: 'pyrogram.raw.types.BaseThemeClassic', 4225242760: 'pyrogram.raw.types.BaseThemeDay', 3081969320: 'pyrogram.raw.types.BaseThemeNight', 1834973166: 'pyrogram.raw.types.BaseThemeTinted', 1527845466: 'pyrogram.raw.types.BaseThemeArctic', 3176168657: 'pyrogram.raw.types.InputThemeSettings', 2618595402: 'pyrogram.raw.types.ThemeSettings', 1421174295: 'pyrogram.raw.types.WebPageAttributeTheme', 2727236953: 'pyrogram.raw.types.MessageUserVote', 909603888: 'pyrogram.raw.types.MessageUserVoteInputOption', 244310238: 'pyrogram.raw.types.MessageUserVoteMultiple', 136574537: 'pyrogram.raw.types.messages.VotesList', 4117234314: 'pyrogram.raw.types.BankCardOpenUrl', 1042605427: 'pyrogram.raw.types.payments.BankCardData', 1949890536: 'pyrogram.raw.types.DialogFilter', 2004110666: 'pyrogram.raw.types.DialogFilterSuggested', 3057118639: 'pyrogram.raw.types.StatsDateRangeDays', 3410210014: 'pyrogram.raw.types.StatsAbsValueAndPrev', 3419287520: 'pyrogram.raw.types.StatsPercentValue', 1244130093: 'pyrogram.raw.types.StatsGraphAsync', 3202127906: 'pyrogram.raw.types.StatsGraphError', 2393138358: 'pyrogram.raw.types.StatsGraph', 2907687357: 'pyrogram.raw.types.MessageInteractionCounters', 3187114900: 'pyrogram.raw.types.stats.BroadcastStats', 2566302837: 'pyrogram.raw.types.help.PromoDataEmpty', 2352576831: 'pyrogram.raw.types.help.PromoData', 3895575894: 'pyrogram.raw.types.VideoSize', 418631927: 'pyrogram.raw.types.StatsGroupTopPoster', 1611985938: 'pyrogram.raw.types.StatsGroupTopAdmin', 831924812: 'pyrogram.raw.types.StatsGroupTopInviter', 4018141462: 'pyrogram.raw.types.stats.MegagroupStats', 3198350372: 'pyrogram.raw.types.GlobalPrivacySettings', 1107543535: 'pyrogram.raw.types.help.CountryCode', 3280440867: 'pyrogram.raw.types.help.Country', 2479628082: 'pyrogram.raw.types.help.CountriesListNotModified', 2278585758: 'pyrogram.raw.types.help.CountriesList', 1163625789: 'pyrogram.raw.types.MessageViews', 3066361155: 'pyrogram.raw.types.messages.MessageViews', 4124938141: 'pyrogram.raw.types.messages.DiscussionMessage', 2799007587: 'pyrogram.raw.types.MessageReplyHeader', 1093204652: 'pyrogram.raw.types.MessageReplies', 3908927508: 'pyrogram.raw.types.PeerBlocked', 2308567701: 'pyrogram.raw.types.stats.MessageStats', 2004925620: 'pyrogram.raw.types.GroupCallDiscarded', 1435512961: 'pyrogram.raw.types.GroupCall', 3635053583: 'pyrogram.raw.types.InputGroupCall', 1690708501: 'pyrogram.raw.types.GroupCallParticipant', 1722485756: 'pyrogram.raw.types.phone.GroupCall', 2633939245: 'pyrogram.raw.types.phone.GroupParticipants', 813821341: 'pyrogram.raw.types.InlineQueryPeerTypeSameBotPM', 2201751468: 'pyrogram.raw.types.InlineQueryPeerTypePM', 3613836554: 'pyrogram.raw.types.InlineQueryPeerTypeChat', 1589952067: 'pyrogram.raw.types.InlineQueryPeerTypeMegagroup', 1664413338: 'pyrogram.raw.types.InlineQueryPeerTypeBroadcast', 375566091: 'pyrogram.raw.types.messages.HistoryImport', 1578088377: 'pyrogram.raw.types.messages.HistoryImportParsed', 4019011180: 'pyrogram.raw.types.messages.AffectedFoundMessages', 3416209197: 'pyrogram.raw.functions.InvokeAfterMsg', 1036301552: 'pyrogram.raw.functions.InvokeAfterMsgs', 3251461801: 'pyrogram.raw.functions.InitConnection', 3667594509: 'pyrogram.raw.functions.InvokeWithLayer', 3214170551: 'pyrogram.raw.functions.InvokeWithoutUpdates', 911373810: 'pyrogram.raw.functions.InvokeWithMessagesRange', 2896821550: 'pyrogram.raw.functions.InvokeWithTakeout', 2792825935: 'pyrogram.raw.functions.auth.SendCode', 2163139623: 'pyrogram.raw.functions.auth.SignUp', 3168081281: 'pyrogram.raw.functions.auth.SignIn', 1461180992: 'pyrogram.raw.functions.auth.LogOut', 2678787354: 'pyrogram.raw.functions.auth.ResetAuthorizations', 3854565325: 'pyrogram.raw.functions.auth.ExportAuthorization', 3824129555: 'pyrogram.raw.functions.auth.ImportAuthorization', 3453233669: 'pyrogram.raw.functions.auth.BindTempAuthKey', 1738800940: 'pyrogram.raw.functions.auth.ImportBotAuthorization', 3515567382: 'pyrogram.raw.functions.auth.CheckPassword', 3633822822: 'pyrogram.raw.functions.auth.RequestPasswordRecovery', 1319464594: 'pyrogram.raw.functions.auth.RecoverPassword', 1056025023: 'pyrogram.raw.functions.auth.ResendCode', 520357240: 'pyrogram.raw.functions.auth.CancelCode', 2387124616: 'pyrogram.raw.functions.auth.DropTempAuthKeys', 2981369111: 'pyrogram.raw.functions.auth.ExportLoginToken', 2511101156: 'pyrogram.raw.functions.auth.ImportLoginToken', 3902057805: 'pyrogram.raw.functions.auth.AcceptLoginToken', 1754754159: 'pyrogram.raw.functions.account.RegisterDevice', 813089983: 'pyrogram.raw.functions.account.UnregisterDevice', 2227067795: 'pyrogram.raw.functions.account.UpdateNotifySettings', 313765169: 'pyrogram.raw.functions.account.GetNotifySettings', 3682473799: 'pyrogram.raw.functions.account.ResetNotifySettings', 2018596725: 'pyrogram.raw.functions.account.UpdateProfile', 1713919532: 'pyrogram.raw.functions.account.UpdateStatus', 2864387939: 'pyrogram.raw.functions.account.GetWallPapers', 2920848735: 'pyrogram.raw.functions.account.ReportPeer', 655677548: 'pyrogram.raw.functions.account.CheckUsername', 1040964988: 'pyrogram.raw.functions.account.UpdateUsername', 3671837008: 'pyrogram.raw.functions.account.GetPrivacy', 3388480744: 'pyrogram.raw.functions.account.SetPrivacy', 1099779595: 'pyrogram.raw.functions.account.DeleteAccount', 150761757: 'pyrogram.raw.functions.account.GetAccountTTL', 608323678: 'pyrogram.raw.functions.account.SetAccountTTL', 2186758885: 'pyrogram.raw.functions.account.SendChangePhoneCode', 1891839707: 'pyrogram.raw.functions.account.ChangePhone', 954152242: 'pyrogram.raw.functions.account.UpdateDeviceLocked', 3810574680: 'pyrogram.raw.functions.account.GetAuthorizations', 3749180348: 'pyrogram.raw.functions.account.ResetAuthorization', 1418342645: 'pyrogram.raw.functions.account.GetPassword', 2631199481: 'pyrogram.raw.functions.account.GetPasswordSettings', 2778402863: 'pyrogram.raw.functions.account.UpdatePasswordSettings', 457157256: 'pyrogram.raw.functions.account.SendConfirmPhoneCode', 1596029123: 'pyrogram.raw.functions.account.ConfirmPhone', 1151208273: 'pyrogram.raw.functions.account.GetTmpPassword', 405695855: 'pyrogram.raw.functions.account.GetWebAuthorizations', 755087855: 'pyrogram.raw.functions.account.ResetWebAuthorization', 1747789204: 'pyrogram.raw.functions.account.ResetWebAuthorizations', 2995305597: 'pyrogram.raw.functions.account.GetAllSecureValues', 1936088002: 'pyrogram.raw.functions.account.GetSecureValue', 2308956957: 'pyrogram.raw.functions.account.SaveSecureValue', 3095444555: 'pyrogram.raw.functions.account.DeleteSecureValue', 3094063329: 'pyrogram.raw.functions.account.GetAuthorizationForm', 3875699860: 'pyrogram.raw.functions.account.AcceptAuthorization', 2778945273: 'pyrogram.raw.functions.account.SendVerifyPhoneCode', 1305716726: 'pyrogram.raw.functions.account.VerifyPhone', 1880182943: 'pyrogram.raw.functions.account.SendVerifyEmailCode', 3971627483: 'pyrogram.raw.functions.account.VerifyEmail', 4032514052: 'pyrogram.raw.functions.account.InitTakeoutSession', 489050862: 'pyrogram.raw.functions.account.FinishTakeoutSession', 2413762848: 'pyrogram.raw.functions.account.ConfirmPasswordEmail', 2055154197: 'pyrogram.raw.functions.account.ResendPasswordEmail', 3251361206: 'pyrogram.raw.functions.account.CancelPasswordEmail', 2668087080: 'pyrogram.raw.functions.account.GetContactSignUpNotification', 3488890721: 'pyrogram.raw.functions.account.SetContactSignUpNotification', 1398240377: 'pyrogram.raw.functions.account.GetNotifyExceptions', 4237155306: 'pyrogram.raw.functions.account.GetWallPaper', 3716494945: 'pyrogram.raw.functions.account.UploadWallPaper', 1817860919: 'pyrogram.raw.functions.account.SaveWallPaper', 4276967273: 'pyrogram.raw.functions.account.InstallWallPaper', 3141244932: 'pyrogram.raw.functions.account.ResetWallPapers', 1457130303: 'pyrogram.raw.functions.account.GetAutoDownloadSettings', 1995661875: 'pyrogram.raw.functions.account.SaveAutoDownloadSettings', 473805619: 'pyrogram.raw.functions.account.UploadTheme', 2217919007: 'pyrogram.raw.functions.account.CreateTheme', 1555261397: 'pyrogram.raw.functions.account.UpdateTheme', 4065792108: 'pyrogram.raw.functions.account.SaveTheme', 2061776695: 'pyrogram.raw.functions.account.InstallTheme', 2375906347: 'pyrogram.raw.functions.account.GetTheme', 676939512: 'pyrogram.raw.functions.account.GetThemes', 3044323691: 'pyrogram.raw.functions.account.SetContentSettings', 2342210990: 'pyrogram.raw.functions.account.GetContentSettings', 1705865692: 'pyrogram.raw.functions.account.GetMultiWallPapers', 3945483510: 'pyrogram.raw.functions.account.GetGlobalPrivacySettings', 517647042: 'pyrogram.raw.functions.account.SetGlobalPrivacySettings', 227648840: 'pyrogram.raw.functions.users.GetUsers', 3392185777: 'pyrogram.raw.functions.users.GetFullUser', 2429064373: 'pyrogram.raw.functions.users.SetSecureValueErrors', 749357634: 'pyrogram.raw.functions.contacts.GetContactIDs', 3299038190: 'pyrogram.raw.functions.contacts.GetStatuses', 3223553183: 'pyrogram.raw.functions.contacts.GetContacts', 746589157: 'pyrogram.raw.functions.contacts.ImportContacts', 157945344: 'pyrogram.raw.functions.contacts.DeleteContacts', 269745566: 'pyrogram.raw.functions.contacts.DeleteByPhones', 1758204945: 'pyrogram.raw.functions.contacts.Block', 3198573904: 'pyrogram.raw.functions.contacts.Unblock', 4118557967: 'pyrogram.raw.functions.contacts.GetBlocked', 301470424: 'pyrogram.raw.functions.contacts.Search', 4181511075: 'pyrogram.raw.functions.contacts.ResolveUsername', 3566742965: 'pyrogram.raw.functions.contacts.GetTopPeers', 451113900: 'pyrogram.raw.functions.contacts.ResetTopPeerRating', 2274703345: 'pyrogram.raw.functions.contacts.ResetSaved', 2196890527: 'pyrogram.raw.functions.contacts.GetSaved', 2232729050: 'pyrogram.raw.functions.contacts.ToggleTopPeers', 3908330448: 'pyrogram.raw.functions.contacts.AddContact', 4164002319: 'pyrogram.raw.functions.contacts.AcceptContact', 3544759364: 'pyrogram.raw.functions.contacts.GetLocated', 698914348: 'pyrogram.raw.functions.contacts.BlockFromReplies', 1673946374: 'pyrogram.raw.functions.messages.GetMessages', 2699967347: 'pyrogram.raw.functions.messages.GetDialogs', 3703276128: 'pyrogram.raw.functions.messages.GetHistory', 204812012: 'pyrogram.raw.functions.messages.Search', 238054714: 'pyrogram.raw.functions.messages.ReadHistory', 469850889: 'pyrogram.raw.functions.messages.DeleteHistory', 3851326930: 'pyrogram.raw.functions.messages.DeleteMessages', 94983360: 'pyrogram.raw.functions.messages.ReceivedMessages', 1486110434: 'pyrogram.raw.functions.messages.SetTyping', 1376532592: 'pyrogram.raw.functions.messages.SendMessage', 881978281: 'pyrogram.raw.functions.messages.SendMedia', 3657360910: 'pyrogram.raw.functions.messages.ForwardMessages', 3474297563: 'pyrogram.raw.functions.messages.ReportSpam', 913498268: 'pyrogram.raw.functions.messages.GetPeerSettings', 3179460184: 'pyrogram.raw.functions.messages.Report', 1013621127: 'pyrogram.raw.functions.messages.GetChats', 998448230: 'pyrogram.raw.functions.messages.GetFullChat', 3695519829: 'pyrogram.raw.functions.messages.EditChatTitle', 3394009560: 'pyrogram.raw.functions.messages.EditChatPhoto', 4188056073: 'pyrogram.raw.functions.messages.AddChatUser', 3308537242: 'pyrogram.raw.functions.messages.DeleteChatUser', 164303470: 'pyrogram.raw.functions.messages.CreateChat', 651135312: 'pyrogram.raw.functions.messages.GetDhConfig', 4132286275: 'pyrogram.raw.functions.messages.RequestEncryption', 1035731989: 'pyrogram.raw.functions.messages.AcceptEncryption', 4086541984: 'pyrogram.raw.functions.messages.DiscardEncryption', 2031374829: 'pyrogram.raw.functions.messages.SetEncryptedTyping', 2135648522: 'pyrogram.raw.functions.messages.ReadEncryptedHistory', 1157265941: 'pyrogram.raw.functions.messages.SendEncrypted', 1431914525: 'pyrogram.raw.functions.messages.SendEncryptedFile', 852769188: 'pyrogram.raw.functions.messages.SendEncryptedService', 1436924774: 'pyrogram.raw.functions.messages.ReceivedQueue', 1259113487: 'pyrogram.raw.functions.messages.ReportEncryptedSpam', 916930423: 'pyrogram.raw.functions.messages.ReadMessageContents', 71126828: 'pyrogram.raw.functions.messages.GetStickers', 479598769: 'pyrogram.raw.functions.messages.GetAllStickers', 2338894028: 'pyrogram.raw.functions.messages.GetWebPagePreview', 234312524: 'pyrogram.raw.functions.messages.ExportChatInvite', 1051570619: 'pyrogram.raw.functions.messages.CheckChatInvite', 1817183516: 'pyrogram.raw.functions.messages.ImportChatInvite', 639215886: 'pyrogram.raw.functions.messages.GetStickerSet', 3348096096: 'pyrogram.raw.functions.messages.InstallStickerSet', 4184757726: 'pyrogram.raw.functions.messages.UninstallStickerSet', 3873403768: 'pyrogram.raw.functions.messages.StartBot', 1468322785: 'pyrogram.raw.functions.messages.GetMessagesViews', 2850463534: 'pyrogram.raw.functions.messages.EditChatAdmin', 363051235: 'pyrogram.raw.functions.messages.MigrateChat', 1271290010: 'pyrogram.raw.functions.messages.SearchGlobal', 2016638777: 'pyrogram.raw.functions.messages.ReorderStickerSets', 864953444: 'pyrogram.raw.functions.messages.GetDocumentByHash', 2210348370: 'pyrogram.raw.functions.messages.GetSavedGifs', 846868683: 'pyrogram.raw.functions.messages.SaveGif', 1364105629: 'pyrogram.raw.functions.messages.GetInlineBotResults', 3948847622: 'pyrogram.raw.functions.messages.SetInlineBotResults', 570955184: 'pyrogram.raw.functions.messages.SendInlineBotResult', 4255550774: 'pyrogram.raw.functions.messages.GetMessageEditData', 1224152952: 'pyrogram.raw.functions.messages.EditMessage', 2203418042: 'pyrogram.raw.functions.messages.EditInlineBotMessage', 2470627847: 'pyrogram.raw.functions.messages.GetBotCallbackAnswer', 3582923530: 'pyrogram.raw.functions.messages.SetBotCallbackAnswer', 3832593661: 'pyrogram.raw.functions.messages.GetPeerDialogs', 3157909835: 'pyrogram.raw.functions.messages.SaveDraft', 1782549861: 'pyrogram.raw.functions.messages.GetAllDrafts', 766298703: 'pyrogram.raw.functions.messages.GetFeaturedStickers', 1527873830: 'pyrogram.raw.functions.messages.ReadFeaturedStickers', 1587647177: 'pyrogram.raw.functions.messages.GetRecentStickers', 958863608: 'pyrogram.raw.functions.messages.SaveRecentSticker', 2308530221: 'pyrogram.raw.functions.messages.ClearRecentStickers', 1475442322: 'pyrogram.raw.functions.messages.GetArchivedStickers', 1706608543: 'pyrogram.raw.functions.messages.GetMaskStickers', 3428542412: 'pyrogram.raw.functions.messages.GetAttachedStickers', 2398678208: 'pyrogram.raw.functions.messages.SetGameScore', 363700068: 'pyrogram.raw.functions.messages.SetInlineGameScore', 3894568093: 'pyrogram.raw.functions.messages.GetGameHighScores', 258170395: 'pyrogram.raw.functions.messages.GetInlineGameHighScores', 218777796: 'pyrogram.raw.functions.messages.GetCommonChats', 3953659888: 'pyrogram.raw.functions.messages.GetAllChats', 852135825: 'pyrogram.raw.functions.messages.GetWebPage', 2805064279: 'pyrogram.raw.functions.messages.ToggleDialogPin', 991616823: 'pyrogram.raw.functions.messages.ReorderPinnedDialogs', 3602468338: 'pyrogram.raw.functions.messages.GetPinnedDialogs', 3858133754: 'pyrogram.raw.functions.messages.SetBotShippingResults', 163765653: 'pyrogram.raw.functions.messages.SetBotPrecheckoutResults', 1369162417: 'pyrogram.raw.functions.messages.UploadMedia', 3380473888: 'pyrogram.raw.functions.messages.SendScreenshotNotification', 567151374: 'pyrogram.raw.functions.messages.GetFavedStickers', 3120547163: 'pyrogram.raw.functions.messages.FaveSticker', 1180140658: 'pyrogram.raw.functions.messages.GetUnreadMentions', 251759059: 'pyrogram.raw.functions.messages.ReadMentions', 3150207753: 'pyrogram.raw.functions.messages.GetRecentLocations', 3422621899: 'pyrogram.raw.functions.messages.SendMultiMedia', 1347929239: 'pyrogram.raw.functions.messages.UploadEncryptedFile', 3266826379: 'pyrogram.raw.functions.messages.SearchStickerSets', 486505992: 'pyrogram.raw.functions.messages.GetSplitRanges', 3263617423: 'pyrogram.raw.functions.messages.MarkDialogUnread', 585256482: 'pyrogram.raw.functions.messages.GetDialogUnreadMarks', 2119757468: 'pyrogram.raw.functions.messages.ClearAllDrafts', 3534419948: 'pyrogram.raw.functions.messages.UpdatePinnedMessage', 283795844: 'pyrogram.raw.functions.messages.SendVote', 1941660731: 'pyrogram.raw.functions.messages.GetPollResults', 1848369232: 'pyrogram.raw.functions.messages.GetOnlines', 2167155430: 'pyrogram.raw.functions.messages.GetStatsURL', 3740665751: 'pyrogram.raw.functions.messages.EditChatAbout', 2777049921: 'pyrogram.raw.functions.messages.EditChatDefaultBannedRights', 899735650: 'pyrogram.raw.functions.messages.GetEmojiKeywords', 352892591: 'pyrogram.raw.functions.messages.GetEmojiKeywordsDifference', 1318675378: 'pyrogram.raw.functions.messages.GetEmojiKeywordsLanguages', 3585149990: 'pyrogram.raw.functions.messages.GetEmojiURL', 1932455680: 'pyrogram.raw.functions.messages.GetSearchCounters', 3812578835: 'pyrogram.raw.functions.messages.RequestUrlAuth', 4146719384: 'pyrogram.raw.functions.messages.AcceptUrlAuth', 1336717624: 'pyrogram.raw.functions.messages.HidePeerSettingsBar', 3804391515: 'pyrogram.raw.functions.messages.GetScheduledHistory', 3183150180: 'pyrogram.raw.functions.messages.GetScheduledMessages', 3174597898: 'pyrogram.raw.functions.messages.SendScheduledMessages', 1504586518: 'pyrogram.raw.functions.messages.DeleteScheduledMessages', 3094231054: 'pyrogram.raw.functions.messages.GetPollVotes', 3037016042: 'pyrogram.raw.functions.messages.ToggleStickerSets', 4053719405: 'pyrogram.raw.functions.messages.GetDialogFilters', 2728186924: 'pyrogram.raw.functions.messages.GetSuggestedDialogFilters', 450142282: 'pyrogram.raw.functions.messages.UpdateDialogFilter', 3311649252: 'pyrogram.raw.functions.messages.UpdateDialogFiltersOrder', 1608974939: 'pyrogram.raw.functions.messages.GetOldFeaturedStickers', 615875002: 'pyrogram.raw.functions.messages.GetReplies', 1147761405: 'pyrogram.raw.functions.messages.GetDiscussionMessage', 4147227124: 'pyrogram.raw.functions.messages.ReadDiscussion', 4029004939: 'pyrogram.raw.functions.messages.UnpinAllMessages', 2200206609: 'pyrogram.raw.functions.messages.DeleteChat', 4190888969: 'pyrogram.raw.functions.messages.DeletePhoneCallHistory', 1140726259: 'pyrogram.raw.functions.messages.CheckHistoryImport', 873008187: 'pyrogram.raw.functions.messages.InitHistoryImport', 713433234: 'pyrogram.raw.functions.messages.UploadImportedMedia', 3023958852: 'pyrogram.raw.functions.messages.StartHistoryImport', 3990128682: 'pyrogram.raw.functions.updates.GetState', 630429265: 'pyrogram.raw.functions.updates.GetDifference', 51854712: 'pyrogram.raw.functions.updates.GetChannelDifference', 1926525996: 'pyrogram.raw.functions.photos.UpdateProfilePhoto', 2314407785: 'pyrogram.raw.functions.photos.UploadProfilePhoto', 2278522671: 'pyrogram.raw.functions.photos.DeletePhotos', 2446144168: 'pyrogram.raw.functions.photos.GetUserPhotos', 3003426337: 'pyrogram.raw.functions.upload.SaveFilePart', 2975505148: 'pyrogram.raw.functions.upload.GetFile', 3732629309: 'pyrogram.raw.functions.upload.SaveBigFilePart', 619086221: 'pyrogram.raw.functions.upload.GetWebFile', 536919235: 'pyrogram.raw.functions.upload.GetCdnFile', 2603046056: 'pyrogram.raw.functions.upload.ReuploadCdnFile', 1302676017: 'pyrogram.raw.functions.upload.GetCdnFileHashes', 3338819889: 'pyrogram.raw.functions.upload.GetFileHashes', 3304659051: 'pyrogram.raw.functions.help.GetConfig', 531836966: 'pyrogram.raw.functions.help.GetNearestDc', 1378703997: 'pyrogram.raw.functions.help.GetAppUpdate', 1295590211: 'pyrogram.raw.functions.help.GetInviteText', 2631862477: 'pyrogram.raw.functions.help.GetSupport', 2417028975: 'pyrogram.raw.functions.help.GetAppChangelog', 3961704397: 'pyrogram.raw.functions.help.SetBotUpdatesStatus', 1375900482: 'pyrogram.raw.functions.help.GetCdnConfig', 1036054804: 'pyrogram.raw.functions.help.GetRecentMeUrls', 749019089: 'pyrogram.raw.functions.help.GetTermsOfServiceUpdate', 4000511898: 'pyrogram.raw.functions.help.AcceptTermsOfService', 1072547679: 'pyrogram.raw.functions.help.GetDeepLinkInfo', 2559656208: 'pyrogram.raw.functions.help.GetAppConfig', 1862465352: 'pyrogram.raw.functions.help.SaveAppLog', 3328290056: 'pyrogram.raw.functions.help.GetPassportConfig', 3546343212: 'pyrogram.raw.functions.help.GetSupportName', 59377875: 'pyrogram.raw.functions.help.GetUserInfo', 1723407216: 'pyrogram.raw.functions.help.EditUserInfo', 3231151137: 'pyrogram.raw.functions.help.GetPromoData', 505748629: 'pyrogram.raw.functions.help.HidePromoData', 125807007: 'pyrogram.raw.functions.help.DismissSuggestion', 1935116200: 'pyrogram.raw.functions.help.GetCountriesList', 3423619383: 'pyrogram.raw.functions.channels.ReadHistory', 2227305806: 'pyrogram.raw.functions.channels.DeleteMessages', 3507345179: 'pyrogram.raw.functions.channels.DeleteUserHistory', 4261967888: 'pyrogram.raw.functions.channels.ReportSpam', 2911672867: 'pyrogram.raw.functions.channels.GetMessages', 306054633: 'pyrogram.raw.functions.channels.GetParticipants', 1416484774: 'pyrogram.raw.functions.channels.GetParticipant', 176122811: 'pyrogram.raw.functions.channels.GetChannels', 141781513: 'pyrogram.raw.functions.channels.GetFullChannel', 1029681423: 'pyrogram.raw.functions.channels.CreateChannel', 3543959810: 'pyrogram.raw.functions.channels.EditAdmin', 1450044624: 'pyrogram.raw.functions.channels.EditTitle', 4046346185: 'pyrogram.raw.functions.channels.EditPhoto', 283557164: 'pyrogram.raw.functions.channels.CheckUsername', 890549214: 'pyrogram.raw.functions.channels.UpdateUsername', 615851205: 'pyrogram.raw.functions.channels.JoinChannel', 4164332181: 'pyrogram.raw.functions.channels.LeaveChannel', 429865580: 'pyrogram.raw.functions.channels.InviteToChannel', 3222347747: 'pyrogram.raw.functions.channels.DeleteChannel', 3862932971: 'pyrogram.raw.functions.channels.ExportMessageLink', 527021574: 'pyrogram.raw.functions.channels.ToggleSignatures', 4172297903: 'pyrogram.raw.functions.channels.GetAdminedPublicChannels', 1920559378: 'pyrogram.raw.functions.channels.EditBanned', 870184064: 'pyrogram.raw.functions.channels.GetAdminLog', 3935085817: 'pyrogram.raw.functions.channels.SetStickers', 3937786936: 'pyrogram.raw.functions.channels.ReadMessageContents', 2939592002: 'pyrogram.raw.functions.channels.DeleteHistory', 3938171212: 'pyrogram.raw.functions.channels.TogglePreHistoryHidden', 2202135744: 'pyrogram.raw.functions.channels.GetLeftChannels', 4124758904: 'pyrogram.raw.functions.channels.GetGroupsForDiscussion', 1079520178: 'pyrogram.raw.functions.channels.SetDiscussionGroup', 2402864415: 'pyrogram.raw.functions.channels.EditCreator', 1491484525: 'pyrogram.raw.functions.channels.EditLocation', 3990134512: 'pyrogram.raw.functions.channels.ToggleSlowMode', 300429806: 'pyrogram.raw.functions.channels.GetInactiveChannels', 2854709741: 'pyrogram.raw.functions.bots.SendCustomRequest', 3860938573: 'pyrogram.raw.functions.bots.AnswerWebhookJSONQuery', 2153596662: 'pyrogram.raw.functions.bots.SetBotCommands', 2582681413: 'pyrogram.raw.functions.payments.GetPaymentForm', 2693966208: 'pyrogram.raw.functions.payments.GetPaymentReceipt', 1997180532: 'pyrogram.raw.functions.payments.ValidateRequestedInfo', 730364339: 'pyrogram.raw.functions.payments.SendPaymentForm', 578650699: 'pyrogram.raw.functions.payments.GetSavedInfo', 3627905217: 'pyrogram.raw.functions.payments.ClearSavedInfo', 779736953: 'pyrogram.raw.functions.payments.GetBankCardData', 4043532160: 'pyrogram.raw.functions.stickers.CreateStickerSet', 4151709521: 'pyrogram.raw.functions.stickers.RemoveStickerFromSet', 4290172106: 'pyrogram.raw.functions.stickers.ChangeStickerPosition', 2253651646: 'pyrogram.raw.functions.stickers.AddStickerToSet', 2587250224: 'pyrogram.raw.functions.stickers.SetStickerSetThumb', 1430593449: 'pyrogram.raw.functions.phone.GetCallConfig', 1124046573: 'pyrogram.raw.functions.phone.RequestCall', 1003664544: 'pyrogram.raw.functions.phone.AcceptCall', 788404002: 'pyrogram.raw.functions.phone.ConfirmCall', 399855457: 'pyrogram.raw.functions.phone.ReceivedCall', 2999697856: 'pyrogram.raw.functions.phone.DiscardCall', 1508562471: 'pyrogram.raw.functions.phone.SetCallRating', 662363518: 'pyrogram.raw.functions.phone.SaveCallDebug', 4286223235: 'pyrogram.raw.functions.phone.SendSignalingData', 3174935520: 'pyrogram.raw.functions.phone.CreateGroupCall', 1604095586: 'pyrogram.raw.functions.phone.JoinGroupCall', 1342404601: 'pyrogram.raw.functions.phone.LeaveGroupCall', 2783407320: 'pyrogram.raw.functions.phone.EditGroupCallMember', 2067345760: 'pyrogram.raw.functions.phone.InviteToGroupCall', 2054648117: 'pyrogram.raw.functions.phone.DiscardGroupCall', 1958458429: 'pyrogram.raw.functions.phone.ToggleGroupCallSettings', 209498135: 'pyrogram.raw.functions.phone.GetGroupCall', 3388068485: 'pyrogram.raw.functions.phone.GetGroupParticipants', 3075111914: 'pyrogram.raw.functions.phone.CheckGroupCall', 4075959050: 'pyrogram.raw.functions.langpack.GetLangPack', 4025104387: 'pyrogram.raw.functions.langpack.GetStrings', 3449309861: 'pyrogram.raw.functions.langpack.GetDifference', 1120311183: 'pyrogram.raw.functions.langpack.GetLanguages', 1784243458: 'pyrogram.raw.functions.langpack.GetLanguage', 1749536939: 'pyrogram.raw.functions.folders.EditPeerFolders', 472471681: 'pyrogram.raw.functions.folders.DeleteFolder', 2873246746: 'pyrogram.raw.functions.stats.GetBroadcastStats', 1646092192: 'pyrogram.raw.functions.stats.LoadAsyncGraph', 3705636359: 'pyrogram.raw.functions.stats.GetMegagroupStats', 1445996571: 'pyrogram.raw.functions.stats.GetMessagePublicForwards', 3068175349: 'pyrogram.raw.functions.stats.GetMessageStats', 3162085175: 'pyrogram.raw.core.BoolFalse', 2574415285: 'pyrogram.raw.core.BoolTrue', 481674261: 'pyrogram.raw.core.Vector', 1945237724: 'pyrogram.raw.core.MsgContainer', 2924480661: 'pyrogram.raw.core.FutureSalts', 155834844: 'pyrogram.raw.core.FutureSalt', 812830625: 'pyrogram.raw.core.GzipPacked', 1538843921: 'pyrogram.raw.core.Message'}
hour_exam = int(input()) min_exam = int(input()) hour_arrival = int(input()) min_arrival = int(input()) status = 0 exam_time = (hour_exam * 60) + min_exam arrival_time = (hour_arrival * 60) + min_arrival difference = arrival_time - exam_time if difference > 0: status = "Late" elif difference < -30: status = "Early" elif -30 <= difference <= 0: status = "On time" print(status) if difference > 0: hour_late = difference // 60 min_late = difference % 60 if hour_late == 0: print(f'{min_late} minutes after the start') else: print(f'{hour_late}:{min_late:02d} hours after the start') elif difference == 0: print('') else: early = exam_time - arrival_time hour_early = early // 60 min_early = early % 60 if hour_early == 0: print(f'{min_early} minutes before the start') else: print(f'{hour_early}:{min_early:02d} hours before the start')
hour_exam = int(input()) min_exam = int(input()) hour_arrival = int(input()) min_arrival = int(input()) status = 0 exam_time = hour_exam * 60 + min_exam arrival_time = hour_arrival * 60 + min_arrival difference = arrival_time - exam_time if difference > 0: status = 'Late' elif difference < -30: status = 'Early' elif -30 <= difference <= 0: status = 'On time' print(status) if difference > 0: hour_late = difference // 60 min_late = difference % 60 if hour_late == 0: print(f'{min_late} minutes after the start') else: print(f'{hour_late}:{min_late:02d} hours after the start') elif difference == 0: print('') else: early = exam_time - arrival_time hour_early = early // 60 min_early = early % 60 if hour_early == 0: print(f'{min_early} minutes before the start') else: print(f'{hour_early}:{min_early:02d} hours before the start')
def foo(): ''' >>> from mod import good as bad ''' pass
def foo(): """ >>> from mod import good as bad """ pass
# # PySNMP MIB module CISCO-ETHERNET-FABRIC-EXTENDER-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-ETHERNET-FABRIC-EXTENDER-MIB # Produced by pysmi-0.3.4 at Wed May 1 11:57:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint, ConstraintsIntersection, ValueSizeConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint", "ConstraintsIntersection", "ValueSizeConstraint") ciscoMgmt, = mibBuilder.importSymbols("CISCO-SMI", "ciscoMgmt") InterfaceIndex, = mibBuilder.importSymbols("IF-MIB", "InterfaceIndex") SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString") NotificationGroup, ObjectGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ObjectGroup", "ModuleCompliance") iso, Bits, MibScalar, MibTable, MibTableRow, MibTableColumn, TimeTicks, Unsigned32, Integer32, ObjectIdentity, Counter64, MibIdentifier, IpAddress, Counter32, Gauge32, ModuleIdentity, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "iso", "Bits", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "TimeTicks", "Unsigned32", "Integer32", "ObjectIdentity", "Counter64", "MibIdentifier", "IpAddress", "Counter32", "Gauge32", "ModuleIdentity", "NotificationType") RowStatus, TruthValue, DisplayString, TimeStamp, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "RowStatus", "TruthValue", "DisplayString", "TimeStamp", "TextualConvention") ciscoEthernetFabricExtenderMIB = ModuleIdentity((1, 3, 6, 1, 4, 1, 9, 9, 691)) ciscoEthernetFabricExtenderMIB.setRevisions(('2009-02-23 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setRevisionsDescriptions(('Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setLastUpdated('200902230000Z') if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: cs-nexus5000@cisco.com') if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setDescription("The MIB module for configuring one or more fabric extenders to connect into a core switch. Since fabric extenders might not be manageable entities, this MIB is assumed to be instrumented on the core switch. A fabric extender may be hardwired or preconfigured with a list of uplink ports. These uplink ports are used to connect to a core switch. A fabric extender is assumed to be directly connected to its core switch. Each physical interface on the core switch is assumed to be connected to one and only one fabric extender. When an extender powers up, it runs a link local discovery protocol to find core switches. The extender puts all available self identification in its discovery report. The core switch, depending on configuration, uses the extenders identification to accept or deny an extender from connecting. A fabric extender may be connected to different core switches via different uplink ports. In that case, each core switch's instance of the MIB may refer to the same extender. Ports on core switch used to connect to extenders are known as Fabric ports. A fabric port may be a physical interface or a logical interface such as an EtherChannel. An extender may connect into a core switch via more than one fabric port. Non fabric ports on an extender are typically used to connect hosts/servers.") ciscoEthernetFabricExtenderMIBNotifs = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 0)) ciscoEthernetFabricExtenderObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1)) ciscoEthernetFabricExtenderMIBConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2)) cefexConfig = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1)) class CiscoPortPinningMode(TextualConvention, Integer32): description = "This denotes the mode of re-pinning. Re-pinning defines how traffic forwarding is altered between fabric extender and its core switch in case of a fabric port state change. For fabric extenders that do not support local forwarding, they do not perform normal address learning and forwarding as a traditional 802.1d compliant bridge. A method named 'pinning' is used instead to dictate forwarding behavior. That means, traffic from a specific non fabric port is always forwarded to its pinned fabric port (no local forwarding). Each non fabric port is 'pinned' to one of the fabric ports. Load balancing aspects affecting pinned fabric port selection is dictated by internal implementation. If a particular fabric port fails, all the non fabric ports pinned to the failed fabric port may need to be moved to the remaining fabric ports, if any. Note that traffic distribution within a fabric EtherChannel does not utilize the 'pinning' method. The traditional hash of MAC address, IP address and TCP/UDP port is used to select fabric port within a fabric EtherChannel. It is planned that more enumeration will be introduced in subsequent updates. static(1) - If this mode is chosen, non fabric ports are not re-pinned to other fabric ports in case of fabric port failure." status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1)) namedValues = NamedValues(("static", 1)) cefexBindingTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1), ) if mibBuilder.loadTexts: cefexBindingTable.setStatus('current') if mibBuilder.loadTexts: cefexBindingTable.setDescription("This table has the binding information of a 'Fabric Port' to 'Fabric Extender' on a 'Extender Core Switch'. Each entry in this table configures one fabric port. A core switch does not accept fabric extender connections into its fabric ports unless the extender matches an entry in this table. Once matched, the extender is identified by the instances of the cefexBindingExtenderIndex in the matching row. The matching criteria and values to match for each fabric extender are specified in a row in the cefexConfigTable. Each row in the cefexConfigTable is indexed by cefexBindingExtenderIndex. Each row in this table has an unique cefexBindingExtenderIndex value, therefore, providing the linkage between the two tables. It is expected that user first creates a row in the cefexConfigTable for a specific cefexBindingExtenderIndex, followed by creation of the corresponding row in this table for the same cefexBindingExtenderIndex.. If a row in this table is created and if there is no corresponding row created in the cefexConfigTable, then the agent will automatically create a row in the cefexConfigTable with instance of every object in this row initialized to the DEFVAL.") cefexBindingEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1), ).setIndexNames((0, "CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingInterfaceOnCoreSwitch")) if mibBuilder.loadTexts: cefexBindingEntry.setStatus('current') if mibBuilder.loadTexts: cefexBindingEntry.setDescription('There is one entry in this table for each core switch Interface that can be connected to an uplink interface of a fabric extender.') cefexBindingInterfaceOnCoreSwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 1), InterfaceIndex()) if mibBuilder.loadTexts: cefexBindingInterfaceOnCoreSwitch.setStatus('current') if mibBuilder.loadTexts: cefexBindingInterfaceOnCoreSwitch.setDescription('This object is the index that uniquely identifies an entry in the cefexBindingTable. The value of this object is an IfIndex to a fabric port. By creating a row in this table for a particular core switch interface, the user enables that core switch interface to accept a fabric extender. By default, a core switch interface does not have an entry in this table and consequently does not accept/respond to discovery requests from fabric extenders.') cefexBindingExtenderIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 2), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(100, 999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexBindingExtenderIndex.setStatus('current') if mibBuilder.loadTexts: cefexBindingExtenderIndex.setDescription('The value of cefexBindingExtenderIndex used as an Index into the cefexConfigTable to select the Fabric Extender configuration for this binding entry. However, a value in this table does not imply that an instance with this value exists in the cefexConfigTable. If an entry corresponding to the value of this object does not exist in cefexConfigTable, the system default behavior (using DEFVAL values for all the configuration objects as defined in cefexConfigTable) of the Fabric Extender is used for this binding entry. Since an extender may connect to a core switch via multiple interfaces or fabric ports, it is important all the binding entries configuring the same fabric extender are configured with the same extender Index. Every interface on different fabric extender connecting into the same core switch is differentiated by its extender id. To refer to a port on the extender, an example representation may be extender/slot/port. Extender id values 1-99 are reserved. For example, reserved values can be used to identify the core switch and its line cards in the extender/slot/port naming scheme. cefexBindingExtenderIndex identifies further attributes of a fabric extender via the cefexConfigTable. A user may choose to identify a fabric extender by specifying its value of cefexConfigExtendername and/or other attributes.') cefexBindingCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 3), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cefexBindingCreationTime.setStatus('current') if mibBuilder.loadTexts: cefexBindingCreationTime.setDescription("The timestamp of this entry's creation time.") cefexBindingRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexBindingRowStatus.setStatus('current') if mibBuilder.loadTexts: cefexBindingRowStatus.setDescription('The status of this conceptual row.') cefexConfigTable = MibTable((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2), ) if mibBuilder.loadTexts: cefexConfigTable.setStatus('current') if mibBuilder.loadTexts: cefexConfigTable.setDescription('This table facilitates configuration applicable to an entire fabric extender.') cefexConfigEntry = MibTableRow((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1), ).setIndexNames((0, "CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingExtenderIndex")) if mibBuilder.loadTexts: cefexConfigEntry.setStatus('current') if mibBuilder.loadTexts: cefexConfigEntry.setDescription('There is one entry in this table for each fabric extender configured on the core switch.') cefexConfigExtenderName = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 1), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexConfigExtenderName.setStatus('current') if mibBuilder.loadTexts: cefexConfigExtenderName.setDescription("This object specifies a human readable string representing the name of the 'Extender'. Note that default value of this object will be the string 'FEXxxxx' where xxxx is value of cefexBindingExtenderIndex expressed as 4 digits. For example, if cefexBindingExtenderIndex is 123, the default value of this object is 'FEX0123'. This object allows the user to identify the extender with an appropriate name.") cefexConfigSerialNumCheck = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 2), TruthValue().clone('false')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexConfigSerialNumCheck.setStatus('current') if mibBuilder.loadTexts: cefexConfigSerialNumCheck.setDescription("This object specifies if the serial number check is enabled for this extender or not. If the value of this object is 'true', then the core switch rejects any extender except for the one with serial number string specified by cefexConfigSerialNum. If the value of this object is 'false', then the core switch accept any extender.") cefexConfigSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 3), SnmpAdminString().subtype(subtypeSpec=ValueSizeConstraint(0, 32))).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexConfigSerialNum.setStatus('current') if mibBuilder.loadTexts: cefexConfigSerialNum.setDescription("This object allows the user to identify a fabric extender's Serial Number String. This object is relevant if cefexBindingSerialNumCheck is true. Zero is not a valid length for this object if cefexBindingSerialNumCheck is true.") cefexConfigPinningFailOverMode = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 4), CiscoPortPinningMode().clone('static')).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexConfigPinningFailOverMode.setStatus('current') if mibBuilder.loadTexts: cefexConfigPinningFailOverMode.setDescription('This object allows the user to identify the fabric port failure handling method when pinning is used.') cefexConfigPinningMaxLinks = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 5), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 100)).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexConfigPinningMaxLinks.setStatus('current') if mibBuilder.loadTexts: cefexConfigPinningMaxLinks.setDescription('This object allows the user to identify number of fabric ports to be used in distribution of pinned non fabric ports. As described above, pinning is the forwarding model used for fabric extenders that do not support local forwarding. Traffic from a non fabric port is forwarded to one fabric port. Selection of non fabric port pinning to fabric ports is distributed as evenly as possible across fabric ports. This object allows administrator to configure number of fabric ports that should be used for pinning non fabric ports.') cefexConfigCreationTime = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 6), TimeStamp()).setMaxAccess("readonly") if mibBuilder.loadTexts: cefexConfigCreationTime.setStatus('current') if mibBuilder.loadTexts: cefexConfigCreationTime.setDescription("The timestamp when the value of the corresponding instance of 'cefexConfigRowStatus' is made active. If an user modifies objects in this table, the new values are immediately activated. Depending on the object changed, an accepted fabric extender may become not acceptable. As a result, the fabric extender may be disconnected from the core switch.") cefexConfigRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 7), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: cefexConfigRowStatus.setStatus('current') if mibBuilder.loadTexts: cefexConfigRowStatus.setDescription('The status of this conceptual row. A row in this table becomes active immediately upon creation.') cEthernetFabricExtenderMIBCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1)) cEthernetFabricExtenderMIBGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2)) cEthernetFabricExtenderMIBCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1, 1)).setObjects(("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingConformanceObjects")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cEthernetFabricExtenderMIBCompliance = cEthernetFabricExtenderMIBCompliance.setStatus('current') if mibBuilder.loadTexts: cEthernetFabricExtenderMIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-ETHERNET-FABRIC-EXTENDER-MIB mib.') cefexBindingConformanceObjects = ObjectGroup((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2, 1)).setObjects(("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingExtenderIndex"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingCreationTime"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexBindingRowStatus"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigExtenderName"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigSerialNumCheck"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigSerialNum"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigPinningFailOverMode"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigPinningMaxLinks"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigCreationTime"), ("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", "cefexConfigRowStatus")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cefexBindingConformanceObjects = cefexBindingConformanceObjects.setStatus('current') if mibBuilder.loadTexts: cefexBindingConformanceObjects.setDescription('A collection of objects related to Fabric Extender binding to core switch.') mibBuilder.exportSymbols("CISCO-ETHERNET-FABRIC-EXTENDER-MIB", cefexBindingConformanceObjects=cefexBindingConformanceObjects, cefexConfigPinningFailOverMode=cefexConfigPinningFailOverMode, cefexConfig=cefexConfig, PYSNMP_MODULE_ID=ciscoEthernetFabricExtenderMIB, cefexConfigCreationTime=cefexConfigCreationTime, cefexBindingEntry=cefexBindingEntry, cefexConfigTable=cefexConfigTable, ciscoEthernetFabricExtenderMIBConformance=ciscoEthernetFabricExtenderMIBConformance, cefexBindingTable=cefexBindingTable, cefexBindingRowStatus=cefexBindingRowStatus, CiscoPortPinningMode=CiscoPortPinningMode, cEthernetFabricExtenderMIBCompliances=cEthernetFabricExtenderMIBCompliances, cefexConfigEntry=cefexConfigEntry, cefexConfigSerialNum=cefexConfigSerialNum, ciscoEthernetFabricExtenderMIBNotifs=ciscoEthernetFabricExtenderMIBNotifs, cefexConfigSerialNumCheck=cefexConfigSerialNumCheck, cefexConfigPinningMaxLinks=cefexConfigPinningMaxLinks, cEthernetFabricExtenderMIBCompliance=cEthernetFabricExtenderMIBCompliance, ciscoEthernetFabricExtenderObjects=ciscoEthernetFabricExtenderObjects, ciscoEthernetFabricExtenderMIB=ciscoEthernetFabricExtenderMIB, cEthernetFabricExtenderMIBGroups=cEthernetFabricExtenderMIBGroups, cefexBindingCreationTime=cefexBindingCreationTime, cefexConfigExtenderName=cefexConfigExtenderName, cefexConfigRowStatus=cefexConfigRowStatus, cefexBindingInterfaceOnCoreSwitch=cefexBindingInterfaceOnCoreSwitch, cefexBindingExtenderIndex=cefexBindingExtenderIndex)
(integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, single_value_constraint, constraints_intersection, value_size_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint') (cisco_mgmt,) = mibBuilder.importSymbols('CISCO-SMI', 'ciscoMgmt') (interface_index,) = mibBuilder.importSymbols('IF-MIB', 'InterfaceIndex') (snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString') (notification_group, object_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ObjectGroup', 'ModuleCompliance') (iso, bits, mib_scalar, mib_table, mib_table_row, mib_table_column, time_ticks, unsigned32, integer32, object_identity, counter64, mib_identifier, ip_address, counter32, gauge32, module_identity, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'iso', 'Bits', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'TimeTicks', 'Unsigned32', 'Integer32', 'ObjectIdentity', 'Counter64', 'MibIdentifier', 'IpAddress', 'Counter32', 'Gauge32', 'ModuleIdentity', 'NotificationType') (row_status, truth_value, display_string, time_stamp, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'RowStatus', 'TruthValue', 'DisplayString', 'TimeStamp', 'TextualConvention') cisco_ethernet_fabric_extender_mib = module_identity((1, 3, 6, 1, 4, 1, 9, 9, 691)) ciscoEthernetFabricExtenderMIB.setRevisions(('2009-02-23 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setRevisionsDescriptions(('Initial version of this MIB module.',)) if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setLastUpdated('200902230000Z') if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setOrganization('Cisco Systems Inc.') if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setContactInfo('Cisco Systems Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 USA Tel: +1 800 553 -NETS E-mail: cs-nexus5000@cisco.com') if mibBuilder.loadTexts: ciscoEthernetFabricExtenderMIB.setDescription("The MIB module for configuring one or more fabric extenders to connect into a core switch. Since fabric extenders might not be manageable entities, this MIB is assumed to be instrumented on the core switch. A fabric extender may be hardwired or preconfigured with a list of uplink ports. These uplink ports are used to connect to a core switch. A fabric extender is assumed to be directly connected to its core switch. Each physical interface on the core switch is assumed to be connected to one and only one fabric extender. When an extender powers up, it runs a link local discovery protocol to find core switches. The extender puts all available self identification in its discovery report. The core switch, depending on configuration, uses the extenders identification to accept or deny an extender from connecting. A fabric extender may be connected to different core switches via different uplink ports. In that case, each core switch's instance of the MIB may refer to the same extender. Ports on core switch used to connect to extenders are known as Fabric ports. A fabric port may be a physical interface or a logical interface such as an EtherChannel. An extender may connect into a core switch via more than one fabric port. Non fabric ports on an extender are typically used to connect hosts/servers.") cisco_ethernet_fabric_extender_mib_notifs = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 0)) cisco_ethernet_fabric_extender_objects = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1)) cisco_ethernet_fabric_extender_mib_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2)) cefex_config = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1)) class Ciscoportpinningmode(TextualConvention, Integer32): description = "This denotes the mode of re-pinning. Re-pinning defines how traffic forwarding is altered between fabric extender and its core switch in case of a fabric port state change. For fabric extenders that do not support local forwarding, they do not perform normal address learning and forwarding as a traditional 802.1d compliant bridge. A method named 'pinning' is used instead to dictate forwarding behavior. That means, traffic from a specific non fabric port is always forwarded to its pinned fabric port (no local forwarding). Each non fabric port is 'pinned' to one of the fabric ports. Load balancing aspects affecting pinned fabric port selection is dictated by internal implementation. If a particular fabric port fails, all the non fabric ports pinned to the failed fabric port may need to be moved to the remaining fabric ports, if any. Note that traffic distribution within a fabric EtherChannel does not utilize the 'pinning' method. The traditional hash of MAC address, IP address and TCP/UDP port is used to select fabric port within a fabric EtherChannel. It is planned that more enumeration will be introduced in subsequent updates. static(1) - If this mode is chosen, non fabric ports are not re-pinned to other fabric ports in case of fabric port failure." status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1)) named_values = named_values(('static', 1)) cefex_binding_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1)) if mibBuilder.loadTexts: cefexBindingTable.setStatus('current') if mibBuilder.loadTexts: cefexBindingTable.setDescription("This table has the binding information of a 'Fabric Port' to 'Fabric Extender' on a 'Extender Core Switch'. Each entry in this table configures one fabric port. A core switch does not accept fabric extender connections into its fabric ports unless the extender matches an entry in this table. Once matched, the extender is identified by the instances of the cefexBindingExtenderIndex in the matching row. The matching criteria and values to match for each fabric extender are specified in a row in the cefexConfigTable. Each row in the cefexConfigTable is indexed by cefexBindingExtenderIndex. Each row in this table has an unique cefexBindingExtenderIndex value, therefore, providing the linkage between the two tables. It is expected that user first creates a row in the cefexConfigTable for a specific cefexBindingExtenderIndex, followed by creation of the corresponding row in this table for the same cefexBindingExtenderIndex.. If a row in this table is created and if there is no corresponding row created in the cefexConfigTable, then the agent will automatically create a row in the cefexConfigTable with instance of every object in this row initialized to the DEFVAL.") cefex_binding_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1)).setIndexNames((0, 'CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingInterfaceOnCoreSwitch')) if mibBuilder.loadTexts: cefexBindingEntry.setStatus('current') if mibBuilder.loadTexts: cefexBindingEntry.setDescription('There is one entry in this table for each core switch Interface that can be connected to an uplink interface of a fabric extender.') cefex_binding_interface_on_core_switch = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 1), interface_index()) if mibBuilder.loadTexts: cefexBindingInterfaceOnCoreSwitch.setStatus('current') if mibBuilder.loadTexts: cefexBindingInterfaceOnCoreSwitch.setDescription('This object is the index that uniquely identifies an entry in the cefexBindingTable. The value of this object is an IfIndex to a fabric port. By creating a row in this table for a particular core switch interface, the user enables that core switch interface to accept a fabric extender. By default, a core switch interface does not have an entry in this table and consequently does not accept/respond to discovery requests from fabric extenders.') cefex_binding_extender_index = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 2), unsigned32().subtype(subtypeSpec=value_range_constraint(100, 999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexBindingExtenderIndex.setStatus('current') if mibBuilder.loadTexts: cefexBindingExtenderIndex.setDescription('The value of cefexBindingExtenderIndex used as an Index into the cefexConfigTable to select the Fabric Extender configuration for this binding entry. However, a value in this table does not imply that an instance with this value exists in the cefexConfigTable. If an entry corresponding to the value of this object does not exist in cefexConfigTable, the system default behavior (using DEFVAL values for all the configuration objects as defined in cefexConfigTable) of the Fabric Extender is used for this binding entry. Since an extender may connect to a core switch via multiple interfaces or fabric ports, it is important all the binding entries configuring the same fabric extender are configured with the same extender Index. Every interface on different fabric extender connecting into the same core switch is differentiated by its extender id. To refer to a port on the extender, an example representation may be extender/slot/port. Extender id values 1-99 are reserved. For example, reserved values can be used to identify the core switch and its line cards in the extender/slot/port naming scheme. cefexBindingExtenderIndex identifies further attributes of a fabric extender via the cefexConfigTable. A user may choose to identify a fabric extender by specifying its value of cefexConfigExtendername and/or other attributes.') cefex_binding_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 3), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cefexBindingCreationTime.setStatus('current') if mibBuilder.loadTexts: cefexBindingCreationTime.setDescription("The timestamp of this entry's creation time.") cefex_binding_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 1, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexBindingRowStatus.setStatus('current') if mibBuilder.loadTexts: cefexBindingRowStatus.setDescription('The status of this conceptual row.') cefex_config_table = mib_table((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2)) if mibBuilder.loadTexts: cefexConfigTable.setStatus('current') if mibBuilder.loadTexts: cefexConfigTable.setDescription('This table facilitates configuration applicable to an entire fabric extender.') cefex_config_entry = mib_table_row((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1)).setIndexNames((0, 'CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingExtenderIndex')) if mibBuilder.loadTexts: cefexConfigEntry.setStatus('current') if mibBuilder.loadTexts: cefexConfigEntry.setDescription('There is one entry in this table for each fabric extender configured on the core switch.') cefex_config_extender_name = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 1), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexConfigExtenderName.setStatus('current') if mibBuilder.loadTexts: cefexConfigExtenderName.setDescription("This object specifies a human readable string representing the name of the 'Extender'. Note that default value of this object will be the string 'FEXxxxx' where xxxx is value of cefexBindingExtenderIndex expressed as 4 digits. For example, if cefexBindingExtenderIndex is 123, the default value of this object is 'FEX0123'. This object allows the user to identify the extender with an appropriate name.") cefex_config_serial_num_check = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 2), truth_value().clone('false')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexConfigSerialNumCheck.setStatus('current') if mibBuilder.loadTexts: cefexConfigSerialNumCheck.setDescription("This object specifies if the serial number check is enabled for this extender or not. If the value of this object is 'true', then the core switch rejects any extender except for the one with serial number string specified by cefexConfigSerialNum. If the value of this object is 'false', then the core switch accept any extender.") cefex_config_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 3), snmp_admin_string().subtype(subtypeSpec=value_size_constraint(0, 32))).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexConfigSerialNum.setStatus('current') if mibBuilder.loadTexts: cefexConfigSerialNum.setDescription("This object allows the user to identify a fabric extender's Serial Number String. This object is relevant if cefexBindingSerialNumCheck is true. Zero is not a valid length for this object if cefexBindingSerialNumCheck is true.") cefex_config_pinning_fail_over_mode = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 4), cisco_port_pinning_mode().clone('static')).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexConfigPinningFailOverMode.setStatus('current') if mibBuilder.loadTexts: cefexConfigPinningFailOverMode.setDescription('This object allows the user to identify the fabric port failure handling method when pinning is used.') cefex_config_pinning_max_links = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 5), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 100)).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexConfigPinningMaxLinks.setStatus('current') if mibBuilder.loadTexts: cefexConfigPinningMaxLinks.setDescription('This object allows the user to identify number of fabric ports to be used in distribution of pinned non fabric ports. As described above, pinning is the forwarding model used for fabric extenders that do not support local forwarding. Traffic from a non fabric port is forwarded to one fabric port. Selection of non fabric port pinning to fabric ports is distributed as evenly as possible across fabric ports. This object allows administrator to configure number of fabric ports that should be used for pinning non fabric ports.') cefex_config_creation_time = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 6), time_stamp()).setMaxAccess('readonly') if mibBuilder.loadTexts: cefexConfigCreationTime.setStatus('current') if mibBuilder.loadTexts: cefexConfigCreationTime.setDescription("The timestamp when the value of the corresponding instance of 'cefexConfigRowStatus' is made active. If an user modifies objects in this table, the new values are immediately activated. Depending on the object changed, an accepted fabric extender may become not acceptable. As a result, the fabric extender may be disconnected from the core switch.") cefex_config_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 9, 9, 691, 1, 1, 2, 1, 7), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: cefexConfigRowStatus.setStatus('current') if mibBuilder.loadTexts: cefexConfigRowStatus.setDescription('The status of this conceptual row. A row in this table becomes active immediately upon creation.') c_ethernet_fabric_extender_mib_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1)) c_ethernet_fabric_extender_mib_groups = mib_identifier((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2)) c_ethernet_fabric_extender_mib_compliance = module_compliance((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 1, 1)).setObjects(('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingConformanceObjects')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): c_ethernet_fabric_extender_mib_compliance = cEthernetFabricExtenderMIBCompliance.setStatus('current') if mibBuilder.loadTexts: cEthernetFabricExtenderMIBCompliance.setDescription('The compliance statement for entities which implement the CISCO-ETHERNET-FABRIC-EXTENDER-MIB mib.') cefex_binding_conformance_objects = object_group((1, 3, 6, 1, 4, 1, 9, 9, 691, 2, 2, 1)).setObjects(('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingExtenderIndex'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingCreationTime'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexBindingRowStatus'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigExtenderName'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigSerialNumCheck'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigSerialNum'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigPinningFailOverMode'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigPinningMaxLinks'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigCreationTime'), ('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', 'cefexConfigRowStatus')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): cefex_binding_conformance_objects = cefexBindingConformanceObjects.setStatus('current') if mibBuilder.loadTexts: cefexBindingConformanceObjects.setDescription('A collection of objects related to Fabric Extender binding to core switch.') mibBuilder.exportSymbols('CISCO-ETHERNET-FABRIC-EXTENDER-MIB', cefexBindingConformanceObjects=cefexBindingConformanceObjects, cefexConfigPinningFailOverMode=cefexConfigPinningFailOverMode, cefexConfig=cefexConfig, PYSNMP_MODULE_ID=ciscoEthernetFabricExtenderMIB, cefexConfigCreationTime=cefexConfigCreationTime, cefexBindingEntry=cefexBindingEntry, cefexConfigTable=cefexConfigTable, ciscoEthernetFabricExtenderMIBConformance=ciscoEthernetFabricExtenderMIBConformance, cefexBindingTable=cefexBindingTable, cefexBindingRowStatus=cefexBindingRowStatus, CiscoPortPinningMode=CiscoPortPinningMode, cEthernetFabricExtenderMIBCompliances=cEthernetFabricExtenderMIBCompliances, cefexConfigEntry=cefexConfigEntry, cefexConfigSerialNum=cefexConfigSerialNum, ciscoEthernetFabricExtenderMIBNotifs=ciscoEthernetFabricExtenderMIBNotifs, cefexConfigSerialNumCheck=cefexConfigSerialNumCheck, cefexConfigPinningMaxLinks=cefexConfigPinningMaxLinks, cEthernetFabricExtenderMIBCompliance=cEthernetFabricExtenderMIBCompliance, ciscoEthernetFabricExtenderObjects=ciscoEthernetFabricExtenderObjects, ciscoEthernetFabricExtenderMIB=ciscoEthernetFabricExtenderMIB, cEthernetFabricExtenderMIBGroups=cEthernetFabricExtenderMIBGroups, cefexBindingCreationTime=cefexBindingCreationTime, cefexConfigExtenderName=cefexConfigExtenderName, cefexConfigRowStatus=cefexConfigRowStatus, cefexBindingInterfaceOnCoreSwitch=cefexBindingInterfaceOnCoreSwitch, cefexBindingExtenderIndex=cefexBindingExtenderIndex)
JAZZMIN_SETTINGS = { # title of the window 'site_title': 'DIT Admin', # Title on the brand, and the login screen (19 chars max) 'site_header': 'DIT', # square logo to use for your site, must be present in static files, used for favicon and brand on top left 'site_logo': 'data_log_sheet/img/logo.png', # Welcome text on the login screen 'welcome_sign': 'Welcome to DIT Data Log Sheet', # Copyright on the footer 'copyright': 'antonnifo', # The model admin to search from the search bar, search bar omitted if excluded # 'search_model': 'auth.User', 'search_model': 'data_log_sheet.DataLogSheet', # Field name on user model that contains avatar image 'user_avatar': None, ############ # Top Menu # ############ # Links to put along the top menu 'topmenu_links': [ # Url that gets reversed (Permissions can be added) {'name': 'Home', 'url': 'admin:index', 'permissions': ['auth.view_user']}, # external url that opens in a new window (Permissions can be added) # {'name': 'Support', 'url': 'https://github.com/farridav/django-jazzmin/issues', 'new_window': True}, # {'name': 'Site', 'url': 'https://www.citizenweekly.org/', 'new_window': True}, # model admin to link to (Permissions checked against model) {'model': 'data_log_sheet.DataLogSheet'}, {'model': 'auth.User'}, # App with dropdown menu to all its models pages (Permissions checked against models) {'app': 'data_log_sheet'}, ], ############# # User Menu # ############# # Additional links to include in the user menu on the top right ('app' url type is not allowed) 'usermenu_links': [ {'model': 'auth.user'} ], ############# # Side Menu # ############# # Whether to display the side menu 'show_sidebar': True, # Whether to aut expand the menu 'navigation_expanded': True, # Hide these apps when generating side menu e.g (auth) 'hide_apps': [], # Hide these models when generating side menu (e.g auth.user) 'hide_models': [], # List of apps to base side menu ordering off of (does not need to contain all apps) 'order_with_respect_to': ['data_log_sheet',], # Custom links to append to app groups, keyed on app name # 'custom_links': { # 'polls': [{ # 'name': 'Make Messages', # 'url': 'make_messages', # 'icon': 'fas fa-comments', # 'permissions': ['polls.view_poll'] # }] # }, # Custom icons for side menu apps/models See https://www.fontawesomecheatsheet.com/font-awesome-cheatsheet-5x/ # for a list of icon classes 'icons': { 'auth': 'fas fa-users-cog', 'auth.user': 'fas fa-user', 'auth.Group': 'fas fa-users', 'data_log_sheet.DataLogSheet': 'fas fa-file-alt', }, # Icons that are used when one is not manually specified 'default_icon_parents': 'fas fa-chevron-circle-right', 'default_icon_children': 'fab fa-pied-piper-alt', ############# # UI Tweaks # ############# # Relative paths to custom CSS/JS scripts (must be present in static files) "custom_css": None, "custom_js": None, # Whether to show the UI customizer on the sidebar "show_ui_builder": False, ############### # Change view # ############### # Render out the change view as a single form, or in tabs, current options are # - single # - horizontal_tabs (default) # - vertical_tabs # - collapsible # - carousel "changeform_format": "carousel", # override change forms on a per modeladmin basis "changeform_format_overrides": {"auth.user": "carousel", "auth.group": "carousel",}, # Add a language dropdown into the admin "language_chooser": False, }
jazzmin_settings = {'site_title': 'DIT Admin', 'site_header': 'DIT', 'site_logo': 'data_log_sheet/img/logo.png', 'welcome_sign': 'Welcome to DIT Data Log Sheet', 'copyright': 'antonnifo', 'search_model': 'data_log_sheet.DataLogSheet', 'user_avatar': None, 'topmenu_links': [{'name': 'Home', 'url': 'admin:index', 'permissions': ['auth.view_user']}, {'model': 'data_log_sheet.DataLogSheet'}, {'model': 'auth.User'}, {'app': 'data_log_sheet'}], 'usermenu_links': [{'model': 'auth.user'}], 'show_sidebar': True, 'navigation_expanded': True, 'hide_apps': [], 'hide_models': [], 'order_with_respect_to': ['data_log_sheet'], 'icons': {'auth': 'fas fa-users-cog', 'auth.user': 'fas fa-user', 'auth.Group': 'fas fa-users', 'data_log_sheet.DataLogSheet': 'fas fa-file-alt'}, 'default_icon_parents': 'fas fa-chevron-circle-right', 'default_icon_children': 'fab fa-pied-piper-alt', 'custom_css': None, 'custom_js': None, 'show_ui_builder': False, 'changeform_format': 'carousel', 'changeform_format_overrides': {'auth.user': 'carousel', 'auth.group': 'carousel'}, 'language_chooser': False}
numbers = [4, 400, 5000] print("Max Value Element: ", max(numbers)) animals = ["dogs", "crocodiles", "turtles"] print(max(animals)) animals.append(["zebras"]) #adds the the list with one element "zebras" to the existing list as one object. print(animals) animals.extend("zebras") #iterates through the string one character at a time and adds in this fashion print(animals) animals.append(["zebras, lions, tigers"]) #adds the list with three elements "zebras", "lions", "tigers" as one object to the existing list. Nested List. print(animals) animals.extend(["zebras, lions, tigers"]) print(animals) animals.extend(["zebras", "lions", "tigers"]) print(animals) print(animals.count(["zebras, lions, tigers"])) animals.append(["crocodiles"]) print(animals) animals.append("crocodiles") print(animals) print(animals.index("crocodiles")) animals.insert(3, "penguins") print(animals) animals.pop(-1) print(animals) animals.reverse() print(animals) new_animals = [] for e in animals: if e not in ("z", "e", "b", "r", "a", "s"): new_animals.append(e) animals = new_animals print(animals) animals = [e] animals = [e for e in animals if e not in {"z", "e", "b", "r", "a", "s"}]
numbers = [4, 400, 5000] print('Max Value Element: ', max(numbers)) animals = ['dogs', 'crocodiles', 'turtles'] print(max(animals)) animals.append(['zebras']) print(animals) animals.extend('zebras') print(animals) animals.append(['zebras, lions, tigers']) print(animals) animals.extend(['zebras, lions, tigers']) print(animals) animals.extend(['zebras', 'lions', 'tigers']) print(animals) print(animals.count(['zebras, lions, tigers'])) animals.append(['crocodiles']) print(animals) animals.append('crocodiles') print(animals) print(animals.index('crocodiles')) animals.insert(3, 'penguins') print(animals) animals.pop(-1) print(animals) animals.reverse() print(animals) new_animals = [] for e in animals: if e not in ('z', 'e', 'b', 'r', 'a', 's'): new_animals.append(e) animals = new_animals print(animals) animals = [e] animals = [e for e in animals if e not in {'z', 'e', 'b', 'r', 'a', 's'}]
def get_subarray_sum_1(s_array): #O(n**2) ''' Return max subarray and max subarray sum ''' #initialise variables max_sum = 0 max_sub_array = [] #get all items in array and go through them for item in range(len(s_array)): #get all possible sub arrays while maintaining their max sum and max subarray #for every tiem go to items after it and record max sum and max sub array if greater than current max sum index1 = item index2 = item while index2 < len(s_array): index2 += 1 if ( sum(s_array[index1:index2+1]) > (max_sum) ): max_sum = sum(s_array[index1:index2+1]) max_sub_array = s_array[index1:index2+1] return (max_sub_array,max_sum) def get_subarray_sum_2(s_array): #O(n**2) ''' Return max subarray and max subarray sum ''' #initialise variables max_sum = 0 max_sub_array = [] #get all items in array and go through them for item in range(len(s_array)): #get all possible sub arrays while maintaining their max sum and max subarray #for every tiem go to items after it and record max sum and max sub array if greater than current max sum if item == 0: continue if( sum( s_array[:item+1] ) > max_sum): max_sum = sum( s_array[:item+1] ) max_sub_array = s_array[:item+1] return (max_sub_array,max_sum) #get subarray s_array = [2, 4, -3, 5, -9 ,6, 2, 1 ,-5] #get subarray and subarray sum print(get_subarray_sum_1(s_array))
def get_subarray_sum_1(s_array): """ Return max subarray and max subarray sum """ max_sum = 0 max_sub_array = [] for item in range(len(s_array)): index1 = item index2 = item while index2 < len(s_array): index2 += 1 if sum(s_array[index1:index2 + 1]) > max_sum: max_sum = sum(s_array[index1:index2 + 1]) max_sub_array = s_array[index1:index2 + 1] return (max_sub_array, max_sum) def get_subarray_sum_2(s_array): """ Return max subarray and max subarray sum """ max_sum = 0 max_sub_array = [] for item in range(len(s_array)): if item == 0: continue if sum(s_array[:item + 1]) > max_sum: max_sum = sum(s_array[:item + 1]) max_sub_array = s_array[:item + 1] return (max_sub_array, max_sum) s_array = [2, 4, -3, 5, -9, 6, 2, 1, -5] print(get_subarray_sum_1(s_array))
#sort function def Binary_Insertion_Sort(lst): for i in range(1, len(lst)): x = lst[i] # here x is a temporary variable pos = BinarySearch(lst, x, 0, i) + 1 for j in range(i, pos, -1): lst[j] = lst[j - 1] lst[pos] = x #binary search function for finding the next value def BinarySearch(array, value, low, high): if high - low <= 1: if value < array[low]: return low - 1 else: return low mid = (low + high)//2 if array[mid] < value: return BinarySearch(array, value, mid, high) elif array[mid] > value: return BinarySearch(array, value, low, mid) else: return mid #main function array = input('Enter the array of numbers: ').split() #enter the values leaving a space between each array = [int(x) for x in array] Binary_Insertion_Sort(array) print('The array after sorting: ', end='') print(array) ''' Example: Input: Enter the array of numbers: 90 -20 8 11 3 Output: The array after sorting: [-20, 3, 8, 11, 90] '''
def binary__insertion__sort(lst): for i in range(1, len(lst)): x = lst[i] pos = binary_search(lst, x, 0, i) + 1 for j in range(i, pos, -1): lst[j] = lst[j - 1] lst[pos] = x def binary_search(array, value, low, high): if high - low <= 1: if value < array[low]: return low - 1 else: return low mid = (low + high) // 2 if array[mid] < value: return binary_search(array, value, mid, high) elif array[mid] > value: return binary_search(array, value, low, mid) else: return mid array = input('Enter the array of numbers: ').split() array = [int(x) for x in array] binary__insertion__sort(array) print('The array after sorting: ', end='') print(array) '\nExample:\nInput:\nEnter the array of numbers: 90 -20 8 11 3\nOutput:\nThe array after sorting: [-20, 3, 8, 11, 90]\n'
prog = ['H', 'Q', '9'] code = list(i for i in input()) run = False for i in code: if i in prog: run = True break if run: print('YES') else: print('NO')
prog = ['H', 'Q', '9'] code = list((i for i in input())) run = False for i in code: if i in prog: run = True break if run: print('YES') else: print('NO')
def th_selector(over_area, altitude): if altitude <= 10: th_x = over_area // 2 # 40 th_y = over_area // 4 # 20 return th_x, th_y elif altitude <=20: th_x = over_area // 8 th_y = over_area // 20 return th_x, th_y else: th_x = over_area // 20 th_y = over_area // 40 return th_x, th_y def is_overlap_area(gt, box): #order: [start x, start y, end x, end y] if(gt[0]<=int(box[0]) and int(box[2])<=gt[2])\ or (gt[0]<=int(box[2]) and int(box[2])<=gt[2])\ or (gt[0]<=int(box[0]) and int(box[0])<=gt[2])\ or (int(box[0])<=gt[0] and gt[2]<=int(box[2])): return True else: return False def lable_selector(box_a, box_b): #order: [start x, start y, end x, end y, lable, score] if box_a[5] > box_b[5]: return box_a[4], box_a[5] else: return box_b[4], box_b[5] def bigger_box(box_a, box_b): #order: [start x, start y, end x, end y, lable, score] lable, score = lable_selector(box_a, box_b) bigger_box = [min(box_a[0], box_b[0]), min(box_a[1], box_b[1]) , max(box_a[2], box_b[2]), max(box_a[3], box_b[3]) , lable, score] return bigger_box def is_same_obj(box, r_box, over_area, th_x, th_y): #order: [start x, start y, end x, end y] r_x_dist = (r_box[2] - r_box[0]) l_x_dist = (box[2] - box[0]) small_th = over_area // 3 r_mx = (r_box[0] + r_box[2]) // 2 sy_dist = abs(r_box[1] - box[1]) ey_dist = abs(r_box[3] - box[3]) l_mx = (box[0] + box[2]) // 2 # is y distance close? if sy_dist<th_y and ey_dist<th_y: # is x center distance close? if abs(l_mx - r_mx) < th_x: return True else: # is object too small? if l_x_dist < small_th and r_x_dist < small_th: #return True return False box_size = (box[2] - box[0]) * (box[3] - box[1]) r_box_size = (r_box[2] - r_box[0]) * (r_box[3] - r_box[1]) th_size = over_area * over_area * 4 th_th = int(over_area*0.2) #if (box_size >= th_size) and (r_box_size >= th_size): # return True # if (box_size >= th_size) and (r_box_size >= th_size)\ and (abs(box[2] - over_area*9)<th_th)\ and (abs(r_box[0] - over_area*7)<th_th)\ and r_box[0] < box[2]: return True return False else: return False def get_close_obj(boxes, r_box, over_area, th_x, th_y): #order: [start x, start y, end x, end y, lable, score] # make the same object map obj_map = [] new_obj = 0 for j in range(len(boxes)): obj_map.append(is_same_obj(boxes[j], r_box, over_area, th_x, th_y)) # change the existing object for j in range(len(obj_map)): new_obj += int(obj_map[j]) if obj_map[j]: boxes[j] = bigger_box(r_box, boxes[j]) break # add the none existing obj if new_obj == 0: boxes.append(r_box) return None
def th_selector(over_area, altitude): if altitude <= 10: th_x = over_area // 2 th_y = over_area // 4 return (th_x, th_y) elif altitude <= 20: th_x = over_area // 8 th_y = over_area // 20 return (th_x, th_y) else: th_x = over_area // 20 th_y = over_area // 40 return (th_x, th_y) def is_overlap_area(gt, box): if gt[0] <= int(box[0]) and int(box[2]) <= gt[2] or (gt[0] <= int(box[2]) and int(box[2]) <= gt[2]) or (gt[0] <= int(box[0]) and int(box[0]) <= gt[2]) or (int(box[0]) <= gt[0] and gt[2] <= int(box[2])): return True else: return False def lable_selector(box_a, box_b): if box_a[5] > box_b[5]: return (box_a[4], box_a[5]) else: return (box_b[4], box_b[5]) def bigger_box(box_a, box_b): (lable, score) = lable_selector(box_a, box_b) bigger_box = [min(box_a[0], box_b[0]), min(box_a[1], box_b[1]), max(box_a[2], box_b[2]), max(box_a[3], box_b[3]), lable, score] return bigger_box def is_same_obj(box, r_box, over_area, th_x, th_y): r_x_dist = r_box[2] - r_box[0] l_x_dist = box[2] - box[0] small_th = over_area // 3 r_mx = (r_box[0] + r_box[2]) // 2 sy_dist = abs(r_box[1] - box[1]) ey_dist = abs(r_box[3] - box[3]) l_mx = (box[0] + box[2]) // 2 if sy_dist < th_y and ey_dist < th_y: if abs(l_mx - r_mx) < th_x: return True else: if l_x_dist < small_th and r_x_dist < small_th: return False box_size = (box[2] - box[0]) * (box[3] - box[1]) r_box_size = (r_box[2] - r_box[0]) * (r_box[3] - r_box[1]) th_size = over_area * over_area * 4 th_th = int(over_area * 0.2) if box_size >= th_size and r_box_size >= th_size and (abs(box[2] - over_area * 9) < th_th) and (abs(r_box[0] - over_area * 7) < th_th) and (r_box[0] < box[2]): return True return False else: return False def get_close_obj(boxes, r_box, over_area, th_x, th_y): obj_map = [] new_obj = 0 for j in range(len(boxes)): obj_map.append(is_same_obj(boxes[j], r_box, over_area, th_x, th_y)) for j in range(len(obj_map)): new_obj += int(obj_map[j]) if obj_map[j]: boxes[j] = bigger_box(r_box, boxes[j]) break if new_obj == 0: boxes.append(r_box) return None
MAX_SIZE = 2000001 isprime = [True] * MAX_SIZE prime = [] SPF = [None] * (MAX_SIZE) def sieve(N): isprime[0] = isprime[1] = False for i in range(2, N): if isprime[i] == True: prime.append(i) SPF[i] = i j = 0 while j < len(prime) and i * prime[j] < N and prime[j] <= SPF[i]: isprime[i * prime[j]] = False SPF[i * prime[j]] = prime[j] j += 1 N = int(input()) sieve(N) print(prime)
max_size = 2000001 isprime = [True] * MAX_SIZE prime = [] spf = [None] * MAX_SIZE def sieve(N): isprime[0] = isprime[1] = False for i in range(2, N): if isprime[i] == True: prime.append(i) SPF[i] = i j = 0 while j < len(prime) and i * prime[j] < N and (prime[j] <= SPF[i]): isprime[i * prime[j]] = False SPF[i * prime[j]] = prime[j] j += 1 n = int(input()) sieve(N) print(prime)
# # 01 solution line_nums = input().split() remove = int(input()) line_nums_list = [int(x) for x in line_nums] for i in range(remove): line_nums_list.remove(min(line_nums_list)) line_nums = ", ".join([str(x) for x in line_nums_list]) print(line_nums) # # INPUT 1 # 10 9 8 7 6 5 # 3 # # INPUT 2 # 1 10 2 9 3 8 # 2 # # INPUT END
line_nums = input().split() remove = int(input()) line_nums_list = [int(x) for x in line_nums] for i in range(remove): line_nums_list.remove(min(line_nums_list)) line_nums = ', '.join([str(x) for x in line_nums_list]) print(line_nums)
''' Routines for generating dynamic files. ''' def file_with_dyn_area( file_path, content, first_guard='<!-- guard line: beginning -->', second_guard='<!-- guard line: end -->'): ''' The function reads a file, locates the guards, replaces the content. ''' full_content = '' guard_count = 0 with open(file_path, 'rt') as finp: for fline in finp: finp_trim = fline[:-1].strip() if guard_count == 0: full_content += fline if finp_trim == first_guard: guard_count = 1 full_content += content elif guard_count == 1: if finp_trim == second_guard: full_content += fline guard_count = 2 else: full_content += fline if guard_count != 2: raise IOError('file %s is not a proper template' % file_path) with open(file_path, 'wt') as fout: fout.write(full_content)
""" Routines for generating dynamic files. """ def file_with_dyn_area(file_path, content, first_guard='<!-- guard line: beginning -->', second_guard='<!-- guard line: end -->'): """ The function reads a file, locates the guards, replaces the content. """ full_content = '' guard_count = 0 with open(file_path, 'rt') as finp: for fline in finp: finp_trim = fline[:-1].strip() if guard_count == 0: full_content += fline if finp_trim == first_guard: guard_count = 1 full_content += content elif guard_count == 1: if finp_trim == second_guard: full_content += fline guard_count = 2 else: full_content += fline if guard_count != 2: raise io_error('file %s is not a proper template' % file_path) with open(file_path, 'wt') as fout: fout.write(full_content)
# @arnaud drop this file? # ---------------------------------------------------------------------- # # Misc constants # UA_MAXOP = 6 # ---------------------------------------------------------------------- # instruc_t related constants # # instruc_t.feature # CF_STOP = 0x00001 # Instruction doesn't pass execution to the next instruction CF_CALL = 0x00002 # CALL instruction (should make a procedure here) CF_CHG1 = 0x00004 # The instruction modifies the first operand CF_CHG2 = 0x00008 # The instruction modifies the second operand CF_CHG3 = 0x00010 # The instruction modifies the third operand CF_CHG4 = 0x00020 # The instruction modifies 4 operand CF_CHG5 = 0x00040 # The instruction modifies 5 operand CF_CHG6 = 0x00080 # The instruction modifies 6 operand CF_USE1 = 0x00100 # The instruction uses value of the first operand CF_USE2 = 0x00200 # The instruction uses value of the second operand CF_USE3 = 0x00400 # The instruction uses value of the third operand CF_USE4 = 0x00800 # The instruction uses value of the 4 operand CF_USE5 = 0x01000 # The instruction uses value of the 5 operand CF_USE6 = 0x02000 # The instruction uses value of the 6 operand CF_JUMP = 0x04000 # The instruction passes execution using indirect jump or call (thus needs additional analysis) CF_SHFT = 0x08000 # Bit-shift instruction (shl,shr...) CF_HLL = 0x10000 # Instruction may be present in a high level language function. # ---------------------------------------------------------------------- # op_t related constants # # op_t.type # Description Data field o_void = 0 # No Operand ---------- o_reg = 1 # General Register (al,ax,es,ds...) reg o_mem = 2 # Direct Memory Reference (DATA) addr o_phrase = 3 # Memory Ref [Base Reg + Index Reg] phrase o_displ = 4 # Memory Reg [Base Reg + Index Reg + Displacement] phrase+addr o_imm = 5 # Immediate Value value o_far = 6 # Immediate Far Address (CODE) addr o_near = 7 # Immediate Near Address (CODE) addr o_idpspec0 = 8 # Processor specific type o_idpspec1 = 9 # Processor specific type o_idpspec2 = 10 # Processor specific type o_idpspec3 = 11 # Processor specific type o_idpspec4 = 12 # Processor specific type o_idpspec5 = 13 # Processor specific type # There can be more processor specific types # # op_t.dtype # dt_byte = 0 # 8 bit dt_word = 1 # 16 bit dt_dword = 2 # 32 bit dt_float = 3 # 4 byte dt_double = 4 # 8 byte dt_tbyte = 5 # variable size (ph.tbyte_size) dt_packreal = 6 # packed real format for mc68040 dt_qword = 7 # 64 bit dt_byte16 = 8 # 128 bit dt_code = 9 # ptr to code (not used?) dt_void = 10 # none dt_fword = 11 # 48 bit dt_bitfild = 12 # bit field (mc680x0) dt_string = 13 # pointer to asciiz string dt_unicode = 14 # pointer to unicode string dt_ldbl = 15 # long double (which may be different from tbyte) dt_byte32 = 16 # 256 bit dt_byte64 = 17 # 512 bit # # op_t.flags # OF_NO_BASE_DISP = 0x80 # o_displ: base displacement doesn't exist meaningful only for o_displ type if set, base displacement (x.addr) doesn't exist. OF_OUTER_DISP = 0x40 # o_displ: outer displacement exists meaningful only for o_displ type if set, outer displacement (x.value) exists. PACK_FORM_DEF = 0x20 # !o_reg + dt_packreal: packed factor defined OF_NUMBER = 0x10 # can be output as number only if set, the operand can be converted to a number only OF_SHOW = 0x08 # should the operand be displayed? if clear, the operand is hidden and should not be displayed # # insn_t.flags # INSN_MACRO = 0x01 # macro instruction INSN_MODMAC = 0x02 # macros: may modify the database to make room for the macro insn # ---------------------------------------------------------------------- # asm_t related constants # # asm_t.flag # AS_OFFST = 0x00000001 # offsets are 'offset xxx' ? AS_COLON = 0x00000002 # create colons after data names ? AS_UDATA = 0x00000004 # can use '?' in data directives AS_2CHRE = 0x00000008 # double char constants are: "xy AS_NCHRE = 0x00000010 # char constants are: 'x AS_N2CHR = 0x00000020 # can't have 2 byte char consts # ASCII directives: AS_1TEXT = 0x00000040 # 1 text per line, no bytes AS_NHIAS = 0x00000080 # no characters with high bit AS_NCMAS = 0x00000100 # no commas in ascii directives AS_HEXFM = 0x00000E00 # format of hex numbers: ASH_HEXF0 = 0x00000000 # 34h ASH_HEXF1 = 0x00000200 # h'34 ASH_HEXF2 = 0x00000400 # 34 ASH_HEXF3 = 0x00000600 # 0x34 ASH_HEXF4 = 0x00000800 # $34 ASH_HEXF5 = 0x00000A00 # <^R > (radix) AS_DECFM = 0x00003000 # format of dec numbers: ASD_DECF0 = 0x00000000 # 34 ASD_DECF1 = 0x00001000 # #34 ASD_DECF2 = 0x00002000 # 34. ASD_DECF3 = 0x00003000 # .34 AS_OCTFM = 0x0001C000 # format of octal numbers: ASO_OCTF0 = 0x00000000 # 123o ASO_OCTF1 = 0x00004000 # 0123 ASO_OCTF2 = 0x00008000 # 123 ASO_OCTF3 = 0x0000C000 # @123 ASO_OCTF4 = 0x00010000 # o'123 ASO_OCTF5 = 0x00014000 # 123q ASO_OCTF6 = 0x00018000 # ~123 AS_BINFM = 0x000E0000 # format of binary numbers: ASB_BINF0 = 0x00000000 # 010101b ASB_BINF1 = 0x00020000 # ^B010101 ASB_BINF2 = 0x00040000 # %010101 ASB_BINF3 = 0x00060000 # 0b1010101 ASB_BINF4 = 0x00080000 # b'1010101 ASB_BINF5 = 0x000A0000 # b'1010101' AS_UNEQU = 0x00100000 # replace undefined data items # with EQU (for ANTA's A80) AS_ONEDUP = 0x00200000 # One array definition per line AS_NOXRF = 0x00400000 # Disable xrefs during the output file generation AS_XTRNTYPE = 0x00800000 # Assembler understands type of extrn # symbols as ":type" suffix AS_RELSUP = 0x01000000 # Checkarg: 'and','or','xor' operations # with addresses are possible AS_LALIGN = 0x02000000 # Labels at "align" keyword # are supported. AS_NOCODECLN = 0x04000000 # don't create colons after code names AS_NOTAB = 0x08000000 # Disable tabulation symbols during the output file generation AS_NOSPACE = 0x10000000 # No spaces in expressions AS_ALIGN2 = 0x20000000 # .align directive expects an exponent rather than a power of 2 # (.align 5 means to align at 32byte boundary) AS_ASCIIC = 0x40000000 # ascii directive accepts C-like # escape sequences (\n,\x01 and similar) AS_ASCIIZ = 0x80000000 # ascii directive inserts implicit # zero byte at the end # ---------------------------------------------------------------------- # processor_t related constants IDP_INTERFACE_VERSION = 76 CUSTOM_INSN_ITYPE = 0x8000 REG_SPOIL = 0x80000000 REAL_ERROR_FORMAT = -1 # not supported format for current .idp REAL_ERROR_RANGE = -2 # number too big (small) for store (mem NOT modifyed) REAL_ERROR_BADDATA = -3 # illegal real data for load (IEEE data not filled) # # Check whether the operand is relative to stack pointer or frame pointer. # This function is used to determine how to output a stack variable # This function may be absent. If it is absent, then all operands # are sp based by default. # Define this function only if some stack references use frame pointer # instead of stack pointer. # returns flags: OP_FP_BASED = 0x00000000 # operand is FP based OP_SP_BASED = 0x00000001 # operand is SP based OP_SP_ADD = 0x00000000 # operand value is added to the pointer OP_SP_SUB = 0x00000002 # operand value is substracted from the pointer # # processor_t.flag # PR_SEGS = 0x000001 # has segment registers? PR_USE32 = 0x000002 # supports 32-bit addressing? PR_DEFSEG32 = 0x000004 # segments are 32-bit by default PR_RNAMESOK = 0x000008 # allow to user register names for location names PR_ADJSEGS = 0x000020 # IDA may adjust segments moving their starting/ending addresses. PR_DEFNUM = 0x0000C0 # default number representation: PRN_HEX = 0x000000 # hex PRN_OCT = 0x000040 # octal PRN_DEC = 0x000080 # decimal PRN_BIN = 0x0000C0 # binary PR_WORD_INS = 0x000100 # instruction codes are grouped 2bytes in binrary line prefix PR_NOCHANGE = 0x000200 # The user can't change segments and code/data attributes (display only) PR_ASSEMBLE = 0x000400 # Module has a built-in assembler and understands IDP_ASSEMBLE PR_ALIGN = 0x000800 # All data items should be aligned properly PR_TYPEINFO = 0x001000 # the processor module supports # type information callbacks # ALL OF THEM SHOULD BE IMPLEMENTED! PR_USE64 = 0x002000 # supports 64-bit addressing? PR_SGROTHER = 0x004000 # the segment registers don't contain # the segment selectors, something else PR_STACK_UP = 0x008000 # the stack grows up PR_BINMEM = 0x010000 # the processor module provides correct # segmentation for binary files # (i.e. it creates additional segments) # The kernel will not ask the user # to specify the RAM/ROM sizes PR_SEGTRANS = 0x020000 # the processor module supports # the segment translation feature # (it means it calculates the code # addresses using the map_code_ea() function) PR_CHK_XREF = 0x040000 # don't allow near xrefs between segments # with different bases PR_NO_SEGMOVE = 0x080000 # the processor module doesn't support move_segm() # (i.e. the user can't move segments) PR_USE_ARG_TYPES = 0x200000 # use ph.use_arg_types callback PR_SCALE_STKVARS = 0x400000 # use ph.get_stkvar_scale callback PR_DELAYED = 0x800000 # has delayed jumps and calls PR_ALIGN_INSN = 0x1000000 # allow ida to create alignment instructions # arbirtrarily. Since these instructions # might lead to other wrong instructions # and spoil the listing, IDA does not create # them by default anymore PR_PURGING = 0x2000000 # there are calling conventions which may # purge bytes from the stack PR_CNDINSNS = 0x4000000 # has conditional instructions PR_USE_TBYTE = 0x8000000 # BTMT_SPECFLT means _TBYTE type PR_DEFSEG64 = 0x10000000 # segments are 64-bit by default # ---------------------------------------------------------------------- OOF_SIGNMASK = 0x0003 # sign symbol (+/-) output: OOFS_IFSIGN = 0x0000 # output sign if needed OOFS_NOSIGN = 0x0001 # don't output sign, forbid the user to change the sign OOFS_NEEDSIGN = 0x0002 # always out sign (+-) OOF_SIGNED = 0x0004 # output as signed if < 0 OOF_NUMBER = 0x0008 # always as a number OOF_WIDTHMASK = 0x0070 # width of value in bits: OOFW_IMM = 0x0000 # take from x.dtype OOFW_8 = 0x0010 # 8 bit width OOFW_16 = 0x0020 # 16 bit width OOFW_24 = 0x0030 # 24 bit width OOFW_32 = 0x0040 # 32 bit width OOFW_64 = 0x0050 # 32 bit width OOF_ADDR = 0x0080 # output x.addr, otherwise x.value OOF_OUTER = 0x0100 # output outer operand OOF_ZSTROFF = 0x0200 # meaningful only if is_stroff(uFlag) # append a struct field name if # the field offset is zero? # if AFL_ZSTROFF is set, then this flag # is ignored. OOF_NOBNOT = 0x0400 # prohibit use of binary not OOF_SPACES = 0x0800 # do not suppress leading spaces # currently works only for floating point numbers # ---------------------------------------------------------------------- class insn_t(object): def __init__(self, noperands = UA_MAXOP): self.auxpref = 0 self.cs = 0 self.ea = 0 self.flags = 0 self.insnpref = 0 self.ip = 0 self.itype = 0 self.n = 0 self.segpref = 0 self.size = 0 self.ops = [] # store the number of operands self.n = noperands # create operands for i in xrange(0, noperands): op = op_t() op.n = i self.ops.append(op) setattr(self, 'Op%d' % (i+1), op) def __getitem__(self, i): return self.ops[i] # ---------------------------------------------------------------------- class op_t(object): def __init__(self): self.addr = 0 self.dtype = 0 self.flags = 0 self.n = 0 self.offb = 0 self.offo = 0 self.reg = 0 self.specval = 0 self.specflag1 = 0 self.specflag2 = 0 self.specflag3 = 0 self.specflag4 = 0 self.type = 0 self.value = 0 # make sure reg and phrase have the same value def __setattr__(self, name, value): if name == 'reg' or name == 'phrase': object.__setattr__(self, 'reg', value) object.__setattr__(self, 'phrase', value) else: object.__setattr__(self, name, value)
ua_maxop = 6 cf_stop = 1 cf_call = 2 cf_chg1 = 4 cf_chg2 = 8 cf_chg3 = 16 cf_chg4 = 32 cf_chg5 = 64 cf_chg6 = 128 cf_use1 = 256 cf_use2 = 512 cf_use3 = 1024 cf_use4 = 2048 cf_use5 = 4096 cf_use6 = 8192 cf_jump = 16384 cf_shft = 32768 cf_hll = 65536 o_void = 0 o_reg = 1 o_mem = 2 o_phrase = 3 o_displ = 4 o_imm = 5 o_far = 6 o_near = 7 o_idpspec0 = 8 o_idpspec1 = 9 o_idpspec2 = 10 o_idpspec3 = 11 o_idpspec4 = 12 o_idpspec5 = 13 dt_byte = 0 dt_word = 1 dt_dword = 2 dt_float = 3 dt_double = 4 dt_tbyte = 5 dt_packreal = 6 dt_qword = 7 dt_byte16 = 8 dt_code = 9 dt_void = 10 dt_fword = 11 dt_bitfild = 12 dt_string = 13 dt_unicode = 14 dt_ldbl = 15 dt_byte32 = 16 dt_byte64 = 17 of_no_base_disp = 128 of_outer_disp = 64 pack_form_def = 32 of_number = 16 of_show = 8 insn_macro = 1 insn_modmac = 2 as_offst = 1 as_colon = 2 as_udata = 4 as_2_chre = 8 as_nchre = 16 as_n2_chr = 32 as_1_text = 64 as_nhias = 128 as_ncmas = 256 as_hexfm = 3584 ash_hexf0 = 0 ash_hexf1 = 512 ash_hexf2 = 1024 ash_hexf3 = 1536 ash_hexf4 = 2048 ash_hexf5 = 2560 as_decfm = 12288 asd_decf0 = 0 asd_decf1 = 4096 asd_decf2 = 8192 asd_decf3 = 12288 as_octfm = 114688 aso_octf0 = 0 aso_octf1 = 16384 aso_octf2 = 32768 aso_octf3 = 49152 aso_octf4 = 65536 aso_octf5 = 81920 aso_octf6 = 98304 as_binfm = 917504 asb_binf0 = 0 asb_binf1 = 131072 asb_binf2 = 262144 asb_binf3 = 393216 asb_binf4 = 524288 asb_binf5 = 655360 as_unequ = 1048576 as_onedup = 2097152 as_noxrf = 4194304 as_xtrntype = 8388608 as_relsup = 16777216 as_lalign = 33554432 as_nocodecln = 67108864 as_notab = 134217728 as_nospace = 268435456 as_align2 = 536870912 as_asciic = 1073741824 as_asciiz = 2147483648 idp_interface_version = 76 custom_insn_itype = 32768 reg_spoil = 2147483648 real_error_format = -1 real_error_range = -2 real_error_baddata = -3 op_fp_based = 0 op_sp_based = 1 op_sp_add = 0 op_sp_sub = 2 pr_segs = 1 pr_use32 = 2 pr_defseg32 = 4 pr_rnamesok = 8 pr_adjsegs = 32 pr_defnum = 192 prn_hex = 0 prn_oct = 64 prn_dec = 128 prn_bin = 192 pr_word_ins = 256 pr_nochange = 512 pr_assemble = 1024 pr_align = 2048 pr_typeinfo = 4096 pr_use64 = 8192 pr_sgrother = 16384 pr_stack_up = 32768 pr_binmem = 65536 pr_segtrans = 131072 pr_chk_xref = 262144 pr_no_segmove = 524288 pr_use_arg_types = 2097152 pr_scale_stkvars = 4194304 pr_delayed = 8388608 pr_align_insn = 16777216 pr_purging = 33554432 pr_cndinsns = 67108864 pr_use_tbyte = 134217728 pr_defseg64 = 268435456 oof_signmask = 3 oofs_ifsign = 0 oofs_nosign = 1 oofs_needsign = 2 oof_signed = 4 oof_number = 8 oof_widthmask = 112 oofw_imm = 0 oofw_8 = 16 oofw_16 = 32 oofw_24 = 48 oofw_32 = 64 oofw_64 = 80 oof_addr = 128 oof_outer = 256 oof_zstroff = 512 oof_nobnot = 1024 oof_spaces = 2048 class Insn_T(object): def __init__(self, noperands=UA_MAXOP): self.auxpref = 0 self.cs = 0 self.ea = 0 self.flags = 0 self.insnpref = 0 self.ip = 0 self.itype = 0 self.n = 0 self.segpref = 0 self.size = 0 self.ops = [] self.n = noperands for i in xrange(0, noperands): op = op_t() op.n = i self.ops.append(op) setattr(self, 'Op%d' % (i + 1), op) def __getitem__(self, i): return self.ops[i] class Op_T(object): def __init__(self): self.addr = 0 self.dtype = 0 self.flags = 0 self.n = 0 self.offb = 0 self.offo = 0 self.reg = 0 self.specval = 0 self.specflag1 = 0 self.specflag2 = 0 self.specflag3 = 0 self.specflag4 = 0 self.type = 0 self.value = 0 def __setattr__(self, name, value): if name == 'reg' or name == 'phrase': object.__setattr__(self, 'reg', value) object.__setattr__(self, 'phrase', value) else: object.__setattr__(self, name, value)
n = int(input()) if n == 1: print(101) exit() a = sum(map(int, input().split())) ans = 0 for i in range(101): if (a + i) % n == 0: ans += 1 print(ans)
n = int(input()) if n == 1: print(101) exit() a = sum(map(int, input().split())) ans = 0 for i in range(101): if (a + i) % n == 0: ans += 1 print(ans)
class QuerioFileError(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, args, kwargs)
class Queriofileerror(Exception): def __init__(self, *args, **kwargs): Exception.__init__(self, args, kwargs)
def countWords(file): wordsCount = 0 with open(file, "r") as f: for line in f: words = line.split() wordsCount += len(words) print (wordsCount)
def count_words(file): words_count = 0 with open(file, 'r') as f: for line in f: words = line.split() words_count += len(words) print(wordsCount)
class SqlInsertError(Exception): def __init__(self, object, table: str) -> None: self.object = object self.table = table super().__init__(f'Could not insert {object.__repr__()} in {table}.') class SqlSelectError(Exception): def __init__(self, table: str, function: str, data=None) -> None: self.table = table self.function = function self.data = data super().__init__(f'Could not select in {table} with {function}. Query data was {data}') class SqlDeleteError(Exception): def __init__(self, table: str, function: str, data=None) -> None: self.table = table self.function = function self.data = data super().__init__(f'Could not delete in {table} with {function}. Query data was {data}') class SqlUpdateError(Exception): def __init__(self, table: str, function: str, data=None) -> None: self.table = table self.function = function self.data = data super().__init__(f'Could not update in {table} with {function}. Query data was {data}')
class Sqlinserterror(Exception): def __init__(self, object, table: str) -> None: self.object = object self.table = table super().__init__(f'Could not insert {object.__repr__()} in {table}.') class Sqlselecterror(Exception): def __init__(self, table: str, function: str, data=None) -> None: self.table = table self.function = function self.data = data super().__init__(f'Could not select in {table} with {function}. Query data was {data}') class Sqldeleteerror(Exception): def __init__(self, table: str, function: str, data=None) -> None: self.table = table self.function = function self.data = data super().__init__(f'Could not delete in {table} with {function}. Query data was {data}') class Sqlupdateerror(Exception): def __init__(self, table: str, function: str, data=None) -> None: self.table = table self.function = function self.data = data super().__init__(f'Could not update in {table} with {function}. Query data was {data}')
# -*- coding: utf-8 -*- MONGO_CONFIG = { 'host': '47.93.9.48', 'port': 27017, 'user': 'root', 'pwd': 'Yunxi20191231' } chrome_driver_path = '/usr/local/bin/chromedriver' sogou_wechat_url = 'https://weixin.sogou.com'
mongo_config = {'host': '47.93.9.48', 'port': 27017, 'user': 'root', 'pwd': 'Yunxi20191231'} chrome_driver_path = '/usr/local/bin/chromedriver' sogou_wechat_url = 'https://weixin.sogou.com'
# coding: utf-8 # Distributed under the terms of the MIT License. class AppModel(object): def __init__(self): pass def __run__(self): pass
class Appmodel(object): def __init__(self): pass def __run__(self): pass
def find_first_invalid(numbers): for k in range(25, len(numbers)): if not any( numbers[i] + numbers[j] == numbers[k] for i in range(k - 25, k) for j in range(i + 1, k) ): return numbers[k] with open("input.txt", 'r', encoding="utf-8") as file: inp = list(map(int, file)) print(find_first_invalid(inp))
def find_first_invalid(numbers): for k in range(25, len(numbers)): if not any((numbers[i] + numbers[j] == numbers[k] for i in range(k - 25, k) for j in range(i + 1, k))): return numbers[k] with open('input.txt', 'r', encoding='utf-8') as file: inp = list(map(int, file)) print(find_first_invalid(inp))
class Solution: def addStrings(self, num1: str, num2: str) -> str: res = '' add_on = 0 i, j = len(num1) - 1, len(num2) - 1 while i != -1 or j != -1: if i != -1 and j != -1: digit_sum = int(num1[i]) + int(num2[j]) + add_on i -= 1 j -= 1 elif i != -1 and j == -1: digit_sum = int(num1[i]) + add_on i -= 1 else: digit_sum = int(num2[j]) + add_on j -= 1 res += str(digit_sum % 10) add_on = digit_sum // 10 if add_on != 0: res += '1' ## return the reversed string return res[::-1]
class Solution: def add_strings(self, num1: str, num2: str) -> str: res = '' add_on = 0 (i, j) = (len(num1) - 1, len(num2) - 1) while i != -1 or j != -1: if i != -1 and j != -1: digit_sum = int(num1[i]) + int(num2[j]) + add_on i -= 1 j -= 1 elif i != -1 and j == -1: digit_sum = int(num1[i]) + add_on i -= 1 else: digit_sum = int(num2[j]) + add_on j -= 1 res += str(digit_sum % 10) add_on = digit_sum // 10 if add_on != 0: res += '1' return res[::-1]
class Matrix(object): def __init__(self, matrix_string): self.matrix = [] rows = matrix_string.splitlines() for row in rows: self.matrix.append([int(num) for num in row.split()]) def row(self, index): return self.matrix[index - 1] def column(self, index): return [row[index - 1] for row in self.matrix]
class Matrix(object): def __init__(self, matrix_string): self.matrix = [] rows = matrix_string.splitlines() for row in rows: self.matrix.append([int(num) for num in row.split()]) def row(self, index): return self.matrix[index - 1] def column(self, index): return [row[index - 1] for row in self.matrix]
def mesclaListas(lista1, lista2): lista1.sort() lista2.sort() listaMesclada = [] i = 0 for i in lista2: if lista1[0] < i: listaMesclada.append(lista1.pop(0)) for i in lista1: if lista2[0] < i: listaMesclada.append(lista2.pop(0)) print(lista1, lista2) return listaMesclada lista1 = [int(i) for i in input().split()] lista2 = [int(i) for i in input().split()] listaNova = mesclaListas(lista1, lista2) print(listaNova)
def mescla_listas(lista1, lista2): lista1.sort() lista2.sort() lista_mesclada = [] i = 0 for i in lista2: if lista1[0] < i: listaMesclada.append(lista1.pop(0)) for i in lista1: if lista2[0] < i: listaMesclada.append(lista2.pop(0)) print(lista1, lista2) return listaMesclada lista1 = [int(i) for i in input().split()] lista2 = [int(i) for i in input().split()] lista_nova = mescla_listas(lista1, lista2) print(listaNova)
def multBy3(x): return x*3 def add5(y): return y+5 def applyfunc(f, g, p): return f(p), g(p) print(applyfunc(multBy3, add5, 3)) def returnArgsAsList(das, *lis): print(lis) print(das) returnArgsAsList(2, 1,2,3,5,6,'byn')
def mult_by3(x): return x * 3 def add5(y): return y + 5 def applyfunc(f, g, p): return (f(p), g(p)) print(applyfunc(multBy3, add5, 3)) def return_args_as_list(das, *lis): print(lis) print(das) return_args_as_list(2, 1, 2, 3, 5, 6, 'byn')
class Field: def __init__(self, name, encoder, decoder): assert name and isinstance(name, str) assert encoder and callable(encoder) assert decoder and callable(decoder) self.name = name self.encoder = encoder self.decoder = decoder
class Field: def __init__(self, name, encoder, decoder): assert name and isinstance(name, str) assert encoder and callable(encoder) assert decoder and callable(decoder) self.name = name self.encoder = encoder self.decoder = decoder
def valid(triangle): big = max(triangle) return big < sum(triangle) - big def part1(triangles): return sum(map(valid, triangles)) def group(n, it): return zip(*[iter(it)]*n) def transpose(it): return zip(*it) def part2(triangles): triangles = group(3, triangles) triangles = (t for group in triangles for t in transpose(group)) return sum(map(valid, triangles)) def main(inputs): print("Day 03") triangles = [tuple(map(int, line.split())) for line in inputs] A = part1(triangles) print(f"{A=}") B = part2(triangles) print(f"{B=}")
def valid(triangle): big = max(triangle) return big < sum(triangle) - big def part1(triangles): return sum(map(valid, triangles)) def group(n, it): return zip(*[iter(it)] * n) def transpose(it): return zip(*it) def part2(triangles): triangles = group(3, triangles) triangles = (t for group in triangles for t in transpose(group)) return sum(map(valid, triangles)) def main(inputs): print('Day 03') triangles = [tuple(map(int, line.split())) for line in inputs] a = part1(triangles) print(f'A={A!r}') b = part2(triangles) print(f'B={B!r}')
# # This one does a little more then required and handles all types of brackets # def balancedParens(s): stack, opens, closes = [], ['(', '[', '{'], [')', ']', '}'] for c in s: if c in opens: stack.append(c) elif c in closes: try: if opens.index(stack.pop()) != closes.index(c): return False except (ValueError, IndexError): return False return not stack
def balanced_parens(s): (stack, opens, closes) = ([], ['(', '[', '{'], [')', ']', '}']) for c in s: if c in opens: stack.append(c) elif c in closes: try: if opens.index(stack.pop()) != closes.index(c): return False except (ValueError, IndexError): return False return not stack
def f(): print('hello') print('calling f') f()
def f(): print('hello') print('calling f') f()
n, y = map(int, input().split()) y /= 1000 res10, res5, res1 = -1, -1, -1 for a in range(n + 1): if res1 != -1: break for b in range(n - a + 1): c = n - a - b total = 10000 * a + 5000 * b + 1000 * c if total == y: res10, res5, res1 = a, b, c if res1 != -1: break print(str(res10) + " " + str(res5) + " " + str(res1))
(n, y) = map(int, input().split()) y /= 1000 (res10, res5, res1) = (-1, -1, -1) for a in range(n + 1): if res1 != -1: break for b in range(n - a + 1): c = n - a - b total = 10000 * a + 5000 * b + 1000 * c if total == y: (res10, res5, res1) = (a, b, c) if res1 != -1: break print(str(res10) + ' ' + str(res5) + ' ' + str(res1))
class Finder: _finders = {} @classmethod def register(cls, finder_class): cls._finders[finder_class.name] = finder_class @classmethod def factory(cls, finder_name, deployment, **args): for name, finder in cls._finders.items(): if name == finder_name: return finder(deployment=deployment, **args) raise RuntimeError(f"Unknown finder: {finder_name}")
class Finder: _finders = {} @classmethod def register(cls, finder_class): cls._finders[finder_class.name] = finder_class @classmethod def factory(cls, finder_name, deployment, **args): for (name, finder) in cls._finders.items(): if name == finder_name: return finder(deployment=deployment, **args) raise runtime_error(f'Unknown finder: {finder_name}')
message = 'Hello World!' message2 = 'Hello World! \n' number = 32/35 display = message + repr(number) display2 = message + str(number) display3 = message2 + repr(number) print(display) print(display2) print(display3) print(repr(display3))
message = 'Hello World!' message2 = 'Hello World! \n' number = 32 / 35 display = message + repr(number) display2 = message + str(number) display3 = message2 + repr(number) print(display) print(display2) print(display3) print(repr(display3))
class Agent(object): def __init__(self): pass def act(self, obs): pass def train(self, replay_buffer, logger, step): pass
class Agent(object): def __init__(self): pass def act(self, obs): pass def train(self, replay_buffer, logger, step): pass
print('Welcome to tip calculator') bill = float(input('Enter Your total bill : $')) per_tip = int(input("Enter percentage of tip would you like to give (10,12 or 15): ")) num = int(input("No.of friends that would split the bill : ")) final_bill = round((bill + bill*0.01*per_tip)/num,2) print(f"Each person should pay : ${final_bill}")
print('Welcome to tip calculator') bill = float(input('Enter Your total bill : $')) per_tip = int(input('Enter percentage of tip would you like to give (10,12 or 15): ')) num = int(input('No.of friends that would split the bill : ')) final_bill = round((bill + bill * 0.01 * per_tip) / num, 2) print(f'Each person should pay : ${final_bill}')
class RequiredFieldsError(Exception): def __init__(self, message, is_get=True, abnormal=False, title=None, error_fields=None): super(RequiredFieldsError, self).__init__() self.message = message self.is_get = is_get self.abnormal = abnormal self.title = title self.error_fields = error_fields
class Requiredfieldserror(Exception): def __init__(self, message, is_get=True, abnormal=False, title=None, error_fields=None): super(RequiredFieldsError, self).__init__() self.message = message self.is_get = is_get self.abnormal = abnormal self.title = title self.error_fields = error_fields
_perms_self_read_only = [ { "principal": "SELF", "action": "READ_ONLY" } ] _perms_self_read_write = [ { "principal": "SELF", "action": "READ_WRITE" } ] _perms_self_hide = [ { "principal": "SELF", "action": "HIDE" } ] # a dump of an okta user schema with some example # properties (int, bool) okta_user_schema = { "id": "https://paracelsus.okta.com/meta/schemas/user/default", "$schema": "http://json-schema.org/draft-04/schema#", "name": "user", "title": "User", "description": "Okta user profile template with default permission settings", "lastUpdated": "2019-02-04T14:38:16.000Z", "created": "2018-07-23T08:46:45.000Z", "definitions": { "custom": { "id": "#custom", "type": "object", "properties": { "abool": { "title": "A bool", "description": "A boolean variable", "type": "boolean", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "anint": { "title": "An int", "description": "An integer value", "type": "integer", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, }, }, "base": { "id": "#base", "type": "object", "properties": { "login": { "title": "Username", "type": "string", "required": True, "mutability": "READ_WRITE", "scope": "NONE", "minLength": 5, "maxLength": 100, "pattern": ".+", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "firstName": { "title": "First name", "type": "string", "required": True, "mutability": "READ_WRITE", "scope": "NONE", "minLength": 1, "maxLength": 50, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "lastName": { "title": "Last name", "type": "string", "required": True, "mutability": "READ_WRITE", "scope": "NONE", "minLength": 1, "maxLength": 50, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "middleName": { "title": "Middle name", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "honorificPrefix": { "title": "Honorific prefix", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "honorificSuffix": { "title": "Honorific suffix", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "email": { "title": "Primary email", "type": "string", "required": True, "format": "email", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "title": { "title": "Title", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "displayName": { "title": "Display name", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "nickName": { "title": "Nickname", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "profileUrl": { "title": "Profile Url", "type": "string", "format": "uri", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "secondEmail": { "title": "Secondary email", "type": "string", "format": "email", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "mobilePhone": { "title": "Mobile phone", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "maxLength": 100, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "primaryPhone": { "title": "Primary phone", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "maxLength": 100, "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "streetAddress": { "title": "Street address", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "city": { "title": "City", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "state": { "title": "State", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "zipCode": { "title": "Zip code", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "countryCode": { "title": "Country code", "type": "string", "format": "country-code", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "postalAddress": { "title": "Postal Address", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_hide, "master": {"type": "PROFILE_MASTER"} }, "preferredLanguage": { "title": "Preferred language", "type": "string", "format": "language-code", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "locale": { "title": "Locale", "type": "string", "format": "locale", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "timezone": { "title": "Time zone", "type": "string", "format": "timezone", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "userType": { "title": "User type", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "employeeNumber": { "title": "Employee number", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "costCenter": { "title": "Cost center", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "organization": { "title": "Organization", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "division": { "title": "Division", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "department": { "title": "Department", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_write, "master": {"type": "PROFILE_MASTER"} }, "managerId": { "title": "ManagerId", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} }, "manager": { "title": "Manager", "type": "string", "mutability": "READ_WRITE", "scope": "NONE", "permissions": _perms_self_read_only, "master": {"type": "PROFILE_MASTER"} } }, "required": [ "login", "firstName", "lastName", "email" ] } }, "type": "object", "properties": { "profile": { "allOf": [ { "$ref": "#/definitions/custom" }, { "$ref": "#/definitions/base" } ] } } } okta_groups_list = [ { "id": "group1", "created": "2018-09-13T12:51:16.000Z", "lastUpdated": "2018-10-17T12:00:38.000Z", "lastMembershipUpdated": "2019-01-16T08:48:12.000Z", "objectClass": [ "okta:user_group" ], "type": "OKTA_GROUP", "profile": { "name": "Group One", "description": "" }, "_links": { "logo": [ { "name": "medium", "href": "https://some.logo", "type": "image/png" }, { "name": "large", "href": "https://some_large.logo", "type": "image/png" } ], "users": {"href": "http://okta/api/v1/groups/group1/users"}, "apps": {"href": "http://okta/api/v1/groups/group1/apps"}, } }, { "id": "group2", "created": "2018-09-13T12:51:16.000Z", "lastUpdated": "2018-10-17T12:00:38.000Z", "lastMembershipUpdated": "2019-01-16T08:48:12.000Z", "objectClass": [ "okta:user_group" ], "type": "OKTA_GROUP", "profile": { "name": "Group Two", "description": "" }, "_links": { "logo": [ { "name": "medium", "href": "https://some.logo", "type": "image/png" }, { "name": "large", "href": "https://some_large.logo", "type": "image/png" } ], "users": {"href": "http://okta/api/v1/groups/group2/users"}, "apps": {"href": "http://okta/api/v1/groups/group2/apps"}, } }, { "id": "group3", "created": "2018-09-13T12:51:16.000Z", "lastUpdated": "2018-10-17T12:00:38.000Z", "lastMembershipUpdated": "2019-01-16T08:48:12.000Z", "objectClass": [ "okta:user_group" ], "type": "OKTA_GROUP", "profile": { "name": "Group 3", "description": "" }, "_links": { "logo": [ { "name": "medium", "href": "https://some.logo", "type": "image/png" }, { "name": "large", "href": "https://some_large.logo", "type": "image/png" } ], "users": {"href": "http://okta/api/v1/groups/group3/users"}, "apps": {"href": "http://okta/api/v1/groups/group3/apps"}, } }, ]
_perms_self_read_only = [{'principal': 'SELF', 'action': 'READ_ONLY'}] _perms_self_read_write = [{'principal': 'SELF', 'action': 'READ_WRITE'}] _perms_self_hide = [{'principal': 'SELF', 'action': 'HIDE'}] okta_user_schema = {'id': 'https://paracelsus.okta.com/meta/schemas/user/default', '$schema': 'http://json-schema.org/draft-04/schema#', 'name': 'user', 'title': 'User', 'description': 'Okta user profile template with default permission settings', 'lastUpdated': '2019-02-04T14:38:16.000Z', 'created': '2018-07-23T08:46:45.000Z', 'definitions': {'custom': {'id': '#custom', 'type': 'object', 'properties': {'abool': {'title': 'A bool', 'description': 'A boolean variable', 'type': 'boolean', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'anint': {'title': 'An int', 'description': 'An integer value', 'type': 'integer', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}}}, 'base': {'id': '#base', 'type': 'object', 'properties': {'login': {'title': 'Username', 'type': 'string', 'required': True, 'mutability': 'READ_WRITE', 'scope': 'NONE', 'minLength': 5, 'maxLength': 100, 'pattern': '.+', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'firstName': {'title': 'First name', 'type': 'string', 'required': True, 'mutability': 'READ_WRITE', 'scope': 'NONE', 'minLength': 1, 'maxLength': 50, 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'lastName': {'title': 'Last name', 'type': 'string', 'required': True, 'mutability': 'READ_WRITE', 'scope': 'NONE', 'minLength': 1, 'maxLength': 50, 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'middleName': {'title': 'Middle name', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'honorificPrefix': {'title': 'Honorific prefix', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'honorificSuffix': {'title': 'Honorific suffix', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'email': {'title': 'Primary email', 'type': 'string', 'required': True, 'format': 'email', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'title': {'title': 'Title', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'displayName': {'title': 'Display name', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'nickName': {'title': 'Nickname', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'profileUrl': {'title': 'Profile Url', 'type': 'string', 'format': 'uri', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'secondEmail': {'title': 'Secondary email', 'type': 'string', 'format': 'email', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'mobilePhone': {'title': 'Mobile phone', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'maxLength': 100, 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'primaryPhone': {'title': 'Primary phone', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'maxLength': 100, 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'streetAddress': {'title': 'Street address', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_hide, 'master': {'type': 'PROFILE_MASTER'}}, 'city': {'title': 'City', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_hide, 'master': {'type': 'PROFILE_MASTER'}}, 'state': {'title': 'State', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_hide, 'master': {'type': 'PROFILE_MASTER'}}, 'zipCode': {'title': 'Zip code', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_hide, 'master': {'type': 'PROFILE_MASTER'}}, 'countryCode': {'title': 'Country code', 'type': 'string', 'format': 'country-code', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_hide, 'master': {'type': 'PROFILE_MASTER'}}, 'postalAddress': {'title': 'Postal Address', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_hide, 'master': {'type': 'PROFILE_MASTER'}}, 'preferredLanguage': {'title': 'Preferred language', 'type': 'string', 'format': 'language-code', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'locale': {'title': 'Locale', 'type': 'string', 'format': 'locale', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'timezone': {'title': 'Time zone', 'type': 'string', 'format': 'timezone', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'userType': {'title': 'User type', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'employeeNumber': {'title': 'Employee number', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'costCenter': {'title': 'Cost center', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'organization': {'title': 'Organization', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'division': {'title': 'Division', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'department': {'title': 'Department', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_write, 'master': {'type': 'PROFILE_MASTER'}}, 'managerId': {'title': 'ManagerId', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}, 'manager': {'title': 'Manager', 'type': 'string', 'mutability': 'READ_WRITE', 'scope': 'NONE', 'permissions': _perms_self_read_only, 'master': {'type': 'PROFILE_MASTER'}}}, 'required': ['login', 'firstName', 'lastName', 'email']}}, 'type': 'object', 'properties': {'profile': {'allOf': [{'$ref': '#/definitions/custom'}, {'$ref': '#/definitions/base'}]}}} okta_groups_list = [{'id': 'group1', 'created': '2018-09-13T12:51:16.000Z', 'lastUpdated': '2018-10-17T12:00:38.000Z', 'lastMembershipUpdated': '2019-01-16T08:48:12.000Z', 'objectClass': ['okta:user_group'], 'type': 'OKTA_GROUP', 'profile': {'name': 'Group One', 'description': ''}, '_links': {'logo': [{'name': 'medium', 'href': 'https://some.logo', 'type': 'image/png'}, {'name': 'large', 'href': 'https://some_large.logo', 'type': 'image/png'}], 'users': {'href': 'http://okta/api/v1/groups/group1/users'}, 'apps': {'href': 'http://okta/api/v1/groups/group1/apps'}}}, {'id': 'group2', 'created': '2018-09-13T12:51:16.000Z', 'lastUpdated': '2018-10-17T12:00:38.000Z', 'lastMembershipUpdated': '2019-01-16T08:48:12.000Z', 'objectClass': ['okta:user_group'], 'type': 'OKTA_GROUP', 'profile': {'name': 'Group Two', 'description': ''}, '_links': {'logo': [{'name': 'medium', 'href': 'https://some.logo', 'type': 'image/png'}, {'name': 'large', 'href': 'https://some_large.logo', 'type': 'image/png'}], 'users': {'href': 'http://okta/api/v1/groups/group2/users'}, 'apps': {'href': 'http://okta/api/v1/groups/group2/apps'}}}, {'id': 'group3', 'created': '2018-09-13T12:51:16.000Z', 'lastUpdated': '2018-10-17T12:00:38.000Z', 'lastMembershipUpdated': '2019-01-16T08:48:12.000Z', 'objectClass': ['okta:user_group'], 'type': 'OKTA_GROUP', 'profile': {'name': 'Group 3', 'description': ''}, '_links': {'logo': [{'name': 'medium', 'href': 'https://some.logo', 'type': 'image/png'}, {'name': 'large', 'href': 'https://some_large.logo', 'type': 'image/png'}], 'users': {'href': 'http://okta/api/v1/groups/group3/users'}, 'apps': {'href': 'http://okta/api/v1/groups/group3/apps'}}}]
n, m = map(int, input().split()) a = list(map(int, input().split())) a.insert(0, 0) for _ in range(m): op, x = map(int, input().split()) if op == 2: l = 2**(x - 1) r = min(n + 1, 2**x) print(' '.join(map(str, a[l:r]))) elif op == 1: t = [] t.append(a[x]) if x * 2 <= n: t.append(a[x * 2]) if x * 2 + 1 <= n: t.append(a[x * 2 + 1]) t.sort(reverse=True) a[x] = t[0] if len(t) >= 2: a[x * 2] = t[1] if len(t) == 3: a[x * 2 + 1] = t[2]
(n, m) = map(int, input().split()) a = list(map(int, input().split())) a.insert(0, 0) for _ in range(m): (op, x) = map(int, input().split()) if op == 2: l = 2 ** (x - 1) r = min(n + 1, 2 ** x) print(' '.join(map(str, a[l:r]))) elif op == 1: t = [] t.append(a[x]) if x * 2 <= n: t.append(a[x * 2]) if x * 2 + 1 <= n: t.append(a[x * 2 + 1]) t.sort(reverse=True) a[x] = t[0] if len(t) >= 2: a[x * 2] = t[1] if len(t) == 3: a[x * 2 + 1] = t[2]
class BaseException(Exception): default_message = None def __init__(self, *args, **kwargs): if not (args or kwargs): args = (self.default_message,) super().__init__(*args, **kwargs) class NotEnoughBallotClaimTickets(BaseException): default_message = 'You do not have enough claim ticket(s) left' class UsedBallotClaimTicket(BaseException): default_message = 'This ballot claim ticket has already been used' class InvalidBallot(BaseException): default_message = 'Invalid ballot' class UnrecognizedNode(BaseException): default_message = 'Node not recognized' class UnknownVoter(BaseException): default_message = 'Voter is not on voter roll'
class Baseexception(Exception): default_message = None def __init__(self, *args, **kwargs): if not (args or kwargs): args = (self.default_message,) super().__init__(*args, **kwargs) class Notenoughballotclaimtickets(BaseException): default_message = 'You do not have enough claim ticket(s) left' class Usedballotclaimticket(BaseException): default_message = 'This ballot claim ticket has already been used' class Invalidballot(BaseException): default_message = 'Invalid ballot' class Unrecognizednode(BaseException): default_message = 'Node not recognized' class Unknownvoter(BaseException): default_message = 'Voter is not on voter roll'
class APIException(Exception): pass class ADBException(Exception): pass
class Apiexception(Exception): pass class Adbexception(Exception): pass
MAJOR = 0 MINOR = 1 PATCH = 6 __version__ = '%d.%d.%d' % (MAJOR, MINOR, PATCH)
major = 0 minor = 1 patch = 6 __version__ = '%d.%d.%d' % (MAJOR, MINOR, PATCH)
# # PySNMP MIB module TRAPEZE-NETWORKS-AP-IF-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/TRAPEZE-NETWORKS-AP-IF-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:19:44 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsUnion, ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint") IANAifType, = mibBuilder.importSymbols("IANAifType-MIB", "IANAifType") ObjectGroup, ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "ModuleCompliance", "NotificationGroup") Bits, ObjectIdentity, IpAddress, MibScalar, MibTable, MibTableRow, MibTableColumn, MibIdentifier, Unsigned32, Integer32, iso, Counter32, Counter64, Gauge32, ModuleIdentity, NotificationType, TimeTicks = mibBuilder.importSymbols("SNMPv2-SMI", "Bits", "ObjectIdentity", "IpAddress", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "MibIdentifier", "Unsigned32", "Integer32", "iso", "Counter32", "Counter64", "Gauge32", "ModuleIdentity", "NotificationType", "TimeTicks") TextualConvention, DisplayString, MacAddress = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString", "MacAddress") TrpzApSerialNum, = mibBuilder.importSymbols("TRAPEZE-NETWORKS-AP-TC", "TrpzApSerialNum") trpzMibs, = mibBuilder.importSymbols("TRAPEZE-NETWORKS-ROOT-MIB", "trpzMibs") trpzApIfMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 14525, 4, 16)) trpzApIfMib.setRevisions(('2008-11-20 00:01',)) if mibBuilder.loadTexts: trpzApIfMib.setLastUpdated('200811200001Z') if mibBuilder.loadTexts: trpzApIfMib.setOrganization('Trapeze Networks') class TrpzApInterfaceIndex(TextualConvention, Unsigned32): status = 'current' displayHint = 'd' subtypeSpec = Unsigned32.subtypeSpec + ValueRangeConstraint(1, 1024) trpzApIfMibObjects = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1)) trpzApIfTable = MibTable((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1), ) if mibBuilder.loadTexts: trpzApIfTable.setStatus('current') trpzApIfEntry = MibTableRow((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1), ).setIndexNames((0, "TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfApSerialNum"), (0, "TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfIndex")) if mibBuilder.loadTexts: trpzApIfEntry.setStatus('current') trpzApIfApSerialNum = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 1), TrpzApSerialNum()) if mibBuilder.loadTexts: trpzApIfApSerialNum.setStatus('current') trpzApIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 2), TrpzApInterfaceIndex()) if mibBuilder.loadTexts: trpzApIfIndex.setStatus('current') trpzApIfName = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 3), DisplayString()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfName.setStatus('current') trpzApIfType = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 4), IANAifType()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfType.setStatus('current') trpzApIfMtu = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 5), Unsigned32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfMtu.setStatus('current') trpzApIfHighSpeed = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 6), Gauge32()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfHighSpeed.setStatus('current') trpzApIfMac = MibTableColumn((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 7), MacAddress()).setMaxAccess("readonly") if mibBuilder.loadTexts: trpzApIfMac.setStatus('current') trpzApIfConformance = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2)) trpzApIfCompliances = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 1)) trpzApIfGroups = MibIdentifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 2)) trpzApIfCompliance = ModuleCompliance((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 1, 1)).setObjects(("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfBasicGroup")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): trpzApIfCompliance = trpzApIfCompliance.setStatus('current') trpzApIfBasicGroup = ObjectGroup((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 2, 1)).setObjects(("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfName"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfType"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfMtu"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfHighSpeed"), ("TRAPEZE-NETWORKS-AP-IF-MIB", "trpzApIfMac")) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): trpzApIfBasicGroup = trpzApIfBasicGroup.setStatus('current') mibBuilder.exportSymbols("TRAPEZE-NETWORKS-AP-IF-MIB", trpzApIfIndex=trpzApIfIndex, trpzApIfMtu=trpzApIfMtu, trpzApIfMac=trpzApIfMac, trpzApIfMibObjects=trpzApIfMibObjects, PYSNMP_MODULE_ID=trpzApIfMib, trpzApIfConformance=trpzApIfConformance, trpzApIfMib=trpzApIfMib, trpzApIfHighSpeed=trpzApIfHighSpeed, trpzApIfGroups=trpzApIfGroups, trpzApIfTable=trpzApIfTable, trpzApIfBasicGroup=trpzApIfBasicGroup, trpzApIfApSerialNum=trpzApIfApSerialNum, trpzApIfEntry=trpzApIfEntry, trpzApIfType=trpzApIfType, trpzApIfName=trpzApIfName, TrpzApInterfaceIndex=TrpzApInterfaceIndex, trpzApIfCompliance=trpzApIfCompliance, trpzApIfCompliances=trpzApIfCompliances)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_union, value_range_constraint, constraints_intersection, value_size_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint') (ian_aif_type,) = mibBuilder.importSymbols('IANAifType-MIB', 'IANAifType') (object_group, module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'ModuleCompliance', 'NotificationGroup') (bits, object_identity, ip_address, mib_scalar, mib_table, mib_table_row, mib_table_column, mib_identifier, unsigned32, integer32, iso, counter32, counter64, gauge32, module_identity, notification_type, time_ticks) = mibBuilder.importSymbols('SNMPv2-SMI', 'Bits', 'ObjectIdentity', 'IpAddress', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'MibIdentifier', 'Unsigned32', 'Integer32', 'iso', 'Counter32', 'Counter64', 'Gauge32', 'ModuleIdentity', 'NotificationType', 'TimeTicks') (textual_convention, display_string, mac_address) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString', 'MacAddress') (trpz_ap_serial_num,) = mibBuilder.importSymbols('TRAPEZE-NETWORKS-AP-TC', 'TrpzApSerialNum') (trpz_mibs,) = mibBuilder.importSymbols('TRAPEZE-NETWORKS-ROOT-MIB', 'trpzMibs') trpz_ap_if_mib = module_identity((1, 3, 6, 1, 4, 1, 14525, 4, 16)) trpzApIfMib.setRevisions(('2008-11-20 00:01',)) if mibBuilder.loadTexts: trpzApIfMib.setLastUpdated('200811200001Z') if mibBuilder.loadTexts: trpzApIfMib.setOrganization('Trapeze Networks') class Trpzapinterfaceindex(TextualConvention, Unsigned32): status = 'current' display_hint = 'd' subtype_spec = Unsigned32.subtypeSpec + value_range_constraint(1, 1024) trpz_ap_if_mib_objects = mib_identifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1)) trpz_ap_if_table = mib_table((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1)) if mibBuilder.loadTexts: trpzApIfTable.setStatus('current') trpz_ap_if_entry = mib_table_row((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1)).setIndexNames((0, 'TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfApSerialNum'), (0, 'TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfIndex')) if mibBuilder.loadTexts: trpzApIfEntry.setStatus('current') trpz_ap_if_ap_serial_num = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 1), trpz_ap_serial_num()) if mibBuilder.loadTexts: trpzApIfApSerialNum.setStatus('current') trpz_ap_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 2), trpz_ap_interface_index()) if mibBuilder.loadTexts: trpzApIfIndex.setStatus('current') trpz_ap_if_name = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 3), display_string()).setMaxAccess('readonly') if mibBuilder.loadTexts: trpzApIfName.setStatus('current') trpz_ap_if_type = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 4), ian_aif_type()).setMaxAccess('readonly') if mibBuilder.loadTexts: trpzApIfType.setStatus('current') trpz_ap_if_mtu = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 5), unsigned32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trpzApIfMtu.setStatus('current') trpz_ap_if_high_speed = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 6), gauge32()).setMaxAccess('readonly') if mibBuilder.loadTexts: trpzApIfHighSpeed.setStatus('current') trpz_ap_if_mac = mib_table_column((1, 3, 6, 1, 4, 1, 14525, 4, 16, 1, 1, 1, 7), mac_address()).setMaxAccess('readonly') if mibBuilder.loadTexts: trpzApIfMac.setStatus('current') trpz_ap_if_conformance = mib_identifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2)) trpz_ap_if_compliances = mib_identifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 1)) trpz_ap_if_groups = mib_identifier((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 2)) trpz_ap_if_compliance = module_compliance((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 1, 1)).setObjects(('TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfBasicGroup')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): trpz_ap_if_compliance = trpzApIfCompliance.setStatus('current') trpz_ap_if_basic_group = object_group((1, 3, 6, 1, 4, 1, 14525, 4, 16, 2, 2, 1)).setObjects(('TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfName'), ('TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfType'), ('TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfMtu'), ('TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfHighSpeed'), ('TRAPEZE-NETWORKS-AP-IF-MIB', 'trpzApIfMac')) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): trpz_ap_if_basic_group = trpzApIfBasicGroup.setStatus('current') mibBuilder.exportSymbols('TRAPEZE-NETWORKS-AP-IF-MIB', trpzApIfIndex=trpzApIfIndex, trpzApIfMtu=trpzApIfMtu, trpzApIfMac=trpzApIfMac, trpzApIfMibObjects=trpzApIfMibObjects, PYSNMP_MODULE_ID=trpzApIfMib, trpzApIfConformance=trpzApIfConformance, trpzApIfMib=trpzApIfMib, trpzApIfHighSpeed=trpzApIfHighSpeed, trpzApIfGroups=trpzApIfGroups, trpzApIfTable=trpzApIfTable, trpzApIfBasicGroup=trpzApIfBasicGroup, trpzApIfApSerialNum=trpzApIfApSerialNum, trpzApIfEntry=trpzApIfEntry, trpzApIfType=trpzApIfType, trpzApIfName=trpzApIfName, TrpzApInterfaceIndex=TrpzApInterfaceIndex, trpzApIfCompliance=trpzApIfCompliance, trpzApIfCompliances=trpzApIfCompliances)
def convex_hull_from_points(raw_v): hull = ConvexHull(raw_v) hull_eq = hull.equations # H representation v = raw_v[hull.vertices,:] num_vertices = len(v) g = np.hstack((np.ones((num_vertices,1)), v)) # zeros for vertex mat = cdd.Matrix(g, number_type='fraction') mat.rep_type = cdd.RepType.GENERATOR poly = cdd.Polyhedron(mat) ext = poly.get_inequalities() out = np.array(ext) A = out[:,1:] # H representation b = out[:,0] # Get faces (vertices index) for obj num_faces = len(b) faces = np.ones((num_faces, 6))*-1 num_vertices_faces = np.zeros(num_faces) for i in range(num_faces): idx = 0 for j in range(num_vertices): if abs(np.dot(A[i,:], v[j,:])+b[i]) < 1e-3: faces[i,idx] = j idx = idx+1 num_vertices_faces[i] = num_vertices_faces[i] + 1 return {'v':v, 'faces':faces, 'num_vertices_faces':num_vertices_faces}
def convex_hull_from_points(raw_v): hull = convex_hull(raw_v) hull_eq = hull.equations v = raw_v[hull.vertices, :] num_vertices = len(v) g = np.hstack((np.ones((num_vertices, 1)), v)) mat = cdd.Matrix(g, number_type='fraction') mat.rep_type = cdd.RepType.GENERATOR poly = cdd.Polyhedron(mat) ext = poly.get_inequalities() out = np.array(ext) a = out[:, 1:] b = out[:, 0] num_faces = len(b) faces = np.ones((num_faces, 6)) * -1 num_vertices_faces = np.zeros(num_faces) for i in range(num_faces): idx = 0 for j in range(num_vertices): if abs(np.dot(A[i, :], v[j, :]) + b[i]) < 0.001: faces[i, idx] = j idx = idx + 1 num_vertices_faces[i] = num_vertices_faces[i] + 1 return {'v': v, 'faces': faces, 'num_vertices_faces': num_vertices_faces}
def valid_word(seq, word): check=set(seq) def helper(count, index): if index>=len(word): return True if count>=1 else False return any(helper(count+1, i) for i in range(index+1, len(word)+1) if word[index:i] in seq) return helper(0, 0)
def valid_word(seq, word): check = set(seq) def helper(count, index): if index >= len(word): return True if count >= 1 else False return any((helper(count + 1, i) for i in range(index + 1, len(word) + 1) if word[index:i] in seq)) return helper(0, 0)
class AbstractToken: name = 'token' def __init__(self, lexemes, form): self.lexemes = lexemes self.form = form self.source = self.get_source(lexemes) self.string = lexemes[0].string self.string_index = lexemes[0].string_index self.string_begin_index = lexemes[0].source_index self.string_end_index = lexemes[-1].source_index + len(lexemes[-1]) self.check_lexemes() def __repr__(self): return f'{type(self).__name__}("{self.source}")' def get_source(self, lexemes): buffer = [] for index, lexeme in enumerate(lexemes): if lexeme.previous_is_space and index: item = f" {lexeme.source}" else: item = lexeme.source buffer.append(item) result = ''.join(buffer) return result def check_lexemes(self): pass
class Abstracttoken: name = 'token' def __init__(self, lexemes, form): self.lexemes = lexemes self.form = form self.source = self.get_source(lexemes) self.string = lexemes[0].string self.string_index = lexemes[0].string_index self.string_begin_index = lexemes[0].source_index self.string_end_index = lexemes[-1].source_index + len(lexemes[-1]) self.check_lexemes() def __repr__(self): return f'{type(self).__name__}("{self.source}")' def get_source(self, lexemes): buffer = [] for (index, lexeme) in enumerate(lexemes): if lexeme.previous_is_space and index: item = f' {lexeme.source}' else: item = lexeme.source buffer.append(item) result = ''.join(buffer) return result def check_lexemes(self): pass
numbers = input().split() for x in range(len(numbers)): numbers[x] = int(numbers[x]) for a in range(0, len(numbers)-2): for b in range(a+1, len(numbers)-1): for c in range(b+1, len(numbers)): A = numbers[a] B = numbers[b] C = numbers[c] if (A+B) in numbers and (A+C) in numbers and (B+C) in numbers and (A+B+C) in numbers: numbers_ = [A, B, C] numbers_.sort() print(f"{numbers_[0]}, {numbers_[1]}, {numbers[2]}") exit()
numbers = input().split() for x in range(len(numbers)): numbers[x] = int(numbers[x]) for a in range(0, len(numbers) - 2): for b in range(a + 1, len(numbers) - 1): for c in range(b + 1, len(numbers)): a = numbers[a] b = numbers[b] c = numbers[c] if A + B in numbers and A + C in numbers and (B + C in numbers) and (A + B + C in numbers): numbers_ = [A, B, C] numbers_.sort() print(f'{numbers_[0]}, {numbers_[1]}, {numbers[2]}') exit()
def calculate_triangles(max_p: int) -> int: max_value = -1 max_p_val = -1 for p in range(12, max_p + 1, 2): current_value = sum((p*p - 2*a*p) % (2*p - 2*a) == 0 for a in range(2, p // 3)) if current_value > max_value: max_value = current_value max_p_val = p return max_p_val if __name__ == '__main__': m = calculate_triangles(1000) print(m)
def calculate_triangles(max_p: int) -> int: max_value = -1 max_p_val = -1 for p in range(12, max_p + 1, 2): current_value = sum(((p * p - 2 * a * p) % (2 * p - 2 * a) == 0 for a in range(2, p // 3))) if current_value > max_value: max_value = current_value max_p_val = p return max_p_val if __name__ == '__main__': m = calculate_triangles(1000) print(m)
def partition(li, start, end): pivot = li[start] left = start + 1 right = end done = False while not done: while left <= right and li[left] <= pivot: left += 1 while right >= left and li[right] >= pivot: right -= 1 if right < left: done = True else: li[left], li[right] = li[right], li[left] li[start], li[right] = li[right], li[start] return right def quicksort(li, start=0, end=None): if not end: end = len(li) - 1 if start < end: pivot = partition(li, start, end) # Recursively perform same operation on first and last halves of list quicksort(li, start, pivot - 1) quicksort(li, pivot + 1, end) return li
def partition(li, start, end): pivot = li[start] left = start + 1 right = end done = False while not done: while left <= right and li[left] <= pivot: left += 1 while right >= left and li[right] >= pivot: right -= 1 if right < left: done = True else: (li[left], li[right]) = (li[right], li[left]) (li[start], li[right]) = (li[right], li[start]) return right def quicksort(li, start=0, end=None): if not end: end = len(li) - 1 if start < end: pivot = partition(li, start, end) quicksort(li, start, pivot - 1) quicksort(li, pivot + 1, end) return li
number = int(input()) previous = 1 current = 1 for i in range(number - 2): next = previous + current previous = current current = next print(current)
number = int(input()) previous = 1 current = 1 for i in range(number - 2): next = previous + current previous = current current = next print(current)
class Node(object): def __init__(self, val, left=None, right=None): self.val = val self.left = left self.right = right class Solution(object): def _isValidBSTHelper(self, n, low, high): if not n: return True val = n.val if ((val > low and val < high) and self._isValidBSTHelper(n.left, low, val) and self._isValidBSTHelper(n.right, val, high)): return True return False def isValidBST(self, n): return self._isValidBSTHelper(n, float('-inf'), float('inf')) n = Node(5) n.left = Node(4) n.right = Node(7) n.right.left = Node(6) print(Solution().isValidBST(n))
class Node(object): def __init__(self, val, left=None, right=None): self.val = val self.left = left self.right = right class Solution(object): def _is_valid_bst_helper(self, n, low, high): if not n: return True val = n.val if (val > low and val < high) and self._isValidBSTHelper(n.left, low, val) and self._isValidBSTHelper(n.right, val, high): return True return False def is_valid_bst(self, n): return self._isValidBSTHelper(n, float('-inf'), float('inf')) n = node(5) n.left = node(4) n.right = node(7) n.right.left = node(6) print(solution().isValidBST(n))
#For these problems, DON'T COMMENT OUT FUNCTION DEFINITIONS! You will need to use them. ####################################################################################### # 13.1 # Make a function which prints out a random string. Then call it. ####################################################################################### # 13.2.a # Make a function which takes two numbers as parameters and adds them together. Print # the sum in the function. ####################################################################################### # 13.2.a # Make a function which takes two numbers as parameters and adds them together. Return # the sum. Then print out the sum. ####################################################################################### # 13.3 # Use the addition function you made above and put two of them inside another # addition function call. ex add(add(2,3), add(3,4)) ####################################################################################### # 13.4 # Make a function that divides 3 numbers (they divide each other). Return none if # any of them are 0. Then use it ####################################################################################### # 13.5 # Make a function that takes a list and prints each element out seperately. Then use it. ####################################################################################### # 13.6 # Make your own index function. Return nothing if it can't be found ####################################################################################### # 13.7 # Fix this code so that it prints: # 25 # 20 def print2(): x=20 y=5 print(x+y) print2() print(x) ####################################################################################### # 13.8 # Fix this code so that it prints: # 7 5 # 7 x=10 #DON'T CHANGE THIS def print3(): x=7 y=5 print(x,y) print3() print(x)
def print2(): x = 20 y = 5 print(x + y) print2() print(x) x = 10 def print3(): x = 7 y = 5 print(x, y) print3() print(x)
DEFAULT_KAFKA_PORT = 9092 #: Compression flag value denoting ``gzip`` was used GZIP = 1 #: Compression flag value denoting ``snappy`` was used SNAPPY = 2 #: This set denotes the compression schemes currently supported by Kiel SUPPORTED_COMPRESSION = (None, GZIP, SNAPPY) CLIENT_ID = "kiel" #: The "api version" value sent over the wire. Currently always 0 API_VERSION = 0 #: Mapping of response api codes and their names API_KEYS = { "produce": 0, "fetch": 1, "offset": 2, "metadata": 3, "offset_commit": 8, "offset_fetch": 9, "group_coordinator": 10, "join_group": 11, "heartbeat": 12, "leave_group": 13, "sync_group": 14, "describe_groups": 15, "list_groups": 16, } #: All consumers use replica id -1, other values are meant to be #: used by Kafka itself. CONSUMER_REPLICA_ID = -1 #: A mapping of known error codes to their string values ERROR_CODES = { 0: "no_error", -1: "unknown", 1: "offset_out_of_range", 2: "invalid_message", 3: "unknown_topic_or_partition", 4: "invalid_message_size", 5: "leader_not_available", 6: "not_partition_leader", 7: "request_timed_out", 8: "broker_not_available", 9: "replica_not_available", 10: "message_size_too_large", 11: "stale_controller_epoch", 12: "offset_metadata_too_large", 14: "offsets_load_in_progress", 15: "coordinator_not_available", 16: "not_coordinator", 17: "invalid_topic", 18: "record_list_too_large", 19: "not_enough_replicas", 20: "not_enough_replicas_after_append", 21: "invalid_required_acks", 22: "illegal_generation", 23: "inconsistent_group_protocol", 24: "invalid_group_id", 25: "unknown_member_id", 26: "invalid_session_timeout", 27: "rebalance_in_progress", 28: "invalid_commit_offset_size", 29: "topic_authorization_failed", 30: "group_authorization_failed", 31: "cluster_authorization_failed", } #: Set of error codes marked "retryable" by the Kafka docs. RETRIABLE_CODES = set([ "invalid_message", "unknown_topic_or_partition", "leader_not_available", "not_partition_leader", "request_timed_out", "offsets_load_in_progress", "coordinator_not_available", "not_coordinator", "not_enough_replicas", "not_enough_replicas_after_append", ])
default_kafka_port = 9092 gzip = 1 snappy = 2 supported_compression = (None, GZIP, SNAPPY) client_id = 'kiel' api_version = 0 api_keys = {'produce': 0, 'fetch': 1, 'offset': 2, 'metadata': 3, 'offset_commit': 8, 'offset_fetch': 9, 'group_coordinator': 10, 'join_group': 11, 'heartbeat': 12, 'leave_group': 13, 'sync_group': 14, 'describe_groups': 15, 'list_groups': 16} consumer_replica_id = -1 error_codes = {0: 'no_error', -1: 'unknown', 1: 'offset_out_of_range', 2: 'invalid_message', 3: 'unknown_topic_or_partition', 4: 'invalid_message_size', 5: 'leader_not_available', 6: 'not_partition_leader', 7: 'request_timed_out', 8: 'broker_not_available', 9: 'replica_not_available', 10: 'message_size_too_large', 11: 'stale_controller_epoch', 12: 'offset_metadata_too_large', 14: 'offsets_load_in_progress', 15: 'coordinator_not_available', 16: 'not_coordinator', 17: 'invalid_topic', 18: 'record_list_too_large', 19: 'not_enough_replicas', 20: 'not_enough_replicas_after_append', 21: 'invalid_required_acks', 22: 'illegal_generation', 23: 'inconsistent_group_protocol', 24: 'invalid_group_id', 25: 'unknown_member_id', 26: 'invalid_session_timeout', 27: 'rebalance_in_progress', 28: 'invalid_commit_offset_size', 29: 'topic_authorization_failed', 30: 'group_authorization_failed', 31: 'cluster_authorization_failed'} retriable_codes = set(['invalid_message', 'unknown_topic_or_partition', 'leader_not_available', 'not_partition_leader', 'request_timed_out', 'offsets_load_in_progress', 'coordinator_not_available', 'not_coordinator', 'not_enough_replicas', 'not_enough_replicas_after_append'])
css = [ 'about.css', 'button.css', 'frame.css', 'faq.css', 'index.css', 'map.css', 'ramanujan.css', 'rocket.css', 'shelf.css', 'snackbar.css', 'timeline.css', 'typewriter.css', 'mobile.css', 'info.css' ] concat = '' for i in css: with open(f'css/{i}') as f: concat += f.read() concat += '\n\n' f = open("css/concat.css","w+") f.write(concat) f.close()
css = ['about.css', 'button.css', 'frame.css', 'faq.css', 'index.css', 'map.css', 'ramanujan.css', 'rocket.css', 'shelf.css', 'snackbar.css', 'timeline.css', 'typewriter.css', 'mobile.css', 'info.css'] concat = '' for i in css: with open(f'css/{i}') as f: concat += f.read() concat += '\n\n' f = open('css/concat.css', 'w+') f.write(concat) f.close()
CONTROLLERS = {} def controller(code): def register_controller(func): CONTROLLERS[code] = func return func return register_controller def get_controller_func(controller): if controller in CONTROLLERS: return CONTROLLERS[controller] raise ValueError('Invalid request')
controllers = {} def controller(code): def register_controller(func): CONTROLLERS[code] = func return func return register_controller def get_controller_func(controller): if controller in CONTROLLERS: return CONTROLLERS[controller] raise value_error('Invalid request')
course = ' Python for Beginners ' print(len(course)) # Genereal perpous function print(course.upper()) print(course) print(course.lower()) print(course.title()) print(course.lstrip()) print(course.rstrip()) # Returns the index of the first occurrence of the character. print(course.find('P')) print(course.find('B')) print(course.find('o')) print(course.find('O')) print(course.find('Beginners')) print(course.replace("Beginners", "Absolute Beginners")) print(course.replace("P", "C")) # Check existence of a character or a sequence of characters print("Python" in course) # True print("python" in course) # False print("python" not in course) # True
course = ' Python for Beginners ' print(len(course)) print(course.upper()) print(course) print(course.lower()) print(course.title()) print(course.lstrip()) print(course.rstrip()) print(course.find('P')) print(course.find('B')) print(course.find('o')) print(course.find('O')) print(course.find('Beginners')) print(course.replace('Beginners', 'Absolute Beginners')) print(course.replace('P', 'C')) print('Python' in course) print('python' in course) print('python' not in course)
print("Hello World!") x = "Hello World" print(x) y = 42 print(y)
print('Hello World!') x = 'Hello World' print(x) y = 42 print(y)
class DefineRegion(object): def __init__(self): self.x = self.y = 10.0 self.depth = 1.0 self.subvolume_edge = 1.0 self.cytosol_depth = 10.0 self.num_chambers = (self.x / self.subvolume_edge) * (self.y / self.subvolume_edge) * ( self.depth / self.subvolume_edge) self.num_cytosol_chambers = self.num_chambers * self.cytosol_depth def define_region(self, f): f.write('region World box width 1 height 1 depth 1\n') f.write('subvolume edge 1\n\n') def define_membrane_region(self, f): f.write('region Plasma \n \t box width {0} height {1} depth {2}\n\n'.format(self.x, self.y, self.depth)) f.write('region Cytosol \n ') f.write('\t move 0 0 -{0} \n'.format(self.cytosol_depth / 2.0)) f.write('\t\t box width {0} height {1} depth {2}\n\n'.format(self.x, self.y, self.cytosol_depth)) f.write('subvolume edge {0}\n\n'.format(self.subvolume_edge)) class InitialConcentrations(object): def __init__(self): self.r_0 = 30000 self.lck_0 = 30000 self.zap_0 = 1200000 self.lat_0 = 150000 self.sos_0 = 1000 self.ras_gdp_0 = 1000 self.ras_gap_0 = 10 class BindingParameters(object): def __init__(self): # Initial Conditions self.initial = InitialConcentrations() # Zeroth Cycle ligand binding self.k_L_on = 0.0022 self.k_foreign_off = 0.2 self.k_self_off = 2.0 # 10.0 * self.k_foreign_off # First Cycle Lck binding self.on_rate = 2.0 # / 10.0 self.k_lck_on_R_pmhc = (self.on_rate / self.initial.lck_0) # * 100.0 self.k_lck_off_R_pmhc = self.k_foreign_off / 40.0 self.k_lck_on_R = 0.0 # 1.0 / 100000.0 self.k_lck_off_R = 20.0 # Second Cycle Lck phosphorylation self.k_p_on_R_pmhc = self.on_rate / 10.0 self.k_p_off_R_pmhc = self.k_foreign_off / 40.0 # self.k_foreign_off / 10.0 self.k_lck_on_RP = 1.0 / 100000.0 self.k_lck_off_RP = 20.0 self.k_p_on_R = 0.0 # 1.0 / 100000.0 self.k_p_off_R = 20.0 # Third Cycle Zap binding self.k_zap_on_R_pmhc = (self.on_rate / self.initial.zap_0) # * 100.0 self.k_zap_off_R_pmhc = self.k_lck_off_R_pmhc self.k_lck_on_zap_R = self.k_lck_on_RP self.k_lck_off_zap_R = 20.0 self.k_zap_on_R = 1.0 / 100000.0 self.k_zap_off_R = 20.0 # Fourth Cycle phosphorylate zap self.k_p_on_zap_species = self.on_rate # / 10.0 self.k_p_off_zap_species = self.k_p_off_R_pmhc self.k_lck_on_zap_p = self.k_lck_on_RP self.k_lck_off_zap_p = self.k_lck_off_zap_R # Fifth Negative Feedback Loop self.k_negative_loop = 0.0 # 5.0 self.k_lcki = 0.01 # Sixth LAT on self.k_lat_on_species = self.on_rate / self.initial.lat_0 self.k_lat_off_species = self.k_lck_off_R_pmhc self.k_lat_on_rp_zap = self.k_zap_on_R self.k_lat_off_rp_zap = 20.0 # Seventh first LAT phosphorylation self.k_p_lat_1 = self.on_rate # Eighth second LAT phosphorylation self.k_p_lat_2 = self.on_rate # / 10.0 # / 10.0 # self.k_p_on_zap_species / 100 self.k_p_lat_off_species = self.k_p_off_R_pmhc self.k_p_on_lat = self.k_p_on_R self.k_p_off_lat = 20.0 # Eighth Sos on self.k_sos_on = 0.001 self.k_sos_off = 0.005 self.multiplier = 10.0 # Ninth Sos RasGDP and RasGTP self.k_sos_on_rgdp = 0.0024 * self.multiplier self.k_sos_off_rgdp = 3.0 * self.multiplier self.k_sos_on_rgtp = 0.0022 * self.multiplier # * 12.0 self.k_sos_off_rgtp = 0.4 * self.multiplier # Tenth # sos_rgtp + rgdp self.k_rgdp_on_sos_rgtp = 0.001 * self.multiplier self.k_rgdp_off_sos_rgtp = 0.1 * self.multiplier self.k_cat_3 = 0.038 * 1.3 * self.multiplier # sos_rgdp + rgdp self.k_rgdp_on_sos_rgdp = 0.0014 * self.multiplier self.k_rgdp_off_sos_rgdp = 1.0 * self.multiplier self.k_cat_4 = 0.003 * self.multiplier # rgap + rgtp -> rgdp self.k_rgap_on_rgtp = 0.0348 * self.multiplier self.k_rgap_off_rgtp = 0.2 * self.multiplier self.k_cat_5 = 0.1 * self.multiplier # Eighth LAT -> final product self.k_product_on = 0.008 self.k_product_off = self.k_p_off_R_pmhc # Ninth: Positive Feedback Loop self.k_positive_loop = 0.0025 # # Eighth Grb on # self.k_grb_on_species = self.k_lck_on_R_pmhc # self.k_grb_off_species = self.k_lck_off_R_pmhc # # # Ninth Sos on # self.k_sos_on_species = self.k_lck_on_R_pmhc # self.k_sos_off_species = self.k_lck_off_R_pmhc # # # Tenth Ras-GDP on # self.k_ras_on_species = self.k_lck_on_R_pmhc # self.k_ras_off_species = self.k_lck_off_R_pmhc class MembraneInitialConcentrations(InitialConcentrations): def __init__(self): InitialConcentrations.__init__(self) # self.r_0 = 300 # 75 # self.lck_0 = 300 # 2705 # self.zap_0 = 12000 # 12180 self.lat_0 = 1522 class DiffusionRates(object): def __init__(self): self.region = DefineRegion() self.d_r = self.d_l = self.d_rl = 0.13 * self.region.num_chambers self.d_lck = 0.085 * self.region.num_chambers self.d_zap = 10.0 class MembraneBindingParameters(object): def __init__(self): # Initial Conditions self.initial = MembraneInitialConcentrations() self.region = DefineRegion() self.rates = BindingParameters() # Zeroth Cycle ligand binding self.k_L_on = self.rates.k_L_on * self.region.num_chambers self.k_foreign_off = self.rates.k_foreign_off self.k_self_off = self.rates.k_self_off # Lck binding - 1st cycle self.on_rate = self.rates.on_rate self.k_lck_on_R_pmhc = (self.on_rate / self.initial.lck_0) * self.region.num_chambers self.k_lck_off_R_pmhc = self.rates.k_lck_off_R_pmhc self.k_lck_on_R = self.rates.k_lck_on_R * self.region.num_chambers self.k_lck_off_R = self.rates.k_lck_off_R # ITAM phosphorylation - 2nd cycle self.k_p_on_R_pmhc = self.on_rate self.k_p_off_R_pmhc = self.rates.k_p_off_R_pmhc self.k_lck_on_RP = self.rates.k_lck_on_RP * self.region.num_chambers self.k_lck_off_RP = self.rates.k_lck_off_RP self.k_p_on_R = self.rates.k_p_on_R self.k_p_off_R = self.rates.k_p_off_R # Zap 70 binding to ITAMs - 3rd cycle self.k_zap_on_R_pmhc = (self.on_rate / self.initial.zap_0) * self.region.num_chambers # * 100.0 self.k_zap_off_R_pmhc = self.rates.k_zap_off_R_pmhc self.k_lck_on_zap_R = self.rates.k_lck_on_zap_R * self.region.num_chambers self.k_lck_off_zap_R = self.rates.k_lck_off_zap_R self.k_zap_on_R = self.rates.k_zap_on_R * self.region.num_chambers self.k_zap_off_R = self.rates.k_zap_off_R # Fourth Cycle phosphorylate zap self.k_p_on_zap_species = self.on_rate # / 10.0 self.k_p_off_zap_species = 0.1 # self.k_p_off_R_pmhc
class Defineregion(object): def __init__(self): self.x = self.y = 10.0 self.depth = 1.0 self.subvolume_edge = 1.0 self.cytosol_depth = 10.0 self.num_chambers = self.x / self.subvolume_edge * (self.y / self.subvolume_edge) * (self.depth / self.subvolume_edge) self.num_cytosol_chambers = self.num_chambers * self.cytosol_depth def define_region(self, f): f.write('region World box width 1 height 1 depth 1\n') f.write('subvolume edge 1\n\n') def define_membrane_region(self, f): f.write('region Plasma \n \t box width {0} height {1} depth {2}\n\n'.format(self.x, self.y, self.depth)) f.write('region Cytosol \n ') f.write('\t move 0 0 -{0} \n'.format(self.cytosol_depth / 2.0)) f.write('\t\t box width {0} height {1} depth {2}\n\n'.format(self.x, self.y, self.cytosol_depth)) f.write('subvolume edge {0}\n\n'.format(self.subvolume_edge)) class Initialconcentrations(object): def __init__(self): self.r_0 = 30000 self.lck_0 = 30000 self.zap_0 = 1200000 self.lat_0 = 150000 self.sos_0 = 1000 self.ras_gdp_0 = 1000 self.ras_gap_0 = 10 class Bindingparameters(object): def __init__(self): self.initial = initial_concentrations() self.k_L_on = 0.0022 self.k_foreign_off = 0.2 self.k_self_off = 2.0 self.on_rate = 2.0 self.k_lck_on_R_pmhc = self.on_rate / self.initial.lck_0 self.k_lck_off_R_pmhc = self.k_foreign_off / 40.0 self.k_lck_on_R = 0.0 self.k_lck_off_R = 20.0 self.k_p_on_R_pmhc = self.on_rate / 10.0 self.k_p_off_R_pmhc = self.k_foreign_off / 40.0 self.k_lck_on_RP = 1.0 / 100000.0 self.k_lck_off_RP = 20.0 self.k_p_on_R = 0.0 self.k_p_off_R = 20.0 self.k_zap_on_R_pmhc = self.on_rate / self.initial.zap_0 self.k_zap_off_R_pmhc = self.k_lck_off_R_pmhc self.k_lck_on_zap_R = self.k_lck_on_RP self.k_lck_off_zap_R = 20.0 self.k_zap_on_R = 1.0 / 100000.0 self.k_zap_off_R = 20.0 self.k_p_on_zap_species = self.on_rate self.k_p_off_zap_species = self.k_p_off_R_pmhc self.k_lck_on_zap_p = self.k_lck_on_RP self.k_lck_off_zap_p = self.k_lck_off_zap_R self.k_negative_loop = 0.0 self.k_lcki = 0.01 self.k_lat_on_species = self.on_rate / self.initial.lat_0 self.k_lat_off_species = self.k_lck_off_R_pmhc self.k_lat_on_rp_zap = self.k_zap_on_R self.k_lat_off_rp_zap = 20.0 self.k_p_lat_1 = self.on_rate self.k_p_lat_2 = self.on_rate self.k_p_lat_off_species = self.k_p_off_R_pmhc self.k_p_on_lat = self.k_p_on_R self.k_p_off_lat = 20.0 self.k_sos_on = 0.001 self.k_sos_off = 0.005 self.multiplier = 10.0 self.k_sos_on_rgdp = 0.0024 * self.multiplier self.k_sos_off_rgdp = 3.0 * self.multiplier self.k_sos_on_rgtp = 0.0022 * self.multiplier self.k_sos_off_rgtp = 0.4 * self.multiplier self.k_rgdp_on_sos_rgtp = 0.001 * self.multiplier self.k_rgdp_off_sos_rgtp = 0.1 * self.multiplier self.k_cat_3 = 0.038 * 1.3 * self.multiplier self.k_rgdp_on_sos_rgdp = 0.0014 * self.multiplier self.k_rgdp_off_sos_rgdp = 1.0 * self.multiplier self.k_cat_4 = 0.003 * self.multiplier self.k_rgap_on_rgtp = 0.0348 * self.multiplier self.k_rgap_off_rgtp = 0.2 * self.multiplier self.k_cat_5 = 0.1 * self.multiplier self.k_product_on = 0.008 self.k_product_off = self.k_p_off_R_pmhc self.k_positive_loop = 0.0025 class Membraneinitialconcentrations(InitialConcentrations): def __init__(self): InitialConcentrations.__init__(self) self.lat_0 = 1522 class Diffusionrates(object): def __init__(self): self.region = define_region() self.d_r = self.d_l = self.d_rl = 0.13 * self.region.num_chambers self.d_lck = 0.085 * self.region.num_chambers self.d_zap = 10.0 class Membranebindingparameters(object): def __init__(self): self.initial = membrane_initial_concentrations() self.region = define_region() self.rates = binding_parameters() self.k_L_on = self.rates.k_L_on * self.region.num_chambers self.k_foreign_off = self.rates.k_foreign_off self.k_self_off = self.rates.k_self_off self.on_rate = self.rates.on_rate self.k_lck_on_R_pmhc = self.on_rate / self.initial.lck_0 * self.region.num_chambers self.k_lck_off_R_pmhc = self.rates.k_lck_off_R_pmhc self.k_lck_on_R = self.rates.k_lck_on_R * self.region.num_chambers self.k_lck_off_R = self.rates.k_lck_off_R self.k_p_on_R_pmhc = self.on_rate self.k_p_off_R_pmhc = self.rates.k_p_off_R_pmhc self.k_lck_on_RP = self.rates.k_lck_on_RP * self.region.num_chambers self.k_lck_off_RP = self.rates.k_lck_off_RP self.k_p_on_R = self.rates.k_p_on_R self.k_p_off_R = self.rates.k_p_off_R self.k_zap_on_R_pmhc = self.on_rate / self.initial.zap_0 * self.region.num_chambers self.k_zap_off_R_pmhc = self.rates.k_zap_off_R_pmhc self.k_lck_on_zap_R = self.rates.k_lck_on_zap_R * self.region.num_chambers self.k_lck_off_zap_R = self.rates.k_lck_off_zap_R self.k_zap_on_R = self.rates.k_zap_on_R * self.region.num_chambers self.k_zap_off_R = self.rates.k_zap_off_R self.k_p_on_zap_species = self.on_rate self.k_p_off_zap_species = 0.1
#!/usr/bin/env python3 '''module that deals with functions''' def commandpush(devicecmd): #devicecmd=list ''' push commands to devices ''' for coffeetime in devicecmd.keys(): print("Handshaking......connecting with " + coffeetime) for mycmds in devicecmd[coffeetime]: print("Attempting to sending command --> " + mycmds) print("\n") def betterpush(filename): #file name having ip and commands '''better push commands to devices''' fstream = open(filename, "r") #lines = fstream.readlines() for l_a in fstream: #print(l) s_a = str(l_a).strip() #print(s) print(s_a.isnumeric()) #if s.isalpha()== True: # print("Attempting to sending command --> " + s, end="") #else: # print("Handshanking....connecting with " + s, end="") def deviceboot(iplist): #list of IPs '''boot list of IPs ''' for ip_a in iplist: print("Connecting to... " + ip_a) print("Rebooting NOW!...") def main(): ''' main function ''' work2do = {"10.1.0.1":["interface eth1/2", "no shut"], "10.2.0.1":["interface eth1/1", "shutdown"]} iplist = ["10.1.0.1", "10.2.0.1"] work2do_file = "work2do.txt" print("Welcome to the network device command pusher") # welcome message #get data set print("\nData set found\n") # replace with function call that reads in data from file betterpush(work2do_file) print("\n") ##run commandpush commandpush(work2do) # call function to push commands to devices #run deviceboot deviceboot(iplist) #call main function main()
"""module that deals with functions""" def commandpush(devicecmd): """ push commands to devices """ for coffeetime in devicecmd.keys(): print('Handshaking......connecting with ' + coffeetime) for mycmds in devicecmd[coffeetime]: print('Attempting to sending command --> ' + mycmds) print('\n') def betterpush(filename): """better push commands to devices""" fstream = open(filename, 'r') for l_a in fstream: s_a = str(l_a).strip() print(s_a.isnumeric()) def deviceboot(iplist): """boot list of IPs """ for ip_a in iplist: print('Connecting to... ' + ip_a) print('Rebooting NOW!...') def main(): """ main function """ work2do = {'10.1.0.1': ['interface eth1/2', 'no shut'], '10.2.0.1': ['interface eth1/1', 'shutdown']} iplist = ['10.1.0.1', '10.2.0.1'] work2do_file = 'work2do.txt' print('Welcome to the network device command pusher') print('\nData set found\n') betterpush(work2do_file) print('\n') commandpush(work2do) deviceboot(iplist) main()
for v in range(0, 3): print(v) for i, v in enumerate(range(10, 13)): print(i, v) for key, value in {'A': 0, 'B': 1}.items(): print(key, value)
for v in range(0, 3): print(v) for (i, v) in enumerate(range(10, 13)): print(i, v) for (key, value) in {'A': 0, 'B': 1}.items(): print(key, value)
n=22351 l=[] s=str(n) for ch in s: l= l + [int(ch)] highest=sorted (l,reverse=True) s="" for ch in highest: s=s+ str(ch) highest=int(s) n=9 for i in range(n +1,highest+1): print(i)
n = 22351 l = [] s = str(n) for ch in s: l = l + [int(ch)] highest = sorted(l, reverse=True) s = '' for ch in highest: s = s + str(ch) highest = int(s) n = 9 for i in range(n + 1, highest + 1): print(i)
class Solution(object): def intersection(self, nums1, nums2): if len(nums1) > len(nums2): return self.intersection(nums2, nums1) lookup = set() for i in nums1: lookup.add(i) res = [] for i in nums2: if i in lookup: res += i, lookup.discard(i) return res nums1 = [1,2,2,1] nums2 = [2,2] res = Solution().intersection(nums1, nums2) print(res)
class Solution(object): def intersection(self, nums1, nums2): if len(nums1) > len(nums2): return self.intersection(nums2, nums1) lookup = set() for i in nums1: lookup.add(i) res = [] for i in nums2: if i in lookup: res += (i,) lookup.discard(i) return res nums1 = [1, 2, 2, 1] nums2 = [2, 2] res = solution().intersection(nums1, nums2) print(res)
def add(a, b): return a + b def multiply(a, b): return a * b assert add(10, 10) == 100, "confused addition" assert multiply(10, 10) == 20, "confused multiplication"
def add(a, b): return a + b def multiply(a, b): return a * b assert add(10, 10) == 100, 'confused addition' assert multiply(10, 10) == 20, 'confused multiplication'
def linear_search(a, key): length = len(a) idx = 0 while idx < length: if a[idx] == key: return idx idx += 1 return -1 a = [1, 3, 5, 10, 13] key = 5 print(linear_search(a, key))
def linear_search(a, key): length = len(a) idx = 0 while idx < length: if a[idx] == key: return idx idx += 1 return -1 a = [1, 3, 5, 10, 13] key = 5 print(linear_search(a, key))
class Bar(): pass def t1(): raise Bar() def t2(): return Bar()
class Bar: pass def t1(): raise bar() def t2(): return bar()
f = open("pb2.txt") n = int(f.readline()) P = [] for i in range(n): x, y = f.readline().split() P.append((float(x), float(y))) # citirea punctelor poligonului print("n=", n, " P=", P) # pentru x-monotonie, de exemplu, vreau sa iau cel mai din stanga punct si sa parcurg punctele pentru ca sunt date in sens trigonometric # si la fiecare punct verific monotonia lui x, iar dupa o parcurgere totala sa aiba o singura schimbare de monotonie # pt y-monotonie ma duc din cel mai jos punct # Prima data pentru x-monotonie minim = P[0][0] indexmin = -1 for i in range(len(P)): if P[i][0] < minim: minim = P[i][0] # caut x-ul minim indexmin = i # si retin si pozitia sa in poligon monotonie, elem_precedent, okx = 1, P[indexmin][0], 0 # un boolean pt monotonie, o variabila unde retin elementul precedent si un boolean ok for i in range(1, len(P)): # parcurg toate celelalte puncte k = (i + indexmin) % len(P) # formula pentru a lua in continuare punctele in sens trigonometric (adica pentru exemplul cu 6 puncte, aleg D si merg in continuare cu E,F,A,..) elem_curent = P[k][0] # iau x-ul ca sa verific monotonia if elem_curent < elem_precedent: # daca elemntul nou este mai mic decat cel precedent (daca se cerea monotonie strica puneam <=) monotonie = 0 # atunci am schimbat monotonia: ori nu e poligon x-monoton, ori am ajuns in cel mai din dreapta punct # am schimbat monotonia si ar trebui sa am doar elemente curente mai mici ca cele precedente if elem_curent > elem_precedent and monotonie == 0: # daca intru pe if-ul asta atunci am schimbat monotonia si ar trebui sa am doar elemente curent mai mici ca cele precedente print("Poligonul NU este x-monoton!") # evident daca nu e indeplinita conditia opresc si afisez ce trebuie okx = 1 break elem_precedent = elem_curent # elementul curent devinde cel precedent si parcurg in continuare if okx == 0: print("Poligonul ESTE x-monoton!") # la fel si pentru y-monotonie, aceleasi explicatii ca la x-monotonie doar ca parcurg din cel mai sudic punct pana la cel mai nordic # si dupa verific invers proprietatea minim = P[0][1] indexmin = -1 for i in range(len(P)): if P[i][1] < minim: minim = P[i][1] # caut y-ul minim indexmin = i # si retin si pozitia sa in poligon monotonie, elem_precedent, oky = 1, P[indexmin][1], 0 for i in range(1, len(P)): # parcurg toate celelalte puncte k = (i + indexmin) % len(P) elem_curent = P[k][1] if elem_curent < elem_precedent: # pentru ca nu se cere strict monotonie, nu caut cu <= monotonie = 0 # am schimbat monotonia, ori nu e poligon y-monoton, ori am ajuns in cel mai de sus punct if elem_curent > elem_precedent and monotonie == 0: print("Poligonul NU este y-monoton!") oky = 1 break elem_precedent = elem_curent if oky == 0: print("Poligonul ESTE y-monoton!") # pentru n = 6 si punctele aferente : # n= 6 P= [(4.0, 5.0), (5.0, 7.0), (5.0, 9.0), (2.0, 5.0), (4.0, 2.0), (6.0, 3.0)] # Poligonul NU este x-monoton! # Poligonul ESTE y-monoton! # pentru n = 8 si punctele aferente # n= 8 P= [(8.0, 7.0), (7.0, 5.0), (4.0, 5.0), (3.0, 9.0), (0.0, 1.0), (5.0, 2.0), (3.0, 3.0), (10.0, 3.0)] # Poligonul NU este x-monoton! # Poligonul NU este y-monoton!
f = open('pb2.txt') n = int(f.readline()) p = [] for i in range(n): (x, y) = f.readline().split() P.append((float(x), float(y))) print('n=', n, ' P=', P) minim = P[0][0] indexmin = -1 for i in range(len(P)): if P[i][0] < minim: minim = P[i][0] indexmin = i (monotonie, elem_precedent, okx) = (1, P[indexmin][0], 0) for i in range(1, len(P)): k = (i + indexmin) % len(P) elem_curent = P[k][0] if elem_curent < elem_precedent: monotonie = 0 if elem_curent > elem_precedent and monotonie == 0: print('Poligonul NU este x-monoton!') okx = 1 break elem_precedent = elem_curent if okx == 0: print('Poligonul ESTE x-monoton!') minim = P[0][1] indexmin = -1 for i in range(len(P)): if P[i][1] < minim: minim = P[i][1] indexmin = i (monotonie, elem_precedent, oky) = (1, P[indexmin][1], 0) for i in range(1, len(P)): k = (i + indexmin) % len(P) elem_curent = P[k][1] if elem_curent < elem_precedent: monotonie = 0 if elem_curent > elem_precedent and monotonie == 0: print('Poligonul NU este y-monoton!') oky = 1 break elem_precedent = elem_curent if oky == 0: print('Poligonul ESTE y-monoton!')
def histogram(s): ''' Maps values of sequence to its frequency / occurrence. s: sequence ''' d = {} for c in s: d[c] = d.get(c, 0) + 1 return d def invert_dict(d): ''' Inverts a dictionary(d). Returns dictionary with values of d as keys and keys of d as values. d: dictionary ''' inverse = {} for k in d: inverse.setdefault(d[k], []).append(k) return inverse print(invert_dict(histogram("sarcastic")))
def histogram(s): """ Maps values of sequence to its frequency / occurrence. s: sequence """ d = {} for c in s: d[c] = d.get(c, 0) + 1 return d def invert_dict(d): """ Inverts a dictionary(d). Returns dictionary with values of d as keys and keys of d as values. d: dictionary """ inverse = {} for k in d: inverse.setdefault(d[k], []).append(k) return inverse print(invert_dict(histogram('sarcastic')))
# # PySNMP MIB module OMNI-gx2EDFA-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/OMNI-gx2EDFA-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:24:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, SingleValueConstraint, ValueRangeConstraint, ValueSizeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "SingleValueConstraint", "ValueRangeConstraint", "ValueSizeConstraint", "ConstraintsUnion") gx2EDFA, = mibBuilder.importSymbols("GX2HFC-MIB", "gx2EDFA") motproxies, gi = mibBuilder.importSymbols("NLS-BBNIDENT-MIB", "motproxies", "gi") trapChangedObjectId, trapPerceivedSeverity, trapNetworkElemOperState, trapNetworkElemAdminState, trapNetworkElemAlarmStatus, trapText, trapNETrapLastTrapTimeStamp, trapIdentifier, trapNetworkElemSerialNum, trapChangedValueInteger, trapChangedValueDisplayString, trapNetworkElemAvailStatus, trapNetworkElemModelNumber = mibBuilder.importSymbols("NLSBBN-TRAPS-MIB", "trapChangedObjectId", "trapPerceivedSeverity", "trapNetworkElemOperState", "trapNetworkElemAdminState", "trapNetworkElemAlarmStatus", "trapText", "trapNETrapLastTrapTimeStamp", "trapIdentifier", "trapNetworkElemSerialNum", "trapChangedValueInteger", "trapChangedValueDisplayString", "trapNetworkElemAvailStatus", "trapNetworkElemModelNumber") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") sysUpTime, = mibBuilder.importSymbols("SNMPv2-MIB", "sysUpTime") MibScalar, MibTable, MibTableRow, MibTableColumn, Gauge32, Counter64, Unsigned32, TimeTicks, Counter32, IpAddress, MibIdentifier, iso, ModuleIdentity, Bits, NotificationType, ObjectIdentity, Integer32, NotificationType = mibBuilder.importSymbols("SNMPv2-SMI", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Gauge32", "Counter64", "Unsigned32", "TimeTicks", "Counter32", "IpAddress", "MibIdentifier", "iso", "ModuleIdentity", "Bits", "NotificationType", "ObjectIdentity", "Integer32", "NotificationType") DisplayString, TextualConvention = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention") class Float(Counter32): pass gx2EDFADescriptor = MibIdentifier((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 1)) gx2EDFAAnalogTable = MibTable((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2), ) if mibBuilder.loadTexts: gx2EDFAAnalogTable.setStatus('mandatory') gx2EDFAAnalogEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1), ).setIndexNames((0, "OMNI-gx2EDFA-MIB", "edfagx2EDFAAnalogTableIndex")) if mibBuilder.loadTexts: gx2EDFAAnalogEntry.setStatus('mandatory') gx2EDFADigitalTable = MibTable((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3), ) if mibBuilder.loadTexts: gx2EDFADigitalTable.setStatus('mandatory') gx2EDFADigitalEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2), ).setIndexNames((0, "OMNI-gx2EDFA-MIB", "edfagx2EDFADigitalTableIndex")) if mibBuilder.loadTexts: gx2EDFADigitalEntry.setStatus('mandatory') gx2EDFAStatusTable = MibTable((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4), ) if mibBuilder.loadTexts: gx2EDFAStatusTable.setStatus('mandatory') gx2EDFAStatusEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3), ).setIndexNames((0, "OMNI-gx2EDFA-MIB", "edfagx2EDFAStatusTableIndex")) if mibBuilder.loadTexts: gx2EDFAStatusEntry.setStatus('mandatory') gx2EDFAFactoryTable = MibTable((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5), ) if mibBuilder.loadTexts: gx2EDFAFactoryTable.setStatus('mandatory') gx2EDFAFactoryEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4), ).setIndexNames((0, "OMNI-gx2EDFA-MIB", "edfagx2EDFAFactoryTableIndex")) if mibBuilder.loadTexts: gx2EDFAFactoryEntry.setStatus('mandatory') gx2EDFAHoldTimeTable = MibTable((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6), ) if mibBuilder.loadTexts: gx2EDFAHoldTimeTable.setStatus('mandatory') gx2EDFAHoldTimeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5), ).setIndexNames((0, "OMNI-gx2EDFA-MIB", "gx2EDFAHoldTimeTableIndex"), (0, "OMNI-gx2EDFA-MIB", "gx2EDFAHoldTimeSpecIndex")) if mibBuilder.loadTexts: gx2EDFAHoldTimeEntry.setStatus('mandatory') edfagx2EDFAAnalogTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfagx2EDFAAnalogTableIndex.setStatus('mandatory') edfalabelModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelModTemp.setStatus('optional') edfauomModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomModTemp.setStatus('optional') edfamajorHighModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 4), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighModTemp.setStatus('mandatory') edfamajorLowModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 5), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowModTemp.setStatus('mandatory') edfaminorHighModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 6), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighModTemp.setStatus('mandatory') edfaminorLowModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 7), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowModTemp.setStatus('mandatory') edfacurrentValueModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 8), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueModTemp.setStatus('mandatory') edfastateFlagModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagModTemp.setStatus('mandatory') edfaminValueModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 10), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueModTemp.setStatus('mandatory') edfamaxValueModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 11), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueModTemp.setStatus('mandatory') edfaalarmStateModTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateModTemp.setStatus('mandatory') edfalabelOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelOptInPower.setStatus('optional') edfauomOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomOptInPower.setStatus('optional') edfamajorHighOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 15), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighOptInPower.setStatus('mandatory') edfamajorLowOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 16), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowOptInPower.setStatus('mandatory') edfaminorHighOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 17), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighOptInPower.setStatus('mandatory') edfaminorLowOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 18), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowOptInPower.setStatus('mandatory') edfacurrentValueOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 19), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueOptInPower.setStatus('mandatory') edfastateFlagOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagOptInPower.setStatus('mandatory') edfaminValueOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 21), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueOptInPower.setStatus('mandatory') edfamaxValueOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 22), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueOptInPower.setStatus('mandatory') edfaalarmStateOptInPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateOptInPower.setStatus('mandatory') edfalabelOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 24), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelOptOutPower.setStatus('optional') edfauomOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 25), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomOptOutPower.setStatus('optional') edfamajorHighOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 26), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighOptOutPower.setStatus('mandatory') edfamajorLowOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 27), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowOptOutPower.setStatus('mandatory') edfaminorHighOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 28), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighOptOutPower.setStatus('mandatory') edfaminorLowOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 29), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowOptOutPower.setStatus('mandatory') edfacurrentValueOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 30), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueOptOutPower.setStatus('mandatory') edfastateFlagOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagOptOutPower.setStatus('mandatory') edfaminValueOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 32), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueOptOutPower.setStatus('mandatory') edfamaxValueOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 33), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueOptOutPower.setStatus('mandatory') edfaalarmStateOptOutPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateOptOutPower.setStatus('mandatory') edfalabelTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 35), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelTECTemp.setStatus('optional') edfauomTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 36), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomTECTemp.setStatus('optional') edfamajorHighTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 37), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighTECTemp.setStatus('mandatory') edfamajorLowTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 38), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowTECTemp.setStatus('mandatory') edfaminorHighTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 39), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighTECTemp.setStatus('mandatory') edfaminorLowTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 40), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowTECTemp.setStatus('mandatory') edfacurrentValueTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 41), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueTECTemp.setStatus('mandatory') edfastateFlagTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagTECTemp.setStatus('mandatory') edfaminValueTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 43), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueTECTemp.setStatus('mandatory') edfamaxValueTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 44), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueTECTemp.setStatus('mandatory') edfaalarmStateTECTemp = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateTECTemp.setStatus('mandatory') edfalabelTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 46), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelTECCurrent.setStatus('optional') edfauomTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 47), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomTECCurrent.setStatus('optional') edfamajorHighTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 48), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighTECCurrent.setStatus('mandatory') edfamajorLowTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 49), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowTECCurrent.setStatus('mandatory') edfaminorHighTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 50), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighTECCurrent.setStatus('mandatory') edfaminorLowTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 51), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowTECCurrent.setStatus('mandatory') edfacurrentValueTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 52), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueTECCurrent.setStatus('mandatory') edfastateFlagTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 53), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagTECCurrent.setStatus('mandatory') edfaminValueTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 54), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueTECCurrent.setStatus('mandatory') edfamaxValueTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 55), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueTECCurrent.setStatus('mandatory') edfaalarmStateTECCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 56), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateTECCurrent.setStatus('mandatory') edfalabelLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 57), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelLaserCurrent.setStatus('optional') edfauomLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 58), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomLaserCurrent.setStatus('optional') edfamajorHighLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 59), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighLaserCurrent.setStatus('mandatory') edfamajorLowLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 60), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowLaserCurrent.setStatus('mandatory') edfaminorHighLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 61), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighLaserCurrent.setStatus('mandatory') edfaminorLowLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 62), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowLaserCurrent.setStatus('mandatory') edfacurrentValueLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 63), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueLaserCurrent.setStatus('mandatory') edfastateFlagLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 64), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagLaserCurrent.setStatus('mandatory') edfaminValueLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 65), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueLaserCurrent.setStatus('mandatory') edfamaxValueLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 66), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueLaserCurrent.setStatus('mandatory') edfaalarmStateLaserCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 67), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateLaserCurrent.setStatus('mandatory') edfalabelLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 68), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelLaserPower.setStatus('optional') edfauomLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 69), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomLaserPower.setStatus('optional') edfamajorHighLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 70), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighLaserPower.setStatus('mandatory') edfamajorLowLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 71), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowLaserPower.setStatus('mandatory') edfaminorHighLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 72), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighLaserPower.setStatus('mandatory') edfaminorLowLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 73), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowLaserPower.setStatus('mandatory') edfacurrentValueLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 74), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueLaserPower.setStatus('mandatory') edfastateFlagLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 75), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagLaserPower.setStatus('mandatory') edfaminValueLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 76), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueLaserPower.setStatus('mandatory') edfamaxValueLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 77), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueLaserPower.setStatus('mandatory') edfaalarmStateLaserPower = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 78), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateLaserPower.setStatus('mandatory') edfalabel12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 79), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabel12Volt.setStatus('optional') edfauom12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 80), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauom12Volt.setStatus('optional') edfamajorHigh12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 81), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHigh12Volt.setStatus('mandatory') edfamajorLow12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 82), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLow12Volt.setStatus('mandatory') edfaminorHigh12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 83), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHigh12Volt.setStatus('mandatory') edfaminorLow12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 84), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLow12Volt.setStatus('mandatory') edfacurrentValue12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 85), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValue12Volt.setStatus('mandatory') edfastateFlag12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 86), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlag12Volt.setStatus('mandatory') edfaminValue12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 87), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValue12Volt.setStatus('mandatory') edfamaxValue12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 88), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValue12Volt.setStatus('mandatory') edfaalarmState12Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 89), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmState12Volt.setStatus('mandatory') edfalabel37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 90), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabel37Volt.setStatus('optional') edfauom37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 91), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauom37Volt.setStatus('optional') edfamajorHigh37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 92), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHigh37Volt.setStatus('mandatory') edfamajorLow37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 93), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLow37Volt.setStatus('mandatory') edfaminorHigh37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 94), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHigh37Volt.setStatus('mandatory') edfaminorLow37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 95), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLow37Volt.setStatus('mandatory') edfacurrentValue37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 96), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValue37Volt.setStatus('mandatory') edfastateFlag37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 97), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlag37Volt.setStatus('mandatory') edfaminValue37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 98), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValue37Volt.setStatus('mandatory') edfamaxValue37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 99), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValue37Volt.setStatus('mandatory') edfaalarmState37Volt = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 100), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmState37Volt.setStatus('mandatory') edfalabelFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 101), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelFanCurrent.setStatus('optional') edfauomFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 102), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomFanCurrent.setStatus('optional') edfamajorHighFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 103), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighFanCurrent.setStatus('mandatory') edfamajorLowFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 104), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowFanCurrent.setStatus('mandatory') edfaminorHighFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 105), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighFanCurrent.setStatus('mandatory') edfaminorLowFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 106), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowFanCurrent.setStatus('mandatory') edfacurrentValueFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 107), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacurrentValueFanCurrent.setStatus('mandatory') edfastateFlagFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 108), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagFanCurrent.setStatus('mandatory') edfaminValueFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 109), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueFanCurrent.setStatus('mandatory') edfamaxValueFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 110), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueFanCurrent.setStatus('mandatory') edfaalarmStateFanCurrent = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 111), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateFanCurrent.setStatus('mandatory') edfalabelOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 112), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelOPSetting.setStatus('optional') edfauomOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 113), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomOPSetting.setStatus('optional') edfamajorHighOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 114), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighOPSetting.setStatus('mandatory') edfamajorLowOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 115), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowOPSetting.setStatus('mandatory') edfaminorHighOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 116), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighOPSetting.setStatus('mandatory') edfaminorLowOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 117), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowOPSetting.setStatus('mandatory') edfacurrentValueOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 118), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfacurrentValueOPSetting.setStatus('mandatory') edfastateFlagOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 119), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagOPSetting.setStatus('mandatory') edfaminValueOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 120), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueOPSetting.setStatus('mandatory') edfamaxValueOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 121), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueOPSetting.setStatus('mandatory') edfaalarmStateOPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 122), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateOPSetting.setStatus('mandatory') edfalabelLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 123), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelLPSetting.setStatus('optional') edfauomLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 124), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomLPSetting.setStatus('optional') edfamajorHighLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 125), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighLPSetting.setStatus('mandatory') edfamajorLowLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 126), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowLPSetting.setStatus('mandatory') edfaminorHighLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 127), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighLPSetting.setStatus('mandatory') edfaminorLowLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 128), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowLPSetting.setStatus('mandatory') edfacurrentValueLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 129), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfacurrentValueLPSetting.setStatus('mandatory') edfastateFlagLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 130), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagLPSetting.setStatus('mandatory') edfaminValueLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 131), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueLPSetting.setStatus('mandatory') edfamaxValueLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 132), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueLPSetting.setStatus('mandatory') edfaalarmStateLPSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 133), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateLPSetting.setStatus('mandatory') edfalabelCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 134), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelCGSetting.setStatus('optional') edfauomCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 135), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomCGSetting.setStatus('optional') edfamajorHighCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 136), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighCGSetting.setStatus('mandatory') edfamajorLowCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 137), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowCGSetting.setStatus('mandatory') edfaminorHighCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 138), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighCGSetting.setStatus('mandatory') edfaminorLowCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 139), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowCGSetting.setStatus('mandatory') edfacurrentValueCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 140), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfacurrentValueCGSetting.setStatus('mandatory') edfastateFlagCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 141), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagCGSetting.setStatus('mandatory') edfaminValueCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 142), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueCGSetting.setStatus('mandatory') edfamaxValueCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 143), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueCGSetting.setStatus('mandatory') edfaalarmStateCGSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 144), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateCGSetting.setStatus('mandatory') edfalabelOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 145), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelOptThreshold.setStatus('optional') edfauomOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 146), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfauomOptThreshold.setStatus('optional') edfamajorHighOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 147), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorHighOptThreshold.setStatus('mandatory') edfamajorLowOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 148), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamajorLowOptThreshold.setStatus('mandatory') edfaminorHighOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 149), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorHighOptThreshold.setStatus('mandatory') edfaminorLowOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 150), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminorLowOptThreshold.setStatus('mandatory') edfacurrentValueOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 151), Float()).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfacurrentValueOptThreshold.setStatus('mandatory') edfastateFlagOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 152), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagOptThreshold.setStatus('mandatory') edfaminValueOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 153), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaminValueOptThreshold.setStatus('mandatory') edfamaxValueOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 154), Float()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfamaxValueOptThreshold.setStatus('mandatory') edfaalarmStateOptThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 155), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("noAlarm", 1), ("majorLowAlarm", 2), ("minorLowAlarm", 3), ("minorHighAlarm", 4), ("majorHighAlarm", 5), ("informational", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaalarmStateOptThreshold.setStatus('mandatory') edfagx2EDFADigitalTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfagx2EDFADigitalTableIndex.setStatus('mandatory') edfalabelModeSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelModeSetting.setStatus('optional') edfaenumModeSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 3), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaenumModeSetting.setStatus('optional') edfavalueModeSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("power-out-preset", 1), ("power-out-set", 2), ("laser-power-preset", 3), ("laser-power-set", 4), ("constant-gain-preset", 5), ("constant-gain-set", 6)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfavalueModeSetting.setStatus('mandatory') edfastateFlagModeSetting = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagModeSetting.setStatus('mandatory') edfalabelModuleState = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 6), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelModuleState.setStatus('optional') edfaenumModuleState = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 7), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaenumModuleState.setStatus('optional') edfavalueModuleState = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("off", 1), ("on", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfavalueModuleState.setStatus('mandatory') edfastateFlagModuleState = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagModuleState.setStatus('mandatory') edfalabelFactoryDefault = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 10), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelFactoryDefault.setStatus('optional') edfaenumFactoryDefault = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaenumFactoryDefault.setStatus('optional') edfavalueFactoryDefault = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("off", 1), ("on", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: edfavalueFactoryDefault.setStatus('mandatory') edfastateFlagFactoryDefault = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateFlagFactoryDefault.setStatus('mandatory') edfagx2EDFAStatusTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfagx2EDFAStatusTableIndex.setStatus('mandatory') edfalabelBoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 2), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelBoot.setStatus('optional') edfavalueBoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueBoot.setStatus('mandatory') edfastateflagBoot = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagBoot.setStatus('mandatory') edfalabelFlash = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 5), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelFlash.setStatus('optional') edfavalueFlash = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 6), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueFlash.setStatus('mandatory') edfastateflagFlash = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagFlash.setStatus('mandatory') edfalabelFactoryDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 8), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelFactoryDataCRC.setStatus('optional') edfavalueFactoryDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueFactoryDataCRC.setStatus('mandatory') edfastateflagFactoryDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 10), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagFactoryDataCRC.setStatus('mandatory') edfalabelAlarmDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 11), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelAlarmDataCRC.setStatus('optional') edfavalueAlarmDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueAlarmDataCRC.setStatus('mandatory') edfastateflagAlarmDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagAlarmDataCRC.setStatus('mandatory') edfalabelCalibrationDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 14), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelCalibrationDataCRC.setStatus('optional') edfavalueCalibrationDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 15), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueCalibrationDataCRC.setStatus('mandatory') edfastateflagCalibrationDataCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagCalibrationDataCRC.setStatus('mandatory') edfalabelOptInShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 17), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelOptInShutdown.setStatus('optional') edfavalueOptInShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueOptInShutdown.setStatus('mandatory') edfastateflagOptInShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagOptInShutdown.setStatus('mandatory') edfalabelTECTempShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 20), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelTECTempShutdown.setStatus('optional') edfavalueTECTempShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueTECTempShutdown.setStatus('mandatory') edfastateflagTECTempShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagTECTempShutdown.setStatus('mandatory') edfalabelTECShutOverride = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 23), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelTECShutOverride.setStatus('optional') edfavalueTECShutOverride = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 24), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueTECShutOverride.setStatus('mandatory') edfastateflagTECShutOverride = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagTECShutOverride.setStatus('mandatory') edfalabelPowerFail = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 26), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelPowerFail.setStatus('optional') edfavaluePowerFail = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 27), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavaluePowerFail.setStatus('mandatory') edfastateflagPowerFail = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 28), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagPowerFail.setStatus('mandatory') edfalabelKeySwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 29), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelKeySwitch.setStatus('optional') edfavalueKeySwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 30), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueKeySwitch.setStatus('mandatory') edfastateflagKeySwitch = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 31), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagKeySwitch.setStatus('mandatory') edfalabelLaserCurrShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 32), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelLaserCurrShutdown.setStatus('optional') edfavalueLaserCurrShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 33), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueLaserCurrShutdown.setStatus('mandatory') edfastateflagLaserCurrShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 34), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagLaserCurrShutdown.setStatus('mandatory') edfalabelLaserPowShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 35), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelLaserPowShutdown.setStatus('optional') edfavalueLaserPowShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 36), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueLaserPowShutdown.setStatus('mandatory') edfastateflagLaserPowShutdown = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 37), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagLaserPowShutdown.setStatus('mandatory') edfalabelADCStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 38), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelADCStatus.setStatus('optional') edfavalueADCStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 39), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueADCStatus.setStatus('mandatory') edfastateflagADCStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 40), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagADCStatus.setStatus('mandatory') edfalabelConstGainStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 41), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelConstGainStatus.setStatus('optional') edfavalueConstGainStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 42), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueConstGainStatus.setStatus('mandatory') edfastateflagConstGainStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 43), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagConstGainStatus.setStatus('mandatory') edfalabelStandbyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 44), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfalabelStandbyStatus.setStatus('optional') edfavalueStandbyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 45), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))).clone(namedValues=NamedValues(("ok", 1), ("undetermined", 2), ("warning", 3), ("minor", 4), ("major", 5), ("critical", 6)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfavalueStandbyStatus.setStatus('mandatory') edfastateflagStandbyStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 46), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("hidden", 1), ("read-only", 2), ("updateable", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfastateflagStandbyStatus.setStatus('mandatory') edfagx2EDFAFactoryTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfagx2EDFAFactoryTableIndex.setStatus('mandatory') edfabootControlByte = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 2), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfabootControlByte.setStatus('mandatory') edfabootStatusByte = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 3), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfabootStatusByte.setStatus('mandatory') edfabank0CRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 4), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfabank0CRC.setStatus('mandatory') edfabank1CRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 5), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfabank1CRC.setStatus('mandatory') edfaprgEEPROMByte = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 6), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaprgEEPROMByte.setStatus('mandatory') edfafactoryCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 7), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfafactoryCRC.setStatus('mandatory') edfacalculateCRC = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 8), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("factory", 1), ("calibration", 2), ("alarmdata", 3)))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfacalculateCRC.setStatus('mandatory') edfahourMeter = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 9), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfahourMeter.setStatus('mandatory') edfaflashPrgCntA = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 10), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaflashPrgCntA.setStatus('mandatory') edfaflashPrgCntB = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 11), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: edfaflashPrgCntB.setStatus('mandatory') edfafwRev0 = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 12), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfafwRev0.setStatus('mandatory') edfafwRev1 = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 13), DisplayString().subtype(subtypeSpec=ValueSizeConstraint(0, 80))).setMaxAccess("readonly") if mibBuilder.loadTexts: edfafwRev1.setStatus('mandatory') gx2EDFAHoldTimeTableIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: gx2EDFAHoldTimeTableIndex.setStatus('mandatory') gx2EDFAHoldTimeSpecIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly") if mibBuilder.loadTexts: gx2EDFAHoldTimeSpecIndex.setStatus('mandatory') gx2EDFAHoldTimeData = MibTableColumn((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: gx2EDFAHoldTimeData.setStatus('mandatory') trapEDFAConfigChangeInteger = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,1)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAConfigChangeDisplayString = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,2)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueDisplayString"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAModuleTemperatureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,3)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAOpticalInPowerAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,4)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAOpticalOutPowerAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,5)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFATECTemperatureAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,6)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFATECCurrentAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,7)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFALaserCurrentAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,8)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFALaserPowerAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,9)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAPlus12CurrentAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,10)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAPlus37CurrentAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,11)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAFanCurrentAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,12)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAResetFacDefault = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,13)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAStandbyMode = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,14)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAOptInShutdown = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,15)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFATECTempShutdown = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,16)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAKeySwitch = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,17)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAPowerFail = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,18)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFALasCurrShutdown = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,19)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFALasPowerShutdown = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,20)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAInvalidMode = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,21)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAFlashAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,22)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFABoot0Alarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,23)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFABoot1Alarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,24)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAAlarmDataCRCAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,25)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAFactoryDataCRCAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,26)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFACalDataCRCAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,27)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAFacCalFloatAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,28)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAOptInThreshAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,29)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) trapEDFAGainErrorAlarm = NotificationType((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0,30)).setObjects(("NLSBBN-TRAPS-MIB", "trapIdentifier"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemModelNumber"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemSerialNum"), ("NLSBBN-TRAPS-MIB", "trapPerceivedSeverity"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemOperState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAlarmStatus"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAdminState"), ("NLSBBN-TRAPS-MIB", "trapNetworkElemAvailStatus"), ("NLSBBN-TRAPS-MIB", "trapText"), ("NLSBBN-TRAPS-MIB", "trapChangedObjectId"), ("NLSBBN-TRAPS-MIB", "trapChangedValueInteger"), ("NLSBBN-TRAPS-MIB", "trapNETrapLastTrapTimeStamp")) mibBuilder.exportSymbols("OMNI-gx2EDFA-MIB", edfalabelPowerFail=edfalabelPowerFail, edfamajorHighModTemp=edfamajorHighModTemp, gx2EDFADescriptor=gx2EDFADescriptor, edfamajorLowOptThreshold=edfamajorLowOptThreshold, edfavalueTECShutOverride=edfavalueTECShutOverride, trapEDFAOpticalOutPowerAlarm=trapEDFAOpticalOutPowerAlarm, edfaminorLowTECTemp=edfaminorLowTECTemp, edfalabelTECTemp=edfalabelTECTemp, edfastateflagADCStatus=edfastateflagADCStatus, edfaflashPrgCntA=edfaflashPrgCntA, edfabank0CRC=edfabank0CRC, edfaalarmStateTECTemp=edfaalarmStateTECTemp, edfastateFlagTECCurrent=edfastateFlagTECCurrent, edfacurrentValueLaserPower=edfacurrentValueLaserPower, edfamajorLowFanCurrent=edfamajorLowFanCurrent, edfamajorLowCGSetting=edfamajorLowCGSetting, edfaminorHighCGSetting=edfaminorHighCGSetting, edfamajorHighOptThreshold=edfamajorHighOptThreshold, edfalabelADCStatus=edfalabelADCStatus, edfastateFlagLaserPower=edfastateFlagLaserPower, edfastateflagFlash=edfastateflagFlash, edfalabelCalibrationDataCRC=edfalabelCalibrationDataCRC, edfamajorHighCGSetting=edfamajorHighCGSetting, edfalabelFactoryDataCRC=edfalabelFactoryDataCRC, gx2EDFAFactoryTable=gx2EDFAFactoryTable, edfavalueFlash=edfavalueFlash, edfahourMeter=edfahourMeter, edfaminorHigh37Volt=edfaminorHigh37Volt, edfaminorHighOptInPower=edfaminorHighOptInPower, edfafactoryCRC=edfafactoryCRC, edfamajorLowModTemp=edfamajorLowModTemp, edfaminValueFanCurrent=edfaminValueFanCurrent, edfacurrentValueOPSetting=edfacurrentValueOPSetting, trapEDFALaserCurrentAlarm=trapEDFALaserCurrentAlarm, trapEDFAFanCurrentAlarm=trapEDFAFanCurrentAlarm, edfacurrentValue37Volt=edfacurrentValue37Volt, edfastateFlagLPSetting=edfastateFlagLPSetting, edfauomFanCurrent=edfauomFanCurrent, edfastateflagStandbyStatus=edfastateflagStandbyStatus, edfalabelLPSetting=edfalabelLPSetting, edfauomTECTemp=edfauomTECTemp, edfastateflagConstGainStatus=edfastateflagConstGainStatus, edfastateflagPowerFail=edfastateflagPowerFail, trapEDFAFacCalFloatAlarm=trapEDFAFacCalFloatAlarm, gx2EDFAStatusEntry=gx2EDFAStatusEntry, edfamajorLow12Volt=edfamajorLow12Volt, edfaminValueOptOutPower=edfaminValueOptOutPower, edfacurrentValueTECTemp=edfacurrentValueTECTemp, edfacurrentValueTECCurrent=edfacurrentValueTECCurrent, edfaalarmStateOPSetting=edfaalarmStateOPSetting, edfalabelTECShutOverride=edfalabelTECShutOverride, gx2EDFAFactoryEntry=gx2EDFAFactoryEntry, edfaminorLowFanCurrent=edfaminorLowFanCurrent, edfastateFlagFanCurrent=edfastateFlagFanCurrent, edfaminorLowOPSetting=edfaminorLowOPSetting, edfastateflagKeySwitch=edfastateflagKeySwitch, edfagx2EDFAFactoryTableIndex=edfagx2EDFAFactoryTableIndex, edfalabelConstGainStatus=edfalabelConstGainStatus, trapEDFAOpticalInPowerAlarm=trapEDFAOpticalInPowerAlarm, edfamajorLowLPSetting=edfamajorLowLPSetting, edfaalarmStateCGSetting=edfaalarmStateCGSetting, edfamaxValueTECCurrent=edfamaxValueTECCurrent, edfastateFlagOptOutPower=edfastateFlagOptOutPower, trapEDFAConfigChangeInteger=trapEDFAConfigChangeInteger, trapEDFAOptInThreshAlarm=trapEDFAOptInThreshAlarm, edfavalueFactoryDefault=edfavalueFactoryDefault, edfaminorLowLaserPower=edfaminorLowLaserPower, edfalabelOPSetting=edfalabelOPSetting, edfauomOptOutPower=edfauomOptOutPower, edfabootControlByte=edfabootControlByte, edfaprgEEPROMByte=edfaprgEEPROMByte, edfacurrentValueOptInPower=edfacurrentValueOptInPower, edfamajorHighFanCurrent=edfamajorHighFanCurrent, trapEDFABoot0Alarm=trapEDFABoot0Alarm, edfamaxValueTECTemp=edfamaxValueTECTemp, edfaminorHighOptOutPower=edfaminorHighOptOutPower, edfavaluePowerFail=edfavaluePowerFail, trapEDFALasCurrShutdown=trapEDFALasCurrShutdown, edfalabelLaserCurrent=edfalabelLaserCurrent, edfalabelOptInPower=edfalabelOptInPower, edfaminorLow12Volt=edfaminorLow12Volt, trapEDFAConfigChangeDisplayString=trapEDFAConfigChangeDisplayString, edfauom12Volt=edfauom12Volt, edfagx2EDFAAnalogTableIndex=edfagx2EDFAAnalogTableIndex, edfaalarmStateLaserPower=edfaalarmStateLaserPower, edfaminValueLPSetting=edfaminValueLPSetting, edfaminValueOptThreshold=edfaminValueOptThreshold, edfamajorHigh37Volt=edfamajorHigh37Volt, edfastateflagFactoryDataCRC=edfastateflagFactoryDataCRC, edfafwRev0=edfafwRev0, edfaminorHighLaserPower=edfaminorHighLaserPower, trapEDFAStandbyMode=trapEDFAStandbyMode, edfaminValue37Volt=edfaminValue37Volt, edfabank1CRC=edfabank1CRC, edfavalueAlarmDataCRC=edfavalueAlarmDataCRC, edfaminValueModTemp=edfaminValueModTemp, edfaminorHigh12Volt=edfaminorHigh12Volt, edfamaxValueOPSetting=edfamaxValueOPSetting, gx2EDFAAnalogEntry=gx2EDFAAnalogEntry, edfastateFlagOptThreshold=edfastateFlagOptThreshold, edfamajorHighLPSetting=edfamajorHighLPSetting, edfaminorLowLaserCurrent=edfaminorLowLaserCurrent, edfamajorLowOptOutPower=edfamajorLowOptOutPower, edfamaxValue37Volt=edfamaxValue37Volt, edfaminValue12Volt=edfaminValue12Volt, gx2EDFAAnalogTable=gx2EDFAAnalogTable, edfaminorLowOptInPower=edfaminorLowOptInPower, edfaminValueTECTemp=edfaminValueTECTemp, edfaalarmState12Volt=edfaalarmState12Volt, trapEDFALasPowerShutdown=trapEDFALasPowerShutdown, edfastateFlagFactoryDefault=edfastateFlagFactoryDefault, edfabootStatusByte=edfabootStatusByte, edfaminorHighTECCurrent=edfaminorHighTECCurrent, edfastateFlagOptInPower=edfastateFlagOptInPower, edfalabelCGSetting=edfalabelCGSetting, edfalabelModeSetting=edfalabelModeSetting, edfamajorHighOPSetting=edfamajorHighOPSetting, edfacurrentValueFanCurrent=edfacurrentValueFanCurrent, edfavalueLaserPowShutdown=edfavalueLaserPowShutdown, edfavalueFactoryDataCRC=edfavalueFactoryDataCRC, edfamaxValueOptThreshold=edfamaxValueOptThreshold, edfavalueCalibrationDataCRC=edfavalueCalibrationDataCRC, edfamaxValueOptInPower=edfamaxValueOptInPower, edfaalarmStateModTemp=edfaalarmStateModTemp, edfalabel37Volt=edfalabel37Volt, trapEDFAOptInShutdown=trapEDFAOptInShutdown, edfamajorLow37Volt=edfamajorLow37Volt, edfalabelOptOutPower=edfalabelOptOutPower, edfalabelAlarmDataCRC=edfalabelAlarmDataCRC, edfastateflagOptInShutdown=edfastateflagOptInShutdown, edfalabelKeySwitch=edfalabelKeySwitch, edfavalueConstGainStatus=edfavalueConstGainStatus, trapEDFALaserPowerAlarm=trapEDFALaserPowerAlarm, edfauomTECCurrent=edfauomTECCurrent, edfauomLaserPower=edfauomLaserPower, edfamaxValueLaserPower=edfamaxValueLaserPower, edfalabelFanCurrent=edfalabelFanCurrent, edfavalueTECTempShutdown=edfavalueTECTempShutdown, edfafwRev1=edfafwRev1, edfacalculateCRC=edfacalculateCRC, edfaalarmState37Volt=edfaalarmState37Volt, edfaminorHighLPSetting=edfaminorHighLPSetting, edfaminValueCGSetting=edfaminValueCGSetting, trapEDFATECTempShutdown=trapEDFATECTempShutdown, edfavalueModeSetting=edfavalueModeSetting, trapEDFAResetFacDefault=trapEDFAResetFacDefault, trapEDFAPowerFail=trapEDFAPowerFail, edfaminValueOptInPower=edfaminValueOptInPower, edfaminorLowLPSetting=edfaminorLowLPSetting, edfacurrentValueModTemp=edfacurrentValueModTemp, edfagx2EDFAStatusTableIndex=edfagx2EDFAStatusTableIndex, edfaminorHighOptThreshold=edfaminorHighOptThreshold, edfaenumModuleState=edfaenumModuleState, edfaminorLowTECCurrent=edfaminorLowTECCurrent, trapEDFAInvalidMode=trapEDFAInvalidMode, trapEDFAFlashAlarm=trapEDFAFlashAlarm, edfavalueStandbyStatus=edfavalueStandbyStatus, edfaminorHighFanCurrent=edfaminorHighFanCurrent, edfastateFlagOPSetting=edfastateFlagOPSetting, edfastateFlagCGSetting=edfastateFlagCGSetting, edfamajorLowTECTemp=edfamajorLowTECTemp, edfavalueADCStatus=edfavalueADCStatus, trapEDFAFactoryDataCRCAlarm=trapEDFAFactoryDataCRCAlarm, trapEDFAKeySwitch=trapEDFAKeySwitch, edfalabelOptInShutdown=edfalabelOptInShutdown, edfaalarmStateOptOutPower=edfaalarmStateOptOutPower, edfalabelLaserCurrShutdown=edfalabelLaserCurrShutdown, edfaalarmStateFanCurrent=edfaalarmStateFanCurrent, edfaalarmStateLPSetting=edfaalarmStateLPSetting, trapEDFATECCurrentAlarm=trapEDFATECCurrentAlarm, trapEDFAPlus12CurrentAlarm=trapEDFAPlus12CurrentAlarm, trapEDFAPlus37CurrentAlarm=trapEDFAPlus37CurrentAlarm, gx2EDFAHoldTimeSpecIndex=gx2EDFAHoldTimeSpecIndex, edfastateflagTECTempShutdown=edfastateflagTECTempShutdown, edfaalarmStateLaserCurrent=edfaalarmStateLaserCurrent, gx2EDFAHoldTimeData=gx2EDFAHoldTimeData, edfastateFlag12Volt=edfastateFlag12Volt, edfamajorHighTECTemp=edfamajorHighTECTemp, edfauomModTemp=edfauomModTemp, edfamaxValueLaserCurrent=edfamaxValueLaserCurrent, edfaminorHighOPSetting=edfaminorHighOPSetting, edfauomCGSetting=edfauomCGSetting, edfauom37Volt=edfauom37Volt, trapEDFAModuleTemperatureAlarm=trapEDFAModuleTemperatureAlarm, edfamaxValueModTemp=edfamaxValueModTemp, edfaminorLowCGSetting=edfaminorLowCGSetting, edfamajorHigh12Volt=edfamajorHigh12Volt, gx2EDFADigitalEntry=gx2EDFADigitalEntry, edfastateflagTECShutOverride=edfastateflagTECShutOverride, edfaminValueLaserCurrent=edfaminValueLaserCurrent, edfaflashPrgCntB=edfaflashPrgCntB, edfavalueLaserCurrShutdown=edfavalueLaserCurrShutdown, edfaminValueLaserPower=edfaminValueLaserPower, edfaalarmStateOptThreshold=edfaalarmStateOptThreshold, edfaenumModeSetting=edfaenumModeSetting, edfauomOPSetting=edfauomOPSetting, edfamajorLowOptInPower=edfamajorLowOptInPower, edfaminorLowModTemp=edfaminorLowModTemp, edfaminorHighModTemp=edfaminorHighModTemp, edfalabelLaserPower=edfalabelLaserPower, edfavalueOptInShutdown=edfavalueOptInShutdown, edfaenumFactoryDefault=edfaenumFactoryDefault, edfalabelFlash=edfalabelFlash, edfamajorHighOptInPower=edfamajorHighOptInPower, edfaalarmStateOptInPower=edfaalarmStateOptInPower, edfacurrentValue12Volt=edfacurrentValue12Volt, edfamaxValueFanCurrent=edfamaxValueFanCurrent, edfamaxValueLPSetting=edfamaxValueLPSetting, edfacurrentValueLaserCurrent=edfacurrentValueLaserCurrent, edfastateFlagModTemp=edfastateFlagModTemp, edfaminorLow37Volt=edfaminorLow37Volt, edfavalueKeySwitch=edfavalueKeySwitch, trapEDFAAlarmDataCRCAlarm=trapEDFAAlarmDataCRCAlarm, edfastateFlagTECTemp=edfastateFlagTECTemp, edfastateflagAlarmDataCRC=edfastateflagAlarmDataCRC, edfamajorLowLaserCurrent=edfamajorLowLaserCurrent, edfamajorHighLaserCurrent=edfamajorHighLaserCurrent, trapEDFATECTemperatureAlarm=trapEDFATECTemperatureAlarm, edfamajorHighLaserPower=edfamajorHighLaserPower, edfacurrentValueOptThreshold=edfacurrentValueOptThreshold, edfaminorHighLaserCurrent=edfaminorHighLaserCurrent, edfalabelBoot=edfalabelBoot, edfavalueBoot=edfavalueBoot, edfaminorHighTECTemp=edfaminorHighTECTemp, edfamajorHighTECCurrent=edfamajorHighTECCurrent, edfastateFlagModeSetting=edfastateFlagModeSetting, edfaminValueTECCurrent=edfaminValueTECCurrent, edfalabelFactoryDefault=edfalabelFactoryDefault, trapEDFAGainErrorAlarm=trapEDFAGainErrorAlarm, edfamaxValueCGSetting=edfamaxValueCGSetting, Float=Float, gx2EDFAStatusTable=gx2EDFAStatusTable, edfalabelLaserPowShutdown=edfalabelLaserPowShutdown, edfalabelModuleState=edfalabelModuleState, edfamajorLowLaserPower=edfamajorLowLaserPower, edfauomOptThreshold=edfauomOptThreshold, edfastateflagBoot=edfastateflagBoot, edfaminorLowOptThreshold=edfaminorLowOptThreshold, trapEDFABoot1Alarm=trapEDFABoot1Alarm, edfamajorLowTECCurrent=edfamajorLowTECCurrent, edfalabelStandbyStatus=edfalabelStandbyStatus, gx2EDFAHoldTimeEntry=gx2EDFAHoldTimeEntry, edfauomOptInPower=edfauomOptInPower, edfaminValueOPSetting=edfaminValueOPSetting, edfastateflagCalibrationDataCRC=edfastateflagCalibrationDataCRC, edfacurrentValueCGSetting=edfacurrentValueCGSetting, edfacurrentValueLPSetting=edfacurrentValueLPSetting, edfastateFlagModuleState=edfastateFlagModuleState, edfamajorHighOptOutPower=edfamajorHighOptOutPower, edfastateflagLaserPowShutdown=edfastateflagLaserPowShutdown, edfalabelOptThreshold=edfalabelOptThreshold, edfaminorLowOptOutPower=edfaminorLowOptOutPower, edfamajorLowOPSetting=edfamajorLowOPSetting, edfalabelTECTempShutdown=edfalabelTECTempShutdown) mibBuilder.exportSymbols("OMNI-gx2EDFA-MIB", edfamaxValue12Volt=edfamaxValue12Volt, edfalabel12Volt=edfalabel12Volt, trapEDFACalDataCRCAlarm=trapEDFACalDataCRCAlarm, edfamaxValueOptOutPower=edfamaxValueOptOutPower, edfastateFlagLaserCurrent=edfastateFlagLaserCurrent, gx2EDFAHoldTimeTable=gx2EDFAHoldTimeTable, edfavalueModuleState=edfavalueModuleState, edfastateFlag37Volt=edfastateFlag37Volt, edfalabelModTemp=edfalabelModTemp, edfalabelTECCurrent=edfalabelTECCurrent, gx2EDFADigitalTable=gx2EDFADigitalTable, edfacurrentValueOptOutPower=edfacurrentValueOptOutPower, edfauomLaserCurrent=edfauomLaserCurrent, edfauomLPSetting=edfauomLPSetting, edfagx2EDFADigitalTableIndex=edfagx2EDFADigitalTableIndex, edfastateflagLaserCurrShutdown=edfastateflagLaserCurrShutdown, gx2EDFAHoldTimeTableIndex=gx2EDFAHoldTimeTableIndex, edfaalarmStateTECCurrent=edfaalarmStateTECCurrent)
(integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, single_value_constraint, value_range_constraint, value_size_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'SingleValueConstraint', 'ValueRangeConstraint', 'ValueSizeConstraint', 'ConstraintsUnion') (gx2_edfa,) = mibBuilder.importSymbols('GX2HFC-MIB', 'gx2EDFA') (motproxies, gi) = mibBuilder.importSymbols('NLS-BBNIDENT-MIB', 'motproxies', 'gi') (trap_changed_object_id, trap_perceived_severity, trap_network_elem_oper_state, trap_network_elem_admin_state, trap_network_elem_alarm_status, trap_text, trap_ne_trap_last_trap_time_stamp, trap_identifier, trap_network_elem_serial_num, trap_changed_value_integer, trap_changed_value_display_string, trap_network_elem_avail_status, trap_network_elem_model_number) = mibBuilder.importSymbols('NLSBBN-TRAPS-MIB', 'trapChangedObjectId', 'trapPerceivedSeverity', 'trapNetworkElemOperState', 'trapNetworkElemAdminState', 'trapNetworkElemAlarmStatus', 'trapText', 'trapNETrapLastTrapTimeStamp', 'trapIdentifier', 'trapNetworkElemSerialNum', 'trapChangedValueInteger', 'trapChangedValueDisplayString', 'trapNetworkElemAvailStatus', 'trapNetworkElemModelNumber') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (sys_up_time,) = mibBuilder.importSymbols('SNMPv2-MIB', 'sysUpTime') (mib_scalar, mib_table, mib_table_row, mib_table_column, gauge32, counter64, unsigned32, time_ticks, counter32, ip_address, mib_identifier, iso, module_identity, bits, notification_type, object_identity, integer32, notification_type) = mibBuilder.importSymbols('SNMPv2-SMI', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Gauge32', 'Counter64', 'Unsigned32', 'TimeTicks', 'Counter32', 'IpAddress', 'MibIdentifier', 'iso', 'ModuleIdentity', 'Bits', 'NotificationType', 'ObjectIdentity', 'Integer32', 'NotificationType') (display_string, textual_convention) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention') class Float(Counter32): pass gx2_edfa_descriptor = mib_identifier((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 1)) gx2_edfa_analog_table = mib_table((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2)) if mibBuilder.loadTexts: gx2EDFAAnalogTable.setStatus('mandatory') gx2_edfa_analog_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1)).setIndexNames((0, 'OMNI-gx2EDFA-MIB', 'edfagx2EDFAAnalogTableIndex')) if mibBuilder.loadTexts: gx2EDFAAnalogEntry.setStatus('mandatory') gx2_edfa_digital_table = mib_table((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3)) if mibBuilder.loadTexts: gx2EDFADigitalTable.setStatus('mandatory') gx2_edfa_digital_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2)).setIndexNames((0, 'OMNI-gx2EDFA-MIB', 'edfagx2EDFADigitalTableIndex')) if mibBuilder.loadTexts: gx2EDFADigitalEntry.setStatus('mandatory') gx2_edfa_status_table = mib_table((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4)) if mibBuilder.loadTexts: gx2EDFAStatusTable.setStatus('mandatory') gx2_edfa_status_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3)).setIndexNames((0, 'OMNI-gx2EDFA-MIB', 'edfagx2EDFAStatusTableIndex')) if mibBuilder.loadTexts: gx2EDFAStatusEntry.setStatus('mandatory') gx2_edfa_factory_table = mib_table((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5)) if mibBuilder.loadTexts: gx2EDFAFactoryTable.setStatus('mandatory') gx2_edfa_factory_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4)).setIndexNames((0, 'OMNI-gx2EDFA-MIB', 'edfagx2EDFAFactoryTableIndex')) if mibBuilder.loadTexts: gx2EDFAFactoryEntry.setStatus('mandatory') gx2_edfa_hold_time_table = mib_table((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6)) if mibBuilder.loadTexts: gx2EDFAHoldTimeTable.setStatus('mandatory') gx2_edfa_hold_time_entry = mib_table_row((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5)).setIndexNames((0, 'OMNI-gx2EDFA-MIB', 'gx2EDFAHoldTimeTableIndex'), (0, 'OMNI-gx2EDFA-MIB', 'gx2EDFAHoldTimeSpecIndex')) if mibBuilder.loadTexts: gx2EDFAHoldTimeEntry.setStatus('mandatory') edfagx2_edfa_analog_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfagx2EDFAAnalogTableIndex.setStatus('mandatory') edfalabel_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelModTemp.setStatus('optional') edfauom_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomModTemp.setStatus('optional') edfamajor_high_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 4), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighModTemp.setStatus('mandatory') edfamajor_low_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 5), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowModTemp.setStatus('mandatory') edfaminor_high_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 6), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighModTemp.setStatus('mandatory') edfaminor_low_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 7), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowModTemp.setStatus('mandatory') edfacurrent_value_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 8), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueModTemp.setStatus('mandatory') edfastate_flag_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagModTemp.setStatus('mandatory') edfamin_value_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 10), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueModTemp.setStatus('mandatory') edfamax_value_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 11), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueModTemp.setStatus('mandatory') edfaalarm_state_mod_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateModTemp.setStatus('mandatory') edfalabel_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelOptInPower.setStatus('optional') edfauom_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomOptInPower.setStatus('optional') edfamajor_high_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 15), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighOptInPower.setStatus('mandatory') edfamajor_low_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 16), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowOptInPower.setStatus('mandatory') edfaminor_high_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 17), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighOptInPower.setStatus('mandatory') edfaminor_low_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 18), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowOptInPower.setStatus('mandatory') edfacurrent_value_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 19), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueOptInPower.setStatus('mandatory') edfastate_flag_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagOptInPower.setStatus('mandatory') edfamin_value_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 21), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueOptInPower.setStatus('mandatory') edfamax_value_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 22), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueOptInPower.setStatus('mandatory') edfaalarm_state_opt_in_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateOptInPower.setStatus('mandatory') edfalabel_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 24), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelOptOutPower.setStatus('optional') edfauom_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 25), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomOptOutPower.setStatus('optional') edfamajor_high_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 26), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighOptOutPower.setStatus('mandatory') edfamajor_low_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 27), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowOptOutPower.setStatus('mandatory') edfaminor_high_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 28), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighOptOutPower.setStatus('mandatory') edfaminor_low_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 29), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowOptOutPower.setStatus('mandatory') edfacurrent_value_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 30), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueOptOutPower.setStatus('mandatory') edfastate_flag_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagOptOutPower.setStatus('mandatory') edfamin_value_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 32), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueOptOutPower.setStatus('mandatory') edfamax_value_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 33), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueOptOutPower.setStatus('mandatory') edfaalarm_state_opt_out_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateOptOutPower.setStatus('mandatory') edfalabel_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 35), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelTECTemp.setStatus('optional') edfauom_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 36), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomTECTemp.setStatus('optional') edfamajor_high_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 37), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighTECTemp.setStatus('mandatory') edfamajor_low_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 38), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowTECTemp.setStatus('mandatory') edfaminor_high_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 39), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighTECTemp.setStatus('mandatory') edfaminor_low_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 40), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowTECTemp.setStatus('mandatory') edfacurrent_value_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 41), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueTECTemp.setStatus('mandatory') edfastate_flag_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagTECTemp.setStatus('mandatory') edfamin_value_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 43), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueTECTemp.setStatus('mandatory') edfamax_value_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 44), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueTECTemp.setStatus('mandatory') edfaalarm_state_tec_temp = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 45), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateTECTemp.setStatus('mandatory') edfalabel_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 46), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelTECCurrent.setStatus('optional') edfauom_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 47), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomTECCurrent.setStatus('optional') edfamajor_high_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 48), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighTECCurrent.setStatus('mandatory') edfamajor_low_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 49), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowTECCurrent.setStatus('mandatory') edfaminor_high_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 50), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighTECCurrent.setStatus('mandatory') edfaminor_low_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 51), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowTECCurrent.setStatus('mandatory') edfacurrent_value_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 52), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueTECCurrent.setStatus('mandatory') edfastate_flag_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 53), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagTECCurrent.setStatus('mandatory') edfamin_value_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 54), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueTECCurrent.setStatus('mandatory') edfamax_value_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 55), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueTECCurrent.setStatus('mandatory') edfaalarm_state_tec_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 56), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateTECCurrent.setStatus('mandatory') edfalabel_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 57), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelLaserCurrent.setStatus('optional') edfauom_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 58), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomLaserCurrent.setStatus('optional') edfamajor_high_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 59), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighLaserCurrent.setStatus('mandatory') edfamajor_low_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 60), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowLaserCurrent.setStatus('mandatory') edfaminor_high_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 61), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighLaserCurrent.setStatus('mandatory') edfaminor_low_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 62), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowLaserCurrent.setStatus('mandatory') edfacurrent_value_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 63), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueLaserCurrent.setStatus('mandatory') edfastate_flag_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 64), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagLaserCurrent.setStatus('mandatory') edfamin_value_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 65), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueLaserCurrent.setStatus('mandatory') edfamax_value_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 66), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueLaserCurrent.setStatus('mandatory') edfaalarm_state_laser_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 67), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateLaserCurrent.setStatus('mandatory') edfalabel_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 68), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelLaserPower.setStatus('optional') edfauom_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 69), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomLaserPower.setStatus('optional') edfamajor_high_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 70), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighLaserPower.setStatus('mandatory') edfamajor_low_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 71), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowLaserPower.setStatus('mandatory') edfaminor_high_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 72), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighLaserPower.setStatus('mandatory') edfaminor_low_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 73), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowLaserPower.setStatus('mandatory') edfacurrent_value_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 74), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueLaserPower.setStatus('mandatory') edfastate_flag_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 75), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagLaserPower.setStatus('mandatory') edfamin_value_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 76), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueLaserPower.setStatus('mandatory') edfamax_value_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 77), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueLaserPower.setStatus('mandatory') edfaalarm_state_laser_power = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 78), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateLaserPower.setStatus('mandatory') edfalabel12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 79), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabel12Volt.setStatus('optional') edfauom12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 80), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauom12Volt.setStatus('optional') edfamajor_high12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 81), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHigh12Volt.setStatus('mandatory') edfamajor_low12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 82), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLow12Volt.setStatus('mandatory') edfaminor_high12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 83), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHigh12Volt.setStatus('mandatory') edfaminor_low12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 84), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLow12Volt.setStatus('mandatory') edfacurrent_value12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 85), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValue12Volt.setStatus('mandatory') edfastate_flag12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 86), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlag12Volt.setStatus('mandatory') edfamin_value12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 87), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValue12Volt.setStatus('mandatory') edfamax_value12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 88), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValue12Volt.setStatus('mandatory') edfaalarm_state12_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 89), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmState12Volt.setStatus('mandatory') edfalabel37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 90), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabel37Volt.setStatus('optional') edfauom37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 91), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauom37Volt.setStatus('optional') edfamajor_high37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 92), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHigh37Volt.setStatus('mandatory') edfamajor_low37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 93), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLow37Volt.setStatus('mandatory') edfaminor_high37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 94), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHigh37Volt.setStatus('mandatory') edfaminor_low37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 95), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLow37Volt.setStatus('mandatory') edfacurrent_value37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 96), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValue37Volt.setStatus('mandatory') edfastate_flag37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 97), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlag37Volt.setStatus('mandatory') edfamin_value37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 98), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValue37Volt.setStatus('mandatory') edfamax_value37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 99), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValue37Volt.setStatus('mandatory') edfaalarm_state37_volt = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 100), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmState37Volt.setStatus('mandatory') edfalabel_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 101), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelFanCurrent.setStatus('optional') edfauom_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 102), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomFanCurrent.setStatus('optional') edfamajor_high_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 103), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighFanCurrent.setStatus('mandatory') edfamajor_low_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 104), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowFanCurrent.setStatus('mandatory') edfaminor_high_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 105), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighFanCurrent.setStatus('mandatory') edfaminor_low_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 106), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowFanCurrent.setStatus('mandatory') edfacurrent_value_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 107), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacurrentValueFanCurrent.setStatus('mandatory') edfastate_flag_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 108), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagFanCurrent.setStatus('mandatory') edfamin_value_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 109), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueFanCurrent.setStatus('mandatory') edfamax_value_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 110), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueFanCurrent.setStatus('mandatory') edfaalarm_state_fan_current = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 111), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateFanCurrent.setStatus('mandatory') edfalabel_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 112), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelOPSetting.setStatus('optional') edfauom_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 113), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomOPSetting.setStatus('optional') edfamajor_high_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 114), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighOPSetting.setStatus('mandatory') edfamajor_low_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 115), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowOPSetting.setStatus('mandatory') edfaminor_high_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 116), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighOPSetting.setStatus('mandatory') edfaminor_low_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 117), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowOPSetting.setStatus('mandatory') edfacurrent_value_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 118), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfacurrentValueOPSetting.setStatus('mandatory') edfastate_flag_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 119), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagOPSetting.setStatus('mandatory') edfamin_value_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 120), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueOPSetting.setStatus('mandatory') edfamax_value_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 121), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueOPSetting.setStatus('mandatory') edfaalarm_state_op_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 122), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateOPSetting.setStatus('mandatory') edfalabel_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 123), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelLPSetting.setStatus('optional') edfauom_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 124), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomLPSetting.setStatus('optional') edfamajor_high_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 125), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighLPSetting.setStatus('mandatory') edfamajor_low_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 126), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowLPSetting.setStatus('mandatory') edfaminor_high_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 127), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighLPSetting.setStatus('mandatory') edfaminor_low_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 128), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowLPSetting.setStatus('mandatory') edfacurrent_value_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 129), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfacurrentValueLPSetting.setStatus('mandatory') edfastate_flag_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 130), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagLPSetting.setStatus('mandatory') edfamin_value_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 131), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueLPSetting.setStatus('mandatory') edfamax_value_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 132), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueLPSetting.setStatus('mandatory') edfaalarm_state_lp_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 133), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateLPSetting.setStatus('mandatory') edfalabel_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 134), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelCGSetting.setStatus('optional') edfauom_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 135), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomCGSetting.setStatus('optional') edfamajor_high_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 136), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighCGSetting.setStatus('mandatory') edfamajor_low_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 137), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowCGSetting.setStatus('mandatory') edfaminor_high_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 138), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighCGSetting.setStatus('mandatory') edfaminor_low_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 139), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowCGSetting.setStatus('mandatory') edfacurrent_value_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 140), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfacurrentValueCGSetting.setStatus('mandatory') edfastate_flag_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 141), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagCGSetting.setStatus('mandatory') edfamin_value_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 142), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueCGSetting.setStatus('mandatory') edfamax_value_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 143), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueCGSetting.setStatus('mandatory') edfaalarm_state_cg_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 144), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateCGSetting.setStatus('mandatory') edfalabel_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 145), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelOptThreshold.setStatus('optional') edfauom_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 146), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfauomOptThreshold.setStatus('optional') edfamajor_high_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 147), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorHighOptThreshold.setStatus('mandatory') edfamajor_low_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 148), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamajorLowOptThreshold.setStatus('mandatory') edfaminor_high_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 149), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorHighOptThreshold.setStatus('mandatory') edfaminor_low_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 150), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminorLowOptThreshold.setStatus('mandatory') edfacurrent_value_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 151), float()).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfacurrentValueOptThreshold.setStatus('mandatory') edfastate_flag_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 152), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagOptThreshold.setStatus('mandatory') edfamin_value_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 153), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaminValueOptThreshold.setStatus('mandatory') edfamax_value_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 154), float()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfamaxValueOptThreshold.setStatus('mandatory') edfaalarm_state_opt_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 2, 1, 155), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('noAlarm', 1), ('majorLowAlarm', 2), ('minorLowAlarm', 3), ('minorHighAlarm', 4), ('majorHighAlarm', 5), ('informational', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaalarmStateOptThreshold.setStatus('mandatory') edfagx2_edfa_digital_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfagx2EDFADigitalTableIndex.setStatus('mandatory') edfalabel_mode_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelModeSetting.setStatus('optional') edfaenum_mode_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 3), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaenumModeSetting.setStatus('optional') edfavalue_mode_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('power-out-preset', 1), ('power-out-set', 2), ('laser-power-preset', 3), ('laser-power-set', 4), ('constant-gain-preset', 5), ('constant-gain-set', 6)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfavalueModeSetting.setStatus('mandatory') edfastate_flag_mode_setting = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 5), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagModeSetting.setStatus('mandatory') edfalabel_module_state = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 6), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelModuleState.setStatus('optional') edfaenum_module_state = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 7), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaenumModuleState.setStatus('optional') edfavalue_module_state = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('off', 1), ('on', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfavalueModuleState.setStatus('mandatory') edfastate_flag_module_state = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagModuleState.setStatus('mandatory') edfalabel_factory_default = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 10), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelFactoryDefault.setStatus('optional') edfaenum_factory_default = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaenumFactoryDefault.setStatus('optional') edfavalue_factory_default = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('off', 1), ('on', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: edfavalueFactoryDefault.setStatus('mandatory') edfastate_flag_factory_default = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 3, 2, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateFlagFactoryDefault.setStatus('mandatory') edfagx2_edfa_status_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfagx2EDFAStatusTableIndex.setStatus('mandatory') edfalabel_boot = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 2), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelBoot.setStatus('optional') edfavalue_boot = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueBoot.setStatus('mandatory') edfastateflag_boot = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagBoot.setStatus('mandatory') edfalabel_flash = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 5), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelFlash.setStatus('optional') edfavalue_flash = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 6), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueFlash.setStatus('mandatory') edfastateflag_flash = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 7), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagFlash.setStatus('mandatory') edfalabel_factory_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 8), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelFactoryDataCRC.setStatus('optional') edfavalue_factory_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 9), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueFactoryDataCRC.setStatus('mandatory') edfastateflag_factory_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 10), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagFactoryDataCRC.setStatus('mandatory') edfalabel_alarm_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 11), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelAlarmDataCRC.setStatus('optional') edfavalue_alarm_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueAlarmDataCRC.setStatus('mandatory') edfastateflag_alarm_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 13), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagAlarmDataCRC.setStatus('mandatory') edfalabel_calibration_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 14), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelCalibrationDataCRC.setStatus('optional') edfavalue_calibration_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 15), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueCalibrationDataCRC.setStatus('mandatory') edfastateflag_calibration_data_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 16), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagCalibrationDataCRC.setStatus('mandatory') edfalabel_opt_in_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 17), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelOptInShutdown.setStatus('optional') edfavalue_opt_in_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 18), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueOptInShutdown.setStatus('mandatory') edfastateflag_opt_in_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagOptInShutdown.setStatus('mandatory') edfalabel_tec_temp_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 20), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelTECTempShutdown.setStatus('optional') edfavalue_tec_temp_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 21), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueTECTempShutdown.setStatus('mandatory') edfastateflag_tec_temp_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 22), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagTECTempShutdown.setStatus('mandatory') edfalabel_tec_shut_override = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 23), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelTECShutOverride.setStatus('optional') edfavalue_tec_shut_override = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 24), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueTECShutOverride.setStatus('mandatory') edfastateflag_tec_shut_override = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 25), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagTECShutOverride.setStatus('mandatory') edfalabel_power_fail = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 26), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelPowerFail.setStatus('optional') edfavalue_power_fail = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 27), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavaluePowerFail.setStatus('mandatory') edfastateflag_power_fail = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 28), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagPowerFail.setStatus('mandatory') edfalabel_key_switch = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 29), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelKeySwitch.setStatus('optional') edfavalue_key_switch = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 30), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueKeySwitch.setStatus('mandatory') edfastateflag_key_switch = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 31), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagKeySwitch.setStatus('mandatory') edfalabel_laser_curr_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 32), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelLaserCurrShutdown.setStatus('optional') edfavalue_laser_curr_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 33), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueLaserCurrShutdown.setStatus('mandatory') edfastateflag_laser_curr_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 34), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagLaserCurrShutdown.setStatus('mandatory') edfalabel_laser_pow_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 35), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelLaserPowShutdown.setStatus('optional') edfavalue_laser_pow_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 36), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueLaserPowShutdown.setStatus('mandatory') edfastateflag_laser_pow_shutdown = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 37), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagLaserPowShutdown.setStatus('mandatory') edfalabel_adc_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 38), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelADCStatus.setStatus('optional') edfavalue_adc_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 39), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueADCStatus.setStatus('mandatory') edfastateflag_adc_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 40), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagADCStatus.setStatus('mandatory') edfalabel_const_gain_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 41), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelConstGainStatus.setStatus('optional') edfavalue_const_gain_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 42), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueConstGainStatus.setStatus('mandatory') edfastateflag_const_gain_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 43), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagConstGainStatus.setStatus('mandatory') edfalabel_standby_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 44), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfalabelStandbyStatus.setStatus('optional') edfavalue_standby_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 45), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))).clone(namedValues=named_values(('ok', 1), ('undetermined', 2), ('warning', 3), ('minor', 4), ('major', 5), ('critical', 6)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfavalueStandbyStatus.setStatus('mandatory') edfastateflag_standby_status = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 4, 3, 46), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('hidden', 1), ('read-only', 2), ('updateable', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfastateflagStandbyStatus.setStatus('mandatory') edfagx2_edfa_factory_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfagx2EDFAFactoryTableIndex.setStatus('mandatory') edfaboot_control_byte = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 2), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfabootControlByte.setStatus('mandatory') edfaboot_status_byte = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 3), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfabootStatusByte.setStatus('mandatory') edfabank0_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 4), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfabank0CRC.setStatus('mandatory') edfabank1_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 5), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfabank1CRC.setStatus('mandatory') edfaprg_eeprom_byte = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 6), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaprgEEPROMByte.setStatus('mandatory') edfafactory_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 7), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfafactoryCRC.setStatus('mandatory') edfacalculate_crc = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 8), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('factory', 1), ('calibration', 2), ('alarmdata', 3)))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfacalculateCRC.setStatus('mandatory') edfahour_meter = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 9), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfahourMeter.setStatus('mandatory') edfaflash_prg_cnt_a = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 10), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaflashPrgCntA.setStatus('mandatory') edfaflash_prg_cnt_b = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 11), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: edfaflashPrgCntB.setStatus('mandatory') edfafw_rev0 = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 12), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfafwRev0.setStatus('mandatory') edfafw_rev1 = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 5, 4, 13), display_string().subtype(subtypeSpec=value_size_constraint(0, 80))).setMaxAccess('readonly') if mibBuilder.loadTexts: edfafwRev1.setStatus('mandatory') gx2_edfa_hold_time_table_index = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: gx2EDFAHoldTimeTableIndex.setStatus('mandatory') gx2_edfa_hold_time_spec_index = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5, 2), integer32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly') if mibBuilder.loadTexts: gx2EDFAHoldTimeSpecIndex.setStatus('mandatory') gx2_edfa_hold_time_data = mib_table_column((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11, 6, 5, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: gx2EDFAHoldTimeData.setStatus('mandatory') trap_edfa_config_change_integer = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 1)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_config_change_display_string = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 2)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueDisplayString'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_module_temperature_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 3)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_optical_in_power_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 4)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_optical_out_power_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 5)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfatec_temperature_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 6)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfatec_current_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 7)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_laser_current_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 8)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_laser_power_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 9)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_plus12_current_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 10)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_plus37_current_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 11)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_fan_current_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 12)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_reset_fac_default = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 13)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_standby_mode = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 14)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_opt_in_shutdown = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 15)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfatec_temp_shutdown = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 16)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_key_switch = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 17)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_power_fail = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 18)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_las_curr_shutdown = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 19)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_las_power_shutdown = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 20)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_invalid_mode = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 21)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_flash_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 22)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_boot0_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 23)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_boot1_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 24)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_alarm_data_crc_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 25)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_factory_data_crc_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 26)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_cal_data_crc_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 27)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_fac_cal_float_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 28)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_opt_in_thresh_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 29)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) trap_edfa_gain_error_alarm = notification_type((1, 3, 6, 1, 4, 1, 1166, 6, 1, 2, 11) + (0, 30)).setObjects(('NLSBBN-TRAPS-MIB', 'trapIdentifier'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemModelNumber'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemSerialNum'), ('NLSBBN-TRAPS-MIB', 'trapPerceivedSeverity'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemOperState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAlarmStatus'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAdminState'), ('NLSBBN-TRAPS-MIB', 'trapNetworkElemAvailStatus'), ('NLSBBN-TRAPS-MIB', 'trapText'), ('NLSBBN-TRAPS-MIB', 'trapChangedObjectId'), ('NLSBBN-TRAPS-MIB', 'trapChangedValueInteger'), ('NLSBBN-TRAPS-MIB', 'trapNETrapLastTrapTimeStamp')) mibBuilder.exportSymbols('OMNI-gx2EDFA-MIB', edfalabelPowerFail=edfalabelPowerFail, edfamajorHighModTemp=edfamajorHighModTemp, gx2EDFADescriptor=gx2EDFADescriptor, edfamajorLowOptThreshold=edfamajorLowOptThreshold, edfavalueTECShutOverride=edfavalueTECShutOverride, trapEDFAOpticalOutPowerAlarm=trapEDFAOpticalOutPowerAlarm, edfaminorLowTECTemp=edfaminorLowTECTemp, edfalabelTECTemp=edfalabelTECTemp, edfastateflagADCStatus=edfastateflagADCStatus, edfaflashPrgCntA=edfaflashPrgCntA, edfabank0CRC=edfabank0CRC, edfaalarmStateTECTemp=edfaalarmStateTECTemp, edfastateFlagTECCurrent=edfastateFlagTECCurrent, edfacurrentValueLaserPower=edfacurrentValueLaserPower, edfamajorLowFanCurrent=edfamajorLowFanCurrent, edfamajorLowCGSetting=edfamajorLowCGSetting, edfaminorHighCGSetting=edfaminorHighCGSetting, edfamajorHighOptThreshold=edfamajorHighOptThreshold, edfalabelADCStatus=edfalabelADCStatus, edfastateFlagLaserPower=edfastateFlagLaserPower, edfastateflagFlash=edfastateflagFlash, edfalabelCalibrationDataCRC=edfalabelCalibrationDataCRC, edfamajorHighCGSetting=edfamajorHighCGSetting, edfalabelFactoryDataCRC=edfalabelFactoryDataCRC, gx2EDFAFactoryTable=gx2EDFAFactoryTable, edfavalueFlash=edfavalueFlash, edfahourMeter=edfahourMeter, edfaminorHigh37Volt=edfaminorHigh37Volt, edfaminorHighOptInPower=edfaminorHighOptInPower, edfafactoryCRC=edfafactoryCRC, edfamajorLowModTemp=edfamajorLowModTemp, edfaminValueFanCurrent=edfaminValueFanCurrent, edfacurrentValueOPSetting=edfacurrentValueOPSetting, trapEDFALaserCurrentAlarm=trapEDFALaserCurrentAlarm, trapEDFAFanCurrentAlarm=trapEDFAFanCurrentAlarm, edfacurrentValue37Volt=edfacurrentValue37Volt, edfastateFlagLPSetting=edfastateFlagLPSetting, edfauomFanCurrent=edfauomFanCurrent, edfastateflagStandbyStatus=edfastateflagStandbyStatus, edfalabelLPSetting=edfalabelLPSetting, edfauomTECTemp=edfauomTECTemp, edfastateflagConstGainStatus=edfastateflagConstGainStatus, edfastateflagPowerFail=edfastateflagPowerFail, trapEDFAFacCalFloatAlarm=trapEDFAFacCalFloatAlarm, gx2EDFAStatusEntry=gx2EDFAStatusEntry, edfamajorLow12Volt=edfamajorLow12Volt, edfaminValueOptOutPower=edfaminValueOptOutPower, edfacurrentValueTECTemp=edfacurrentValueTECTemp, edfacurrentValueTECCurrent=edfacurrentValueTECCurrent, edfaalarmStateOPSetting=edfaalarmStateOPSetting, edfalabelTECShutOverride=edfalabelTECShutOverride, gx2EDFAFactoryEntry=gx2EDFAFactoryEntry, edfaminorLowFanCurrent=edfaminorLowFanCurrent, edfastateFlagFanCurrent=edfastateFlagFanCurrent, edfaminorLowOPSetting=edfaminorLowOPSetting, edfastateflagKeySwitch=edfastateflagKeySwitch, edfagx2EDFAFactoryTableIndex=edfagx2EDFAFactoryTableIndex, edfalabelConstGainStatus=edfalabelConstGainStatus, trapEDFAOpticalInPowerAlarm=trapEDFAOpticalInPowerAlarm, edfamajorLowLPSetting=edfamajorLowLPSetting, edfaalarmStateCGSetting=edfaalarmStateCGSetting, edfamaxValueTECCurrent=edfamaxValueTECCurrent, edfastateFlagOptOutPower=edfastateFlagOptOutPower, trapEDFAConfigChangeInteger=trapEDFAConfigChangeInteger, trapEDFAOptInThreshAlarm=trapEDFAOptInThreshAlarm, edfavalueFactoryDefault=edfavalueFactoryDefault, edfaminorLowLaserPower=edfaminorLowLaserPower, edfalabelOPSetting=edfalabelOPSetting, edfauomOptOutPower=edfauomOptOutPower, edfabootControlByte=edfabootControlByte, edfaprgEEPROMByte=edfaprgEEPROMByte, edfacurrentValueOptInPower=edfacurrentValueOptInPower, edfamajorHighFanCurrent=edfamajorHighFanCurrent, trapEDFABoot0Alarm=trapEDFABoot0Alarm, edfamaxValueTECTemp=edfamaxValueTECTemp, edfaminorHighOptOutPower=edfaminorHighOptOutPower, edfavaluePowerFail=edfavaluePowerFail, trapEDFALasCurrShutdown=trapEDFALasCurrShutdown, edfalabelLaserCurrent=edfalabelLaserCurrent, edfalabelOptInPower=edfalabelOptInPower, edfaminorLow12Volt=edfaminorLow12Volt, trapEDFAConfigChangeDisplayString=trapEDFAConfigChangeDisplayString, edfauom12Volt=edfauom12Volt, edfagx2EDFAAnalogTableIndex=edfagx2EDFAAnalogTableIndex, edfaalarmStateLaserPower=edfaalarmStateLaserPower, edfaminValueLPSetting=edfaminValueLPSetting, edfaminValueOptThreshold=edfaminValueOptThreshold, edfamajorHigh37Volt=edfamajorHigh37Volt, edfastateflagFactoryDataCRC=edfastateflagFactoryDataCRC, edfafwRev0=edfafwRev0, edfaminorHighLaserPower=edfaminorHighLaserPower, trapEDFAStandbyMode=trapEDFAStandbyMode, edfaminValue37Volt=edfaminValue37Volt, edfabank1CRC=edfabank1CRC, edfavalueAlarmDataCRC=edfavalueAlarmDataCRC, edfaminValueModTemp=edfaminValueModTemp, edfaminorHigh12Volt=edfaminorHigh12Volt, edfamaxValueOPSetting=edfamaxValueOPSetting, gx2EDFAAnalogEntry=gx2EDFAAnalogEntry, edfastateFlagOptThreshold=edfastateFlagOptThreshold, edfamajorHighLPSetting=edfamajorHighLPSetting, edfaminorLowLaserCurrent=edfaminorLowLaserCurrent, edfamajorLowOptOutPower=edfamajorLowOptOutPower, edfamaxValue37Volt=edfamaxValue37Volt, edfaminValue12Volt=edfaminValue12Volt, gx2EDFAAnalogTable=gx2EDFAAnalogTable, edfaminorLowOptInPower=edfaminorLowOptInPower, edfaminValueTECTemp=edfaminValueTECTemp, edfaalarmState12Volt=edfaalarmState12Volt, trapEDFALasPowerShutdown=trapEDFALasPowerShutdown, edfastateFlagFactoryDefault=edfastateFlagFactoryDefault, edfabootStatusByte=edfabootStatusByte, edfaminorHighTECCurrent=edfaminorHighTECCurrent, edfastateFlagOptInPower=edfastateFlagOptInPower, edfalabelCGSetting=edfalabelCGSetting, edfalabelModeSetting=edfalabelModeSetting, edfamajorHighOPSetting=edfamajorHighOPSetting, edfacurrentValueFanCurrent=edfacurrentValueFanCurrent, edfavalueLaserPowShutdown=edfavalueLaserPowShutdown, edfavalueFactoryDataCRC=edfavalueFactoryDataCRC, edfamaxValueOptThreshold=edfamaxValueOptThreshold, edfavalueCalibrationDataCRC=edfavalueCalibrationDataCRC, edfamaxValueOptInPower=edfamaxValueOptInPower, edfaalarmStateModTemp=edfaalarmStateModTemp, edfalabel37Volt=edfalabel37Volt, trapEDFAOptInShutdown=trapEDFAOptInShutdown, edfamajorLow37Volt=edfamajorLow37Volt, edfalabelOptOutPower=edfalabelOptOutPower, edfalabelAlarmDataCRC=edfalabelAlarmDataCRC, edfastateflagOptInShutdown=edfastateflagOptInShutdown, edfalabelKeySwitch=edfalabelKeySwitch, edfavalueConstGainStatus=edfavalueConstGainStatus, trapEDFALaserPowerAlarm=trapEDFALaserPowerAlarm, edfauomTECCurrent=edfauomTECCurrent, edfauomLaserPower=edfauomLaserPower, edfamaxValueLaserPower=edfamaxValueLaserPower, edfalabelFanCurrent=edfalabelFanCurrent, edfavalueTECTempShutdown=edfavalueTECTempShutdown, edfafwRev1=edfafwRev1, edfacalculateCRC=edfacalculateCRC, edfaalarmState37Volt=edfaalarmState37Volt, edfaminorHighLPSetting=edfaminorHighLPSetting, edfaminValueCGSetting=edfaminValueCGSetting, trapEDFATECTempShutdown=trapEDFATECTempShutdown, edfavalueModeSetting=edfavalueModeSetting, trapEDFAResetFacDefault=trapEDFAResetFacDefault, trapEDFAPowerFail=trapEDFAPowerFail, edfaminValueOptInPower=edfaminValueOptInPower, edfaminorLowLPSetting=edfaminorLowLPSetting, edfacurrentValueModTemp=edfacurrentValueModTemp, edfagx2EDFAStatusTableIndex=edfagx2EDFAStatusTableIndex, edfaminorHighOptThreshold=edfaminorHighOptThreshold, edfaenumModuleState=edfaenumModuleState, edfaminorLowTECCurrent=edfaminorLowTECCurrent, trapEDFAInvalidMode=trapEDFAInvalidMode, trapEDFAFlashAlarm=trapEDFAFlashAlarm, edfavalueStandbyStatus=edfavalueStandbyStatus, edfaminorHighFanCurrent=edfaminorHighFanCurrent, edfastateFlagOPSetting=edfastateFlagOPSetting, edfastateFlagCGSetting=edfastateFlagCGSetting, edfamajorLowTECTemp=edfamajorLowTECTemp, edfavalueADCStatus=edfavalueADCStatus, trapEDFAFactoryDataCRCAlarm=trapEDFAFactoryDataCRCAlarm, trapEDFAKeySwitch=trapEDFAKeySwitch, edfalabelOptInShutdown=edfalabelOptInShutdown, edfaalarmStateOptOutPower=edfaalarmStateOptOutPower, edfalabelLaserCurrShutdown=edfalabelLaserCurrShutdown, edfaalarmStateFanCurrent=edfaalarmStateFanCurrent, edfaalarmStateLPSetting=edfaalarmStateLPSetting, trapEDFATECCurrentAlarm=trapEDFATECCurrentAlarm, trapEDFAPlus12CurrentAlarm=trapEDFAPlus12CurrentAlarm, trapEDFAPlus37CurrentAlarm=trapEDFAPlus37CurrentAlarm, gx2EDFAHoldTimeSpecIndex=gx2EDFAHoldTimeSpecIndex, edfastateflagTECTempShutdown=edfastateflagTECTempShutdown, edfaalarmStateLaserCurrent=edfaalarmStateLaserCurrent, gx2EDFAHoldTimeData=gx2EDFAHoldTimeData, edfastateFlag12Volt=edfastateFlag12Volt, edfamajorHighTECTemp=edfamajorHighTECTemp, edfauomModTemp=edfauomModTemp, edfamaxValueLaserCurrent=edfamaxValueLaserCurrent, edfaminorHighOPSetting=edfaminorHighOPSetting, edfauomCGSetting=edfauomCGSetting, edfauom37Volt=edfauom37Volt, trapEDFAModuleTemperatureAlarm=trapEDFAModuleTemperatureAlarm, edfamaxValueModTemp=edfamaxValueModTemp, edfaminorLowCGSetting=edfaminorLowCGSetting, edfamajorHigh12Volt=edfamajorHigh12Volt, gx2EDFADigitalEntry=gx2EDFADigitalEntry, edfastateflagTECShutOverride=edfastateflagTECShutOverride, edfaminValueLaserCurrent=edfaminValueLaserCurrent, edfaflashPrgCntB=edfaflashPrgCntB, edfavalueLaserCurrShutdown=edfavalueLaserCurrShutdown, edfaminValueLaserPower=edfaminValueLaserPower, edfaalarmStateOptThreshold=edfaalarmStateOptThreshold, edfaenumModeSetting=edfaenumModeSetting, edfauomOPSetting=edfauomOPSetting, edfamajorLowOptInPower=edfamajorLowOptInPower, edfaminorLowModTemp=edfaminorLowModTemp, edfaminorHighModTemp=edfaminorHighModTemp, edfalabelLaserPower=edfalabelLaserPower, edfavalueOptInShutdown=edfavalueOptInShutdown, edfaenumFactoryDefault=edfaenumFactoryDefault, edfalabelFlash=edfalabelFlash, edfamajorHighOptInPower=edfamajorHighOptInPower, edfaalarmStateOptInPower=edfaalarmStateOptInPower, edfacurrentValue12Volt=edfacurrentValue12Volt, edfamaxValueFanCurrent=edfamaxValueFanCurrent, edfamaxValueLPSetting=edfamaxValueLPSetting, edfacurrentValueLaserCurrent=edfacurrentValueLaserCurrent, edfastateFlagModTemp=edfastateFlagModTemp, edfaminorLow37Volt=edfaminorLow37Volt, edfavalueKeySwitch=edfavalueKeySwitch, trapEDFAAlarmDataCRCAlarm=trapEDFAAlarmDataCRCAlarm, edfastateFlagTECTemp=edfastateFlagTECTemp, edfastateflagAlarmDataCRC=edfastateflagAlarmDataCRC, edfamajorLowLaserCurrent=edfamajorLowLaserCurrent, edfamajorHighLaserCurrent=edfamajorHighLaserCurrent, trapEDFATECTemperatureAlarm=trapEDFATECTemperatureAlarm, edfamajorHighLaserPower=edfamajorHighLaserPower, edfacurrentValueOptThreshold=edfacurrentValueOptThreshold, edfaminorHighLaserCurrent=edfaminorHighLaserCurrent, edfalabelBoot=edfalabelBoot, edfavalueBoot=edfavalueBoot, edfaminorHighTECTemp=edfaminorHighTECTemp, edfamajorHighTECCurrent=edfamajorHighTECCurrent, edfastateFlagModeSetting=edfastateFlagModeSetting, edfaminValueTECCurrent=edfaminValueTECCurrent, edfalabelFactoryDefault=edfalabelFactoryDefault, trapEDFAGainErrorAlarm=trapEDFAGainErrorAlarm, edfamaxValueCGSetting=edfamaxValueCGSetting, Float=Float, gx2EDFAStatusTable=gx2EDFAStatusTable, edfalabelLaserPowShutdown=edfalabelLaserPowShutdown, edfalabelModuleState=edfalabelModuleState, edfamajorLowLaserPower=edfamajorLowLaserPower, edfauomOptThreshold=edfauomOptThreshold, edfastateflagBoot=edfastateflagBoot, edfaminorLowOptThreshold=edfaminorLowOptThreshold, trapEDFABoot1Alarm=trapEDFABoot1Alarm, edfamajorLowTECCurrent=edfamajorLowTECCurrent, edfalabelStandbyStatus=edfalabelStandbyStatus, gx2EDFAHoldTimeEntry=gx2EDFAHoldTimeEntry, edfauomOptInPower=edfauomOptInPower, edfaminValueOPSetting=edfaminValueOPSetting, edfastateflagCalibrationDataCRC=edfastateflagCalibrationDataCRC, edfacurrentValueCGSetting=edfacurrentValueCGSetting, edfacurrentValueLPSetting=edfacurrentValueLPSetting, edfastateFlagModuleState=edfastateFlagModuleState, edfamajorHighOptOutPower=edfamajorHighOptOutPower, edfastateflagLaserPowShutdown=edfastateflagLaserPowShutdown, edfalabelOptThreshold=edfalabelOptThreshold, edfaminorLowOptOutPower=edfaminorLowOptOutPower, edfamajorLowOPSetting=edfamajorLowOPSetting, edfalabelTECTempShutdown=edfalabelTECTempShutdown) mibBuilder.exportSymbols('OMNI-gx2EDFA-MIB', edfamaxValue12Volt=edfamaxValue12Volt, edfalabel12Volt=edfalabel12Volt, trapEDFACalDataCRCAlarm=trapEDFACalDataCRCAlarm, edfamaxValueOptOutPower=edfamaxValueOptOutPower, edfastateFlagLaserCurrent=edfastateFlagLaserCurrent, gx2EDFAHoldTimeTable=gx2EDFAHoldTimeTable, edfavalueModuleState=edfavalueModuleState, edfastateFlag37Volt=edfastateFlag37Volt, edfalabelModTemp=edfalabelModTemp, edfalabelTECCurrent=edfalabelTECCurrent, gx2EDFADigitalTable=gx2EDFADigitalTable, edfacurrentValueOptOutPower=edfacurrentValueOptOutPower, edfauomLaserCurrent=edfauomLaserCurrent, edfauomLPSetting=edfauomLPSetting, edfagx2EDFADigitalTableIndex=edfagx2EDFADigitalTableIndex, edfastateflagLaserCurrShutdown=edfastateflagLaserCurrShutdown, gx2EDFAHoldTimeTableIndex=gx2EDFAHoldTimeTableIndex, edfaalarmStateTECCurrent=edfaalarmStateTECCurrent)
class CQueue: def __init__(self): self.q = [] def appendTail(self, value: int) -> None: self.q.append(value) def deleteHead(self) -> int: return self.q.pop(0) if self.q else -1 # Your CQueue object will be instantiated and called as such: # obj = CQueue() # obj.appendTail(value) # param_2 = obj.deleteHead()
class Cqueue: def __init__(self): self.q = [] def append_tail(self, value: int) -> None: self.q.append(value) def delete_head(self) -> int: return self.q.pop(0) if self.q else -1
# -*- coding: utf-8 -*- __author__ = "venkat" __author_email__ = "venkatram0273@gmail.com" def block_indentation(): if 10 > 10: print("if statement indented") elif 10 > 5: print("elif statement indented") else: print("else default statement indented") for i in range(10): print(i) print("For loop also indented") a = 0 while a > 2: print("While loop also indented with 4 spaces but not tab") print(a) a = a + 1 if __name__ == "__main__": block_indentation()
__author__ = 'venkat' __author_email__ = 'venkatram0273@gmail.com' def block_indentation(): if 10 > 10: print('if statement indented') elif 10 > 5: print('elif statement indented') else: print('else default statement indented') for i in range(10): print(i) print('For loop also indented') a = 0 while a > 2: print('While loop also indented with 4 spaces but not tab') print(a) a = a + 1 if __name__ == '__main__': block_indentation()
# read numbers numbers = [] with open("nums.txt", "r") as f: lines = f.readlines() numbers = [int(i) for i in lines] print(numbers) # part 1 soln for x,el in enumerate(numbers): for i in range(x+1, len(numbers)): if el + numbers[i] == 2020: print("YAY: {} {}".format(el, numbers[i])) # part 2 soln for x,el in enumerate(numbers): for i in range(x+1, len(numbers)): for j in range(i+1, len(numbers)): if el + numbers[i] + numbers[j] == 2020: print("YAY: {} {} {}".format(el, numbers[i], numbers[j]))
numbers = [] with open('nums.txt', 'r') as f: lines = f.readlines() numbers = [int(i) for i in lines] print(numbers) for (x, el) in enumerate(numbers): for i in range(x + 1, len(numbers)): if el + numbers[i] == 2020: print('YAY: {} {}'.format(el, numbers[i])) for (x, el) in enumerate(numbers): for i in range(x + 1, len(numbers)): for j in range(i + 1, len(numbers)): if el + numbers[i] + numbers[j] == 2020: print('YAY: {} {} {}'.format(el, numbers[i], numbers[j]))
# -*- coding: UTF-8 -*- def read_file(filepath): with open(filepath,'rb') as file: # yield (file.readlines()) for i in file: yield i a = read_file(r'D:\pythontest/test\python_100/2/base.txt') print(next(a))
def read_file(filepath): with open(filepath, 'rb') as file: for i in file: yield i a = read_file('D:\\pythontest/test\\python_100/2/base.txt') print(next(a))
class Solution: def destCity(self, paths: List[List[str]]) -> str: start = (list(map(lambda x: x[0], paths))) for path in paths: if path[1] not in start: return path[1] # dic = {} # for i in range(len(paths)): # dic[paths[i][0]] = paths[i][1] # city = paths[0][0] # while True: # if city in dic.keys(): city = dic[city] # else: return city
class Solution: def dest_city(self, paths: List[List[str]]) -> str: start = list(map(lambda x: x[0], paths)) for path in paths: if path[1] not in start: return path[1]
class Solution: def rotatedDigits(self, n: int) -> int: goodnums = set([2,5,6,9]) badnums = set([3,4,7]) ans = 0 for i in range(1,n+1): good = False num = i while num: remains = num % 10 if remains in goodnums: good = True elif remains in badnums: good = False break num //= 10 if good: ans += 1 return ans
class Solution: def rotated_digits(self, n: int) -> int: goodnums = set([2, 5, 6, 9]) badnums = set([3, 4, 7]) ans = 0 for i in range(1, n + 1): good = False num = i while num: remains = num % 10 if remains in goodnums: good = True elif remains in badnums: good = False break num //= 10 if good: ans += 1 return ans
def d(n): return n + sum(list(map(int, list(str(n))))) nums = [x for x in range(1, 10001)] for i in range(1, 10001): if d(i) in nums: nums.remove(d(i)) for num in nums: print(num)
def d(n): return n + sum(list(map(int, list(str(n))))) nums = [x for x in range(1, 10001)] for i in range(1, 10001): if d(i) in nums: nums.remove(d(i)) for num in nums: print(num)
class Node: def __init__(self, data) -> None: self.data = data self.next = None self.traversed = False class LinkedList: def __init__(self) -> None: self.head = self.rear = None def check_loop(node): temp = node.head if temp == None: print("Empty!!") return while temp: if temp.traversed: print("Loop Exist!!") return temp.traversed = True temp = temp.next print("Loop Does Not Exist!!") def loop_using_hash(node): # O(n) and O(n) in both time and space temp = node.head h = set() if temp == None: print("Empty!!") return while temp: if temp in h: print("Loop Exist!!") return h.add(temp) temp = temp.next print("Loop Does Not Exist!!") def loop_using_floyd_cycle(node): slow = node.head fast = node.head while slow and fast.next and fast: slow = slow.next fast = fast.next.next if slow == fast: print("Loop Exist!!") return print("Loop Does Not Exist!!") linked_list = LinkedList() first = Node(1) second = Node(2) third = Node(3) forth = Node(4) fifth = Node(5) linked_list.head = linked_list.rear = first first.next = second second.next = third third.next = forth forth.next = fifth fifth.next = second check_loop(linked_list) loop_using_hash(linked_list) loop_using_floyd_cycle(linked_list)
class Node: def __init__(self, data) -> None: self.data = data self.next = None self.traversed = False class Linkedlist: def __init__(self) -> None: self.head = self.rear = None def check_loop(node): temp = node.head if temp == None: print('Empty!!') return while temp: if temp.traversed: print('Loop Exist!!') return temp.traversed = True temp = temp.next print('Loop Does Not Exist!!') def loop_using_hash(node): temp = node.head h = set() if temp == None: print('Empty!!') return while temp: if temp in h: print('Loop Exist!!') return h.add(temp) temp = temp.next print('Loop Does Not Exist!!') def loop_using_floyd_cycle(node): slow = node.head fast = node.head while slow and fast.next and fast: slow = slow.next fast = fast.next.next if slow == fast: print('Loop Exist!!') return print('Loop Does Not Exist!!') linked_list = linked_list() first = node(1) second = node(2) third = node(3) forth = node(4) fifth = node(5) linked_list.head = linked_list.rear = first first.next = second second.next = third third.next = forth forth.next = fifth fifth.next = second check_loop(linked_list) loop_using_hash(linked_list) loop_using_floyd_cycle(linked_list)
def is_horiz_or_vert(line): return line[0]["x"] == line[1]["x"] or line[0]["y"] == line[1]["y"] def parse(input_line): return [ {"x": int(x), "y": int(y)} for x, y in [s.strip().split(",") for s in input_line.split("->")] ] def do_it(input_lines, diagonals=False): lines = [ line for line in [parse(input_line) for input_line in input_lines] if diagonals or is_horiz_or_vert(line) ] max_x = max(point["x"] for line in lines for point in line) max_y = max(point["y"] for line in lines for point in line) plot = [[0 for _ in range(max_x + 1)] for _ in range(max_y + 1)] for a, b in lines: cur_x = a["x"] cur_y = a["y"] dest_x = b["x"] dest_y = b["y"] plot[cur_y][cur_x] += 1 while cur_x - dest_x != 0 or cur_y - dest_y != 0: if cur_x < dest_x: cur_x += 1 elif cur_x > dest_x: cur_x -= 1 if cur_y < dest_y: cur_y += 1 elif cur_y > dest_y: cur_y -= 1 plot[cur_y][cur_x] += 1 return sum(1 for row in plot for point in row if point > 1) def part_one(lines): return do_it(lines) def part_two(lines): return do_it(lines, True)
def is_horiz_or_vert(line): return line[0]['x'] == line[1]['x'] or line[0]['y'] == line[1]['y'] def parse(input_line): return [{'x': int(x), 'y': int(y)} for (x, y) in [s.strip().split(',') for s in input_line.split('->')]] def do_it(input_lines, diagonals=False): lines = [line for line in [parse(input_line) for input_line in input_lines] if diagonals or is_horiz_or_vert(line)] max_x = max((point['x'] for line in lines for point in line)) max_y = max((point['y'] for line in lines for point in line)) plot = [[0 for _ in range(max_x + 1)] for _ in range(max_y + 1)] for (a, b) in lines: cur_x = a['x'] cur_y = a['y'] dest_x = b['x'] dest_y = b['y'] plot[cur_y][cur_x] += 1 while cur_x - dest_x != 0 or cur_y - dest_y != 0: if cur_x < dest_x: cur_x += 1 elif cur_x > dest_x: cur_x -= 1 if cur_y < dest_y: cur_y += 1 elif cur_y > dest_y: cur_y -= 1 plot[cur_y][cur_x] += 1 return sum((1 for row in plot for point in row if point > 1)) def part_one(lines): return do_it(lines) def part_two(lines): return do_it(lines, True)
windowWight=650 windowHeight=650 ellipseSize=200 def setup(): size(windowWight,windowHeight) smooth() background(255) fill(50,80) stroke(100) strokeWeight(3) noLoop() def draw(): ellipse(windowWight/2, windowHeight/2 - ellipseSize/2, ellipseSize, ellipseSize) ellipse(windowWight/2 - ellipseSize/2, windowHeight/2, ellipseSize, ellipseSize) ellipse(windowWight/2 + ellipseSize/2, windowHeight/2, ellipseSize, ellipseSize) ellipse(windowWight/2, windowHeight/2 + ellipseSize/2, ellipseSize, ellipseSize)
window_wight = 650 window_height = 650 ellipse_size = 200 def setup(): size(windowWight, windowHeight) smooth() background(255) fill(50, 80) stroke(100) stroke_weight(3) no_loop() def draw(): ellipse(windowWight / 2, windowHeight / 2 - ellipseSize / 2, ellipseSize, ellipseSize) ellipse(windowWight / 2 - ellipseSize / 2, windowHeight / 2, ellipseSize, ellipseSize) ellipse(windowWight / 2 + ellipseSize / 2, windowHeight / 2, ellipseSize, ellipseSize) ellipse(windowWight / 2, windowHeight / 2 + ellipseSize / 2, ellipseSize, ellipseSize)
# list(map(int, input().split())) # int(input()) def main(N, A): ans = 0 for n in range(1, N+1, 2): if A[n-1] % 2 == 1: ans += 1 print(ans) if __name__ == '__main__': N = int(input()) A = list(map(int, input().split())) main(N, A)
def main(N, A): ans = 0 for n in range(1, N + 1, 2): if A[n - 1] % 2 == 1: ans += 1 print(ans) if __name__ == '__main__': n = int(input()) a = list(map(int, input().split())) main(N, A)
budget = 150.0 pi_string = '03.14159260' age_string = '21' # convert string to number pi_float = float(pi_string) age_int = int(age_string) # convert and print to string print('The budget is: $' + str(budget)) print('pi_string: ' + pi_string) print('pi_float: ' + str(pi_float)) print('age_int: ' + str(age_int))
budget = 150.0 pi_string = '03.14159260' age_string = '21' pi_float = float(pi_string) age_int = int(age_string) print('The budget is: $' + str(budget)) print('pi_string: ' + pi_string) print('pi_float: ' + str(pi_float)) print('age_int: ' + str(age_int))
ficha=list() while True: nome=str(input('Nome: ')) nota1=float(input('Nota 1: ')) nota2=float(input('Nota 2: ')) media= (nota1+nota2)/2 ficha.append([nome, [nota1,nota2],media]) resp=str(input('Quer continuar? [S/N]: ')).strip().upper() if resp in 'N': break print('-='*30)
ficha = list() while True: nome = str(input('Nome: ')) nota1 = float(input('Nota 1: ')) nota2 = float(input('Nota 2: ')) media = (nota1 + nota2) / 2 ficha.append([nome, [nota1, nota2], media]) resp = str(input('Quer continuar? [S/N]: ')).strip().upper() if resp in 'N': break print('-=' * 30)
#exercice 1 #calories calculator. create 2 functions main, calories. #It should calculate the amount of calories from #the grams of carbs, fat and protein. #calories from fat = fat gram x 9 #calories from carbs = carbs gram x 4 #calories from protein = protein gram x 4 #example: #if item has 1 gram of fat, 2 grams of protein and #3 grams of carbs #1 x 9 + 2 x 4 + 3 x 4 = 29 calories total #you will ask the user to enter fat, carbs and protein in main #and calculate the total calories and print the answer #in calories function. def main(): fat = int(input("Please enter a number of grams of fat:\n")) carbs = int(input("Please enter a number of grams of carbs:\n")) protein = int(input("Please enter a number of grams of protein:\n")) calories(fat, carbs, protein) def calories(fat, carbs, protein): total = fat * 9 + carbs * 4 + protein * 4 print("The grams of fat, carbs and protein equal to ",total, "calories") main() #exercice 2 #feet to inches #1 foot = 12 inches #you will create a feet_to_inches function #it will take a number of feet and convert it to inches #you will ask the user to input the number of feet in #main() and print the number of inches in feet_to_inches(feet) #HINT: #main() #feet_to_inches(feet) def main(): feet = int(input("Please enter a number of feet:\n")) feet_to_inches(feet) def feet_to_inches(feet): total = feet * 12 print("The number of feet equal to",total,"inches") main() #exercice 3 #maximum of 2 numbers #write a function that accepts 2 floats it should print which number is bigger #you should ask the user to input the 2 numbers in main() and max(num1, num2) #should print the answer #HINT: #main() #max(num1, num2) #Example: if both numbers are 1 and 2 #then answer is 2 is bigger than 1 def main(): num1 = int(input("Please enter a number:\n")) num2 = int(input("Please enter another number:\n")) max(num1, num2) def max(num1, num2): if num1 > num2: print(num1,"is bigger than",num2) elif num2 > num1: print(num2,"is bigger than",num1) elif num1 == num2: print("the numbers are equal") main()
def main(): fat = int(input('Please enter a number of grams of fat:\n')) carbs = int(input('Please enter a number of grams of carbs:\n')) protein = int(input('Please enter a number of grams of protein:\n')) calories(fat, carbs, protein) def calories(fat, carbs, protein): total = fat * 9 + carbs * 4 + protein * 4 print('The grams of fat, carbs and protein equal to ', total, 'calories') main() def main(): feet = int(input('Please enter a number of feet:\n')) feet_to_inches(feet) def feet_to_inches(feet): total = feet * 12 print('The number of feet equal to', total, 'inches') main() def main(): num1 = int(input('Please enter a number:\n')) num2 = int(input('Please enter another number:\n')) max(num1, num2) def max(num1, num2): if num1 > num2: print(num1, 'is bigger than', num2) elif num2 > num1: print(num2, 'is bigger than', num1) elif num1 == num2: print('the numbers are equal') main()
# 7-3. Multiples of Ten: Ask the user for a number, and then report whether the number is a multiple of 10 or not. number = input("Tell me a number man :v : ") number = int(number) if number % 10 == 0: print(str(number) + " is a multiple of 10.") else: print(str(number) + " is not a multiple of 10.")
number = input('Tell me a number man :v : ') number = int(number) if number % 10 == 0: print(str(number) + ' is a multiple of 10.') else: print(str(number) + ' is not a multiple of 10.')
# pylint: skip-file # pylint: disable=too-many-instance-attributes class GcloudConfig(GcloudCLI): ''' Class to wrap the gcloud config command''' # pylint allows 5 # pylint: disable=too-many-arguments def __init__(self, project=None, region=None): ''' Constructor for gcloud resource ''' super(GcloudConfig, self).__init__() self._working_param = {} if project: self._working_param['name'] = 'project' self._working_param['value'] = project self._working_param['section'] = 'core' elif region: self._working_param['name'] = 'region' self._working_param['value'] = region self._working_param['section'] = 'compute' self._current_config = self.get_compacted_config() def get_compacted_config(self): '''return compated config options''' results = self._list_config() compacted_results = {} for config in results['results']: compacted_results.update(results['results'][config]) return compacted_results def list_config(self): '''return config''' results = self._list_config() return results def check_value(self, param, param_value): '''check to see if param needs to be updated''' return self._current_config[param] == param_value def update(self): ''' do updates, if needed ''' if not self.check_value(self._working_param['name'], self._working_param['value']): config_set_results = self._config_set(self._working_param['name'], self._working_param['value'], self._working_param['section']) list_config_results = self.list_config() config_set_results['results'] = list_config_results['results'] return config_set_results else: list_config_results = self.list_config() return {'results': list_config_results['results']}
class Gcloudconfig(GcloudCLI): """ Class to wrap the gcloud config command""" def __init__(self, project=None, region=None): """ Constructor for gcloud resource """ super(GcloudConfig, self).__init__() self._working_param = {} if project: self._working_param['name'] = 'project' self._working_param['value'] = project self._working_param['section'] = 'core' elif region: self._working_param['name'] = 'region' self._working_param['value'] = region self._working_param['section'] = 'compute' self._current_config = self.get_compacted_config() def get_compacted_config(self): """return compated config options""" results = self._list_config() compacted_results = {} for config in results['results']: compacted_results.update(results['results'][config]) return compacted_results def list_config(self): """return config""" results = self._list_config() return results def check_value(self, param, param_value): """check to see if param needs to be updated""" return self._current_config[param] == param_value def update(self): """ do updates, if needed """ if not self.check_value(self._working_param['name'], self._working_param['value']): config_set_results = self._config_set(self._working_param['name'], self._working_param['value'], self._working_param['section']) list_config_results = self.list_config() config_set_results['results'] = list_config_results['results'] return config_set_results else: list_config_results = self.list_config() return {'results': list_config_results['results']}
class TouchData: x_distance = None y_distance = None x_offset = None y_offset = None relative_distance = None is_external = None in_range = None def __init__(self, joystick, touch): self.joystick = joystick self.touch = touch self._calculate() def _calculate(self): js = self.joystick touch = self.touch x_distance = js.center_x - touch.x y_distance = js.center_y - touch.y x_offset = touch.x - js.center_x y_offset = touch.y - js.center_y relative_distance = ((x_distance ** 2) + (y_distance ** 2)) ** 0.5 is_external = relative_distance > js._total_radius in_range = relative_distance <= js._radius_difference self._update(x_distance, y_distance, x_offset, y_offset, relative_distance, is_external, in_range) def _update(self, x_distance, y_distance, x_offset, y_offset, relative_distance, is_external, in_range): self.x_distance = x_distance self.y_distance = y_distance self.x_offset = x_offset self.y_offset = y_offset self.relative_distance = relative_distance self.is_external = is_external self.in_range = in_range
class Touchdata: x_distance = None y_distance = None x_offset = None y_offset = None relative_distance = None is_external = None in_range = None def __init__(self, joystick, touch): self.joystick = joystick self.touch = touch self._calculate() def _calculate(self): js = self.joystick touch = self.touch x_distance = js.center_x - touch.x y_distance = js.center_y - touch.y x_offset = touch.x - js.center_x y_offset = touch.y - js.center_y relative_distance = (x_distance ** 2 + y_distance ** 2) ** 0.5 is_external = relative_distance > js._total_radius in_range = relative_distance <= js._radius_difference self._update(x_distance, y_distance, x_offset, y_offset, relative_distance, is_external, in_range) def _update(self, x_distance, y_distance, x_offset, y_offset, relative_distance, is_external, in_range): self.x_distance = x_distance self.y_distance = y_distance self.x_offset = x_offset self.y_offset = y_offset self.relative_distance = relative_distance self.is_external = is_external self.in_range = in_range
def testing_system(right_answer, Iras_answer): if right_answer == Iras_answer: print("YES") else: print("NO") testing_system(int(input()), int(input()))
def testing_system(right_answer, Iras_answer): if right_answer == Iras_answer: print('YES') else: print('NO') testing_system(int(input()), int(input()))
#!/usr/bin/env python3 ''' lib/subl sublime-ycmd sublime utility module. '''
""" lib/subl sublime-ycmd sublime utility module. """
class StyleGenerator: def __init__(self): self.sidebar_style = {} self.content_style = {} def getSidebarStyle(self): return self.sidebar_style def getContentStyle(self): return self.content_style def setSidebarStyle(self, position="fixed", top=0, left=0, bottom=0, width="0rem", padding="0rem 0rem", backgroundcolor="#f8f9fa"): self.sidebar_style = { "position": position, "top":top, "left":left, "bottom":bottom, "width":width, "padding":padding, "background-color":backgroundcolor } def setContentStyle(self, marginleft="0rem", marginright="0rem", padding="0rem 0rem"): self.content_style = { "margin-left":marginleft, "margin-right":marginright, "padding":padding }
class Stylegenerator: def __init__(self): self.sidebar_style = {} self.content_style = {} def get_sidebar_style(self): return self.sidebar_style def get_content_style(self): return self.content_style def set_sidebar_style(self, position='fixed', top=0, left=0, bottom=0, width='0rem', padding='0rem 0rem', backgroundcolor='#f8f9fa'): self.sidebar_style = {'position': position, 'top': top, 'left': left, 'bottom': bottom, 'width': width, 'padding': padding, 'background-color': backgroundcolor} def set_content_style(self, marginleft='0rem', marginright='0rem', padding='0rem 0rem'): self.content_style = {'margin-left': marginleft, 'margin-right': marginright, 'padding': padding}
# implementation of linked list using python 3 # Node class class Node: #function to initialize the node object def __init__(self, data): self.data = data #assign data self.next = None #initialize next as null #Linked list class class LinkedList: #function to initialize the linked #list object def __init__(self): self.head = None #function to print the contents of linked list #starting from head def printingList(self): temp = self.head while (temp): print (temp.data) temp = temp.next #code execution starts here if __name__ == '__main__': #starts with empty list llist = LinkedList() llist.head = Node(1) second = Node(2) third = Node(3) ''' Three nodes have been created. We have reference to these blocks as head -> secong -> third ''' llist.head.next = second; second.next = third; llist.printingList()
class Node: def __init__(self, data): self.data = data self.next = None class Linkedlist: def __init__(self): self.head = None def printing_list(self): temp = self.head while temp: print(temp.data) temp = temp.next if __name__ == '__main__': llist = linked_list() llist.head = node(1) second = node(2) third = node(3) '\n Three nodes have been created.\n We have reference to these blocks as\n head -> secong -> third\n ' llist.head.next = second second.next = third llist.printingList()