code: def get_orders(self, oid=None, include_expired=False, orderid=None):
          
          return self.request(
              'get',
              '%sorders/%s%s' % (
                  safeformat('objects/{:int}/', oid) if oid else "",
                  "all/" if include_expired else "",
                  safeformat('{:int}', orderid) if orderid else ""
              )
          )
docs: FETCHES filtered orders. All arguments are optional.
          
          :type oid: ``bigint``
          :param oid:
              Object ID.
          :type include_expired: ``boolean``
          :param include_expired:
              Fetch also expired orders.
          :type orderid: ``bigint``
          :param orderid:
              Order ID. If specified, exactly one order shall be returned, or
              `NotFound` exception raised. Otherwise, a LIST of orders is
              returned.
          
          :rtype: ``list``/``dict``
          :returns: (A list of) order(s) description dictionary(ies).
          :raises GeneralException:
          
          :resource: ``[objects/<oid>/]orders/[<all>/]<orderid>``
          :access: authorized users (authenticated user MUST be the object/order
              owner)