def available_permits(self):
    '\n        Returns the current number of permits currently available in this semaphore.\n\n            * This method is typically used for debugging and testing purposes.\n        :return: (int), the number of available permits in this semaphore.\n        '
    return self._encode_invoke(semaphore_available_permits_codec)
Returns the current number of permits currently available in this semaphore.

    * This method is typically used for debugging and testing purposes.
:return: (int), the number of available permits in this semaphore.
def available_permits(self):
    '\n        Returns the current number of permits currently available in this semaphore.\n\n            * This method is typically used for debugging and testing purposes.\n        :return: (int), the number of available permits in this semaphore.\n        '
    return self._encode_invoke(semaphore_available_permits_codec)