Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Space Class内のget_recent_updates関数のパラメーターcountが反映されない #26

@ShunkiFutamura

Description

@ShunkiFutamura

def get_recent_updates(self,

現象:パラメーターcountが指定されたときに反映されず、デフォルトの20しかされない。

原因:パラメーターcountが渡された時の処理がない

if count is not None:
  if not 1 <= count <= 100:
      raise ValueError('count(取得上限)は1-100の範囲で指定してください')
if order is not None:

対策案
payloads['count '] = count の処理を追加する必要あり

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions