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

Week8 Project Assignment Feedback #10

Open
tienyulin opened this issue Nov 11, 2022 · 0 comments
Open

Week8 Project Assignment Feedback #10

tienyulin opened this issue Nov 11, 2022 · 0 comments

Comments

@tienyulin
Copy link

  1. What is the difference between find and find_origin_id? It seems like they use the same id

    paperswithcode_paper = PapersWithCode::PaperMapper.new.find(id)

    paperswithcode_paper = Repository::For.klass(Entity::Paper).find_origin_id(id)

  2. Please these commented-out codes

    # to_hash.reject { |key, _| %i[id owner contributors].include? key }

    # attribute :authors, Array.of(String).optional

    # to_hash.reject { |key, _| %i[id owner contributors].include? key }

    # attribute :origin_id, String.optional

    # to_hash.reject { |key, _| %i[id owner contributors].include? key }

    # def full_name
    # @data['full_name']
    # end

    # def owner
    # @data['owner']
    # end
    # def repo_name
    # @data['name']
    # end

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

No branches or pull requests

1 participant