Skip to content

Commit

Permalink
Update JA request handlers addition sample code to skill builders
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilym authored Feb 4, 2019
1 parent 2b4755e commit ae9bee7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions docs/ja/REQUEST_PROCESSING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,9 @@ SDKは、リクエストハンドラーで、スキルビルダーに指定さ
# Implement FooHandler, BarHandler, BazHandler classes
sb.request_handlers.extend([
FooHandler(),
BarHandler(),
BazHandler()])
sb.add_request_handler(FooHandler())
sb.add_request_handler(BarHandler())
sb.add_request_handler(BazHandler())
``request_handler`` デコレーターを使用する方法に従っている場合、ハンドラー関数を明示的に登録する必要はありません。スキルビルダーインスタンスを使用してすでにデコレートされています。

Expand Down

0 comments on commit ae9bee7

Please sign in to comment.