class Code:
    def just():
        print('just code stuff')

    def maybe():
        print('maybe code stuff')

class Code:
    def just(self):
        print('just code stuff')

    def maybe(self):
        print('maybe code stuff')

Add explicit self var to class methods