Azure / Azure/azure-functions-durable-python
Add to docs what types are supported out of the box
- Linguagem predominante
- Python
- Estrelas
- 157
- Forks
- 70
- Merge médio
- 2d 10h
- PRs com merge (30d)
- 2
Descrição
Feedback from a GBB working with a certain big clothing chain customer.
The customer was trying to return a tuple consisting of a list of custom type and Pandas dataframe. It was not obvious that when an activity function returns, it's actually serialized and deserialized back in the orchestrator function. They were getting error that the tuple didn't implement the `from_json` method .
There is an example in this repo on how to use a custom class as the result, but that's not mentioned anywhere in docs. Would be good to add what types are supported out of the box, i.e. those implementing `to_json` and `from_json`.
Guia de contribuição
Direção de pesquisa
Localize o exemplo existente no repositório que mostra uma classe personalizada como resultado de uma atividade e revise a documentação ao redor. Adicione uma explicação clara sobre serialização e desserialização, incluindo quais tipos são compatíveis por padrão e o papel de to_json e from_json. Inclua o cenário de tupla, tipo personalizado e Pandas dataframe, e depois verifique se a documentação está correta em relação ao exemplo existente.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- pandas, python
- Domínio
- documentation
- Tipo de issue
- Documentação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100