class_docstr: Specification of a cluster environment.
class_docstr_tok: ["Specification","of","a","cluster","environment","."]
docstr: An open and configured port in the main node through which all processes communicate.
docstr_tok: ["An","open","and","configured","port","in","the","main","node","through","which","all","processes","communicate","."]
code: def main_port(self) -> int:
      """An open and configured port in the main node through which all processes communicate."""
  
file_path: pytorch-lightning/src/lightning/fabric/plugins/environments/cluster_environment.py
imports: from abc import ABC, abstractmethod
label_desc: Use image node_id 3 for calling the ClusterEnvironment obj's underlying member method code with example usage: obj.main_port() without return types