Skip to content

HIDE_CREATED_AT not working when set to False #489

@tchalamcherla-godaddy

Description

@tchalamcherla-godaddy

Describe the bug

When I run the issue metrics github action with the HIDE_CREATED_AT set to false, I get an error: TypeError: 'IssueSearchResult' object is not subscriptable.

To Reproduce

  1. Run issue metrics in a github workflow step with env.HIDE_CREATED_AT set to False.

Expected behavior

I would receive the metrics with the created_at value set to a timestamp in which a given pr was created (probably in UTC).

Screenshots

Image

Additional context

The issue points to this line in the code.
My github runner info:

  • architecture type: x64 (Intel)
  • golden container image: ubuntu22.04
  • I set the github workflow to run with python 3.10 although I don't think this carries through to actions.
  • version of issue metrics package: latest (3.18.2)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy