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

Add Typeshare support for Python #169

Open
wants to merge 60 commits into
base: main
Choose a base branch
from

Commits on Apr 30, 2024

  1. Add experimental typeshare support for Python

    Thanks to the prior work of @adriangb:
    1Password#25
    hculea committed Apr 30, 2024
    Configuration menu
    Copy the full SHA
    90f7537 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Resolve clippy errors

    hculea committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ee5673c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    78bca98 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dfd6522 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0c14914 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    439783b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d7f12d0 View commit details
    Browse the repository at this point in the history
  3. Fix ParsedRusthThing typo

    hculea committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    2039818 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2024

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

Commits on Aug 5, 2024

  1. Configuration menu
    Copy the full SHA
    1427223 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c9f4be4 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Configuration menu
    Copy the full SHA
    ad6645a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    459f596 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fde8907 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Configuration menu
    Copy the full SHA
    ead7d3a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a74e4ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b5c4be View commit details
    Browse the repository at this point in the history
  4. add fix for missing fields

    amandayu1 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    628608d View commit details
    Browse the repository at this point in the history
  5. added fix

    amandayu1 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    8519dea View commit details
    Browse the repository at this point in the history
  6. changed fix

    amandayu1 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    6786aad View commit details
    Browse the repository at this point in the history
  7. testing new approach

    amandayu1 committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    2d0e627 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #1 from hculea/optional-fields-default-to-none

    fixing optional field set to default
    amandayu1 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    169b380 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    e6bea87 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

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

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    aa2213d View commit details
    Browse the repository at this point in the history
  2. Run cargo fmt

    hculea committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    eeaa0d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e79b7b6 View commit details
    Browse the repository at this point in the history
  4. fix duplicate

    CheatCod committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    d98a3e2 View commit details
    Browse the repository at this point in the history
  5. add tests

    CheatCod committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    677cf13 View commit details
    Browse the repository at this point in the history
  6. add comments to test

    CheatCod committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    df4a611 View commit details
    Browse the repository at this point in the history
  7. minor formatting

    CheatCod committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    77b7239 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

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

Commits on Oct 3, 2024

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

Commits on Oct 28, 2024

  1. Add Feature Flag for Python TS (#3)

    * Add feature flag for Python TS
    
    * Fix length of arrays
    
    * Remove Available Languages and make it more scaleable
    
    * make languages mutable
    MOmarMiraj authored Oct 28, 2024
    Configuration menu
    Copy the full SHA
    c8026b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2024

  1. Draft: Change tagged enum generation in python (#2)

    * init
    
    * refactor functionality to its own method
    
    * remove serde
    
    * test signing
    
    * YOUR_COMMIT_MESSAGE
    
    * test signing
    
    * YOUR_COMMIT_MESSAGE
    
    * test signing
    
    * test signing
    
    * YOUR_COMMIT_MESSAGE
    
    * YOUR_COMMIT_MESSAGE
    
    * YOUR_COMMIT_MESSAGE
    
    * YOUR_COMMIT_MESSAGE
    
    * rewrite tests
    
    * fix generation
    
    * remove comma in types
    
    * remove inner
    
    * wip test
    
    * setup test and fix tests
    
    * fix
    
    * enable and fix more tests
    
    * add ctor for each variant class
    
    * extract to method
    
    * add support for ctor method for unit and tuple variants
    
    * fix formatting
    
    * apply omar's fixes
    
    * Add more snapshot tests and remove unused function
    
    * Add expected outputs for snapshot tests
    
    * Change unit enums to pass as content and fix some unneeded imports
    
    * fix config test
    
    * Add newline for EOF
    
    * Add snapshot test for serde default
    
    * make code more readable
    
    * fix single union, and rework to new pydantic standard
    
    * fix unit tests
    
    * remove useless tests
    
    * remove empty unit class generation, remove unit variant from union
    
    * update test
    
    ---------
    
    Co-authored-by: Omar Miraj <omar.miraj@agilebits.com>
    CheatCod and MOmarMiraj authored Oct 31, 2024
    Configuration menu
    Copy the full SHA
    e419246 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    53b25db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fb666ca View commit details
    Browse the repository at this point in the history
  4. fmt fix and fix rust doc

    MOmarMiraj committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    40206a7 View commit details
    Browse the repository at this point in the history
  5. update test cases

    MOmarMiraj committed Oct 31, 2024
    Configuration menu
    Copy the full SHA
    7184b52 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2024

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

Commits on Nov 7, 2024

  1. remove trailing comma

    MOmarMiraj committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    a251db1 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'hculea/add-python-support-in-typeshare' of github.com:h…

    …culea/typeshare into hculea/add-python-support-in-typeshare
    MOmarMiraj committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    03d600b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    61b6afd View commit details
    Browse the repository at this point in the history
  4. fmt fix

    MOmarMiraj committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    9810e7b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92f6922 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2024

  1. Configuration menu
    Copy the full SHA
    0f89783 View commit details
    Browse the repository at this point in the history
  2. dedup union

    CheatCod committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    90793c7 View commit details
    Browse the repository at this point in the history
  3. better error handling

    CheatCod committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    40803c4 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #4 from hculea/peter/fix-tuple-variant-generation

    Fix tuple variant generation
    CheatCod authored Nov 8, 2024
    Configuration menu
    Copy the full SHA
    23ecf7f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

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

    CheatCod committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    260fa75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d4fabb6 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Configuration menu
    Copy the full SHA
    83001f7 View commit details
    Browse the repository at this point in the history
  2. proper rename

    CheatCod committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    6afd25a View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2024

  1. use literal for tag keys

    CheatCod committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    0c9b8ac View commit details
    Browse the repository at this point in the history
  2. generate comments properly

    CheatCod committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    a10d3e7 View commit details
    Browse the repository at this point in the history
  3. fix type aliasing issue

    CheatCod committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    3df3ece View commit details
    Browse the repository at this point in the history
  4. remove unneeded newlines

    CheatCod committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    533c75f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4a0bb0e View commit details
    Browse the repository at this point in the history
  6. use enum for type

    CheatCod committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    a49914a View commit details
    Browse the repository at this point in the history