parameters: (self, key_path)
docstring: Loads a public key from file at `key_path`
docstring_summary: Loads a public key from file at `key_path`
docstring_tokens: Loads a public key from file at key_path
function: def load_public_key(self, key_path):
          """
          Loads a public key from file at `key_path`
          """
          with open(key_path, 'rb') as f:
              temp_key = f.read()
  
              self.key.set_pubkey(temp_key)
              self.init = True
function_tokens: def load_public_key ( self , key_path ) : with open ( key_path , 'rb' ) as f : temp_key = f . read ( ) self . key . set_pubkey ( temp_key ) self . init = True