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

Make TelegramObject immutable #3249

Merged
merged 105 commits into from Dec 15, 2022
Merged

Make TelegramObject immutable #3249

merged 105 commits into from Dec 15, 2022

Commits on Sep 8, 2022

  1. Configuration menu
    Copy the full SHA
    3c0fd67 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2022

  1. More work on api_kwargs

    Bibo-Joshi committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    790c53e View commit details
    Browse the repository at this point in the history
  2. More work on api_kwargs

    Bibo-Joshi committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    1cc0f2e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    54d999f View commit details
    Browse the repository at this point in the history
  4. pre-commit updates

    Bibo-Joshi committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    702b008 View commit details
    Browse the repository at this point in the history
  5. add _apply_api_kwargs

    Bibo-Joshi committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    b4f7efe View commit details
    Browse the repository at this point in the history
  6. Get started on tests

    Bibo-Joshi committed Sep 9, 2022
    Configuration menu
    Copy the full SHA
    912aa0e View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. More tests

    Bibo-Joshi committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    55a7c94 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    674dd4c View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2022

  1. Finish on existing tests

    Bibo-Joshi committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    e8884e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07a3001 View commit details
    Browse the repository at this point in the history
  3. API kwargs on unpickling

    Bibo-Joshi committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    0e0da1a View commit details
    Browse the repository at this point in the history
  4. deepsource

    Bibo-Joshi committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    3789e59 View commit details
    Browse the repository at this point in the history
  5. more deepsource

    Bibo-Joshi committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    16be53c View commit details
    Browse the repository at this point in the history
  6. fix another failing test

    Bibo-Joshi committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    f0f9a3f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f29da8d View commit details
    Browse the repository at this point in the history
  8. More Documentation

    Bibo-Joshi committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    0789f21 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2022

  1. Configuration menu
    Copy the full SHA
    23f6afe View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bf81325 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    76a5aba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    92c1d87 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2022

  1. Configuration menu
    Copy the full SHA
    43cd729 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bc9d879 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2022

  1. Merge branch 'master' into TO-overhaul

    # Conflicts:
    #	docs/substitutions/global.rst
    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    b317709 View commit details
    Browse the repository at this point in the history
  2. Get startet on review

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    21a75aa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea3f13d View commit details
    Browse the repository at this point in the history
  4. more review

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    3ff5cae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    17bd0da View commit details
    Browse the repository at this point in the history
  6. doc fix

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    d5ac429 View commit details
    Browse the repository at this point in the history
  7. pre-commit

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    1896b85 View commit details
    Browse the repository at this point in the history
  8. coverage

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    059c9a0 View commit details
    Browse the repository at this point in the history
  9. update test_official

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    74dd8b6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8b8b386 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0016e0b View commit details
    Browse the repository at this point in the history
  12. bug fix

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    5c99ed2 View commit details
    Browse the repository at this point in the history
  13. More test adaptions

    Bibo-Joshi committed Sep 25, 2022
    Configuration menu
    Copy the full SHA
    5175cc7 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. make api_kwargs a kw-only argument, pass to super in a few places a…

    …nd remove some redundant inits
    Bibo-Joshi committed Sep 29, 2022
    Configuration menu
    Copy the full SHA
    3f81766 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cf6475b View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Merge branch 'master' into TO-overhaul

    # Conflicts:
    #	telegram/ext/_extbot.py
    Bibo-Joshi committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    7031807 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'TO-overhaul' into TO-immutable

    # Conflicts:
    #	telegram/_bot.py
    #	telegram/_files/inputmedia.py
    #	telegram/_files/sticker.py
    #	telegram/_menubutton.py
    #	telegram/_passport/credentials.py
    #	telegram/_passport/passportelementerrors.py
    #	telegram/_telegramobject.py
    #	telegram/_videochat.py
    #	telegram/ext/_application.py
    Bibo-Joshi committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    d9e511b View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/_botcommandscope.py
    #	telegram/_chatmember.py
    #	telegram/_files/inputmedia.py
    #	telegram/_files/sticker.py
    #	telegram/_inline/inlinequeryresultarticle.py
    #	telegram/_inline/inlinequeryresultaudio.py
    #	telegram/_inline/inlinequeryresultcachedaudio.py
    #	telegram/_inline/inlinequeryresultcacheddocument.py
    #	telegram/_inline/inlinequeryresultcachedgif.py
    #	telegram/_inline/inlinequeryresultcachedmpeg4gif.py
    #	telegram/_inline/inlinequeryresultcachedphoto.py
    #	telegram/_inline/inlinequeryresultcachedsticker.py
    #	telegram/_inline/inlinequeryresultcachedvideo.py
    #	telegram/_inline/inlinequeryresultcachedvoice.py
    #	telegram/_inline/inlinequeryresultcontact.py
    #	telegram/_inline/inlinequeryresultdocument.py
    #	telegram/_inline/inlinequeryresultgame.py
    #	telegram/_inline/inlinequeryresultgif.py
    #	telegram/_inline/inlinequeryresultlocation.py
    #	telegram/_inline/inlinequeryresultmpeg4gif.py
    #	telegram/_inline/inlinequeryresultphoto.py
    #	telegram/_inline/inlinequeryresultvenue.py
    #	telegram/_inline/inlinequeryresultvideo.py
    #	telegram/_inline/inlinequeryresultvoice.py
    #	telegram/_menubutton.py
    #	telegram/_passport/credentials.py
    #	telegram/_passport/data.py
    #	telegram/_passport/encryptedpassportelement.py
    #	telegram/_passport/passportelementerrors.py
    #	telegram/_telegramobject.py
    #	tests/test_telegramobject.py
    Bibo-Joshi committed Oct 7, 2022
    Configuration menu
    Copy the full SHA
    484e228 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b5b2cf0 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2022

  1. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/_bot.py
    #	telegram/_files/inputmedia.py
    #	telegram/_inline/inlinekeyboardmarkup.py
    #	telegram/_inline/inlinequeryresult.py
    #	telegram/_inline/inputtextmessagecontent.py
    #	telegram/_payment/shippingoption.py
    #	telegram/_replykeyboardmarkup.py
    #	telegram/_telegramobject.py
    #	telegram/ext/_extbot.py
    #	tests/test_telegramobject.py
    Bibo-Joshi committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    14611d7 View commit details
    Browse the repository at this point in the history
  2. Try adapting to #3311

    Bibo-Joshi committed Oct 31, 2022
    Configuration menu
    Copy the full SHA
    d0194e3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7d44114 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2022

  1. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/_bot.py
    #	telegram/_files/file.py
    Bibo-Joshi committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    1464c80 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba73b3d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Sequence, not Collection

    Bibo-Joshi committed Nov 7, 2022
    Configuration menu
    Copy the full SHA
    8745329 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0ea335f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7ca6b94 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Configuration menu
    Copy the full SHA
    eca7129 View commit details
    Browse the repository at this point in the history
  2. Convert Union annotations

    Bibo-Joshi committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    b3ee612 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27941cd View commit details
    Browse the repository at this point in the history
  4. More script tweaking

    Bibo-Joshi committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    a3bee06 View commit details
    Browse the repository at this point in the history
  5. Apply transition script

    Bibo-Joshi committed Nov 8, 2022
    Configuration menu
    Copy the full SHA
    852e4ec View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2022

  1. make pre-commit happier

    Bibo-Joshi committed Nov 9, 2022
    Configuration menu
    Copy the full SHA
    a7cb547 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2022

  1. Configuration menu
    Copy the full SHA
    a7ff921 View commit details
    Browse the repository at this point in the history
  2. more tests working

    Bibo-Joshi committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    ba5f301 View commit details
    Browse the repository at this point in the history
  3. more tests

    Bibo-Joshi committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    e3569ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8291560 View commit details
    Browse the repository at this point in the history
  5. *more tests!*

    Bibo-Joshi committed Nov 11, 2022
    Configuration menu
    Copy the full SHA
    28486d3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    874003b View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2022

  1. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/_files/inputmedia.py
    #	telegram/_inline/inlinekeyboardmarkup.py
    #	telegram/_inline/inlinequeryresult.py
    #	telegram/_inline/inputtextmessagecontent.py
    #	telegram/_passport/credentials.py
    #	telegram/_payment/shippingoption.py
    #	telegram/_replykeyboardmarkup.py
    Bibo-Joshi committed Nov 13, 2022
    Configuration menu
    Copy the full SHA
    e6cea13 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2022

  1. fix a few more tests

    Bibo-Joshi committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    ccf8fe0 View commit details
    Browse the repository at this point in the history
  2. more tests

    Bibo-Joshi committed Nov 14, 2022
    Configuration menu
    Copy the full SHA
    7e8b08e View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2022

  1. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	docs/substitutions/global.rst
    #	telegram/_message.py
    #	telegram/_poll.py
    #	telegram/_webhookinfo.py
    Bibo-Joshi committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    3c43dea View commit details
    Browse the repository at this point in the history
  2. Make de_list return tuples

    Bibo-Joshi committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    0acdae3 View commit details
    Browse the repository at this point in the history
  3. Start with the hashes

    Bibo-Joshi committed Nov 15, 2022
    Configuration menu
    Copy the full SHA
    3688ff8 View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2022

  1. handle nested lists

    Bibo-Joshi committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    9a17d48 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3cdb718 View commit details
    Browse the repository at this point in the history
  3. doc fixes

    Bibo-Joshi committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    46d4433 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    408d7eb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    58d0996 View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2022

  1. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/_botcommand.py
    #	telegram/_files/inputmedia.py
    #	telegram/_files/location.py
    #	telegram/_forcereply.py
    #	telegram/_games/game.py
    #	telegram/_inline/inlinekeyboardbutton.py
    #	telegram/_inline/inlinequeryresult.py
    #	telegram/_inline/inlinequeryresultaudio.py
    #	telegram/_inline/inlinequeryresultcachedaudio.py
    #	telegram/_inline/inlinequeryresultcacheddocument.py
    #	telegram/_inline/inlinequeryresultcachedgif.py
    #	telegram/_inline/inlinequeryresultcachedmpeg4gif.py
    #	telegram/_inline/inlinequeryresultcachedphoto.py
    #	telegram/_inline/inlinequeryresultcachedvideo.py
    #	telegram/_inline/inlinequeryresultcachedvoice.py
    #	telegram/_inline/inlinequeryresultdocument.py
    #	telegram/_inline/inlinequeryresultgif.py
    #	telegram/_inline/inlinequeryresultlocation.py
    #	telegram/_inline/inlinequeryresultmpeg4gif.py
    #	telegram/_inline/inlinequeryresultphoto.py
    #	telegram/_inline/inlinequeryresultvideo.py
    #	telegram/_inline/inlinequeryresultvoice.py
    #	telegram/_inline/inputlocationmessagecontent.py
    #	telegram/_inline/inputtextmessagecontent.py
    #	telegram/_message.py
    #	telegram/_passport/credentials.py
    #	telegram/_poll.py
    #	telegram/_replykeyboardmarkup.py
    #	telegram/_telegramobject.py
    #	telegram/ext/_application.py
    Bibo-Joshi committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    8eaa2ca View commit details
    Browse the repository at this point in the history
  2. fix a few tests

    Bibo-Joshi committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    ee9e47e View commit details
    Browse the repository at this point in the history
  3. fix pickle-related tests

    Bibo-Joshi committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    dbccb6d View commit details
    Browse the repository at this point in the history
  4. add CSI comment

    Bibo-Joshi committed Nov 25, 2022
    Configuration menu
    Copy the full SHA
    373d179 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2022

  1. a few doc fixes

    Bibo-Joshi committed Nov 27, 2022
    Configuration menu
    Copy the full SHA
    8b767ad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a260699 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    53d91c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2022

  1. try fixing tests

    Bibo-Joshi committed Nov 28, 2022
    Configuration menu
    Copy the full SHA
    11b32c5 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Configuration menu
    Copy the full SHA
    07640da View commit details
    Browse the repository at this point in the history
  2. Get started on review

    Bibo-Joshi committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    81b8abd View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2022

  1. A bit more review

    Bibo-Joshi committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    5800635 View commit details
    Browse the repository at this point in the history
  2. squecne -> sequence

    Bibo-Joshi committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    2fafd40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23123f5 View commit details
    Browse the repository at this point in the history
  4. A few "List" -> "Tuple"

    Bibo-Joshi committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    109f355 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    93e5af8 View commit details
    Browse the repository at this point in the history
  6. add versionchanged to TO

    Bibo-Joshi committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    687f572 View commit details
    Browse the repository at this point in the history
  7. fix two tests

    Bibo-Joshi committed Dec 1, 2022
    Configuration menu
    Copy the full SHA
    662ebc8 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2022

  1. Configuration menu
    Copy the full SHA
    6783256 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d150dab View commit details
    Browse the repository at this point in the history
  3. spelling bee

    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    0ddd394 View commit details
    Browse the repository at this point in the history
  4. misc review

    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    78d5bfa View commit details
    Browse the repository at this point in the history
  5. much tuple

    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    c09311d View commit details
    Browse the repository at this point in the history
  6. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/_bot.py
    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    5c9bf57 View commit details
    Browse the repository at this point in the history
  7. Only filter out None

    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    3d2125f View commit details
    Browse the repository at this point in the history
  8. revert a docstring change

    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    6301afd View commit details
    Browse the repository at this point in the history
  9. Fix a signature in ExtBot

    Bibo-Joshi committed Dec 2, 2022
    Configuration menu
    Copy the full SHA
    bbe7dc6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    24e9f0e View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2022

  1. Remove transition script

    Bibo-Joshi committed Dec 4, 2022
    Configuration menu
    Copy the full SHA
    fafe1d2 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2022

  1. DS fixes

    Bibo-Joshi committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    d5903f2 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	telegram/ext/_extbot.py
    Bibo-Joshi committed Dec 6, 2022
    Configuration menu
    Copy the full SHA
    971fa9c View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2022

  1. Merge branch 'master' into TO-immutable

    # Conflicts:
    #	tests/conftest.py
    Bibo-Joshi committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    c291f58 View commit details
    Browse the repository at this point in the history
  2. adapt to merge conflicts

    Bibo-Joshi committed Dec 13, 2022
    Configuration menu
    Copy the full SHA
    ac5634c View commit details
    Browse the repository at this point in the history