Example #1
0
    def __init__(self, urlfunc=mod_urlfunc, entid="", *args, **kwargs):
        """Tasks done here:

        Set the customFieldName attribute for preprocessing.
        """
        self.customFieldName = "customInformation"
        MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)
Example #2
0
    def __init__(self, urlfunc=mod_urlfunc, entid='', *args, **kwargs):
        """Tasks done here:

        Set the customFieldName attribute for preprocessing.
        """
        self.customFieldName = 'customFieldValues'
        MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)
Example #3
0
 def __init__(self, urlfunc=mod_urlfunc, entid='', *args, **kwargs):
     """If you have already retrieved products, you don't contact
     Mambu. If you haven't, you do.
     """
     try:
         getattr(self,"noinit")
     except AttributeError:
         MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)
Example #4
0
 def __init__(self, urlfunc=mod_urlfunc, entid='', *args, **kwargs):
     """By default, entid argument is empty. That makes perfect
     sense: you want several centres, not just one
     """
     MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)
Example #5
0
 def __init__(self, urlfunc=mod_urlfunc, entid='', *args, **kwargs):
     MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)
Example #6
0
    def __init__(self, urlfunc=mod_urlfunc, entid='', *args, **kwargs):
        """Tasks done here:

        Just initializes the MambuStruct.
        """
        MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)
Example #7
0
 def __init__(self, urlfunc=mod_urlfunc, entid='', itemclass=MambuLoan, *args, **kwargs):
     """By default, entid argument is empty. That makes perfect
     sense: you want several groups, not just one.
     """
     self.itemclass = itemclass
     MambuStruct.__init__(self, urlfunc, entid, *args, **kwargs)