def __init__(self, urlfunc, entid='<STR_LIT>', *args, **kwargs):
self.entid = entid<EOL>"""<STR_LIT>"""<EOL>self.rc = RequestsCounter()<EOL>"""<STR_LIT>"""<EOL>try:<EOL><INDENT>self.__debug=kwargs['<STR_LIT>']<EOL>"""<STR_LIT>"""<EOL><DEDENT>except KeyError:<EOL><INDENT>self.__debug=False<EOL><DEDENT>try:<EOL><INDENT>self.__formatoFecha=kwargs['<STR_LIT>']<EOL>"""<STR_LIT>"""<EOL><DEDENT>except KeyError:<EOL><INDENT>self.__formatoFecha="<STR_LIT>"<EOL><DEDENT>try:<EOL><INDENT>self.__data=kwargs['<STR_LIT:data>']<EOL>"""<STR_LIT>"""<EOL><DEDENT>except KeyError:<EOL><INDENT>self.__data=None<EOL><DEDENT>try:<EOL><INDENT>self.__method=kwargs['<STR_LIT>']<EOL>"""<STR_LIT>"""<EOL><DEDENT>except KeyError:<EOL><INDENT>self.__method="<STR_LIT:GET>"<EOL><DEDENT>try:<EOL><INDENT>self.__limit=kwargs['<STR_LIT>']<EOL>self.__inilimit = self.__limit<EOL>"""<STR_LIT>"""<EOL>kwargs.pop('<STR_LIT>')<EOL><DEDENT>except KeyError:<EOL><INDENT>self.__limit=<NUM_LIT:0><EOL><DEDENT>try:<EOL><INDENT>self.__offset=kwargs['<STR_LIT>']<EOL>"""<STR_LIT>"""<EOL>kwargs.pop('<STR_LIT>')<EOL><DEDENT>except KeyError:<EOL><INDENT>self.__offset=<NUM_LIT:0><EOL><DEDENT>try:<EOL><INDENT>self.customFieldName=kwargs['<STR_LIT>']<EOL>"""<STR_LIT>"""<EOL><DEDENT>except KeyError:<EOL><INDENT>pass<EOL><DEDENT>try:<EOL><INDENT>if kwargs.pop('<STR_LIT>'):<EOL><INDENT>connect = True<EOL><DEDENT>else:<EOL><INDENT>connect = False<EOL><DEDENT><DEDENT>except KeyError:<EOL><INDENT>connect = True<EOL><DEDENT>self.__args = ()<EOL>self.__kwargs = {}<EOL>from copy import deepcopy<EOL>if args:<EOL><INDENT>self.__args = deepcopy(args)<EOL><DEDENT>if kwargs:<EOL><INDENT>for k,v in kwargs.items():<EOL><INDENT>self.__kwargs[k] = deepcopy(v)<EOL><DEDENT><DEDENT>self.__urlfunc = urlfunc<EOL>"""<STR_LIT>"""<EOL>if self.__urlfunc == None: <EOL><INDENT>return          <EOL><DEDENT>if connect:<EOL><INDENT>self.connect(*args, **kwargs)<EOL><DEDENT>
Initializes a new Mambu object.

        Args:
         urlfunc (string): is the only required parameter. The urlfunc
                           returns a string of the URL to make a request to Mambu. You
                           may read about the valid urlfuncs supported by MambuPy at
                           mambuutil.py
         entid (string): is the usual ID of a Mambu entity you like to GET from
                         Mambu. The ID of a loan account, a client, a group, etc. Or the
                         transactions or repayments of certain loan account. It's an
                         optional parameter because the iterable Mambu objects don't need
                         an specific ID, just some other filtering parameters supported
                         on the urlfunc function.

        If you send a None urlfunc, the object will be configured, but
        won't connect to Mambu, never. Useful for iterables that
        configure their elements but can't or won't need Mambu to send
        further information. See :any:`mamburepayment.MambuRepayments`
        for an example of this.

        Should you need to add support for more functionality, add them
        at mambuutuil.

        Many other arguments may be sent here to further configure the
        Mambu object or the response by Mambu REST API:

        * **debug** flag (currently not implemented, just stored on the object)
        * **connect** flag, to optionally omit the connection to Mambu (see
          the init() (with no underscores) method pydoc)
        * **data** parameter for POST requests (see connect() method pydoc)
        * **dateFormat** parameter (see util_dateFormat() method pydoc)

        Also, parameters to be sent to Mambu on the request, such as:

        * **limit** parameter (for pagination, see connect() method
          pydoc)
        * **offset** parameter (for pagination, see connect() method
          pydoc)
        * **fullDetails**, accountState and other filtering parameters
          (see mambuutil pydocs)
        * **user**, **password**, **url** to connect to Mambu, to bypass
          mambuconfig configurations (see mambuutil pydoc)