This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import os | |
import re | |
# Run sqlacodegen and capture the stdout output | |
sqlacodegen_output = subprocess.check_output(["sqlacodegen", "your_database_connection_string"], universal_newlines=True) | |
# Split the output into individual model sections | |
model_sections = sqlacodegen_output.split('\n\n') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Abhay\Code\shaka_packager\src>set GYP_DEFINES='target_arch=x64' && gclient runhooks | |
Running hooks: 80% ( 4/ 5) | |
________ running 'vpython.bat src/gyp_packager.py --depth=src/packager' in 'C:\Users\Abhay\Code\shaka_packager' | |
Updating projects from gyp files... | |
Hook 'vpython.bat src/gyp_packager.py --depth=src/packager' took 10.29 secs | |
Running hooks: 100% (5/5), done. | |
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out/Release_x64 | |
ninja: Entering directory `out/Release_x64' | |
[4/266] CXX obj\base\win\base.win_util.obj | |
FAILED: obj/base/win/base.win_util.obj |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out\Release_x64 | |
ninja: Entering directory `out\Release_x64' | |
[3/286] CXX obj\base\win\base.win_util.obj | |
FAILED: obj/base/win/base.win_util.obj | |
ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\cl.exe" /nologo /showIncludes /FC @obj\base\win\base.win_util.obj.rsp /c ..\..\packager\base\win\win_util.cc /Foobj\base\win\base.win_util.obj /Fdobj\base\base.cc.pdb | |
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(128): error C2953: '_CrtEnableIf<true,_Ty>': class template has already been defined | |
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(125): note: see declaration of '_CrtEnableIf<true,_Ty>' | |
c:\program files (x86)\windows kits\10\include\10.0.14393.0\ucrt\corecrt.h(483): error C2011: '__crt_locale_data_public': 'struct' type redefinition | |
c:\program files (x86)\windows kits\10\include\10.0.10240.0\ucrt\corecrt.h(455): note: see declaration of '__crt_locale_data_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Users\Abhay\Code\shaka_packager\src>set GYP_DEFINES='target_arch=x64' | |
C:\Users\Abhay\Code\shaka_packager\src>gclient runhooks | |
Running hooks: 80% ( 4/ 5) | |
________ running 'vpython.bat src/gyp_packager.py --depth=src/packager' in 'C:\Users\Abhay\Code\shaka_packager' | |
Updating projects from gyp files... | |
Hook 'vpython.bat src/gyp_packager.py --depth=src/packager' took 11.81 secs | |
Running hooks: 100% (5/5), done. | |
C:\Users\Abhay\Code\shaka_packager\src>ninja -C out\Release_x64 | |
ninja: Entering directory `out\Release_x64' |