Skip to content

Add type hints to multiple functions - #2141

Open
YTLim-1206 wants to merge 5 commits into
PyCalendar:mainfrom
YTLim-1206:fix
Open

YTLim-1206 wants to merge 5 commits into
PyCalendar:mainfrom
YTLim-1206:fix

Conversation

@YTLim-1206

Copy link
Copy Markdown

Contributes to #938

AI: GPT-6 used through the web application.

  • how it was used:
    Asked it to write a code to identify untyped functions, trace specific data types I needed through the codebase, and check my
    guesses for the changes I made.
    -Output:
    this commit.

Linked issue

Contributes to #938

Description

Added return type hints to _add_equivalent_ids, _set_value, _del_value, pickle_tzicalvtz, and unpickle_rruleset_with_cache.
Added type hints to unpickle_rruleset_with_cache.
Updated log in 938.chore.13

Checklist

  • I added a change log entry, following the instructions in all subsections under Change log requirements.
  • I followed icalendar's Artificial intelligence policy and disclosed my Responsible AI use in my commit messages, if applicable.
  • I added or updated tests, if applicable.
  • I ran and ensured all tests pass locally by following Run tests.
  • I added or edited documentation as necessary, both as docstrings to be rendered in the API documentation and narrative documentation, following the Style guide.

Additional information

@github-actions github-actions Bot added the ai-suspicion This contribution is possibly created with lots of AI help without enough human understanding. label Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

One or more PR-quality checks did not pass. Review the PR Quality Checks summary in the workflow run for the failed checks and their details, then make any necessary updates.

Checklist items may remain unchecked while work is in progress. Please tick each item as you complete it.

If you used AI assistance, follow the project's Responsible AI use policy and provide the required disclosures.

@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the pull request, @YTLim-1206! A maintainer will review it shortly.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-suspicion This contribution is possibly created with lots of AI help without enough human understanding.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant