from .Base import Base


class Customer(Base):
    @property
    def id(self):
        return self.getProperty('id')

    @property
    def name(self):
        return self.getProperty('name')

    @property
    def email(self):
        return self.getProperty('email')

    @property
    def locale(self):
        return self.getProperty('locale')

    @property
    def metadata(self):
        if 'metadata' not in self:
            return None
        return self.getProperty('metadata')

    @property
    def mode(self):
        return self.getProperty('mode')

    @property
    def resource(self):
        return self.getProperty('resource')

    @property
    def createdAt(self):
        return self.getProperty('createdAt')


from .Base import Base


class Customer(Base):
    @property
    def id(self):
        return self.getProperty('id')

    @property
    def name(self):
        return self.getProperty('name')

    @property
    def email(self):
        return self.getProperty('email')

    @property
    def locale(self):
        return self.getProperty('locale')

    @property
    def metadata(self):
        return self.getProperty('metadata')

    @property
    def mode(self):
        return self.getProperty('mode')

    @property
    def resource(self):
        return self.getProperty('resource')

    @property
    def createdAt(self):
        return self.getProperty('createdAt')


Remove forgotten if in customer.py
Remove forgotten if in customer.py

  from .Base import Base
  
  
  class Customer(Base):
      @property
      def id(self):
          return self.getProperty('id')
  
      @property
      def name(self):
          return self.getProperty('name')
  
      @property
      def email(self):
          return self.getProperty('email')
  
      @property
      def locale(self):
          return self.getProperty('locale')
  
      @property
      def metadata(self):
-         if 'metadata' not in self:
-             return None
          return self.getProperty('metadata')
  
      @property
      def mode(self):
          return self.getProperty('mode')
  
      @property
      def resource(self):
          return self.getProperty('resource')
  
      @property
      def createdAt(self):
          return self.getProperty('createdAt')
  
  
Remove forgotten if in customer.py
## Code Before:
from .Base import Base


class Customer(Base):
    @property
    def id(self):
        return self.getProperty('id')

    @property
    def name(self):
        return self.getProperty('name')

    @property
    def email(self):
        return self.getProperty('email')

    @property
    def locale(self):
        return self.getProperty('locale')

    @property
    def metadata(self):
        if 'metadata' not in self:
            return None
        return self.getProperty('metadata')

    @property
    def mode(self):
        return self.getProperty('mode')

    @property
    def resource(self):
        return self.getProperty('resource')

    @property
    def createdAt(self):
        return self.getProperty('createdAt')


## Instruction:
Remove forgotten if in customer.py
## Code After:
from .Base import Base


class Customer(Base):
    @property
    def id(self):
        return self.getProperty('id')

    @property
    def name(self):
        return self.getProperty('name')

    @property
    def email(self):
        return self.getProperty('email')

    @property
    def locale(self):
        return self.getProperty('locale')

    @property
    def metadata(self):
        return self.getProperty('metadata')

    @property
    def mode(self):
        return self.getProperty('mode')

    @property
    def resource(self):
        return self.getProperty('resource')

    @property
    def createdAt(self):
        return self.getProperty('createdAt')

