메서드

@classmethod

@classmethod
def get_network(cls):

클래스 변수(Static variable = Class variable)

class MyClass:
    count = 0  # 클래스 변수

@instancemethod

인스턴스 변수

@staticmethod

class Parent:
    class_val = 'class variable'

    def __init__(self):
        self.name = "hi"

    @staticmethod
    def check_static():
        print(self.name)

class Child(Parent):
    pass


child = Child()
child.check_static()

# NameError: name 'self' is not defined 
class Parent:
    class_val = 'class variable'

    def __init__(self):
        self.name = "hi"

    @staticmethod
    def check_static():
        print("static call")

    @classmethod
    def check_class(cls):
        print(cls)
        print("class call")

class Child(Parent):
    pass


Child.check_static()
Child.check_class()

# static call
# <class '__main__.Child'>
# class call

staticmethod vs classmethod

참고
[1] https://frenchkebab.tistory.com/56
[2] https://techblog-history-younghunjo1.tistory.com/217