Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document caching behavior of KojiTag #65

Open
jguiditta opened this issue Jan 11, 2019 · 1 comment
Open

Document caching behavior of KojiTag #65

jguiditta opened this issue Jan 11, 2019 · 1 comment
Labels
good first issue Good for newcomers

Comments

@jguiditta
Copy link
Member

  • koji_wrapper version: all
  • Python version: all
  • Operating System: all

Description

Currently KojiTag calls listTagged from the koji api once and only once (unless you reset self.tagged_list). It is unclear from the current documentation that this is the case.

@jguiditta jguiditta added the good first issue Good for newcomers label Jan 11, 2019
@yazug
Copy link
Member

yazug commented Jan 11, 2019

I tripped on this one already as I was trying to test/use KojiTag ...

kt = KojiTag('sometag')
kt.builds()
for build in kt.tagged_list:
print(build)
kt.builds(latest=False, type='image')
for build in kt.tagged_list:
print(build['name'])

and I was getting the same list back both times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants