cloudevents / cloudevents/sdk-python
Method to_structured can't control NON-ASCII chars
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- Python
- スター
- 342
- フォーク
- 65
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Expected Behavior
I am using to_structured() but there are non-ascii symbols that I want to have included. I cannot alter its behaviour.
Actual Behavior
to_structured method returns them in the form of '\u00'
Steps to Reproduce the Problem
- Try to pass an event containing a non-ascii symbol (Ø, ü, etc.)
- Print the result
Specifications
- Python 3.7.15
- cloudevents 1.7.1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず Python SDK の to_structured() メソッドを見つけ、Ø や ü などのイベント値で問題を再現します。非 ASCII 文字をどのようにシリアライズするかを調査し、期待される制御可能な動作を定義します。既存の構造化イベントのシリアライズを壊さずに、出力がその動作に従えば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- api
- issue の種類
- バグ
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 42/100