JuliaPy / JuliaPy/PythonCall.jl
PythonCall.jl how do I handle Python exceptions?
Aberta
question
- Linguagem predominante
- Julia
- Estrelas
- 1.1k
- Forks
- 86
- Merge médio
- 1d 22h
- PRs com merge (30d)
- 3
Descrição
Using [PythonCall.jl](https://github.com/JuliaPy/PythonCall.jl), how do I best handle python exception patters such as the following python:
```
try:
database = client.create_database(DATABASE_NAME)
except exceptions.CosmosResourceExistsError:
database = client.get_database_client(DATABASE_NAME)
```
[xref stackoverflow](https://stackoverflow.com/questions/77333648/julia-pythoncall-jl-how-do-i-handle-python-exceptions)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.