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

Create list using list comprehension #644

Open
wants to merge 7 commits into
base: release/v1.12.6
Choose a base branch
from

Commits on Apr 20, 2023

  1. Fix typo in main README (simple-salesforce#636)

    * Bug/pyjwt dependency (simple-salesforce#610)
    
    * Update setup.py
    
    Update pyjwt dependency
    
    * Update setup.py
    
    include cryptography for requirement for pyjwt
    
    * Update setup.py
    
    include pyjwt[crypto] in install requirements
    
    * Update setup.py
    
    remove [crypto] from pyjwt[crypto] in install_requires as causes travis-ci failure to build
    
    * remove extra leading space
    
    ---------
    
    Co-authored-by: JonWobken <49450080+jon-wobken@users.noreply.github.com>
    ericl-billgo and jon-wobken committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    336c6a3 View commit details
    Browse the repository at this point in the history
  2. Updated __getattr__ function to create SFType object with object_pair…

    …s_hook (simple-salesforce#634)
    
    * Bug/pyjwt dependency (simple-salesforce#610)
    
    * Update setup.py
    
    Update pyjwt dependency
    
    * Update setup.py
    
    include cryptography for requirement for pyjwt
    
    * Update setup.py
    
    include pyjwt[crypto] in install requirements
    
    * Update setup.py
    
    remove [crypto] from pyjwt[crypto] in install_requires as causes travis-ci failure to build
    
    * Updated __getattr__ function to create SFType object with object_pairs_hook as input
    
    Right now let us say that the user creates a SFType object using __getattr__ function which is present in the class SalesForce. If the SalesForce object is initiated using object_pairs_hook being dict or print. In that case the user would want the response from SFType to be same as that object as well. So I have added object_pairs_hook in the SFType object which is being called in the __getattr__ function of the SalesForce Class
    
    * Updated __getattr__ function to create SFType object with object_pairs_hook
    
    Right now let us say that the user creates a SFType object using getattr function which is present in the class SalesForce. If the SalesForce object is initiated using object_pairs_hook being dict or print. In that case the user would want the response from SFType to be same as that object as well. So I have added object_pairs_hook in the SFType object which is being called in the getattr function of the SalesForce Class
    
    * removed whitespaces
    
    * pylint
    
    ---------
    
    Co-authored-by: JonWobken <49450080+jon-wobken@users.noreply.github.com>
    GuptaPurujit and jon-wobken committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    72887d2 View commit details
    Browse the repository at this point in the history
  3. Fix indentation in setup.py (simple-salesforce#618)

    * Bug/pyjwt dependency (simple-salesforce#610)
    
    * Update setup.py
    
    Update pyjwt dependency
    
    * Update setup.py
    
    include cryptography for requirement for pyjwt
    
    * Update setup.py
    
    include pyjwt[crypto] in install requirements
    
    * Update setup.py
    
    remove [crypto] from pyjwt[crypto] in install_requires as causes travis-ci failure to build
    
    * Fix indent in setup.py
    
    ---------
    
    Co-authored-by: JonWobken <49450080+jon-wobken@users.noreply.github.com>
    charleswhchan and jon-wobken committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    877b277 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e9e021 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f498b24 View commit details
    Browse the repository at this point in the history
  6. fix: use unescaped username for JWT claim (simple-salesforce#612)

    * Bug/pyjwt dependency (simple-salesforce#610)
    
    * Update setup.py
    
    Update pyjwt dependency
    
    * Update setup.py
    
    include cryptography for requirement for pyjwt
    
    * Update setup.py
    
    include pyjwt[crypto] in install requirements
    
    * Update setup.py
    
    remove [crypto] from pyjwt[crypto] in install_requires as causes travis-ci failure to build
    
    * fix: use unescaped username for JWT claim
    
    JWT Bearer Flow needs JWT claim sub containg unescaped username
    Connected App Login has been fixed by simple-salesforce#604
    
    ---------
    
    Co-authored-by: JonWobken <49450080+jon-wobken@users.noreply.github.com>
    hkajiwara and jon-wobken committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    0ca95d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Create list using generator

    instead of creating an empty list and appending to it.
    ericbn committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    2f15b67 View commit details
    Browse the repository at this point in the history