def to_json()

in awsglue/blueprint/base_resource.py [0:0]


    def to_json(self):
        self.validate()
        return {key: value for key, value in self.__dict__.items() if key in self._validator}