Python sqlalchemy.testing.profiling._profile_stats() Examples

The following are code examples for showing how to use sqlalchemy.testing.profiling._profile_stats(). They are from open source Python projects. You can vote up the examples you like or vote down the ones you don't like.

Example 1
Project: flasky   Author: RoseOu   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 2
Project: Flask_Blog   Author: sugarguo   File: plugin_base.py    GNU General Public License v3.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 3
Project: jbox   Author: jpush   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 4
Project: Mahjong-Solitaire   Author: MEASHY   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 5
Project: Mahjong-Solitaire   Author: MEASHY   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 6
Project: oa_qian   Author: sunqb   File: plugin_base.py    Apache License 2.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 7
Project: analyzePF   Author: analyzeDFIR   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 8
Project: xuemc   Author: skycucumber   File: plugin_base.py    GNU General Public License v2.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 9
Project: chihu   Author: yelongyu   File: plugin_base.py    GNU General Public License v3.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 10
Project: url_shortener   Author: martydill   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 11
Project: DevFest-MaxBond   Author: aiyyoi   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 12
Project: myBlog   Author: adxc   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 13
Project: planespotter   Author: yfauser   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 14
Project: WRGameVideos-API   Author: thundernet8   File: plugin_base.py    GNU General Public License v2.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 15
Project: pipa-pay-server   Author: davidvon   File: noseplugin.py    Apache License 2.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
                file_config.get('sqla_testing', 'profile_file')) 
Example 16
Project: Light_control   Author: laurent-colas   File: plugin_base.py    The Unlicense 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 17
Project: plataforma-livre-dados-abertos   Author: pbaesse   File: plugin_base.py    GNU General Public License v3.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling

    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get("sqla_testing", "profile_file")
    ) 
Example 18
Project: Ridr_app   Author: RydrDojo   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 19
Project: webapp   Author: superchilli   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 20
Project: my_hass_config   Author: ivencooli   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 21
Project: Full-Stack-Application-Development   Author: Bolton-and-Menk-GIS   File: plugin_base.py    GNU General Public License v3.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file')) 
Example 22
Project: sqlalchemy   Author: sqlalchemy   File: plugin_base.py    MIT License 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling

    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get("sqla_testing", "profile_file"),
        sort=options.profilesort,
    ) 
Example 23
Project: WRGameVideos-Server   Author: thundernet8   File: plugin_base.py    GNU General Public License v2.0 5 votes vote down vote up
def _setup_profiling(options, file_config):
    from sqlalchemy.testing import profiling
    profiling._profile_stats = profiling.ProfileStatsFile(
        file_config.get('sqla_testing', 'profile_file'))