deallocate_api_key Subroutine

private pure elemental subroutine deallocate_api_key(this)

Type Bound

openai

Arguments

Type IntentOptional Attributes Name
class(openai), intent(inout) :: this

Called by

proc~~deallocate_api_key~~CalledByGraph proc~deallocate_api_key foropenai_base::openai%deallocate_api_key proc~deallocate_openai foropenai_base::openai%deallocate_openai proc~deallocate_openai->proc~deallocate_api_key program~test_base test_base program~test_base->proc~deallocate_openai

Source Code

   elemental pure subroutine deallocate_api_key(this)
      class(openai), intent(inout) :: this
      if (allocated(this%api_key)) deallocate(this%api_key)
   end subroutine deallocate_api_key