[ SRE_ARENA ]
CLASSES, OBJECTS & OOP

Object-Oriented Python for SRE

System Architecture Visualization
DOWNLOADING CONCEPT: CLASSES AND OBJECTS...
  • ↳A Class is a blueprint.
  • ↳An Object is an instance of the class.
  • ↳If you write scripts that interact with AWS, the boto3 library heavily utilizes OOP (e.g., returning an Instance object).
python
class Server:
    pass

web = Server()
▲ LIVE INCIDENTA script throws an error when calling a class method.
sre@arena:~/python-oop
sre@arena:~$ python3 server_manager.py