teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

コード間違いの修正

2018/06/30 00:10

投稿

quickquip
quickquip

スコア11314

answer CHANGED
@@ -76,7 +76,7 @@
76
76
 
77
77
 
78
78
  def get_list_contracts(depth: Depth) -> Contracts:
79
- return [Contract(f'/contract-api/v1/contracts/identifiers?depth={depth}')]
79
+ return [Contract(f'/contract-api/v1/contracts/identifiers?depth={depth.value}')]
80
80
  ```
81
81
 
82
82
  と定義して